Method for Transmitting and Receiving a Measured Value of a Sensor
20190039544 ยท 2019-02-07
Inventors
Cpc classification
H04Q9/00
ELECTRICITY
B60R21/01
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60R21/01
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A method for transmitting a measured value of a sensor using a first data word and at least one second data word includes reproducing a first part of the measured value in the first data word and reproducing a remaining part of the measured value in the at least one second data word, such that the reproduced parts of the measured value transition into one another.
Claims
1. A method for transmitting a measured value of a sensor, comprising: mapping a first portion of the measured value onto a first data word; mapping a remaining portion of the measured value onto at least one second data word; and transmitting the measured value as the first data word and the at least one second data word, such that the mapped portions of the measured value merge into one another.
2. The method as claimed in claim 1, further comprising: using the at least one second data word to transmit only components of the measured value that are situated either above or below a largest sensor value, in terms of absolute value, transmittable with the first data word.
3. The method as claimed in claim 1, wherein: the first data word represents the first portion of the measured value at a first resolution, and the at least one second data word represents the remaining portion of the measured value at at least one further resolution.
4. The method as claimed in claim 3, wherein the first resolution is not equal to the at least one further resolution.
5. The method as claimed in claim 1, wherein the first data word and the at least one second data word have the same word length.
6. The method as claimed in claim 1, further comprising: transmitting the first data word and the at least one second data word according to a communication protocol, the communication protocol having at least one communication slot for transmission, with the first data word and the at least one second data word transmitted in different communication slots or in succession within the same communication slot or in rolling fashion within the same communication slot.
7. A method for receiving a measured value of a sensor, comprising: receiving a first portion of the measured value based on a first data word; and receiving a remaining portion of the measured value based on at least one second data word, wherein the received portions of the measured value merge into one another.
8. The method as claimed in claim 7, further comprising: using the at least one second data word to receive only components of the measured value that are situated either above or below a largest sensor value, in terms of absolute value, transmittable with the first data word.
9. The method as claimed in claim 7, wherein: the first data word represents the first portion of the measured value at a first resolution, and the at least one second data word represents the remaining portion of the measured value at at least one further resolution.
10. The method as claimed in claim 9, wherein the first resolution is not equal to the at least one further resolution.
11. The method as claimed in claim 7, wherein the first data word and the at least one second data word have the same word length.
12. The method as claimed in claim 7, further comprising: receiving the first data word and the at least one second data word according to a communication protocol, the communication protocol having at least one communication slot for receiving, with the first data word and the at least one second data word received from different communication slots or in succession from the same communication slot or in rolling fashion from the same communication slot.
13. The method as claimed in claim 7, wherein the measured value is transmitted by mapping the first portion of the measured value onto the first data word; mapping the remaining portion of the measured value onto the at least one second data word; and transmitting the measured value as the first data word and the at least one second data word, such that the mapped portions of the measured value merge into one another.
14. A sensor comprising: at least one storage device configured to store at least one function for mapping a measured value onto a first data word and at least one second data word, wherein the sensor is configured to transmit the measured value by mapping a first portion of the measured value on the first data word, mapping a remaining portion of the measured value onto the at least one second data word, and transmitting the measured value as the first data word and the at least one second data word, such that the mapped portions of the measured value merge into one another.
15. (canceled)
16. The sensor as claimed in claim 14, wherein the sensor is configured to transmit the at least one function in an initialization phase.
17. The sensor as claimed in claim 14, wherein the at least one function is stored during manufacture of the sensor.
18. The sensor as claimed in claim 17, wherein the stored at least one function is stored in a protected fashion, such that retrospective manipulation and/or alteration of the at least one function is not possible.
19. The method as claimed in claim 7, wherein a controller is configured to carry out all the steps of the method.
20. The method as claimed in claim 1, wherein a computer program is configured to carry out the method.
21. The method as claimed in claim 20, wherein the computer program is stored on a machine-readable storage medium.
Description
[0055] Embodiments of the present invention and particular aspects and advantages are clarified below on the basis of figures, in which
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066] The abscissa plots the sensor measured values. The ordinate plots the values of the data word. The red line in this case represents the linear assignment of the sensor measured value range to the data word range of +/480 LSB.
[0067]
[0068] In the next step, the sensor signals of the communication bus are received and processed for the various communication slots on a controller (for example an airbag controller), for example. So that the sensor signals of the communication bus are interpreted on the controller correctly, the invention involves the sensor signals of the communication slot used in the communication protocol being converted.
[0069]
[0070] In
[0071] It is clear to a person skilled in the art in this case that the value ranges is dependent on the data word length of the communication slots and the number of communication slots used.
[0072]
[0073] In
[0074] It is clear to a person skilled in the art in this case that the measurement range can be increased into the negative sensing range of the sensor in an analogous manner.
[0075] According to the embodiments above, the sensor measured values have been transferred to a first and at least one second data word at the same resolution.
[0076] According to the embodiments that are now described below, the aim is for the transmitted value range to be extended as appropriate by means of different resolutions of the measured values in the first and at least one second data word.
[0077] According to these embodiments of the method of the present invention, the addition of at least one further communication slot effects a measurement range extension, the resolution of the transmitted values on the second communication slot not being consistent with the resolution of the transmitted values on the first communication slot. The characteristic curve depicted in
[0078] According to the depiction in
[0079] In the next step, the transmitted values of the applicable communication protocol or standard are received and processed for the various communication slots, for example on a controller (in this case an airbag controller). So that the sensor signals of the communication bus are interpreted on the controller correctly, the invention involves the sensor signals of the communication slot used in the applicable communication protocol or standard being converted. In this context, multiple methods of coding on the sensor or back-calculation on the controller are conceivable. Some of these are presented below by way of example.
[0080]
[0081] According to the variant, as depicted in
[0082] The resolution of the transmitted values is different for the two communication slots in this example.
[0083] In the present case, this means the following: it is assumed a sensor has a sensing range that is mapped onto the value range of +/1440 LSB in single steps.
[0084] However, only communication slots that have a data word size of 10 bits and therefore cover only a value range of +/480 LSB in single steps are available for transmitting the sensor measured value.
[0085] In order to transmit the entire sensing range, the resolution 3:1 would now need to be chosen in the present case. This would mean accuracy would be lost.
[0086] If the correspondingly high resolution is significant, the sensing range could be trimmed. This is to say that measured values above/below +/480 would not be transmitted or would be transmitted only as +/480 LSB.
[0087] If both the resolution and the sensing range are important, then, according to one of the preceding embodiments, a further communication slot could be included. However, even two communication slots would only be able to cover a value range of +/960 LSB.
[0088] According to the present variant, a predetermined value range could be transmitted at a high resolution. The high resolution could be dispensed with in the remaining value range.
[0089] In the case of applications for triggering safety means, such as airbags, a value range around the zero point or around the trigger threshold values is particularly significant. There should therefore be a high resolution around this value.
[0090] According to the present embodiment of the present invention, this is achieved by virtue of the sensor measured values between +/480 being transmitted at a high resolution (for example 1:1), whereas the sensor measured values from 1440 to 481 and +481 to +1140 are transmitted at a lower resolution (for example 2:1).
[0091] By way of example, the sensor measured value +363 would be transmitted in the first communication slot with +363 LSB and in the second communication slot with 0.
[0092] On the controller, the sensor measured value +363 would be able to be received by addition of the transmitted values.
[0093] The sensor measured value 1221 would be transmitted in the first communication slot with 480 LSB and in the second communication slot, on account of the lower resolution and on account of rounding conventions, with 371 LSB.
[0094] On the controller, the sensor measured value 1222 would be received by addition and consideration of the different resolutions of the transmitted value in the second communication slot.
[0095] It is apparent in this case that the measured value and the received value are slightly different on account of the loss of information as a result of the lower resolution.
[0096] This loss of information is accepted in favor of the distinctly increased measured value range.
[0097] It is clear to a person skilled in the art in the present case that the measured value range can be influenced further by including further communication slots and by changing the resolution.
[0098]
[0099] As shown in the depiction in
[0100] This means that the combination of the transmitted values from the two communication slots, as depicted in
[0101] A communication slot of the communication protocol or standard having a data word size of 10 bits in this example is only able to transmit +/480 LSB. The combination of multiple communication slots and the conversions at the sensor and controller ends mean that this results in 480 LSB to +2400 LSB in this example, however.
[0102] The resolution of the sensor signals is different for the two communication slots in this example.
[0103] The asymmetric layout of the value range is intended in this case, since a high measurement range may also be needed only in the positive or negative sensing range of the sensor.
[0104] Moreover, the sensor resolution for the upper sensing range may be reduced, since a resolution in the single LSB range is for the most part not necessary there.
[0105] Beyond the cited approaches, it is conceivable within the framework of the invention for different mapping functions to be stored in the sensor and in the controller for a sensor generation. Depending on the application, the correct mapping function, i.e. the stipulation of the desired resolution for the applicable value ranges, is coded in the sensor during production.
[0106] The sensor configuration is subsequently sent to the controller during the initialization phase, so that the back-calculation of the sensor data from the transmission is performed correctly for the various communication slots in the controller.
[0107] In this manner, sensors arranged for an application for triggering occupant protection means, for example airbags, in the vehicle side, for example, can be operated at a different resolution or with a different value range than sensors of the same type for pedestrian protection or for front crash detection.
[0108]
[0109] In step 801, a sensor measured value is output or provided by a sensor.
[0110] In step 802, the sensor measured value is mapped onto a first data word and at least one second data word, a first portion of the sensor measured value being mapped onto the first data word and the remaining portion of the sensor measured value being mapped onto the at least one second data word. In this case, the first mapped portion of the sensor measured value and the remaining mapped portion of the sensor measured value merge into one another.
[0111] In step 803, the first data word is transmitted by means of a first communication slot of an applicable communication protocol or standard and the at least one second data word is transmitted by means of at least one second communication slot of the communication protocol or standard, or the first and second data words are transmitted in succession within the same communication slot or the first and second data words are transmitted in rolling fashion within the same communication slot.
[0112]
[0113] In step 901, a first and at least one second data word are received by means of a first communication slot and at least one second communication slot or in succession within the same communication slot or in rolling fashion within the same communication slot of an applicable communication protocol.
[0114] In step 901, the values transmitted by means of the first and the at least one second data word are combined as appropriate, so that the sensor measured value provided for transmission is received taking into consideration the transmitted value range and the resolution used.