The invention relates to a method and an arrangement for monitoring signals which are supplied from an output stage to a multiphase motor and the pulse width of which is controlled by a controller.
It is necessary, in particular for safety-relevant applications in motor vehicles, for example for electrically assisted steering, to detect any fault which may result in a hazardous state. In the case of electrically assisted steering systems, DC or EC motors which are controlled via an H bridge or a B6 bridge by applying pulse-width-modulated signals to the half-bridges are used to provide assistance. The semiconductor switching elements, usually MOSFETS, are driven by a control device (microcontroller or digital signal processor). In order to detect faults, it is necessary to continuously monitor the RMS voltages applied to the output.
WO 2004/105206 A1 has disclosed a method and an arrangement for monitoring a power output stage, the respective pulse width of signals present at the output being compared with a respective desired pulse width and the power output stage being identified as being fault-free if discrepancies do not exceed a predefined level. In this case, the measurement of the pulse widths and the comparison are carried out with the aid of a control device which also derives the control signals for the output stage and is generally formed by a controller. However, the required synchronicity between the monitoring of the output stage and the pulse width modulation is not ensured in such controllers, particularly if there is a high level of utilization, for example caused by a high occurrence of interrupts.
It is an object of the present invention to reliably ensure that signals are monitored even when a controller is utilized to a great extent to generate the control signals.
In the case of the method according to the invention, this object is achieved by virtue of the fact that the sum of the pulse widths of the signals for each phase is respectively measured using a respective counter for a predefined amount of time that is independent of the program sequence in the controller, that the counter reading is read from the counter after the predefined amount of time, and that a fault signal is generated if the total amount of time is outside a predefined tolerance range.
In order to measure the pulse widths, a first embodiment of the method according to the invention provides for the signals to be combined with a gate pulse and to be supplied to the counter which is clocked at a considerably higher frequency than the frequency of the signals, and for the gate pulse to be generated by a timer which receives the predefined amount of time from the controller in the form of a numerical value.
A second embodiment involves the signals being supplied to a respective counter, and the counters being enabled for the duration of a gate pulse which is generated by a timer.
In order to take into account the pulse width modulation of the signals, the method according to the invention may also provide for the predefined tolerance range to depend on the pulse width predefined by the controller. The effects of propagation and switching times of the signals in the region of the output stage can be reduced by changes in the pulse width from the control circuit to the motor being taken into account in the dependence of the tolerance range on the predefined pulse width.
The method according to the invention may provide for the predefined amount of time to be predefined by the controller. This makes it possible to optimize the predefined amount of time with respect to different operating states or other circumstances.
The method according to the invention can be designed in such a manner that the gate pulse is asynchronous with respect to the pulses and has a length of an integer multiple of the period duration of the pulses, or that the gate pulse is in synchronism with the pulses and has a length of a plurality of period durations of the pulses.
In the case of an arrangement according to the invention, the object is achieved by virtue of the fact that a clocked counter which measures the sum of the pulse widths of the signals inside a predefined amount of time that is independent of the program sequence in the controller is provided for each phase, and that provision is also made of means which read the counter reading of the counters after the predefined amount of time and generate a fault signal if the counter reading is outside a predefined tolerance range.
One advantageous arrangement of this configuration is that the signals of a phase can be supplied to a respective counter via a respective gate circuit, the gate circuit being controlled using a gate pulse which is generated by a timer and the width of which corresponds to the predefined amount of time, and that the counters are clocked at a higher frequency than the frequency of the signals and are enabled using the signals which pass through the gate circuits.
Another advantageous configuration of the arrangement according to the invention provides for the signals to be applied to inputs of the counters, for a timer to be provided for the purpose of generating a gate pulse whose width corresponds to the predefined amount of time, and for the gate pulse to be able to be supplied to further inputs of the counters in order to enable the counters.
The arrangement according to the invention may also be designed in such a manner that the counters and the timer form an integrated circuit with the controller.
One advantageous refinement provides for the counters to be hardware counters and for the timer to contain a hardware counter. However, provision may also be made for the counters and the timer to be formed by a programmable device or by a mask-programmed circuit.
In the invention, it is assumed per se that the counter reading is compared with the tolerance range in the controller. However, in the invention, it is also possible for a comparator which compares the counter reading with a tolerance range supplied by the controller after the predefined amount of time and transmits a fault signal to the controller in the event of a discrepancy to be provided outside the controller.
The invention permits numerous embodiments. Four of them are diagrammatically illustrated in the drawing using a plurality of figures and are described below. In the drawing:
In the exemplary embodiment according to
For monitoring purposes, the signals in each of the three phases R, S, T are supplied to a respective hardware counter 8, 9, 10—also referred to as counter below—via AND gates 5, 6, 7. The counters count the clock pulses whose frequency is considerably higher than that of the signals to be measured during a predefined amount of time supplied to the AND gates 5 to 7 in the form of a gate pulse by a further hardware counter 11. The counters 8, 9, 10—usually also referred to as timers—count clock pulses, while the supplied signals assume the logic level denoted by 1 in
a) and 2b) illustrate the signals in a respective motor phase and the gate pulse. The signals illustrated in
In the exemplary embodiment illustrated in
In the exemplary embodiment according to
In the exemplary embodiment according to
Number | Date | Country | Kind |
---|---|---|---|
10 2005 028 477.9 | Jun 2005 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2006/063113 | 6/13/2006 | WO | 00 | 3/10/2008 |