The present invention relates to a method for recording values of a signal, wherein a value of the signal is stored if the value lies outside or at the limit of a predefined value range whose size is determined by an upper limit value and a lower limit value. The present invention further relates to a device for recording values of a signal, wherein the device has a control means which is embodied in such a way that it stores a value of the signal if the value lies outside or at the limit of a predefined value range whose size is determined by an upper limit value and a lower limit value.
When values of a signal are being recorded or a signal is being sampled, it is desirable in many applications to limit the number of values or the volume of data to be stored in relation to the signal in order to minimize the amount of memory required for that purpose. Compression methods permit this. The stored volume of values or data is reduced or kept small without important signal-related information contained in the recorded and stored values being lost. At the same time it is usually desirable to record rapid changes in the signal in a timely manner, precise values in the case of minor changes, and structures contained in the signal, such as e.g. drifting, ramping and noise.
With known solutions, when values of the signal are recorded, the values are stored at fixed time intervals. In addition, values lying in a specific value range are not stored. This is intended to keep the number of stored values small by storing only changes of the signal that exceed a minimum change predefined by the value range. The size of the value range is specified by means of an upper and a lower limit value. The size of the value range remains constant over the entire course of the recording of the values. Thus, a new value is stored when the new value deviates from a preceding value by at least the upper or lower limit value. The storing function is performed when the new value that is to be stored lies outside of the predefined value range. A value range of said kind is also referred to as a deadband.
With this approach to the recording of values of a signal the problem occurs that in order to record in particular small signal changes the constant size of the value range must be set very small. In the case an extremely noisy signal, such as for example the signal according to
The object underlying the present invention is to enable values of a signal to be recorded such that a number of stored values is kept small and the structure of the signal is reproduced with sufficient accuracy by the stored values.
This object is achieved by the technical teaching of the claims.
On the method side, starting from a predefined starting size of the value range, the size of the value range is changed while the values are being recorded. On the device side, the control means is furthermore embodied in such a way that, starting from a predefined starting size, it changes the size of the value range during the recording of the values. According to the invention, therefore, the value range is specified dynamically while the values are being recorded. The value range is also referred to as the deadband. The deadband is variable in this case. As a result a sometimes considerable reduction in the volume of stored values is ensured while at the same time the waveform of the signal is effectively mapped by means of the stored values.
In an advantageous embodiment of the invention the size of the value range reassumes the starting size following a change when a value has been stored. This enables large signal changes to be detected very quickly.
In a further particularly advantageous embodiment the size of the value range is reduced, in particular continuously. By this means it is possible to identify a large signal change quickly, in particular immediately, and in addition also detect small signal changes. Slow signal drifting and ramping are detected as such and recorded. Furthermore, an extremely noisy signal can be recognized as such without many values of the noisy signal being stored. Signal peaks are quick to detect even in a noisy signal. An average signal change scan advantageously be detected all the more easily the stronger it is.
Advantageously, a value will also be stored when a predefined minimum size of the value range is reached as the value range is being reduced in size and no value of the signal lying outside or at the limit of the reduced value range has yet been recorded. This ensures that even with the predefined minimum size a value will be stored irrespective of whether it lies inside the value range. As a result the actual signal waveform and its changes can be mapped even more accurately in the stored values.
The predefined minimum size of the value range is particularly preferably set equal to zero. In this case a deadband or a value range is no longer present if the minimum size is present. The exact value of the signal is therefore stored.
In an advantageous embodiment the upper limit value and the lower limit value are changed symmetrically when the size of the value range is changed. The upper and lower limit values are therefore changed in the same way.
In a further advantageous embodiment the size of the value range is changed in accordance with a linear function. This ensures a particularly good compromise between fast and accurate recording and storing of signal changes.
The value range is preferably specified as a function of a previously stored value of the signal, in particular a value stored immediately previously. This likewise ensures a fast and at the same time accurate recording and storing of signal changes.
The value range is particularly advantageously specified as a function of a predicted value that is determined on the basis of the previously recorded values of the signal. This embodiment of the invention ensures a particularly precise alignment of the value range with the signal waveform. Signal changes are recorded particularly effectively, accurately and quickly.
A number, in particular a maximum number, of values to be stored in a predefined first time range of the signal is preferably predefined. By this means it can be ensured that the memory area required for storing values of the signal is precisely specified and used. The first time range can include for example a specific time in the course of the signal at which values are regularly stored. A desired average number of values to be stored can thus be specified for example.
Furthermore, the starting size of the value range is preferably specified as a function of values stored during a predefined second time range of the signal. The second time range can be for example a specific number of monitoring cycles for the recording of the values. The starting size can advantageously be aligned to the previously recorded and stored signal waveform. This enables an even more effective and faster recording of signal changes.
The invention and its advantages are explained in more detail below with the aid of examples and exemplary embodiments and with reference to the accompanying drawing, in which:
According to the invention the value ranges for storing the values of the signal are changed. The value ranges are therefore variable.
The value 19 is recorded and stored at a point in time t1 of the course of the signal 18. The value 19 serves as a starting point for the recording of values of the signal 18 as shown in
As a result of the reduction in the size of the value range 23 the signal 18 hits the lower limit value 28 of the value range 23 at a point in time t2. At the point in time t2 the value 20 of the signal 18 is recorded and stored. In the time range between the points in time t1 and t2 the signal 18 is less than the upper limit value 27 set in each case and greater than the lower limit value 28 set in each case. Consequently no value of the signal 18 lying in this time range is stored. The storing of the value 20 causes the next value range 24 to be specified. In this case the value range 24 initially assumes a starting size 29 which corresponds to the starting size 26. After a new value has been stored, the value range previously reduced in size is therefore increased in size again. In particular it is reset to an original starting size. The position of the value 20 determines the position of the value range 24. The starting size 29 is specified by means of an upper limit value 30 and a lower limit value 31. In the case of the starting size 29 the upper limit value 30 is the same distance away from the stored value 20 upwards in the positive ordinate direction as the lower limit value 31 downwards in the negative ordinate direction. The value range 24 is initially located symmetrically around the value 20. The starting size 29 is indicated by means of a double arrow running vertically through the value 20 in the ordinate direction. Starting from the starting size 29 the size of the value range 24 is then reduced. In this case the size is reduced continuously in accordance with a predefined linear function. The size of the value range 24 is changed analogously to the previously described changing in size of the value range 23.
As a result of the reduction in the size of the value range 24 the signal 18 hits the upper limit value 30 of the value range 24 at a point in time t3. At the point in time t3 the value 21 is recorded and stored. In the time range between the points in time t2 and t3 the signal 18 is less than the upper limit value 30 set in the individual case and greater than the lower limit value 31 set in the individual case. Consequently no value of the signal 18 lying in this time range is stored. The storing of the value 21 causes the next value range 25 to be specified. The value range 25 in this case assumes a starting size 32 which corresponds to the starting sizes 26 and 29. As described previously in connection with the value ranges 23 and 24, in the variation with time of the signal 18 the size of the value range is then reduced in size continuously by means of a linear function.
This continues until the signal 18 hits a lower limit value 33 of the value range 25 at a point in time t4. At the point in time t4 the value 22 is recorded and stored. In the time range between the points in time t3 and t4 the signal 18 is less than an upper limit value 34 of the value range 25 set in each case and greater than the lower limit value 33 set in each case. Consequently no value of the signal 18 lying in this time range is stored.
As a result of the reduction in the sizes of the value ranges 23-25 the number of values to be stored in the case of the extremely noisy signal 18 can be kept very small. At the same time a good mapping of the noise is ensured by means of the stored values.
At a point in time t6 the signal 35 hits the upper limit value of the value range 40. At the point in time t6 the value 38 that the signal 35 has at this point in time t6 is recorded and stored. In the time range between the points in time t5 and t6 the signal 35 is less than the upper limit value of the value range 40 set in each case and greater than its lower limit value set in each case. Consequently no value of the signal 35 lying in this time range is stored.
The position of the value 38 determines the position of a following value range 41. The value range 41 has a starting size which corresponds to that of the value range 40 and is likewise specified by means of an upper limit value and a lower limit value. The size of the value range 41 is reduced, as previously in the case of the other value ranges. In its variation with time around the point in time t6 the signal 35 exhibits a rapid and strong rise up to the signal peak 36. The signal peak 36 represents a turning point in the course of the signal after which the signal drops away quickly. As a result the signal 35 very quickly hits the lower limit value of the value range 41. This happens at a point in time t7. At the point in time t7 the value 39 that the signal 35 has at this point in time t7 is recorded and stored. The position of the value 38 determines the position of a following value range. Further values of the signal 35 are recorded and stored analogously to the procedure according to
The time range between the points in time t6 and t7 is very short because the signal 35 declines quickly. This strong signal change can be recorded quickly according to the invention. At the same the number of stored values is kept small and the noise and the signal peak 36 of the signal 35 are effectively recorded.
The sizes of the value ranges can be scaled down to a predefinable minimum size which advantageously corresponds to the size zero. The sizes of the value ranges can therefore be reduced to a point where a value range no longer exists at all. Then, provided a signal is still present, its value is precisely registered and stored. If the predefined minimum size of a value range is reached when its size is being reduced, the control means 12 controls a storing of the value of the signal that is then present.
In the exemplary embodiments described hereintofore, the sizes of the value ranges are changed by means of a linear function. It is equally possibly to accomplish the change in another suitable manner. For example, the change can also be implemented by means of an exponential function. In addition, in the exemplary embodiments described, the upper limit values and the lower limit values of the respective value ranges are changed symmetrically. It is equally possible in this case to implement the changes in another suitable manner so that they are not oppositely identical. Furthermore, in particular the positions of the respective value ranges are specified as a function of values of the signal that were stored immediately previously. It is, however, also possible to specify the value ranges as a function of predicted future values which are determined on the basis of previously recorded values of the signal by means of which the structure of the signal is mapped.
Number | Date | Country | Kind |
---|---|---|---|
06007401.0 | Apr 2006 | EP | regional |
This application is the US National Stage of International Application No. PCT/EP2007/051671, filed Feb. 21, 2007 and claims the benefit thereof. The International Application claims the benefits of European application No. 06007401.0 filed Apr. 7, 2006, both of the applications are incorporated by reference herein in their entirety.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2007/051671 | 2/21/2007 | WO | 00 | 12/2/2009 |