METHOD AND DEVICE FOR PROTECTING A SIGNAL FOR TRANSMITTING A MEASUREMENT VALUE TO A SIGNAL PROCESSING UNIT
20230396275 · 2023-12-07
Inventors
Cpc classification
International classification
Abstract
A method for protecting a signal for transmitting a sequence of measurement values to a signal processing unit. The method includes a step of reading in at least one sequence of measurement values from a sensor and a step of processing the measurement values using a cyclical processing specification in order to determine a varied measurement value for each of at least two measurement values. Finally, the method comprises a step of sending the varied measurement values to the signal processing unit as measurement values from the sensor.
Claims
1-12. (canceled)
13. A method for protecting a signal for transmitting a sequence of measurement values to a signal processing unit, the method comprising the following steps: reading in at least one sequence of measurement values from a sensor; processing the measurement values using a cyclical processing specification to determine a varied measurement value for each measurement value of at least two of the measurement values; and sending the varied measurement values to the signal processing unit as measurement values from the sensor' wherein in the processing step, the processing specification is configured to alternately link measurement values to a first predefined link value and a second predefined link value that differs from the first link value to determine the varied measurement values.
14. The method as recited in claim 13, wherein in the processing step, the processing specification used is configured to bring about an algebraic and/or logical link between the measurement value and/or a digital representation of the measurement value and a predefined link value to determine the varied measurement values.
15. The method as recited in claim 14, wherein in the processing step, the processing specification used is configured to add a measurement value to the predefined link value to determine a corresponding varied measurement value.
16. The method as recited in claim 14, wherein in the processing step, the processing specification used which is configured to modify a lowest-value digit of the measurement value in order to obtain a corresponding varied measurement value.
17. The method as recited in claim 14, wherein the measurement values are processed as binary datum and the processing specification modifies a digit of a digit having a lowest-valued value.
18. The method as recited in claim 17, wherein in the processing step, the processing specification used is configured to use a value that forms a value complementary to the first predefined link value as the second predefined link value.
19. The method as recited in claim 13, wherein in the processing step, the processing specification used which is configured to apply the cyclical processing specification when measurement values of the sequence of measurement values within a predefined time interval are identical.
20. The method as recited in claim 13, wherein in the processing step, the processing specification used which is configured to perform the processing cyclically using the processing specification for measurement values that are read in at a predefined time interval from one another in order to obtain one corresponding varied measurement value in each case.
21. A method for detecting an error in a transmission of a signal containing measurement values to a signal processing unit, the method comprising the following steps: reading in a sequence of received values from the signal; analyzing whether the received values have a cyclical pattern as obtained by applying a read in processing specification to measurement values from a sensor; and ascertaining the error in the transmission of the signal containing received values when it is not detected in the analyzing step that the signal containing received values has the cyclical pattern.
22. A device configured to protect a signal for transmitting a sequence of measurement values to a signal processing unit, the device configured to: read in at least one sequence of measurement values from a sensor; process the measurement values using a cyclical processing specification to determine a varied measurement value for each measurement value of at least two of the measurement values; and send the varied measurement values to the signal processing unit as measurement values from the sensor; wherein in the processing, the processing specification is configured to alternately link measurement values to a first predefined link value and a second predefined link value that differs from the first link value to determine the varied measurement values.
23. A non-transitory machine-readable storage medium on which is stored a computer program for protecting a signal for transmitting a sequence of measurement values to a signal processing unit, the computer program, when executed by a computer, causing the computer to perform the following steps: reading in at least one sequence of measurement values from a sensor; processing the measurement values using a cyclical processing specification to determine a varied measurement value for each measurement value of at least two of the measurement values; and sending the varied measurement values to the signal processing unit as measurement values from the sensor' wherein in the processing step, the processing specification is configured to alternately link measurement values to a first predefined link value and a second predefined link value that differs from the first link value to determine the varied measurement values.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0029]
[0030]
[0031]
[0032]
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENT
[0033] In the following description of advantageous exemplary embodiments of the present invention, elements shown in the various figures that have a similar action are given the same or similar reference numerals and these elements are not described again.
[0034]
[0035] To then obtain the varied measurement values 110′, as described above, the read in measurement values 110 or at least two of the read in measurement values 110 are processed in the processing unit 130 in accordance with the cyclical processing specification 135. This cyclical processing specification 135 is, for example, configured such that measurement values 110 that are at a predetermined time interval from one another are linked by a predefined link value 140. For example, a link value 140 of this kind may be a predefined value that is added to the measurement values 110 to obtain the varied measurement values 110′. In this way, the measurement values 110 in question are deliberately “distorted” in a conventional manner in a predetermined time interval and are output in the signal 105 as the varied measurement values 110′.
[0036] If it is now detected that the varied measurement values 110′ contained in the signal 105 have actually been varied in accordance with the processing specification 135, a device 150 for detecting an error in the transmission of a signal 105 containing measurement values 110 is then provided on the receiving side of the signal 105. In this device 150, the signal 105, which comprises a sequence of received values 160 representing the varied measurement values 110′, is first read in via a read-in interface 155. These received values 160 are then supplied to an analysis unit 165, which can in turn access the corresponding cyclical processing specification 135 and the link value 140 from a memory in order to check whether the received values 160 have been processed in accordance with the cyclical processing specification 135 and the link value 140. The same processing specification 135 and the same link value 140 are thus advantageously known both in the device 100 and the device 150. Furthermore, information regarding the analysis result in the analysis unit 165 is relayed to an ascertaining unit 170 in which an error is ascertained and is sent to the signal processing unit 115 via an error signal 175 when the analysis unit 162 does not detect that the signal 105 containing received values 160 has the cyclical pattern as obtained by applying the processing specification 135 to measurement values 110 from the sensor 120. In this way, the signal processing unit 115 can thus indicate that the received values 160 from the signal 105 are not valid and thus cannot be used as a basis for further functions.
[0037] Using the approach presented here, it is therefore possible to ascertain a loss of the function of the sensor 120 or of the validity of the measurement values 110. Here, these measurement values 110 may be in digital form, for example in a transmission format of a data frame having a header and an operand, which is also configured to transmit a plurality of data words, for example. In certain situations, an error can namely arise that means that a digital part 180 of the sensor 120 is no longer functioning correctly and is outputting static values as the measurement values 110, which are then interpreted in the signal processing unit 115 as valid measurement values and are used for actuating functions.
[0038] As already briefly mentioned above, the above-mentioned problem can be solved by increasing the resolution of the measurement values 110, for example from 16 bits to 32 bits, such that, when a digital part 180 of the sensor 120 is operating correctly, a noise, which would have to be detected in the measurement values 115 due to the increased resolution, can be expected when the sensor captures the physical variable. Although this procedure is possible in principle, it requires a dramatically increased capacity for the transmission of the measurement values at the accordingly increased resolution in order to be able to detect certain errors on its own. At this point approach proposed here by linking the measurement values in a cyclical manner, i.e., at certain intervals, to certain predefined link parameters, such that, on the basis of the presence of these modified measurement values, it can then also be detected whether the digital part 180 of the sensor 120 is functioning correctly. For this purpose, the device 100 can for example also be understood to be an extension of the digital part 180 of the sensor 120 such that the signal 105 can be transmitted for example via standard data transmission paths in a vehicle 117, such as the CAN bus. Upstream of the signal processing unit 115, the device 150 can then in turn ascertain whether the received values 160 contained in the signal 105 correspond to correct measurement values 110.
[0039]
[0040]
[0041] In the exemplary embodiment shown in
[0042]
[0043] In this way, by alternately adding and subtracting a low value to and from the corresponding measurement value 110, the “distortion” caused by the processing specification 135 can be compensated for by averaging different link values 140, in particular when the measurement values have been observed for a longer period of time, for example for an integration of these measurement values, such that an evaluation of this kind in fact no longer requires correction of the varied measurement values 110′ in the device 150 or the signal processing unit 115, meaning that numerical or circuitry-related complexity can be further reduced.
[0044] At the same time, it can be noted that, in principle, not only does a low value of the corresponding measurement values 110 need to be modified by the processing specification 135 in order to detect an error in the sensor 120 or digital part 180, but other digits in the measurement value 110 can also be actively modified as long as it is known which digit is used by the processing specification 135 or which link value 140 is used. Information regarding the cycle of the processing specification or the time interval 225 between the use of the different link parameters 215 and 225 as link values 140 is also relevant.
[0045] It is of course also possible for measurement values 110 having any resolution to be able to used for the approach presented here, meaning that the approach presented here is not limited only to 4-bit-wide measurement values. It is also apparent that, due to the approach presented here, it is thus no longer necessary to significantly increase the resolution of the measurement values in order to detect, by way of a sensor 120 that captures a noise of the physical value, that the digital part 180 of the sensor 120 is still functioning correctly. Instead, by actively modifying individual digits or components of the measurement values 110 in the knowledge of the exact modification specification or processing specification 130, it is possible to identify a potential malfunction of the sensor 120 or digital part 180 of the sensor 120 very effectively and technically very efficiently.
[0046] In summary, in view of the approach presented here, the question is when an above-described procedure of increasing the resolution to 32 bits is required. That procedure is only useful if the noise is supposed to be used to check whether the digital part 180 of the sensor 120 is still running. Since, in statistics, a plurality of consecutive equal values cannot be excluded, it is for example proposed in other approaches that the noise width be increased in order to significantly decrease the probability of consecutive equal values. However, in VMPS using 32 bits, more than twice the SPI bus load would be generated on the SPI, and this alone poses difficulties for the microprocessor. In addition, the radiation would increase in electromagnetic compatibility. This situation becomes even worse on a 500 kHz CAN bus. If the entire width of 8 bytes is required, a value of 200 ps for a data word 205 is obtained per signal. For 6 signals, this is already 1200 ps, or 2400 ps with redundancy. If an interval of 5 ms is selected, just the transmission of the sensor values generates a bus load of 50%.
[0047] According to the approach presented here, the data width can be reversed to 16 bits again and, for example, one bit of “artificial noise” can be added: this means, for example, that the old value is stored, and a new value is calculated, with an LSB then being subtracted or added in a statistically distributed manner. Therefore, a check as to whether the digital is still “alive” can only be performed by way of a comparison.
[0048]
[0049]
[0050] If an exemplary embodiment contains an “and/or” conjunction between a first feature and a second feature, this should be interpreted such that, according to one specific embodiment, the exemplary embodiment includes both the first feature and the second feature and, according to a further specific embodiment, the exemplary embodiment includes either only the first feature or only the second feature.