Area 1
Software of the measurement nodes
The software on the measurement node, known as firmware, is intended to record measured values, assign time information to them, store them on a memory card and prepare data packets for transmission.
What has already been implemented
- Combining measured values into data packets, usually one packet per minute.
- Generating checksums, chaining successive data packets and signing them digitally.
- Documenting the start and end of a measurement run and the synchronisation of the device’s internal clock.
- Detecting and documenting gaps in measurements.
- Securing data already recorded during the planned switch between different operating states.
What still needs to be implemented and verified
This includes in particular the hardware-related functions:
- Control of the measurement components and sensors.
- Temporally reliable recording of the electrical voltage.
- Storage of the raw data on the memory card.
- Wireless data transmission.
- Control and documentation of electrical and optical stimuli.
- Interplay of the different operating states and the power supply.
Reliable implementation and verification of these functions requires the manufactured measurement electronics.
These functions were developed so that they can also be tested on an ordinary computer without the measurement electronics intended for them.
Automated tests check whether the data packets generated by the measurement node and their checksums match the corresponding calculations on our data platform.
The basic framework of the firmware can already be compiled for the intended microcontroller. At start-up, it uses defined test data to check essential functions of data packet processing.
Area 2
Data platform
The data platform is the central infrastructure of OpenMycoNet. Its task is to receive the transmitted data packets, check them, store them and prepare the measurement series they contain for different presentations and investigations.
It is already in operation. Testing so far has been carried out with simulated data and technical test set-ups.
-
1
Receiving and checking data
When a data packet arrives, the platform checks, among other things, whether it can be assigned to the intended measurement node and measurement run, whether the checksums match and how it fits into the chain of data packets already received.
For the area in which actually collected measurement data will later be stored, a valid digital signature is required.
-
2
Preserving the original data
The raw data transmitted are kept in their original form.
If different versions of the same section of a measurement series arrive, the version that is adopted is not decided solely by the order in which they arrived.
The decision is made on the basis of the traceable chaining of the data packets or after a separate review by a person.
Versions that are set aside are kept. Decisions on their further use are documented.
This keeps it traceable which data originally arrived and on what basis later decisions were made.
-
3
Preparing data
From the available raw data, the data platform calculates, among other things, summarised minute and hour values.
If further data packets arrive late and the data basis changes as a result, a new version of the summarised values is created. The previous version remains traceable.
Missing readings are marked as gaps and not replaced by zero values.
Stimuli and other documented events are also stored together with their time and the associated information.
How this processing and preparation works can already be followed in the data lab using simulated measurement series.
-
4
Keeping different data separate
Simulated data and actually collected measurement data are stored in separate areas of the data platform.
This is to prevent data from the development and testing of our methods from being confused with the later scientific measurement series.
To protect those involved, measurement sites are located publicly only by grid squares of ten by ten kilometres.
Classification
Checksums, digital signatures and quality labels
The technical integrity of our data and its scientific usability are two different things.
We therefore use different methods, each of which fulfils its own task.
- Checksums and chaining
-
Each data packet receives checksums and is linked to the preceding packet.
When checked accordingly, this makes it possible to detect changes to the data as well as interruptions or inconsistencies within a chain of packets.
- Digital signatures
-
Each measurement node is to sign its data packets with its own private key. For this we use the Ed25519 signature scheme.
Using the corresponding public key, it can be checked whether a data packet was signed with the corresponding private key and whether its signed content is unchanged.
Reliable assignment of the keys to the respective measurement nodes and protection of the private keys are important prerequisites for this. The plan is that the private key never leaves the measurement node. This hardware-related implementation is still pending.
- Quality labels
-
Supplementary quality information is intended to help us assess the conditions under which individual measured values were obtained.
These include, for example, indications of:
- Values outside the intended measuring range.
- Overdriving of the analogue-to-digital converter.
- Faults in individual sensors.
- Uncertainties in time assignment.
- Values filled in by calculation.
Missing measured values and documented measurement interruptions are shown separately.
Which quality information will in future be added directly by the measurement node and which by the data platform still has to be decided in part.
Technically unchanged data is not automatically scientifically usable data.
Whether measured electrical voltages are due to biological processes, properties of the soil, changes at the electrodes or other interference must be shown by further investigations.
Area 3
Control and experiment software
To prepare and carry out targeted investigations, we are also developing separate control and experiment software.
It is intended to be used in particular for investigations under controlled conditions.
Planned tasks
The software is intended to make it possible
- to display electrical measurement signals continuously,
- to document experimental conditions and observations,
- to prepare and control electrical and optical stimuli,
- to define temporal sequences of stimuli,
- to document the settings and times of individual stimuli together with the measurement data.
In addition, software checks are planned that are intended to prevent electrical stimuli from being triggered outside previously defined limits.
The corresponding check and lock function is already built into the software prototype. However, its actual protective effect in combination with the BioComm hardware still has to be verified in practice.
The stimulus limits suitable for biological investigations also first have to be determined in preparatory experiments.
-
Live monitor: continuous display of several measurement channels
-
Signal diary: documenting experimental conditions and observations
-
Electrical stimulation: entering the stimulus settings (example values)
Area 4
Scientific analysis methods
The scientific investigation of our measurement series goes beyond their technical processing and presentation.
We want to find out whether recurring patterns, anomalies or possible relationships can be identified in the recorded data and what significance they might have.
In doing so, we distinguish between the exploratory investigation of data and the subsequent testing of the conjectures that arise from it.
We define the criteria for a targeted test before we examine the data intended for it.
More elaborate analysis methods must also be comparable with simpler methods. We also document results that contradict our expectations or show no discernible advantage of a method.
Databionics – an approach we are investigating
One of the approaches we are currently working on comes from databionics.
Among other things, it deals with data analysis methods based on principles of self-organisation and information processing in natural systems.
The idea of investigating such methods for OpenMycoNet goes back to the initiator’s earlier experience with the U-matrix in investigating similarities between pieces of music.
For OpenMycoNet, we are interested in whether comparable mathematical methods can also make structures and anomalies visible in electrical measurement series.
Emergent self-organising maps (ESOM)
1
Divide the measurement series into time segments
2
Calculate features per segment
3
Feature vector
4
Similar items lie close together on the map
For this form of data analysis, measurement series are first divided into time segments.
From each of these segments we calculate various features that describe certain properties of the signal curve. Together they form a so-called feature vector.
An emergent self-organising map, ESOM for short, maps such multidimensional feature vectors onto a two-dimensional map.
Similar feature vectors are to be placed as close together as possible.
This can make structures visible that may not be recognisable when looking directly at individual measurement series.
The U-matrix
The U-matrix is one way of making visible the structures that have formed on a self-organising map.
It shows the differences between neighbouring units of the map. Put simply, this representation can be compared to a landscape.
Valleys indicate areas with similar properties. Ridges show larger differences between neighbouring areas.
Own illustration
Such structures can provide clues to groups of similar signal curves or to unusual observations.
Whether these structures have biological significance or arise, for example, from environmental conditions, technical interference or the properties of the analysis method itself is not yet clear from this.
What our investigations so far show
We are testing this approach using simulated measurement series and published measurement data from another research group.
Under the conditions examined so far, we have not been able to demonstrate any robust additional benefit compared with simpler analysis methods.
This result is also valuable to us. It helps us to better assess the possibilities and limits of the method.
We are in professional exchange on this with the research group from whose research these methods originated. We are including an implementation developed there in the recalculation of our results so far.
Our investigations are open-ended. We have not committed ourselves to the idea that particular methods must be used in future to analyse BioComm measurement data.
Further investigations are to show which methods are suitable for our research questions.
Research goal
A learning control loop
A further research goal of OpenMycoNet is to investigate a reciprocal interaction between a biological network and a technical system.
The technical system should not merely carry out predefined sequences of stimuli, but be able to adapt its further stimuli to the previously measured electrical activity.
Research goal · not implemented
- Measure
- Examine data
- Select stimulus
- Apply stimulus
- Measure again
back to the start: the next measurement determines the next stimulus.
For comparison: a fixed sequence of stimuli whose course is not adapted to the measured electrical activity.
Own illustration
Such a control loop opens up additional research questions.
- In the course of the interaction, does the biological network change, do the properties of the measurement set-up change, or does above all the behaviour of the technical control change?
- How can we distinguish these different changes from one another?
Changes can arise both in the individual components and in their interplay.
One possible basis for this is comparative investigations with fixed sequences of stimuli whose course is not adapted to the measured electrical activity.
It is also crucial that the control does not react to interference that it has itself caused in the measurement set-up through its own stimuli.
Source code
Visibility of the source code and rights of use
The source code of our data platform, the firmware for the measurement nodes and our scientific analysis programs so far is publicly viewable.
The test criteria defined for our methodological investigations and the associated analysis programs are also documented there.
We have not yet chosen a general licence that permits others to freely use and further develop our own source code.
Public visibility of the source code is therefore not the same as a general permission to use it.
We are treating the future licensing of our software and firmware as a separate task.
Limits
A pattern is not yet an explanation
Software can help us process large amounts of data, make relationships visible and discover possible anomalies.
It can also draw our attention to observations we were not originally looking for at all.
However, whether these observations are due to biological processes and what significance they have cannot be derived from the results of an analysis method alone.
For that we need comprehensible measurement methods, control measurements, repetitions and critical scientific review.
Status
Where the software stands
-
running, so far with simulated data
Infrastructure
The data platform receives, checks and stores measurement series. In the data lab you can follow how simulated measurement data are processed, prepared and displayed.