Method and circuitry for open load detection
11105842 · 2021-08-31
Assignee
Inventors
- JianQuan Liao (Shanghai, CN)
- GuangYao Zhou (Shanghai, CN)
- YuQing YANG (Plano, TX, US)
- Yongyi Wu (Shanghai, CN)
Cpc classification
H03K17/693
ELECTRICITY
G01R31/2812
PHYSICS
G01R31/2844
PHYSICS
G01R31/50
PHYSICS
International classification
G01R19/165
PHYSICS
H03K17/693
ELECTRICITY
Abstract
In described examples, a method of determining whether there is an open load fault in a test circuit includes closing a first switch to couple an input voltage to a first LC filter in which a first capacitor is coupled to a ground, the first LC filter coupled to a first terminal coupled to the test circuit; and closing a second switch to couple the input voltage to a second LC filter in which a second capacitor is coupled to the ground, the second LC filter coupled to a second terminal coupled to the test circuit. After the LC filters charge to the input voltage, the second switch is opened, and the second capacitor is discharged across a discharge resistor for a specified discharge time. The voltage across the discharge resistor falling below a reference voltage indicates that there is an open load fault in the test circuit.
Claims
1. Circuitry for detecting an open load fault, comprising: an input voltage terminal configured to receive an input voltage; a first switch having a first terminal and second terminal wherein the first terminal is coupled to the input voltage terminal; a first inductor-capacitor (LC) filter having an input terminal and an output terminal wherein the input terminal is coupled to the second terminal of the first switch; a second switch having a first terminal and second terminal; a second LC filter having an input terminal and an output terminal; a discharge resistor having a first terminal and a second terminal wherein the first terminal is coupled to the output of the second LC filter; a first load terminal coupled to the output of the first LC filter, and a second load terminal coupled to the input of the second LC filter; a third switch having a first terminal and a second terminal wherein the first terminal is coupled to the second terminal of the discharge resistor and the second terminal is coupled to ground; a first voltage-divider resistor having a first terminal and a second terminal wherein the first terminal is coupled to the output of the second LC filter; a comparator having a first input, a second input and an output wherein the second input is coupled to the second terminal of the first voltage-divider resistor; a second voltage-divider resistor having a first terminal and a second terminal wherein the first terminal is coupled to the second terminal of the first voltage-divider resistor; a comparator switch having a first terminal and a second terminal wherein the first terminal is coupled to the second terminal of the second voltage-divider resistor and the second terminal is coupled to ground; and a reference voltage circuitry configured to produce a reference voltage and to provide the reference voltage to a second input of the comparator.
2. The circuitry of claim 1 further comprising: a control circuitry configured to control: the first switch to close until the first LC filter is charged to the input voltage, and the second switch to close until the second LC filter is charged to the input voltage; the first switch to remain closed, the second switch to open, and the third switch to close after the first and second LC filters are charged to the input voltage, and until a voltage across the discharge resistor remains constant; and the comparator switch to close for a period of time after the voltage across the discharge resistor remains constant; wherein the comparator is configured to output an Open Load Flag signal, the Open Load Flag signal indicating an open load fault in a test circuit, when a voltage at the second terminal of the first voltage-divider resistor is below the reference voltage while the comparator switch is closed.
3. The circuitry of claim 2, the reference voltage circuitry comprising: a first vref voltage-divider resistor coupled to the input voltage and to a reference voltage terminal, the reference voltage terminal coupled to the second input to the comparator and to a reference voltage switch; and a second vref voltage-divider resistor coupled to the ground and to the reference voltage switch; wherein the control circuitry is configured to control the reference voltage switch to close when it controls the comparator switch to close, and wherein the reference voltage circuitry is configured to provide the reference voltage from the reference voltage terminal to the comparator when the reference voltage switch is closed.
4. The circuitry of claim 3, wherein the first test voltage-divider resistor has a resistance R.sub.test_1, the second test voltage-divider resistor has a resistance R.sub.test_2, the first vref voltage divider-resistor has a resistance R.sub.vref_1, the second voltage-divider resistor has a resistance R.sub.vref_2, and the discharge resistor has a resistance R.sub.DIS; wherein the test circuit includes, in series between the first and second load terminals, a constant resistance R.sub.SPK and a resistance R.sub.OPEN corresponding to open load faults in the test circuit; wherein the comparator is configured to output the Open Load Flag as TRUE when the voltage at the test voltage terminal falls below a threshold voltage corresponding to a value of R.sub.OPEN of approximately R.sub.TH while the comparator switch is closed, R.sub.TH defined as:
5. The circuitry of claim 4, wherein the control circuitry is configured to close the comparator switch for longer than a time t.sub.MIN corresponding to a minimum expected time for the voltage at the test voltage terminal to fall below R.sub.TH when there is an open load fault in the test circuit, t.sub.MIN being derived by using a minimum expected value of R.sub.OPEN when there is an open load fault in the test circuit, as follows:
6. The circuitry of claim 1, wherein an inductance of the first LC filter equals an inductance of the second LC filter.
7. The circuitry of claim 1, wherein a capacitance of the first LC filter equals a capacitance of the second LC filter.
8. The circuitry of claim 1, wherein a resistance of the discharge resistor is greater than a resistance of the test circuit when there is not an open load fault in the test circuit.
9. The circuitry of claim 1, wherein the reference voltage circuitry is configured to produce the reference voltage so that it is proportional to the input voltage.
10. The circuitry of claim 1, wherein the first and second switches, the first and second LC filters, and the first and second terminals are included in an H bridge.
11. A method of determining whether there is an open in a test circuit, the method comprising: a) closing a first switch to couple an input voltage to a first LC filter in which a first capacitor is coupled to a ground, wherein the first LC filter is coupled to a first terminal of the test circuit; b) closing a second switch to couple the input voltage to a second LC filter in which a second capacitor is coupled to the ground, wherein the second LC filter is coupled to a second terminal coupled to the test circuit; c) waiting for the first and second LC filters to charge to the input voltage; d) keeping the first switch closed, opening the second switch, and discharging the second capacitor across a discharge resistor for a discharge time; e) comparing a voltage across the discharge resistor to a reference voltage; f) when the voltage across the discharge resistor falls below the reference voltage, outputting an indication that there is an open load fault in the test circuit.
12. The method of claim 11, wherein the step a) is performed simultaneously with the step b).
13. The method of claim 11, wherein the voltage across the discharge resistor V.sub.DIS is voltage-divided with a ratio A, and the reference voltage V.sub.REF is voltage-divided with a ratio B, so that the step f) compares a voltage
14. The method of claim 13, wherein a first test voltage-divider resistor has a resistance R.sub.test_1, a second test voltage-divider resistor has a resistance R.sub.test_2, a first vref voltage divider-resistor has a resistance R.sub.vref_1, a second voltage-divider resistor has a resistance R.sub.vref_2, the discharge resistor has a resistance R.sub.DIS, and the ratios A and B are defined as follows:
15. The method of claim 13, wherein the test circuit includes, in series between the first and second terminals, a constant resistance R.sub.SPK and a resistance R.sub.OPEN corresponding to open load faults in the test circuit; and wherein the discharge resistor has a resistance of R.sub.DIS, and
16. The method of claim 11, wherein the first LC filter and the second LC filter charge at the same rate.
17. The method of claim 11, wherein the reference voltage is proportional to the input voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8)
(9)
(10)
(11)
(12) In step 406, the OUTP high-side transistor 116 remains enabled (closed), the OUTN high-side transistor 148 is disabled (opened), and the discharge switch 206 is closed to provide a discharge path through the OUTN inductor 142 of the OUTN LC filter 144 to ground 112, via the discharge resistor 202. According to the superposition principle, the circuit portion 300 can be viewed as having the pseudo-dc voltage on the OUTP capacitor 106 shorted out (accordingly, the OUTP capacitor 106 shorted), so that only the OUTN capacitor 140 affects transient voltage at the OUTN node 146.
(13) This can also be viewed as the resistance of the speaker 104 R.sub.SPK and the open load resistance ROPEN, and the resistance of the discharge resistor 202 R.sub.DIS, forming a voltage divider. Steps 402 and 404 set up an initial state for the discharge phase, which corresponds to steps 406 and 408. The ratio of the total speaker 104 load (R.sub.SPK+R.sub.OPEN) to the discharge resistor 202 load R.sub.DIS determines the final voltage state at the OUTN node 146 following the discharge phase. If there is no open load fault condition, then the final voltage state at the OUTN node 146 will be close to PVDD 124 (the normal load R.sub.SPK is much smaller than the discharge resistor resistance R.sub.DIS, and therefore will generally see a small proportion of the total voltage drop across the various resistances; the low voltage drop also corresponds to low noise produced on the speaker). If there is an open load fault condition, the total speaker 104 load will be larger, making the final voltage state at the OUTN node 146 significantly less than PVDD 124.
(14) Accordingly, the OUTN capacitor 140 can be viewed as discharging across the OUTN inductor 142 and the discharge resistor 202, and across the speaker 104, as shown by the dotted lines 306 in
(15)
(16) (If there is an open load fault, then R.sub.OPEN is much larger than R.sub.SPK, and the resistance across which the OUTN capacitor 140 discharges can be approximated as R.sub.OPEN∥R.sub.DIS; also, the inductances of the inductors 108, 142 are preferably chosen so that their effects on the discharge time will be low.) If normal load is present (no open load fault), the voltage at the OUTN node 146 will remain (almost) PVDD 124, (nearly) equal to the voltage at the OUTP node 114. However, if there is an open load fault, then the voltage at the OUTN node 146 will decrease. (Recall that OUTN high-side transistor 148 was opened, disconnecting OUTN node 146 from the input voltage 124, in step 406.) This is apparent in light of Ohm's Law (V=I×R) because the resistance R.sub.OPEN increases in an open load fault condition while the current is constant. A stabilized value of the voltage at the OUTN node 146 is related to PVDD 124 and the total discharge resistance (R.sub.SPK+R.sub.OPEN)∥R.sub.DIS. Accordingly, the voltage drop across the speaker 104, plus the voltage drop across the discharge resistor 202, will equal the total supplied voltage PVDD 124 (the voltage to which the OUTN capacitor 140 was charged). The voltage across the discharge resistor 202 equals the voltage at the OUTN node 146 V.sub.OUTN:
(17)
(18) Because V.sub.OUTN is proportional to PVDD, a reference voltage proportional to PVDD can be used to establish a fixed threshold R.sub.TH for determining an open load fault. The threshold resistance R.sub.TH is further described with respect to
(19) In step 408, there is a wait of a specific discharge time (described below with respect to
(20)
(21) In the example shown in
(22)
The first OUTN voltage-divider resistor 502 equals 7.2R and the second OUTN voltage-divider resistor 510 equals R. Accordingly, the voltage at the vref node 504 is
(23)
Using equation 2, the comparison made by the comparator 212 can be described as follows (wherein, in Equation 3, CMPR is a function meaning compare the two input parameters shown between parentheses and separated by a comma):
(24)
(25) The resistance threshold R.sub.TH (a minimum open load resistance R.sub.OPEN which will cause a voltage at OUTN node 146 indicating an open load fault) can be determined by substituting R.sub.TH for R.sub.OPEN in Equation 3 and setting the reference voltage 216 equal to the voltage at the test voltage node 208:
(26)
(27) A scale factor
(28)
is a ration between a voltage-divider ratio of the voltage-divider resistors 204, 210 used to generate the voltage at the test voltage node 208 from V.sub.OUTN, and a voltage-divider ratio of the voltage-divider resistors 502, 510 used to generate the reference voltage 216. In the example shown in and described with respect to
(29)
and the latter ratio is
(30)
As can be seen from Equation 6, k<1. The scale factor k is further used below in determining the discharge time of step 408 (as described with respect to
(31) As shown in Equation 5, the resistance threshold R.sub.TH is independent of the input voltage PVDD 124 and the base voltage-divider resistance R. Because R.sub.TH and R.sub.DIS are much larger than R.sub.SPK (R.sub.TH+R.sub.SPK≈R.sub.TH), Equation 5 can be rearranged and approximated as shown in Equation 6. For example, if R.sub.DIS equals 4200Ω, then R.sub.TH≈102Ω.
(32)
(33) The discharge time of step 408 is based on the discharge time for the voltage at the OUTN node 146 to drop below a threshold voltage corresponding to R.sub.TH when there is an open load fault. Accordingly, the threshold voltage at the OUTN node 146 is a voltage which will result in the comparator 212 indicating an open load fault. This discharge time t for the voltage at the OUTN node 146 is determined as follows:
(34)
(35) When R.sub.OPEN is less than R.sub.TH (R.sub.OPEN<R.sub.TH), there is no solution to Equation 8. When R.sub.OPEN equals R.sub.TH (R.sub.OPEN=R.sub.TH), t=∞. When R.sub.OPEN is greater than R.sub.TH, then the larger R.sub.OPEN is, the shorter the required discharge time t is for the voltage at the test voltage node 208 to fall below the voltage at the reference voltage node 504 (indicating the open load fault). Conversely, the closer R.sub.OPEN is to R.sub.TH, the longer the required discharge time t will be. For example, the discharge time for LC filters to charge and stabilize (step 404 in
(36) Accordingly, if R.sub.OPEN is large compared to R.sub.TH, settle time (total RC discharge time) will be long, but open load fault detection time (relating, in part, to initial discharge rate) will be short. Also, if R.sub.OPEN is near R.sub.TH, settle time will be short, but open load fault detection time will be long.
(37)
(38)
R.sub.DIS=4800; and C.sub.F=3 μF (C.sub.F is the capacitance of the OUTP capacitor 106 and the OUTN capacitor 140). Note that if the speaker 104 is completely disconnected, such as if one of the terminals 102, 138 is disconnected, then R.sub.OPEN will be effectively infinite. However, as shown by the values in
(39) Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.
(40) In some embodiments, other voltage-divider values are used than those described above.
(41) In some embodiments, other open load detection threshold resistances R.sub.TH are used than those described above.
(42) In some embodiments, low-side transistors and low-side drivers are not used.
(43) In some embodiments, the no-fault resistance of the speaker (R.sub.SPK) is included in calculations of threshold resistance R.sub.TH and minimum discharge time