DRIVER CIRCUIT WITH CURRENT FEEDBACK
20180241298 ยท 2018-08-23
Inventors
- Hannes Reinisch (St. Oswald b. Pl., AT)
- Martin D. Graefling (Graz, AT)
- Heimo Hartlieb (Graz, AT)
- Michael D. Hausmann (Gleisdorf, AT)
Cpc classification
H02M1/0009
ELECTRICITY
H02M3/1555
ELECTRICITY
F02D41/20
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D2041/2027
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
H02M3/156
ELECTRICITY
International classification
Abstract
A circuit arrangement is described herein. In accordance with one exemplary embodiment, the circuit arrangement includes at least one output channel configured to be operably coupled to at least one load that is to be driven by the circuit arrangement. In the at least one output channel, the circuit arrangement includes a driver circuit configured to provide a modulated output signal, a current sense circuit configured to sense a load current passing through the load, and a feedback circuit configured to receive the modulated output signal and to determine, based on the modulated output signal, at least one digital value representing an average of the load current.
Claims
1. A circuit arrangement comprising: at least one output channel configured to be operably coupled to at least one load that is to be driven by the circuit arrangement, wherein, in the at least one output channel, the circuit arrangement comprises: a driver circuit configured to provide a modulated output signal; a current sense circuit configured to sense a load current passing through the load; and a feedback circuit configured to receive the modulated output signal and to determine, based on the modulated output signal, at least one digital value representing an average of the load current.
2. The circuit arrangement of claim 1, wherein the current sense circuit is configured to provide a current sense signal representing the load current, and wherein the at least one output channel further comprises: a regulator configured to receive a current set-point and the current sense signal, and to generate a regulator output signal based on the current set-point and the current sense signal.
3. The circuit arrangement of claim 2, wherein, in the at least one output channel, the driver circuit comprises: a modulator coupled to the regulator and configured to generate the modulated output signal based on the regulator output signal.
4. The circuit arrangement of claim 3, wherein, in the at least one output channel, the current sense circuit, the regulator and the modulator form a load current control loop.
5. The circuit arrangement of claim 1, wherein, in the at least one output channel, the driver circuit comprises: a modulator configured to generate the modulated output signal based on a duty cycle value that is received from a controller.
6. The circuit arrangement of claim 1, wherein, in the at least one output channel, the driver circuit comprises: an input configured to receive an input signal representing the modulated output signal.
7. The circuit arrangement of claim 1, wherein, in the at least one output channel, the feedback circuit is functionally separate from the current sense circuit.
8. The circuit arrangement of claim 1, wherein, in the at least one output channel, the feedback circuit is configured to sense a cumulated on-time of the modulated output signal or a cumulated off-time of the modulated output signal throughout an averaging time period, and wherein the at least one digital value representing the average of the load current comprises the cumulated on-time or the cumulated off-time, respectively.
9. The circuit arrangement of claim 1, wherein the modulated output signal is a binary signal comprising a sequence of pulses, each pulse having a pulse length followed by a pause; and wherein the cumulated on-time throughout the averaging time period is a sum of the pulse lengths of all pulses within the averaging time period, and the cumulated off-time throughout the averaging time period is a sum of the pulse lengths of all pulses within the averaging time period.
10. The circuit arrangement of claim 8, wherein, in the at least one output channel, the feedback circuit is configured to receive a signal indicative of a supply voltage and to provide a digital representation of an average of the supply voltage, and wherein the at least one digital value representing the average of the load current further comprises the average supply voltage.
11. The circuit arrangement of claim 2 further comprising: a logic circuit configured to provide, for the at least one output channel, the current set-point to the regulator and to receive the at least one digital value representing the average of the load current.
12. The circuit arrangement of claim 11 further comprising: a communication interface coupled to the logic circuit, wherein the logic circuit is configured to bidirectionally exchange information with a controller via the communication interface.
13. The circuit arrangement of claim 11, wherein the logic circuit is configured to receive current set-point information from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received set-point information.
14. The circuit arrangement of claim 13, wherein the logic circuit is configured to receive a dither period from the controller and to determine, for the at least one output channel, the current set-point based on the received set-point information, such that the current set-point exhibits a dithering according to the dither period.
15. The circuit arrangement of claim 14, wherein the logic circuit is configured to set an averaging time period based on the dither period.
16. The circuit arrangement of claim 15, wherein the feedback circuit is further configured to update the at least one digital value representing the average of the load current in each averaging time period.
17. The circuit arrangement of claim 11, wherein the logic circuit is configured to receive an averaging time period from a controller, and wherein the feedback circuit is further configured to update the at least one digital value representing the average of the load current in each averaging time period.
18. The circuit arrangement of claim 1, wherein the current sense circuit includes an amplifier configured to receive a signal representing the load current and to generate an amplified signal representing the load current.
19. The circuit arrangement of claim 18, wherein the current sense circuit further includes an analog-to-digital converter coupled between the amplifier and the regulator and configured to digitize the amplified signal, thus providing a digital current sense signal.
20. The circuit arrangement of claim 2 further comprising: a logic circuit configured to receive current set-point information from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received current set-point information, wherein the logic circuit is further configured to trigger a new averaging time period upon receiving new current set-point information from the controller.
21. The circuit arrangement of claim 2 further comprising: a logic circuit configured to receive current set-point information and a dither period from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received set-point information, such that the current set-point exhibits a dithering according to the received dither period, and wherein the logic circuit is further configured to trigger a new averaging time period upon receiving one of new current set-point information and a new dither period from the controller.
22. The circuit arrangement of claim 1 further comprising: a semiconductor die that comprises, for the at least one output channel, the driver circuit, the current sense circuit, and the feedback circuit, wherein the feedback circuit is functionally separate from the current sense circuit.
23. The circuit arrangement of claim 1 further comprising, in the at least one output channel: a switch operably connected to the load, wherein the switch is configured to receive the modulated output signal and to connect the load with a supply voltage or a ground potential and disconnect the load from the supply voltage or the ground potential.
24. The circuit arrangement of claim 23 further comprising, in the at least one output channel: a shunt resistor coupled to the load, wherein the current sense circuit is configured to generate a current sense signal based on a voltage drop across the shunt resistor.
25. An electronic control unit (ECU) for driving at least one load, the ECU comprising: at least one switch coupled to the at least one load and configured to switch a load current passing through the at least one load on and off; a circuit arrangement with at least one output channel, the at least one output channel providing a modulated output signal that is supplied to a control electrode of the at least one switch; wherein the circuit arrangement comprises, in the at least one output channel: a driver circuit configured to provide a modulated output signal; a current sense circuit configured to sense a load current passing through the load; and a feedback circuit configured to receive the modulated output signal and to determine, based on the modulated output signal, at least one digital value representing an average of the load current.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The invention can be better understood with reference to the following description and drawings. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
DETAILED DESCRIPTION
[0016] As mentioned above, many systems of an automobile require a precise measurement and control of the load current supplied to a load, e.g. an inductive load such as a solenoid actuator or a solenoid valve. If a high ASIL is required (e.g. ASIL C or ASIL D) for an ECU, an additional, redundant current feedback path has to be provided within the ECU in order to achieve the risk reduction defined by the desired ASIL. This additional current feedback path, which operates independently from the current feedback loop used for current control, allows a current monitoring in the ECU and thus the detection of a fault (i.e. when the actual load current deviates from a set-point by more than a defined maximum deviation), and reacting on a detected fault within a specific time interval. The mentioned reaction is usually switching the actuators into a safe state within the fault tolerant time interval (FTTI). Like the ASIL, FFTIs may also be defined by the ISO 26262 standard.
[0017] One illustrative example of a safety-critical ECU is the transmission control unit (TCU), which may be used to control the automatic transmission of an automobile. In this example, the FTTI is approximately 150-300 ms for the electromechanical system (TCU plus solenoid actuators and other mechanical components coupled thereto) and approximately 50-100 ms for the electrical subsystem (essentially the ECU). In this example, the load current set-points supplied to the solenoid actuators may be between approximately 0.2 and 1.5 A, the accuracy of the current control (control error) is usually 1-2 percent, whereas the accuracy of the current monitoring may be in the range of 10-30 percent. In hydraulic applications such as transmission control, the solenoid current may be proportional to an oil pressure. It is emphasized, however, that the transmission control is merely one of a plurality of applications, in which an ECU drives a load using a load current control loop. The driven load is not necessarily an inductive load. Furthermore, the numerical values specified above are also rough estimations and heavily depend on the actual application.
[0018]
[0019] The current control circuit 10 may be an integrated circuit (IC) referred to as current control IC. One or both of the electronic switches SW.sub.1 and SW.sub.1A as well as the shunt resistor R.sub.S may be integrated in the current control IC 10. However, in the present examples the electronic switches SW.sub.1 and SW.sub.1A and the shunt resistor R.sub.S are external components (external to the current control IC). The switch SW.sub.1 is controlled by the current control IC 10 via output pin OUT.sub.1, at which the drive signal O.sub.1 is provided. The switch SW.sub.1A is optional and may be controlled by the MCU 20 that generates drive signal O.sub.1A. In case the switches are implemented as MOSFETs the drive signals are supplied to the gate terminals of the respective MOSFETs.
[0020] The circuit components of the ECU 1 shown in
[0021] As mentioned above, a current monitoring that is independent from the current control loop may be necessary in order to comply with a desired ASIL, e.g. ASIL C. A conventional approach might be to provide separate current feedback circuit (see
[0022] As can be seen from
[0023]
[0024] In the present example, the controller output signal DS.sub.1 represents the desired duty cycle of a driver circuit which may be or include a modulator MOD.sub.1 (e.g. a pulse-width modulator, PWM) that is configured to modulate the controller output signal DS.sub.1 in accordance with a defined modulation scheme (e.g. pulse-width modulation). The modulator output signal O.sub.1 is a binary signal which has only two states, on (high level) and off (low level). As shown in
[0025] As shown in
[0026] Referring again to
[0027]
[0028] At this point, it should be emphasized thatalthough the feedback circuit 13 is integrated within the current control IC 10the feedback circuit 13 operates completely independently from the current control loop CL.sub.1. In other words, the feedback circuit 13 and the current control loop CL.sub.1 are functionally separate from each other. That is, the feedback circuit 13 and the circuit components forming the current control loop CL.sub.1 may be integrated in one semiconductor die or in two separate semiconductor dies arranged in one chip package; in either case the current control circuit 10 includes circuitry configured to detect and/or avoid common cause failures (CCF) of the feedback circuit 13 and the current control loop CL.sub.1. If common cause failures are avoided, the operation of the feedback circuit 13 and the current control loop CL.sub.1 may be regarded as independent from each other (i.e. functionally separate). When using the current control circuit 10 according to
[0029] The internal function of the feedback circuit 13 depends on how the load is connected to the current control IC 10, and how the current sensing and the free-wheeling is implemented. The timing diagrams of
[0030] The bottom diagram of
i.sub.ON(t)=i.sub.MAX+e.sup.?t/.sub.?.sub.
while, during the off-time (falling branch i.sub.OFF(t)), the load current is represented by the following function.
i.sub.OFF(t)=i.sub.1.Math.e.sup.?t/ .sub.?.sub.
The average current i.sub.LA may represented by the following equation
wherein the averaging period T may equal the period of the (PWM) carrier frequency used by the modulator MOD.sub.1. Solving the integral in equation 3 yields
wherein the time constants ?.sub.ON and ?.sub.OFF can be expressed by the following equations
By substituting the time constants ?.sub.ON and ?.sub.OFF equation 4 may be transformed into
wherein a=t.sub.OFF/?.sub.OFF, b=t.sub.ON/?.sub.ON, and D is the duty cycle of the PWM signal. It is noted that, in equations 3 to 6, the average current i.sub.LA represents the average load current in one PWM period, as the time period T is the PWM time period. An averaging throughout two or more PWM periods may be readily accomplished by setting the time period T (see eqn. 6) to an integer multiple of the PWM period. In this case, the time periods t.sub.ON and t.sub.OFF are the cumulated on-times and off-times throughout the time period T (averaging time). It is understood, that only one of the on-time t.sub.ON and the off-time t.sub.OFF needs to be measured as t.sub.OFF=T?t.sub.ON. The measurement of the (cumulated) on-time t.sub.ON (or off-time t.sub.OFF) may be accomplished using known circuitry such as gates and counters. It is understood that a modulated signal such as the PWM signal can be regarded as a binary signal, i.e. a sequence of consecutive pulses, wherein each pulse has a pulse length (i.e. on-time) followed by a pause (i.e. the off-time). The cumulated on-time t.sub.ON throughout an averaging time period T is thus the sum of all pulse lengths of all pulses within the averaging time period T. Analogously, the cumulated off-time t.sub.OFF throughout the averaging time period T is the sum of all pulse lengths of all pulses within the averaging time period T. If the averaging time period T equals only a single PWM period, the cumulated on-time t.sub.ON is equal to the on-time of the current PWM period. If the averaging time period T equals an integer multiple of PWM period, the average duty cycle D may be calculated as D=t.sub.ON/T (in case of pulse width modulation), wherein t.sub.ON is the mentioned cumulated on-time throughout an averaging time period T.
[0031] The above equations 1 to 6 shown that the average load current i.sub.LA may easily be calculated based on the on-time and off-time (duty cycle D=t.sub.ON/(t.sub.ON+t.sub.OFF)) and the mentioned time constants ?.sub.ON and ?.sub.OFF. Is is noted that, in addition to the on- and off-times, the maximum current i.sub.MAX needs to be known. This current i.sub.MAX (i.sub.MAX=V.sub.BAT/(R.sub.S+R.sub.ON+R.sub.L) may be regarded as a constant factor when the battery voltage V.sub.BAT is considered as constant. In some applications, it may be sufficient to consider i.sub.MAX as a constant factor. However, if a precise estimation is desired, the voltage V.sub.BAT can also be monitored and used to determine a more accurate value of the current i.sub.MAX.
[0032]
[0033] The feedback circuit 13 further includes an analog-to-digital-converter 132 configured to digitize the battery voltage V.sub.BAT and provide a respective digital signal. The digital representation of the battery voltage V.sub.BAT may be averaged (see
[0034] The actual calculation of the average load current i.sub.LA may be performed later by the MCU 20 (see
[0035] At this point it should be noted thatas the feedback circuit 13 is integrated in the same chip as the current control loop CL.sub.1the averaging accomplished by circuits 133 and 135 may be not only synchronized with the carrier frequency of the (PWM) modulator MOD.sub.1 and/or with the frequency of the above-mentioned dithering included in the current set-point SP.sub.1; the averaging time period may also arbitrarily set by the MCU 20 via the communication interface 12.
[0036] Dependent on the application of the current control circuit 10, it may be desired to bypass the current regulator REG.sub.1 and either directly set the duty cycle DS.sub.1 of the modulator MOD.sub.1 or provide circuity allowing to feed through an externally generated (e.g. by MCU 20) modulated signal O.sub.1 used for switching the switch SW1 on and off. The example shown in
[0037] The example of
[0038] The example of
[0039] The example of
[0040]
[0041]
[0042] In the examples described above with reference to
[0043] As mentioned, the current control circuit 10 may be included in a dedicated chip package. Usually, the MCU 20 is also included in a separate chip package (see
[0044] Exemplary embodiments are summarized below. It is, however, emphasized that the following is not an exhaustive enumeration of examples but rather an exemplary summary. The various features of the exemplary embodiments may be combined in any way unless explicitly stated otherwise. A first example (example 1) relates to a circuit arrangement that includes at least one output channel configured to be operably coupled to at least one load that is to be driven by the circuit arrangement. In the at least one output channel, the circuit arrangement includes a driver circuit configured to provide a modulated output signal, a current sense circuit configured to sense a load current passing through the load, and a feedback circuit configured to receive the modulated output signal and to determine, based on the modulated output signal, at least one digital value representing an average of the load current.
EXAMPLE 2
[0045] The circuit arrangement according to example 1, wherein the current sense circuit is configured to provide a current sense signal representing the load current, and wherein the at least one output channel further includes a regulator configured to receive a current set-point and the current sense signal, and to generate a regulator output signal based on the current set-point and the current sense signal.
EXAMPLE 3
[0046] The circuit arrangement according to example 2, wherein, in the at least one output channel, the driver circuit includes a modulator coupled to the regulator and configured to generate the modulated output signal based on the regulator output signal.
EXAMPLE 4
[0047] The circuit arrangement according to example 3, wherein, in the at least one output channel, the current sense circuit, the regulator and the modulator form a load current control loop.
EXAMPLE 5
[0048] The circuit arrangement according to any of the preceding examples, wherein, in the at least one output channel, the driver circuit includes a modulator configured to generate the modulated output signal based on a duty cycle value that is received from a controller.
EXAMPLE 6
[0049] The circuit arrangement according to any of the preceding examples, wherein, in the at least one output channel, the driver circuit includes an input configured to receive an input signal representing the modulated output signal.
EXAMPLE 7
[0050] The circuit arrangement according to any of the preceding examples, wherein, in the at least one output channel, the feedback circuit is functionally separate from the current sense circuit.
EXAMPLE 8
[0051] The circuit arrangement according to any of the preceding examples, wherein, in the at least one output channel, the feedback circuit is configured to sense a cumulated on-time of the modulated output signal or a cumulated off-time of the modulated output signal throughout an averaging time period; the at least one digital value representing the average of the load current includes the cumulated on-time or the cumulated off-time, respectively.
EXAMPLE 9
[0052] The circuit arrangement according to any of the preceding examples, wherein the modulated output signal is a binary signal including a sequence of pulses, each pulse having a pulse length followed by a pause; the cumulated on-time throughout the averaging time period is a sum of the pulse lengths of all pulses within the averaging time period, and the cumulated off-time throughout the averaging time period is a sum of the pulse lengths of all pulses within the averaging time period.
EXAMPLE 10
[0053] The circuit arrangement according to example 8 or 9, wherein, in the at least one output channel, the feedback circuit is configured to receive a signal indicative of a supply voltage and to provide a digital representation of an average of the supply voltage; the at least one digital value representing the average of the load current further includes the average supply voltage.
EXAMPLE 11
[0054] The circuit arrangement according to example 2 (or any other example including the regulator) further including a logic circuit configured to provide, for the at least one output channel, the current set-point to the regulator and to receive the at least one digital value representing the average of the load current.
EXAMPLE 12
[0055] The circuit arrangement according to example 11 further including a communication interface coupled to the logic circuit, wherein the logic circuit is configured to bidirectionally exchange information with a controller via the communication interface.
EXAMPLE 13
[0056] The circuit arrangement according to example 11 or 12, wherein the logic circuit is configured to receive current set-point information from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received set-point information.
EXAMPLE 14
[0057] The circuit arrangement according to example 13, wherein the logic circuit is configured to receive a dither period from the controller and to determine, for the at least one output channel, the current set-point based on the received set-point information, such that the current set-point exhibits a dithering according to the dither period.
EXAMPLE 15
[0058] The circuit arrangement according to example 14, wherein the logic circuit is configured to set an averaging time period based on the dither period.
EXAMPLE 16
[0059] The circuit arrangement according to example 15, wherein the feedback circuit is further configured to update the at least one digital value representing the average of the load current in each averaging time period.
EXAMPLE 17
[0060] The circuit arrangement according to any of the example 11 to 16, wherein the logic circuit is configured to receive an averaging time period from a controller, and wherein the feedback circuit is further configured to update the at least one digital value representing the average of the load current in each averaging time period.
EXAMPLE 18
[0061] The circuit arrangement according to any of the preceding examples, wherein the current sense circuit includes an amplifier configured to receive a signal representing the load current and to generate an amplified signal representing the load current.
EXAMPLE 19
[0062] The circuit arrangement according to example 18, wherein the current sense circuit further includes an analog-to-digital converter coupled between the amplifier and the regulator and configured to digitize the amplified signal, thus providing a digital current sense signal.
EXAMPLE 20
[0063] The circuit arrangement according to example 2 (or any other example including the regulator) further including a logic circuit configured to receive current set-point information from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received current set-point information, wherein the logic circuit is further configured to trigger a new averaging time period upon receiving new current set-point information from the controller.
EXAMPLE 21
[0064] The circuit arrangement according to example 2 (or any other example including the regulator) further including a logic circuit configured to receive current set-point information and a dither period from a controller and to determine, for the at least one output channel, the current set-point for the regulator based on the received set-point information, such that the current set-point exhibits a dithering according to the received dither period, and wherein the logic circuit is further configured to trigger a new averaging time period upon receiving one of new current set-point information and a new dither period from the controller.
EXAMPLE 22
[0065] The circuit arrangement according to any of the preceding examples further including a semiconductor die that includes, for the at least one output channel, the driver circuit, the current sense circuit, and the feedback circuit, wherein the feedback circuit is functionally separate from the current sense circuit.
EXAMPLE 23
[0066] The circuit arrangement according to any of the preceding examples further including, in the at least one output channel, a switch operably connected to the load, wherein the switch is configured to receive the modulated output signal and to connect the load with a supply voltage or a ground potential and disconnect the load from the supply voltage or the ground potential.
EXAMPLE 24
[0067] The circuit arrangement according to example 23 further including, in the at least one output channel, a shunt resistor coupled to the load, wherein the current sense circuit is configured to generate a current sense signal based on a voltage drop across the shunt resistor.
[0068] A further example (example 25) relates to an electronic control unit (ECU) for driving at least one load. Accordingly, the ECU includes at least one switch coupled to the at least one load and configured to switch a load current passing through the at least one load on and off. Further, the ECU includes a circuit arrangement with at least one output channel. The at least one output channel provides a modulated output signal that is supplied to a control electrode of the at least one switch. The circuit arrangement includes, in the at least one output channel, a driver circuit configured to provide a modulated output signal, a current sense circuit configured to sense a load current passing through the load, and a feedback circuit configured to receive the modulated output signal and to determine, based on the modulated output signal, at least one digital value representing an average of the load current. This example may be combined with or enhanced by any of the preceding examples.
[0069] Although the invention has been illustrated and described with respect to one or more implementations, alterations and/or modifications may be made to the illustrated examples without departing from the spirit and scope of the appended claims. For example, the modifications of
[0070] In addition, while a particular feature of the invention may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application. Furthermore, to the extent that the terms including, includes, having, has, with, or variants thereof are used in either the detailed description and the claims, such terms are intended to be inclusive in a manner similar to the term comprising.