METHOD FOR DIAGNOSING A FUNCTIONALITY USING DISCRETE VALUES OR DISCRETE CLASSES OF VALUES ON THE INPUT OR OUTPUT SIDE
20210362778 · 2021-11-25
Assignee
Inventors
Cpc classification
B62D5/0481
PERFORMING OPERATIONS; TRANSPORTING
G05B23/0235
PHYSICS
B62D5/00
PERFORMING OPERATIONS; TRANSPORTING
International classification
B62D5/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A method for diagnosing a functionality having an input or output signal with discrete values or discrete classes of values which are observable quantities of a diagnosis functionality. The signal to be diagnosed is the input or output signal, where the values or classes of values have a cardinality N, where N error counters are provided. The method includes providing a sum signal from the sum of the signals of the error counters. When a value or a class of values is erroneous, the method includes incrementing the signal of the error counter assigned to the erroneous value or the erroneous class. When the value or the class is correct, the method includes decrementing the signal of the error counter assigned to the value or the class and when the sum signal exceeds a pre-established limit value, the method includes outputting an error message of the functionality.
Claims
1.-18. (canceled)
19. A method for diagnosing a functionality which has an input or output signal with discrete values or discrete classes of values which are observable quantities of a diagnosis functionality, where the signal to be diagnosed is the input or output signal and where the values or the classes of values have a cardinality N, wherein N error counters are provided, comprising: providing a sum signal from the sum of the signals of the error counters; when a value or class of values is erroneous, incrementing the signal of the error counter assigned to the erroneous value or the erroneous class; when the value or the class is correct, decrementing the signal of the error counter assigned to the value or the class; and when the sum signal exceeds a pre-established limit value, outputting an error message of the functionality.
20. The method of claim 19 wherein the distribution of the input values or input classes is not concordant with the distribution of the values of the output signal or output classes.
21. The method as claimed in claim 19 wherein input values or output values on which a function of the functionality has the same effect are grouped into a class.
22. The method of claim 19 wherein the incrementing and/or decrementing of the signal of the error counter takes place continuously over time.
23. The method of claim 22 wherein the incrementing and/or decrementing of the signal of the error counter takes place linearly.
24. The method of claim 22 wherein the signal of the error counter is decremented directly to zero.
25. The method of claim 19 wherein the functionality comprises a safety switching device of a motor.
26. The method of claim 25 wherein the signal to be diagnosed is the output signal of the safety switching device.
27. The method of claim 25 wherein the safety switching device inspects an angular velocity of the motor and prevents a switching element in a control loop of the motor from switching at an angular velocity which exceeds the permissible limit value.
28. The method of claim 26 wherein the cardinality is at least two and the value reproduces an exceeding of the permissible limit value.
29. The method of claim 26 further comprising: measuring the angular velocity and inspecting the value of the output signal of the safety switching device; when the value of the output signal is erroneous, incrementing the signal of the error counter assigned to the erroneous value; and when the value is correct, decrementing the signal of the error counter assigned to the value.
30. The method of claim 26 wherein the switching element is a relay or MOSFET.
31. The method of claim 26 wherein the switching element is part of one or more inverters.
32. The method of claim 26 wherein the switching element is operated by one or more control devices.
33. The method of claim 26 wherein a main controller and an additional microcontroller which measure the angular velocity independently of each other are provided in the control loop of the motor.
34. A safety switching device for a motor with a diagnosis functionality which is set up to carry out the method of claim 19.
35. An electromechanical motor vehicle steering system with a servo motor having the safety switching device of claim 34.
36. A steer-by-wire steering system for a motor vehicle with a servo motor having the safety switching device of claim 34.
Description
[0027] A preferred embodiment of the invention will be described in more detail hereinbelow by means of the drawings. Components of the same kind or having the same effect will be referred to with the same reference signs in the figures, in which:
[0028]
[0029]
[0030] In
[0031] The upper steering shaft 3 and the lower steering shaft 4 are coupled together in a rotationally elastic way via a spindle, not shown. A torque sensor unit 11 captures the twisting of the upper steering shaft 3 relative to the lower steering shaft 4 as a measure of the torque exerted manually at the steering shaft 3 or the steering wheel 2. Depending on the torque 111 measured by the torque sensor unit 11, the servo unit 10 provides steering assistance for the driver. Here, the servo unit 10 can be coupled either to a steering shaft 3, the steering pinion 5 or the toothed rack 6 as an auxiliary power assistance device 10, 100, 101. The respective auxiliary power assistance 10, 100, 101 carries an auxiliary power moment into the steering shaft 3, the steering pinion 5 and/or into the toothed rack 6, by which the driver is assisted in the steering work. The three different auxiliary power assistance devices 10, 100, 101 represented in
[0032] A safety switching device is provided which inspects the angular velocity of the motor and prevents a switching element in the control loop from opening at too high an angular velocity and thereby sustaining damage. In addition, a diagnosis functionality is provided for detecting a malfunction of the safety switching device. The safety switching device is designed so as not to open the switching element if the diagnosis functionality detects a malfunction.
[0033] An additional microcontroller is integrated in the control loop of the switching element which measures the angular velocity of the motor independently of a main controller and delays a request to open the switching element until safe opening of the switching element can be carried out. The additional microcontroller is monitored as part of the diagnosis functionality by the main controller. The main controller measures the angular velocity of the motor and receives a 1 bit piece of information of the additional microcontroller as to whether the angular velocity of the motor is above or below a limit value for the safe opening of the switching element. It is desirable that the functionality is as stable as possible, that is to say that only latent errors are detected. For this case, in which the output value of the additional microcontroller has a small cardinality with only two values, ‘above’ and ‘below’, and the condition under normal circumstances is ‘below’, it is particularly important to take into account all erroneous ‘below’ values in the diagnosis functionality.
[0034] The diagnosis functionality is designed to ‘debounce’ the signal. That means that an unstable and thus error-containing signal of the additional microcontroller is indeed detected, but it does not lead to the detection of an error in the safety switching device until a certain number of errors are present or a systematic error arises.
[0035] In
[0036] In what follows, the time series of the angular velocity shown in
[0037] The angular velocity rises in an initial range 20 until it is above the permissible limit value 14. The additional microcontroller does not detect the exceeding of the limit value 14 and regards the signal of the angular velocity as permissible. The diagnosis functionality detects the error of the additional microcontroller and the second error counter is incremented. The presence of an error is not detected, however, and the sum signal of the diagnosis functionality remains zero.
[0038] The angular velocity remains above the permissible limit value 14 in a second range 21 of the time series. The microcontroller detects the exceeding and correctly outputs the value 1. The second error counter is therefore reset to zero. Later on, in a third range 22, the angular velocity drops below the limit value. The additional microcontroller does not detect the change and continues to erroneously output the value 1. The first error counter is therefore incremented. After the microprocessor outputs the correct value again (range 23), the first error counter is reset to zero. In what follows, a transient error of the additional microprocessor occurs in a further range 24, which is detected by the first error counter. After that, the first error counter is reset to zero (range 25). After a while the additional microprocessor has a permanent error; it no longer indicates the presence of an excessively high angular velocity. This is not detected by the diagnosis functionality until the angular velocity exceeds the permissible limit value 14. In this case, the second error counter is incremented (range 26). Since the microprocessor no longer outputs a correct output signal at all when the permissible limit value is exceeded, the signal of the second error counter is no longer reset to zero and, in the time whenever the angular velocity exceeds the permissible limit value, is incremented more and more (ranges 27, 32). Towards the end of the time series, a short transient error arises in the output signal of the microprocessor (range 28). This is detected by the first error counter, the signal of which is incremented accordingly. After the microprocessor no longer shows this error (range 29), the first error counter is reset to zero. After a while, a pre-established limit value in the sum signal of the error counters, also termed ‘debounce limit’ 33, is exceeded, which triggers the detection of an error of the safety switching device and prevents the opening of the switching element for safety reasons.
[0039] The incrementing of the error counters takes place continuously when a corresponding error occurs. Preferably, the signal of the error counters increases linearly with time.
[0040] The invention is not limited to electromechanical steering systems. There may for example also be provision for use in electric motors of steer-by-wire steering systems.