The present disclosure relates to identifying a manipulation of an analog signal by means of a control device of a vehicle.
Control devices of vehicles are communicatively connected to one another via bus systems. A control device of the bus system can receive and process messages of the bus system. A control device commonly receives analog content via the bus system. The analog content items are not currently subjected to testing by the receiving control device.
It would therefore be desirable to efficiently identify a manipulation of an analog signal by means of a control device of a vehicle. It would furthermore be desirable to efficiently identify a manipulation of analog content of a message from a bus system by means of a control device of a vehicle.
The above-stated objects are achieved by advantageous embodiments and developments described herein.
A first aspect is characterized by a method for identifying a manipulation of an analog signal by means of a control device of a vehicle. The method can be a computer-implemented method and/or a control-device-implemented method. The analog signal can be analog content of a message from a bus system of a vehicle. Preferably, the analog signal is transmitted digitally via the bus system of the vehicle. The control device is preferably a recipient of the analog signal. The vehicle can be a motor vehicle. The method comprises receiving a sequence of messages from a bus system by means of the control device of the vehicle, wherein one message of the sequence of messages comprises a value of the analog signal. The sequence of messages comprises at least two messages. Preferably, the sequence of messages comprises more than two messages. The bus system can be a CAN bus.
The method comprises storing the sequence of messages in a buffer memory of the control device. The buffer memory can be a volatile or non-volatile memory of the control device of the vehicle. The buffer memory can store at least two messages from the sequence of messages, namely a current message and a message preceding the current message. In addition or alternatively, the buffer memory can store a predetermined number of messages from the sequence of messages. In addition, or alternatively, the buffer memory can store messages from the sequence of messages for a specified time interval.
The method comprises determining a temporal profile of the analog signal based on the stored sequence of messages. The method further comprises calculating a gradient for the determined temporal profile of the analog signal and plausibility checking the calculated gradient to identify the manipulation of the analog signal. The plausibility checking of the calculated gradient can comprise checking the gradient with regard to a predetermined value range, and/or a predetermined set of values, and/or a predetermined temporal profile. Finally, the method comprises issuing an alarm message from the control device to a vehicle-external server if the gradient, in particular the calculated gradient, is not plausible. For example, the calculated gradient may not be plausible if a maximum possible value is exceeded and/or if the gradient deviates from a predetermined typical gradient.
Advantageously, the method can identify manipulation of an analog signal or an analog content of a message efficiently by submitting the gradient of the analog signal to a plausibility check. Thus, a control device as the recipient of a message can efficiently identify a manipulation of a message or a sequence of messages and transmit the manipulation to a vehicle-external server. Manipulation of analog signals of a vehicle can thus be identified quickly.
According to an advantageous embodiment, the sequence of messages may comprise at least two messages.
According to a further, advantageous embodiment, the plausibility-checking of the calculated gradient to identify the manipulation of the analog signal can comprise determining a permissible value range of the gradient of the analog signal, and plausibility checking the calculated gradient with regard to the permissible value range determined. This allows manipulation of an analog signal to be efficiently identified.
According to a further, advantageous embodiment, the permissible value range can be specified in advance. For example, the permissible value range can be defined by one or more physical variables.
According to another advantageous embodiment, the permissible value range can be learned by the control device. This allows the permissible value range to be determined dynamically.
According to yet another advantageous embodiment, the permissible value range can be calculated and/or learned using one or more vehicle-specific, physical parameters. This allows the permissible value range to be determined efficiently.
According to a further, advantageous embodiment, the analog signal may comprise a distance traveled, an acceleration, a deceleration, a speed, a torque, an engine speed, a charging current, and/or a discharge current.
A further aspect is characterized by a computer-readable medium for identifying a manipulation of an analog signal by means of a control device of a vehicle, wherein the computer-readable medium comprises instructions that, when executed on a computer or a control device, carry out the method described above.
A further aspect is characterized by a system for identifying a manipulation of an analog signal by means of a control device of a vehicle, the system being designed to carry out the method described above.
A further aspect is characterized by a vehicle comprising the system described above for identifying a manipulation of an analog signal by means of a control device of a vehicle.
Additional features arise from the claims, the FIGS. and the description of the figures. All the features and feature combinations cited in the description above, and the features and feature combinations cited in the description of the figures below and/or shown in the figures alone are applicable not only in the respective combination indicated, but also in other combinations or else in isolation.
In the following, a preferred exemplary embodiment is described by reference to the attached drawings. This will reveal further details, preferred embodiments and extensions of the disclosure.
In detail,
The plausibility checking 110 of the calculated gradient can be performed with respect to a typical gradient and/or a typical value range of the gradient. The typical profile of the gradient and/or the typical value range can be specified in advance. For example, the typical profile of the gradient and/or the typical value range of the gradient can be specified during a configuration of the control device. In addition or alternatively, the typical profile of the gradient and/or the typical value range of the gradient can be determined dynamically. For example, the typical profile of the gradient and/or the typical value range can be learned by means of a learning method. For the learning, known learning methods can be used, which are trained, for example, during testing of the vehicle and are able to plausibility-check the calculated gradient with respect to the typical profile and/or the typical value range of the gradient.
For example, the analog signal may be a speed signal of the vehicle. The speed signal of the vehicle can only increase by a specified maximum value as a function of the maximum torque of the vehicle per unit time. The method can check the plausibility of the gradient of the speed signal with respect to the specified maximum value of the speed signal increase. If the increase in the speed signal exceeds the specified or learned maximum value, the method 100 can identify a manipulation of the speed signal and send an alarm message to the vehicle-external server.
Advantageously, the method 100 can check the plausibility of the message or the sequence of the messages independently of the sender of the message. Thus, even manipulated analog contents or analog signals of messages from control devices, which are additionally added to the bus system, can be efficiently identified by the control device as the recipient of the messages.
In detail,
Advantageously, the method or the system can plausibility check analog contents of a sequence of messages efficiently, so that manipulation of an analog content of a message can be identified. Due to technical and/or physical restrictions, analog contents of messages from a bus system can only change by a certain amount per unit time. By plausibility checking the gradient of the analog content of the sequence of messages, it is possible to verify whether the change in the analog content is within permissible limits or exceeds the permissible limits. Exceeding the permitted limits may indicate that manipulation of the analog content of a message has occurred. By transmitting an alarm message to a vehicle-external server, manipulation of the messages can be quickly identified.
Number | Date | Country | Kind |
---|---|---|---|
10 2021 112 330.5 | May 2021 | DE | national |
The present application is the U.S. national phase of PCT Application PCT/EP2022/053557 filed on Feb. 15, 2022, which claims priority of German patent application No. 102021112330.5 filed on May 11, 2021, which is incorporated herein by reference in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/053557 | 2/15/2022 | WO |