Detection circuit and voltage conversion circuit
By introducing the detection circuit in the voltage converter, the detection signal was used to generate the detection signal based on the feedback voltage and the preset reference voltage to generate the detection signal. The operation of the converter.
Patent Information
- Application Number
- CN202411924278.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-12-25
AI Technical Summary
The prior art is difficult to effectively detect the operating parameters of the voltage converter and change its operating state, resulting in possible damage to the voltage converter or electronic equipment.
A detection circuit is provided, which includes a first detection module, a second detection module and a gating module, detects the operating parameters of a voltage converter by generating a detection signal according to a feedback voltage and a preset reference voltage, and selects a voltage converter based on the supply voltage and the detection signal. Makes or breaks the path between the input of the voltage converter and ground.
The effective detection of the working parameters of the voltage converter and the change of working status, and improved the operational safety of the voltage converter.
Smart Images

Figure CN119362360A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of circuit technology, and in particular to a detection circuit and a voltage conversion circuit. Background Art
[0002] As an important component, voltage converters provide high-performance power supply for various types of electronic devices. In order to meet the power supply requirements in different applications, the voltage value of the power supply needs to be converted to provide a stable and adaptive power supply for electronic devices.
[0003] At present, during the process of voltage conversion, the working parameters of the voltage converter will change due to various factors, which may cause damage to the voltage converter or electronic equipment. Therefore, it is necessary to change the working state of the voltage converter.
[0004] Therefore, how to effectively detect the working parameters of the voltage converter and change the working state of the voltage converter needs to be solved by those skilled in the art. Summary of the invention
[0005] In view of this, the present invention provides a detection circuit and a voltage conversion circuit, which can effectively detect the working parameters of the voltage converter and thus change the working state of the voltage converter.
[0006] An embodiment of the present invention provides a detection circuit coupled to a voltage converter, the detection circuit comprising: A first detection module is configured to generate a first detection signal according to a first feedback voltage and a preset first reference voltage, wherein the first feedback voltage is generated based on an output voltage of an output terminal of the voltage converter; A second detection module is configured to generate a second detection signal according to a first detection parameter and a first preset parameter adapted to the first detection parameter, wherein the first detection parameter is working data of the voltage converter under the corresponding parameter; The gating module is coupled to the first detection module, the second detection module and the voltage converter respectively, and is configured to enable or disable the path between the input end of the voltage converter and the ground according to the supply voltage, the first detection signal and / or the second detection signal.
[0007] Accordingly, an embodiment of the present invention further provides a voltage conversion circuit, including: The detection circuit as described in any of the preceding embodiments; A voltage converter is coupled to the detection circuit.
[0008] Compared with the existing solutions, the technical solution of the embodiment of the present invention has the following advantages: Using the detection circuit provided by the embodiment of the present invention, the first detection module is configured to generate a first detection signal according to the first feedback voltage and the preset first reference voltage, and the second detection module is configured to generate a second detection signal according to the first detection parameter and the first preset parameter adapted to the first detection parameter. Since the first detection parameter is the working data of the voltage converter under the corresponding parameter, and the first feedback voltage is generated based on the output voltage of the output end of the voltage converter, the detection circuit can detect the working data of the voltage converter under different working parameters, so that according to the power supply voltage, the first detection signal and / or the second detection signal, the selection module can select or disconnect the path between the input end and the ground of the voltage converter. In this way, when it is determined that the voltage converter is in an abnormal state, the working state of the voltage converter is changed to improve the operating safety of the voltage converter. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0010] Figure 1 A schematic diagram of the structure of a detection circuit in an embodiment of the present invention is shown; Figure 2 A schematic structural diagram of a gating module in a first embodiment of the present invention is shown; Figure 3 A schematic structural diagram of a gating module in a second embodiment of the present invention is shown; Figure 4 A schematic diagram of the structure of a first detection module in an embodiment of the present invention is shown; Figure 5 A schematic diagram of the structure of a second detection module in the first embodiment of the present invention is shown; Figure 6 A schematic diagram showing a specific structure of a second detection module in the first embodiment of the present invention is shown; Figure 7 A schematic diagram of the structure of a second detection module in the second embodiment of the present invention is shown; Figure 8 A schematic structural diagram of a second detection module in the third embodiment of the present invention is shown. DETAILED DESCRIPTION
[0011] As described in the background technology, when a voltage converter is performing voltage conversion and supplying power to other electronic devices, it is affected by various factors, and the working parameters of the voltage converter itself (such as temperature, current, etc.) and the parameters output to other electronic devices (such as power supply voltage) will change. These changes will affect the voltage converter and the operating status of the electronic devices, and may even reduce the operating quality.
[0012] In order to solve the above technical problems, an embodiment of the present invention provides a clock signal generating circuit, a detection circuit, coupled to a voltage converter, the detection circuit comprising: a first detection module, configured to generate a first detection signal according to a first feedback voltage and a preset first reference voltage, wherein the first feedback voltage is generated based on the output voltage of the output end of the voltage converter; a second detection module, configured to generate a second detection signal according to a first detection parameter and a first preset parameter adapted to the first detection parameter, wherein the first detection parameter is the working data of the voltage converter under the corresponding parameter; a selection module, coupled to the first detection module, the second detection module and the voltage converter, respectively, and configured to select or disconnect the path between the input end of the voltage converter and the ground according to the power supply voltage, the first detection signal and / or the second detection signal.
[0013] By using the detection circuit provided in the embodiment of the present invention, since the first detection parameter is the working data of the voltage converter under the corresponding parameter, and the first feedback voltage is generated based on the output voltage of the output end of the voltage converter, the detection circuit can detect the working data of the voltage converter under different working parameters, so that according to the power supply voltage, the first detection signal and / or the second detection signal, the selection module can select or disconnect the path between the input end of the voltage converter and the ground. In this way, when it is determined that the voltage converter is in an abnormal state, the working state of the voltage converter is changed, thereby improving the operating safety of the voltage converter.
[0014] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the present invention is described below with reference to the accompanying drawings.
[0015] See also Figure 1 The structural diagram of a detection circuit in an embodiment of the present invention is shown in FIG. 1 , wherein the detection circuit is coupled to a voltage converter 10A, such as Figure 1 As shown, the detection circuit may include: A first detection module 110 is configured to generate a first detection signal S1 according to a first feedback voltage Vfb and a preset first reference voltage Vref1, wherein the first feedback voltage Vfb is generated based on an output voltage of an output terminal of the voltage converter 10A; The second detection module 120 is configured to generate a second detection signal S2 according to a first detection parameter and a first preset parameter adapted to the first detection parameter, wherein the first detection parameter is working data of the voltage converter 10A under the corresponding parameter; The selection module 130 is coupled to the first detection module 110, the second detection module 120 and the voltage converter 10A respectively, and is configured to select or disconnect the path between the input end of the voltage converter 10A and the ground (not shown) according to the supply voltage VDD, the first detection signal and / or the second detection signal.
[0016] In this embodiment, the principle of the detection circuit is: When the voltage converter 10A is in normal working state, the output end of the voltage converter 10A will generate a supply voltage with a corresponding amplitude, so that the first detection module 110 can obtain the first feedback voltage Vfb. Since the first feedback voltage Vfb can represent the output voltage of the output end of the voltage converter 10A (as a non-limiting example, a voltage dividing resistor can be set between the first detection module 110 and the output end of the voltage converter 10A, and the first feedback voltage Vfb can be determined based on the voltage dividing coefficient and the output voltage), by comparing the first feedback voltage Vfb with the first reference voltage Vref1, the first detection signal S1 can be output. Through the state of the first detection signal S1, it can be determined whether the output voltage of the output end of the voltage converter 10A meets the requirements, and then the selection module 130 can be placed in a selected or disconnected state to change the working state of the voltage converter 10A.
[0017] As a non-limiting example, when the first detection signal is in a first state, it indicates that the output voltage at the output end of the voltage converter 10A meets the requirements, then the enabling module 130 is in a disconnected state, the path between the voltage converter 10A and the ground is disconnected, and the voltage converter 10A can continue to work; and when the first detection signal is in a second state, it indicates that the output voltage at the output end of the voltage converter 10A cannot meet the requirements, then the enabling module 130 is in a turned-on state, the path between the voltage converter 10A and the ground is enabled, and the voltage converter 10A stops working.
[0018] At the same time, the second detection module 120 can obtain the working data of the voltage converter 10A under different working parameters to obtain the first detection parameter, and then compare the first detection parameter and the first preset parameter adapted to the first detection parameter to generate a second detection signal S2. The working state of the voltage converter 10A can be determined by the state of the second detection signal S2, and then the selection module 130 can be placed in an on or off state to change the working state of the voltage converter 10A.
[0019] In other words, the embodiment of the present invention can select or disconnect the path between the input end and the ground of the voltage converter 10A through the selection module 130 by obtaining multiple different parameters used to characterize the voltage converter 10A in the working state. In this way, when it is determined that the voltage converter 10A is in an abnormal state, the working state of the voltage converter 10A is changed to improve the operating safety of the voltage converter 10A.
[0020] It should be noted that the first detection parameter is used to characterize the parameter characteristics of the input terminal of the voltage converter.
[0021] In this embodiment, based on the control logic of whether the gating module 130 is turned on or off, a gating module 130 with different structures may be used.
[0022] Combination Figure 1 , see Figure 2 The schematic diagram of the structure of a gating module in the first embodiment of the present invention is shown in FIG. Figure 2 As shown, when the gating module 130 is configured to be turned on or off according to the supply voltage VDD, the first detection signal S1 or the second detection signal S2, the gating module 130 may include a first gating branch 131 and a second gating branch 132, wherein: The first gating branch 131 is coupled to the first detection module 110 and the voltage converter 10A respectively, and is configured to enable or disable a path between an input terminal of the voltage converter VDD and ground according to the supply voltage VDD and the first detection signal S1; The second selection branch 132 is coupled to the second detection module 120 and the voltage converter 10A respectively, and is configured to select or disconnect the path between the input terminal of the voltage converter 10A and the ground according to the supply voltage VDD and the second detection signal S2.
[0023] Specifically, the selection module 130 can be turned on or off according to one of the first detection signal S1 and the second detection signal S2, so that when any one of the detection signals is enabled, the path between the voltage converter 10A and the ground can be connected, thereby changing the working state of the voltage converter 10A, which further improves the operating safety of the voltage converter 10A.
[0024] Specifically, when the first detection signal S1 is enabled, the first selection branch 131 is in the selection state, thereby connecting the path between the voltage converter 10A and the ground, or, when the second detection signal S2 is enabled, the second selection branch 132 is in the selection state, thereby connecting the path between the voltage converter 10A and the ground, and the working state of the voltage converter 10A changes.
[0025] When both the first detection signal S1 and the second detection signal S2 are disabled, the path between the voltage converter 10A and the ground is disconnected, and the voltage converter 10A maintains the current working state.
[0026] In this embodiment, the first selection branch 131 may include: a first switch device M1, a first end of the first switch device M1 is coupled to the first detection module 110, a second end of the first switch device M1 is coupled to the voltage converter 10A, and a third end of the first switch device M1 is grounded.
[0027] In other words, the first terminal of the first switch device M1 serves as a control terminal, and when the first detection signal S1 is enabled, the first switch device M1 is in a conducting state, thereby connecting the path between the voltage converter 10A and the ground.
[0028] In this embodiment, the second selection branch 132 may include: a second switch device M2, a first end of the second switch device M2 is coupled to the second detection module 120, a second end of the second switch device M2 is coupled to the voltage converter 10A, and a third end of the second switch device M2 is grounded.
[0029] In other words, the first terminal of the second switch device M2 serves as a control terminal, and when the second detection signal S2 is enabled, the second switch device M2 is in a conducting state, thereby connecting the path between the voltage converter 10A and the ground.
[0030] Combination Figure 1 , see Figure 3 The structural diagram of a gating module in the second embodiment of the present invention is shown in FIG. Figure 3 As shown, when the gating module 130 is configured to be turned on or off according to the power supply voltage VDD, the first detection signal S1 and the second detection signal S2, the gating module 130 may include: A first logic operator 133, coupled to the first detection module 110 and the second detection module 120, respectively, and configured to generate a first logic signal based on the first detection signal S1 and the second detection signal S2; The third selection branch 134 is coupled to the output terminal of the first logic operator 133 and the voltage converter 10A respectively, and is configured to select or disconnect the path between the input terminal of the voltage converter 10A and the ground according to the first logic signal.
[0031] Specifically, the first logic operator 133 can perform a logic operation on the first detection signal S1 and the second detection signal S2 to generate a first logic signal for controlling the on and off of the third selection branch 134, thereby realizing the on and off of the path between the input end and the ground of the voltage converter 10A, and taking into account the first detection signal S1 and the second detection signal S2 at the same time, which can reduce the possibility of misoperation and further improve the operating safety and stability of the voltage converter 10A.
[0032] As a specific embodiment, when a logical operation is performed on the first detection signal S1 and the second detection signal S2, when the generated first logic signal is at a high level, it indicates that the working state of the voltage converter 10A is abnormal, so that the third selection branch 134 is in an on state, the path between the input terminal and the ground of the voltage converter 10A is selected, and the voltage converter 10A stops working; when the first logic signal is at a low level, it indicates that the working state of the voltage converter 10A is normal, so that the third selection branch 134 is in a disconnected state, and the path between the input terminal and the ground of the voltage converter 10A remains disconnected, and the voltage converter 10A continues to operate according to the current working state.
[0033] It should be noted that the on-off logic of the third selection branch 134 described in the above example is only an example, which is used to indicate that by performing a logical operation on the first detection signal S1 and the second detection signal S2, a logic signal for controlling the on-off of the third selection branch 134 can be generated, and it should not be understood as a limitation of the present invention.
[0034] In this embodiment, see Figure 3 The first logic operator 133 may include: a first OR gate or1, a first input end of the first OR gate or1 is coupled to the first detection module 110, a second input end of the first OR gate or1 is coupled to the second detection module 120, and an output end of the first OR gate or1 is coupled to the third selection branch 134.
[0035] Specifically, by performing a logic OR operation on the first detection signal S1 and the second detection signal S2, the level state of the first logic signal is made the same as the level state of the first detection signal S1 and / or the second detection signal S2.
[0036] For example, if the first detection signal S1 is a high level and the second detection signal S2 is a low level, then after the logic OR operation, the first logic signal is the first detection signal S1; for another example, if the first detection signal S1 is a low level and the second detection signal S2 is a high level, then after the logic OR operation, the first logic signal is the second detection signal S2; for another example, if the first detection signal S1 is a high level and the second detection signal S2 is a high level, then after the logic OR operation, the first logic signal is the first detection signal S1 or the second detection signal S2.
[0037] It should be noted that, in some other embodiments, the first logic operator 133 may also be a device that implements other logic operation functions, and the embodiment of the present invention does not impose any limitation on this.
[0038] In this embodiment, see Figure 3 The third selection branch 134 may include a third switch device M3, a first end of the third switch device M3 is coupled to the output end of the first logic operator 133 (for example, the output end of the first OR gate or1), a second end of the third switch device M3 is coupled to the voltage converter 10A, and a third end of the third switch device M3 is grounded.
[0039] In other words, the first terminal of the third switch device M3 serves as a control terminal, and when the first logic signal is enabled, the third switch device M3 is in a conducting state, thereby connecting the path between the voltage converter 10A and the ground.
[0040] In this embodiment, combined Figure 1 , see Figure 4 The structural diagram of the first detection in the embodiment of the present invention is shown in FIG. Figure 4 As shown, the first reference voltage Vref1 includes a first sub-reference voltage Vref11 and a second sub-reference voltage Vref12, and the first sub-reference voltage Vref11 and the second sub-reference voltage Vref12 are different.
[0041] As a non-limiting example, the first sub-reference voltage Vref11 is greater than the second sub-reference voltage Vref12 .
[0042] In this case, the first detection module 110 may include: The first detection branch 111 is configured to generate a first sub-detection signal according to the first feedback voltage Vfb and the first sub-reference voltage Vref11; The second detection branch 112 is configured to generate a second sub-detection signal according to the first feedback voltage Vfb and the second sub-reference voltage Vref12; The second logic operator 113 is coupled to the first detection branch 111 , the second detection branch 112 and the gating module 130 , respectively, and is configured to generate the first detection signal S1 based on the first sub-detection signal and the second sub-detection signal.
[0043] Specifically, since the first sub-reference voltage Vref11 and the second sub-reference voltage Vref12 are different, by comparing the first feedback voltage Vfb with the first sub-reference voltage Vref11 and the second sub-reference voltage Vref12 respectively and performing logical operations, the relative size relationship between the first feedback voltage Vfb, the first sub-reference voltage Vref11 and the second sub-reference voltage Vref12 can be determined, so that the first detection signal S1 in different states can be output to realize the connection and disconnection between the voltage converter 10A and the ground.
[0044] Furthermore, by comparing the first feedback voltage Vfb based on the first sub-reference voltage Vref11 and the second sub-reference voltage Vref12, the range of the first feedback voltage Vfb can be determined, thereby relaxing the restriction on the first feedback voltage Vfb. Even if the first feedback voltage Vfb fluctuates, it can still be determined that the output voltage at the output end of the voltage converter 10A meets the design requirements, which improves the operating stability of the voltage converter 10A.
[0045] In this embodiment, the first detection branch and the second detection branch have the same structure.
[0046] As an alternative embodiment, see Figure 4 , the first detection branch 111 may include a first comparator CMP1, a first terminal of the first comparator CMP1 inputs the first feedback voltage Vfb, and a second terminal of the first comparator CMP1 inputs the first sub-reference voltage Vref11; A first inverter P1 , wherein an input terminal of the first inverter P1 is connected to an output terminal of the first comparator CMP1 , and an output terminal of the first inverter P1 is coupled to the second logic operator 113 .
[0047] Accordingly, the second detection branch 112 may include a first comparator CMP2, a first terminal of the first comparator CMP2 inputs the first feedback voltage Vfb, and a second terminal of the first comparator CMP2 inputs the second sub-reference voltage Vref12; A first inverter P2 , wherein an input terminal of the first inverter P2 is connected to an output terminal of the first comparator CMP2 , and an output terminal of the first inverter P2 is coupled to the second logic operator 113 .
[0048] Specifically, according to the relative size between the first sub-reference voltage Vref11 and the first feedback voltage Vfb, and the relative size between the first feedback voltage Vfb and the second sub-reference voltage Vref12, the first sub-detection signal and the second sub-detection signal output to the second logic operator 113 have different states.
[0049] It should be noted that, in this embodiment, the “first input terminal” and the “second input terminal” are used to distinguish two different input terminals of the first comparator. In different examples, the meanings of the “first input terminal” and the “second input terminal” may be different.
[0050] For example, in the first comparator CMP1, the "first input terminal" may represent the "positive input terminal" and the "second input terminal" may represent the "inverting input terminal"; and in the first comparator CMP2, the "first input terminal" may represent the "inverting input terminal" and the "second input terminal" may represent the "positive input terminal".
[0051] In this embodiment, the first comparator CMP1 (CMP2) may include a hysteresis comparator. By adopting the hysteresis comparator, it is possible to prevent the output of the first detection module 110 from fluctuating when the first feedback voltage Vfb is close to the first reference voltage Vref11 or the second reference voltage Vref12, thereby improving the output stability of the first detection module 110. The specific implementation example of the hysteresis comparator can be found in the description of the existing solution, and this embodiment will not be expanded here.
[0052] See next Figure 4 The second logic operator 113 may include: a second OR gate or2, a first input end of the second OR gate or2 is coupled to the first detection branch 111 (for example, the output end of the first inverter P1), a second input end of the second OR gate or2 is coupled to the second detection branch 112 (for example, the output end of the first inverter P2), and an output end of the second OR gate or2 is coupled to the selection module 130.
[0053] Specifically, by performing a logic OR operation on the first sub-detection signal and the second sub-detection signal, the level state of the first detection signal is made the same as the level state of the first sub-detection signal and / or the second sub-detection signal.
[0054] For example, if the first sub-detection signal is a high level and the second sub-detection signal is a low level, then after a logical OR operation, the first detection signal is the first sub-detection signal; for another example, if the first sub-detection signal is a low level and the second sub-detection signal is a high level, then after a logical OR operation, the first detection signal is the second sub-detection signal.
[0055] It should be noted that, in some other embodiments, the second logic operator 113 may also be a device that implements other logic operation functions, and the embodiment of the present invention does not impose any limitation on this.
[0056] To understand the working mechanism of the first detection module, Figure 1 and Figure 4 An exemplary description is given.
[0057] See also Figure 1 and Figure 4 , assuming that the first sub-reference voltage Vref11 is greater than the second sub-reference voltage Vref12 (that is, the first sub-reference voltage Vref11 is an upper limit value and the second sub-reference voltage Vref12 is a lower limit value), based on the detected value of the first feedback voltage Vfb, the first sub-detection signal and the second sub-detection signal have a state adapted thereto.
[0058] Case 1: The first feedback voltage Vfb is greater than the first sub-reference voltage Vref11, and naturally greater than the second sub-reference voltage Vref12. After comparison by the first comparator CMP1 and inversion by the first inverter P1, the first sub-detection signal is at a high level; and after inversion by the first comparator CMP2 and the first inverter P2, the second sub-detection signal is at a low level. After an OR operation is performed by the second OR gate or2, the first detection signal S1 output to the selection module 130 is at a high level, and the selection module 130 is turned on, so that the path between the voltage converter 10A and the ground is selected, and the voltage converter 10A stops working, thereby playing a protective role.
[0059] Case 2: The first feedback voltage Vfb is less than the first sub-reference voltage Vref11 but greater than the second sub-reference voltage Vref12. After comparison by the first comparator CMP1 and inversion by the first inverter P1, the first sub-detection signal is at a low level. After inversion by the first comparator CMP2 and the first inverter P2, the second sub-detection signal is at a low level. After an OR operation is performed by the second OR gate or2, the first detection signal S1 output to the selection module 130 is at a low level. The selection module 130 is in the cut-off state, so that the voltage converter 10A can continue to work.
[0060] Case 3: The first feedback voltage Vfb is smaller than the second sub-reference voltage Vref12, and naturally smaller than the first sub-reference voltage Vref11. After being compared by the first comparator CMP1 and inverted by the first inverter P1, the first sub-detection signal is at a low level; and after being inverted by the second comparator CMP2 and the first inverter P2, the second sub-detection signal is at a high level. After an OR operation is performed by the second OR gate or2, the first detection signal S1 output to the selection module 130 is at a high level, and the selection module 130 is turned on, so that the path between the voltage converter 10A and the ground is selected, and the voltage converter 10A stops working, thereby playing a protective role.
[0061] Therefore, by adopting the first detection module, it is possible to determine whether the output voltage of the output end of the voltage converter meets the design requirements, thereby controlling the working state of the voltage converter.
[0062] In this embodiment, the first detection parameter may be the input voltage Vin of the input terminal of the voltage converter 10A, and the first preset parameter may be the second reference voltage Vref2 .
[0063] In this case, see Figure 5 The structural diagram of a second detection module in the first embodiment of the present invention is shown in FIG. Figure 5 As shown, the second detection module 120 may include: a voltage dividing unit U1, a plurality of gating units (as a non-limiting example, Figure 5 The first gating unit U21 and the second gating unit U22 are illustrated. In other embodiments, three or more gating units may be included) and the first comparing unit U3, wherein: The voltage dividing unit U1 is coupled to the input terminal of the voltage converter and a plurality of the gating units (e.g., the first gating unit U21 and the second gating unit U22), respectively, and is configured to divide the input voltage Vin, wherein the voltage dividing unit U1 has a plurality of voltage dividing output terminals (as a non-limiting example, Figure 5 A first voltage-dividing output terminal Out1 and a second voltage-dividing output terminal Out2 are illustrated. In other embodiments, three or more voltage-dividing output terminals may be included. The voltage-dividing voltages output by each voltage-dividing output terminal are different (as a non-limiting example, the voltage-dividing voltage V1 output by the first voltage-dividing output terminal Out1 is greater than the voltage-dividing voltage V2 output by the second voltage-dividing output terminal Out2), and one voltage-dividing output terminal is coupled to one gating unit (as a non-limiting example, the first voltage-dividing output terminal Out1 is coupled to the first gating unit U21, and the second voltage-dividing output terminal Out2 is coupled to the second gating unit U22); The gating unit is coupled to the first comparing unit U3, and is configured to gating a path between the corresponding voltage-dividing output terminal and the comparing unit based on the voltage-dividing voltage, the first output voltage of the first output terminal of the first comparing unit U3, and the second output voltage of the second output terminal of the first comparing unit U3, and the first output voltage is different from the second output voltage (as a non-limiting example, the first gating unit U21 gating a path between the first voltage-dividing output terminal Out1 and the first comparing unit U3 based on the voltage-dividing voltage outputted by the first voltage-dividing output terminal Out1, the first output voltage of the first output terminal of the first comparing unit U3, and the second output voltage of the second output terminal of the first comparing unit U3); The first comparison unit U3 is configured to generate the second detection signal S2 according to the divided voltage and the second reference voltage Vref2, and the second output voltage is a voltage corresponding to the second detection signal S2.
[0064] Specifically, the voltage dividing unit U1 has a plurality of voltage dividing output terminals, so that when dividing the input voltage Vin at the input terminal of the voltage converter 10A, different voltage dividing voltage values can be output to corresponding selection units through different voltage dividing output terminals.
[0065] For example, the first divided voltage V1 is output to the first selection unit U21 through the first divided voltage output terminal Out1, and the second divided voltage V2 is output to the second selection unit U22 through the second divided voltage output terminal Out2, and the first divided voltage V1 and the second divided voltage V2 are different.
[0066] When the input voltage Vin changes, the divided voltage output to the gating unit is different, and different gating units can be enabled according to the first output voltage and the second output voltage obtained from the first comparison unit U3. In this way, when the gating unit is enabled, the corresponding divided voltage can be output to the first comparison unit U3, so that when the second reference voltage Vref2 is a constant value, the second detection signal S2 output to the gating module 130 has a different state. In this way, the on-off condition of the gating module 130 can be used to determine whether the input voltage Vin at the input end of the voltage converter 10A is in an overvoltage state (for example, the input voltage Vin is too large) to change the working state of the voltage converter 10A.
[0067] In addition, by using the first output voltage and the second output voltage of the first comparison unit U3 as control signals and participating in the gating process of the gating unit, the internal self-loop feedback of the second detection module 120 itself is realized, the control accuracy is higher, and the accuracy of the second detection signal S2 output by the second detection module 120 is improved.
[0068] It should be noted that Figure 5The number of voltage divider output terminals and enabling units illustrated, as well as the connection relationship between the voltage divider output terminals and enabling units are only for illustrative purposes, and are used to indicate that different voltage divider voltages are input to the comparison unit by setting one-to-one matching voltage divider output terminals and enabling units, and should not be understood as limitations of the present invention.
[0069] In this embodiment, see Figure 6 The specific structural diagram of the second detection module in the first embodiment of the present invention is shown in FIG. Figure 6 As shown, the voltage dividing unit U1 may include a plurality of voltage dividing resistors connected in sequence (as a non-limiting example, the voltage dividing unit U1 may include voltage dividing resistors R1 to R3 connected in sequence), and the branch between any two adjacent voltage dividing resistors serves as one of the voltage dividing output terminals (as a non-limiting example, the branch between the voltage dividing resistors R1 and R2 serves as the voltage dividing output terminal Out1, and the branch between the voltage dividing resistors R2 and R3 serves as the voltage dividing output terminal Out2).
[0070] By adopting the resistor voltage division method, the implementation method is simple, and the resistance does not change significantly with temperature, which can improve the stability of the divided voltage.
[0071] In this embodiment, when the voltage dividing unit U1 includes voltage dividing resistors R1 to R3 connected in sequence, the voltage dividing unit U1 has two voltage dividing output terminals, and the voltage dividing voltage V1 of the first voltage dividing output terminal Out1 = Vin*(R R2 +R R3 ) / (R R1 +R R2 +R R3 )、The divided voltage V2 of the second divided voltage output terminal Out2 = Vin*R R3 / (R R1 +R R2 +R R3 ), where: R R1 Indicates the resistance value of the voltage divider resistor R1, R R2 The resistance value of the voltage divider resistor R2, R R3 Indicates the resistance value of the voltage dividing resistor R3.
[0072] It should be noted that, in some other embodiments, the voltage divider unit may also be composed of resistors and capacitors. The embodiments of the present invention do not impose any restrictions on the specific structure of the voltage divider unit, as long as the voltage divider unit can output voltage dividers of different sizes at the same time.
[0073] In this embodiment, combined with Figure 5 and Figure 6 , the plurality of voltage-dividing output terminals include a first voltage-dividing output terminal Out1 and a second voltage-dividing output terminal Out2, the plurality of gating units include a first gating unit U21 and a second gating unit U22, wherein: The first input terminal of the first gating unit U21 is coupled to the first voltage-dividing output terminal, the second input terminal of the first gating unit U21 is respectively coupled to the third input terminal of the second gating unit U22 and the second output terminal of the first comparison unit U3, the third input terminal of the first gating unit U21 is respectively coupled to the third input terminal of the second gating unit U22 and the first output terminal of the first comparison unit U3, the output terminal of the first gating unit U21 is respectively coupled to the output terminal of the second gating unit U22 and the first input terminal of the first comparison unit U3; the first input terminal of the second gating unit U22 is coupled to the second voltage-dividing output terminal Out2.
[0074] In this way, the first selection unit U21 is turned on or off based on the first divided voltage V1, the first output voltage and the second output voltage of the first comparison unit U3, and the second selection unit U22 is turned on or off based on the second divided voltage V2, the first output voltage and the second output voltage of the first comparison unit U3. Since the first divided voltage V1 and the second divided voltage V2 are different, and the first output voltage and the second output voltage are received at different input terminals of the first selection unit U21 and the second selection unit U22, only one of the first selection unit U21 and the second selection unit U22 can be turned on at the same time, so that the overvoltage state of the input voltage at the output terminal of the voltage converter 10A, that is, whether the voltage is too high, can be determined.
[0075] In this embodiment, the first gating unit U21 may include: a fourth switching device M4 and a fifth switching device M5, wherein: the first end of the fourth switching device M4 serves as the second input end of the first gating unit U21, the second end of the fourth switching device M4 is connected to the third end of the fifth switching device M5 and serves as the first input end of the first gating unit U21, the third end of the fourth switching device M4 is connected to the second end of the fifth switching device M5 and serves as the output end of the first gating unit U21, and the first end of the fifth switching device M5 serves as the third input end of the first gating unit U21.
[0076] The second gating unit U22 may include: a sixth switching device M6 and a seventh switching device M7, wherein: a first end of the sixth switching device M6 serves as a third input end of the second gating unit U22, a second end of the sixth switching device M6 is connected to a third end of the seventh switching device M7 and serves as a first input end of the second gating unit U22, a third end of the sixth switching device M6 is connected to a second end of the seventh switching device M7 and serves as an output end of the first gating unit U21, and a first end of the seventh switching device M7 serves as a second input end of the second gating unit U22.
[0077] In this embodiment, the first comparison unit U3 may include: a second comparator CMP3, wherein a first input terminal of the second comparator CMP3 is adapted to input the divided voltage (as a non-limiting example, the divided voltage may be the first divided voltage V1 or the second divided voltage V2), and a second input terminal of the second comparator CMP3 is adapted to input the second reference voltage Vref2; a second inverter P3, wherein an input terminal of the second inverter P3 is coupled to an output terminal of the second comparator CMP3, and an output terminal of the second inverter P3 serves as a first output terminal of the first comparison unit U3; A third inverter P4 , wherein the input end of the third inverter P4 is coupled to the output end of the second inverter P3 , and the output end of the third inverter P4 serves as the second output end of the first comparison unit U3 and is coupled to the gating module 130 .
[0078] Specifically, when one of the multiple selection units is selected, the divided voltage of the corresponding voltage divider output terminal can be output to the first input terminal of the first comparison unit U3, so that based on the second reference voltage Vref2 of the second input terminal of the first comparison unit U3, the first comparison unit U3 can output a comparison signal with a corresponding state, so that after being inverted by the second inverter P3, the state of the comparison signal is flipped, and after being inverted by the third inverter P4 again, the second detection signal S2 has the same state as the comparison signal, so that the second detection signal S2 can more accurately characterize the state of the comparison signal, that is, through the correspondence between the divided voltage and the second reference voltage Vref2, it can be determined whether the input voltage Vin at the output terminal of the voltage converter 10A is too high.
[0079] Furthermore, by using the output end of the second inverter P3 as the first output end of the first comparison unit U3 and the output end of the third inverter P4 as the second output end of the first comparison unit U3, the phases of the first output voltage and the second output voltage are opposite, so that the selected selection unit can be controlled.
[0080] To understand the working mechanism of the second detection module, Figure 5 and Figure 6 An exemplary description is given.
[0081] See also Figure 5 and Figure 6Assuming that the input voltage Vin at the input end of the voltage converter 10A is greater than the set input voltage, after being divided by the voltage-dividing resistors R1 to R3, the first divided voltage V1 (i.e., the voltage drop across the voltage-dividing resistors R2 and R3) is larger, so that the first selection unit U21 is turned on, so that the voltage output to the first input end of the second comparator CMP3 is the first divided voltage V1. Since the first divided voltage V1 is greater than the second reference voltage Vref2, the comparison signal output by the second comparator CMP3 has a high level. In this way, after being inverted by the second inverter P3, the first output voltage output by the second inverter P3 is a low level, and the second output voltage output by the third inverter P4 is a high level. When the first output voltage is output to the first end of the sixth switch device M6 and the second output voltage is output to the first end of the seventh switch device M7, the second selection unit U22 is in a cut-off state.
[0082] Since the second detection signal S2 has a high level, it indicates that the input voltage Vin of the input terminal of the voltage converter 10A is too large, thereby driving the gating module 130 to be turned on, thereby gating the path between the voltage converter 10A and the ground, and the voltage converter 10A stops working.
[0083] When the input voltage Vin of the input end of the voltage converter 10A is less than the set input voltage, after the voltage is divided by the voltage-dividing resistors R1 to R3, the voltages of the first divided voltage V1 and the second divided voltage V2 are both small, so that the second selection unit U22 is turned on, so that the voltage output to the first input end of the second comparator CMP3 is the second divided voltage V2. Since the second divided voltage V2 is less than the second reference voltage Vref2, the comparison signal output by the second comparator CMP3 has a low level. In this way, after being inverted by the second inverter P3, the first output voltage output by the second inverter P3 is a high level, and the second output voltage output by the third inverter P4 is a low level. When the first output voltage is output to the first end of the fifth switch device M5 and the second output voltage is output to the first end of the fourth switch device M4, the first selection unit U21 is in a cut-off state.
[0084] Since the second detection signal S2 has a low level, it indicates that the input voltage Vin of the input end of the voltage converter 10A is not too large, so that the gating module 130 is in the cut-off state, and the path between the voltage converter 10A and the ground is disconnected, and the voltage converter 10A continues to work.
[0085] In order to further improve the working performance of the second detection module 120 , the structure of the second detection module 120 may be further expanded.
[0086] For example, see Figure 6 The second detection module 120 may further include: a filtering unit U4 disposed between each gating unit and the comparing unit U3.
[0087] By providing the filter unit U4 , it is possible to filter out clutter and noise in the divided voltage input to the second comparator CMP3 , thereby improving the quality of the divided voltage.
[0088] In this embodiment, the filtering unit U4 may include a first filtering resistor R4 and a first filtering capacitor C1, wherein the first end of the first filtering resistor R4 is coupled to each gating unit (for example, the first gating unit U21 and the second gating unit U22), and the second end of the first filtering resistor R4 is coupled to the first end of the first filtering capacitor C1 and the comparing unit U3 respectively; the second end of the first filtering capacitor C1 is grounded.
[0089] In some other embodiments, the filtering unit may also be other components capable of filtering noise. For example, the first filtering module may include a filtering device composed of a capacitor, a resistor, and an inductor. The embodiment of the present invention does not impose any limitation on this.
[0090] For another example, the first comparison unit U3 (eg, the second comparator CMP3 ) further has an enable control terminal, and the first comparison unit U3 is further configured to execute a process of generating the second detection signal S2 based on an input enable signal EN.
[0091] Specifically, by setting the enable terminal, the input timing of the enable signal EN can be controlled to control the working state of the first comparison unit U3, so as to selectively detect whether the input voltage Vin of the input terminal of the voltage converter 10A is too high.
[0092] Correspondingly, the second detection module U3 may further include: a switch tube M8 coupled between the voltage dividing unit U1 and ground, and configured to switch on or off the path between the voltage dividing units based on the enable signal EN.
[0093] In other words, the switch tube M8 and the first comparison unit U3 work at the same time. When the first comparison unit U3 works, the switch tube M8 can select the path from the voltage-dividing resistor R3 to the ground, so that the first input terminal of the first comparison unit U3 can obtain the corresponding divided voltage.
[0094] In this embodiment, see Figure 7 The structural diagram of the second detection module in the second embodiment of the present invention is shown in FIG. Figure 7 As shown, the voltage converter 10A may further include a driver (not shown), a first power tube N1 and a second power tube N2, wherein the driver is respectively coupled to the supply voltage VDD, the control end of the first power tube N1, the control end of the second power tube N2 and the gating module 130; The second detection module 120 may include: a conversion unit T1 and a second comparison unit T2, wherein: The conversion unit T1 is coupled to the first power tube N1 and the second power tube N2 respectively, and is configured to generate and store the first detection voltage based on the driving current when the first power tube N1 is in the on state; and is configured to discharge the stored first detection voltage when the second power tube N2 is in the on state; The second comparison unit T2 is coupled to the first power tube N1 and the gating module 130 respectively, and the second comparison unit T2 has a first reference voltage source Vth. The second comparison unit T2 is configured to generate the second detection signal S2 based on the reference voltage corresponding to the first reference voltage source Vth, the input voltage Vin at the input end of the voltage converter 10A, and the first detection voltage, wherein the second detection signal S2 is used to drive the driver to generate a driving signal with a first level and a second level to turn on the first power tube N1 and the second power tube N2 in a time-sharing manner. Specifically, when the driver generates a driving signal with a first level, the first power tube N1 is turned on, while the second power tube N2 is turned off. Under the action of the output voltage Vin at the input end of the voltage converter 10A, a driving current can be generated in the first power tube N1, and then the conversion unit T1 can store the amount of the driving current to generate the first detection voltage.
[0095] The first detection voltage is used as an input voltage of one of the input terminals of the second comparison unit T2, and is added to the first reference voltage source Vth of the second comparison unit T2 itself, so that the second comparison unit T2 can generate a second detection signal with a corresponding potential according to the reference voltage corresponding to the first reference voltage source, the input voltage Vin and the first detection voltage, and then under the action of the second detection signal, the state of the driver can be changed, and then the state of the driving signal output by the driver is changed, thereby changing the conduction state of the first power tube N1 and the second power tube N2. For example, the driver generates a driving signal with a second level, the first power tube N1 is turned off, and the second power tube N2 is turned on.
[0096] For example, if the first power tube N1 is turned on and the second power tube N2 is turned off, the voltage at one input terminal of the second comparison unit T2 is the difference between the input voltage Vin and the reference voltage corresponding to the first reference voltage source Vth, and the voltage at the other input terminal of the second comparison unit T2 is the first detection voltage. If the first detection voltage is greater than the difference between the input voltage Vin and the reference voltage corresponding to the first reference voltage source Vth, the second detection signal output by the second comparison unit T2 is a low level, indicating that no overcurrent problem occurs, so that the driver generates a driving signal of the first level, the first power tube N1 is still in the on state, and the second power tube N2 is in the off state.
[0097] If the first detection voltage is less than the difference between the input voltage Vin and the reference voltage corresponding to the first reference voltage source Vth, the second detection signal output by the second comparison unit T2 is at a high level, indicating that an overcurrent problem occurs, thereby causing the driver to generate a drive signal with a second level, and thus the first power tube N1 is in an off state, and the second power tube N2 is in an on state.
[0098] Correspondingly, when the second power tube N2 is in the on state, the conversion unit T1 can discharge the stored first detection voltage to facilitate the execution of the next detection process.
[0099] In this embodiment, the conversion unit T1 may include a first conversion inductor L, a first storage capacitor C2 and a first conversion resistor R5, wherein the first end of the first conversion inductor L is coupled between the second end of the first power tube N1 and the second end of the second power tube N2, the second end of the first conversion inductor L is respectively coupled to the first end of the first conversion resistor R5 and the first end of the first storage capacitor C2, the second end of the first conversion resistor R5 is respectively coupled to the second end of the first storage capacitor C2 and the third end of the second power tube N2, and is grounded.
[0100] Example 1: When a driving current is generated, the first conversion inductor L is charged, so that the voltage on the first storage capacitor C2 gradually increases. When the voltage on the first storage capacitor C2 is less than the difference between the input voltage Vin and the reference voltage corresponding to the first reference voltage source Vth, it indicates that an overcurrent problem has occurred, thereby causing the state of the second detection signal output by the second comparison unit T2 to flip to change the state of the driving signal output by the driver.
[0101] For example, at the next moment, the first power tube N1 is disconnected, and the second power tube N2 is turned on, and the first storage capacitor C2 is used as a power source, thereby forming a discharge path of the first conversion inductor L-the first conversion resistor R5-ground, so that the voltage on the first storage capacitor C2 returns to zero, so as to re-execute the detection and judgment process.
[0102] Example 2: When a driving current is generated, the first conversion inductor L is charged, so that the voltage on the first storage capacitor C2 gradually increases. When the voltage on the first storage capacitor C2 is greater than the difference between the input voltage Vin and the reference voltage corresponding to the first reference voltage source Vth, it means that the driving current flowing through the first power tube N1 is small, so that the state of the second detection signal output by the second comparison unit T2 is not reversed, and the driving signal output by the driver remains in the current state.
[0103] For example, at the next moment, the first power tube N1 is still in the on state, and the second power tube N2 is in the off state.
[0104] It should be noted that the above examples 1 and 2 are merely examples for illustrating the conduction states of the first power tube N1 and the second power tube N2 in different states, and should not be construed as limiting the present invention. In this embodiment, the second comparison unit T2 may include a third comparator CMP4, a first input end of the third comparator CMP4 is set with the first reference voltage source Vth and is coupled to the third end of the first power tube N1, a second input end of the third comparator CMP4 is set between the second end coupled to the first power tube N1 and the second end of the second power tube N2, and an output end of the third comparator CMP4 is coupled to the selection module 130.
[0105] In this embodiment, when the voltage converter 10A is in the voltage conversion state, the temperature of the voltage converter 10A will increase. When the temperature increases to a certain value, the conversion performance of the voltage converter 10A will be affected, and the voltage converter 10A may even be burned.
[0106] Based on this, see Figure 8 The structural diagram of a second detection module in the third embodiment of the present invention is shown in FIG. Figure 8 As shown, the second detection module 120 may include: A temperature detection unit D1, wherein the temperature detection unit D1 has a temperature sensing element, and the temperature sensing element is used to convert the detected temperature into a corresponding second detection voltage; a third comparison unit D2, coupled to the temperature detection unit D1, and configured to generate a comparison signal according to the second detection voltage and a third reference voltage Vref3; The inverting unit D3 is coupled to the third comparing unit D2, and is used to perform at least two inverting operations on the comparison signal to generate the second detection signal S2.
[0107] Specifically, when the voltage converter 10A performs a voltage conversion operation, the temperature sensing element can detect the voltage on the voltage converter 10A, so that the obtained second detection voltage can be output to the third comparison unit D2, so that the third comparison unit D2 can generate a comparison signal based on the second detection voltage and the third reference voltage Vref3, and then based on the comparison signal, it can be determined whether the temperature on the voltage converter 10A meets the requirements.
[0108] In this embodiment, the temperature detection unit D1 may include: a first transistor M9, a second transistor M10 and a transistor Q1, and the transistor Q1 serves as the temperature sensing element.
[0109] Wherein: the control end of the first transistor M9 is coupled to the control end of the second transistor M10 and the second end of the first transistor M9 respectively, and is grounded; the first end of the first transistor M9 is coupled to the first end of the second transistor M10, and is suitable for inputting a power supply voltage; the second end of the second transistor M10 is coupled to the collector of the transistor Q1; the base and emitter of the transistor Q1 are both grounded.
[0110] In this embodiment, the base-emitter voltage of the transistor Q1 is used as the second detection voltage.
[0111] In this embodiment, the third comparison unit D2 may include: a third transistor M11, a fourth transistor M12, a fifth transistor M13, a sixth transistor M14, a seventh transistor M15, an eighth transistor M16, a ninth transistor M17, a tenth transistor M18 and an eleventh transistor M19, the control end of the third transistor M11 is coupled to the temperature sensor element Q1, the first end of the third transistor M11 is respectively coupled to the first end of the fourth transistor M12 and the second end of the ninth transistor M17, the second end of the third transistor M11 is respectively coupled to the second end of the seventh transistor M15, the second end of the fifth transistor M13, the control end of the fifth transistor M13 and the control end of the sixth transistor M14; the control end of the fourth transistor M12 is suitable for inputting the third reference voltage Vref3, and the fourth transistor M16 is connected to the temperature sensor element Q1. The second end of M12 is coupled to the second end of the sixth transistor M14, the second end of the eighth transistor M16, the control end of the eighth transistor M16, the control end of the seventh transistor M15, and the control end of the eleventh transistor M19 respectively; the first end of the fifth transistor M13, the first end of the sixth transistor M14, the first end of the seventh transistor M15, the first end of the eighth transistor M16, and the first end of the eleventh transistor M19 are all grounded; the control end of the ninth transistor M17 is coupled to the control end of the temperature detection unit D1 and the tenth transistor M18 respectively, and the first end of the ninth transistor M17 and the first end of the tenth transistor M18 are suitable for inputting a power supply voltage; the second end of the tenth transistor M18 is coupled to the second end of the inverting unit D3 and the eleventh transistor M19 respectively.
[0112] In other words, the third transistor M11, the fourth transistor M12, the fifth transistor M13, the sixth transistor M14, the seventh transistor M15, the eighth transistor M16, the ninth transistor M17, the tenth transistor M18 and the eleventh transistor M19 form a differential comparator, and the control ends of the third transistor M11 and the fourth transistor M12 are respectively used as two input ends of the comparator. By comparing the second detection voltage at the control end of the third transistor M11 and the third reference voltage Vref3 on the fourth transistor M12, it can be determined whether the temperature is normal.
[0113] In this embodiment, the inverting unit D3 includes: a twelfth transistor M20, a thirteenth transistor M21, a fourteenth transistor M22 and a fifteenth transistor M23, wherein the control end of the twelfth transistor M20 is respectively coupled to the control end of the fourteenth transistor M22 and the third comparison unit D2, and the first end of the twelfth transistor M20 and the first end of the fourteenth transistor M22 are suitable for inputting a power supply voltage; the second end of the twelfth transistor M20 is respectively coupled to the control end of the fourteenth transistor M22, the control end of the fifteenth transistor M23 and the second end of the thirteenth transistor M21; the first end of the thirteenth transistor M21 and the first end of the fifteenth transistor M23 are both grounded; the second end of the fourteenth transistor M22 is connected to the second end of the fifteenth transistor M23 and serves as the output end of the second detection module 120.
[0114] Specifically, the twelfth transistor M20 and the thirteenth transistor M21 form a first-stage inverter, the fourteenth transistor M22 and the fifteenth transistor M23 form a second-stage inverter, and by performing two inversion operations on the comparison signal output by the third comparison unit D2, the second detection signal can have a level state consistent with the comparison signal.
[0115] This embodiment further provides a voltage conversion circuit, which may include: the detection circuit described in any of the above examples; and a voltage converter coupled to the detection circuit.
[0116] The structure and working principle of the detection circuit can be found in the above examples and will not be elaborated here.
[0117] It should be noted that "one embodiment" or "embodiment" referred to in the present invention refers to specific features, structures or characteristics that may be included in at least one implementation of the present invention. And in the description of the present invention, the terms "first", "second", "third" and the like are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined by the terms "first", "second", "third" and the like may explicitly or implicitly include one or more of the features. Moreover, the terms "first", "second", "third" and the like are used to distinguish similar objects, and are not necessarily used to describe a specific order or to indicate importance. It is understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described.
[0118] Although the embodiments of the present invention are disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A detection circuit coupled to a voltage converter, characterized in that: The detection circuit comprises: A first detection module is configured to generate a first detection signal according to a first feedback voltage and a preset first reference voltage, wherein the first feedback voltage is generated based on an output voltage of an output terminal of the voltage converter; A second detection module is configured to generate a second detection signal according to a first detection parameter and a first preset parameter adapted to the first detection parameter, wherein the first detection parameter is working data of the voltage converter under the corresponding parameter; The gating module is coupled to the first detection module, the second detection module and the voltage converter respectively, and is configured to enable or disable the path between the input end of the voltage converter and the ground according to the supply voltage, the first detection signal and / or the second detection signal.
2. The detection circuit according to claim 1, characterized in that: When the gating module is configured to be switched on or off according to the supply voltage, the first detection signal or the second detection signal, the gating module includes a first gating branch and a second gating branch, wherein: The first gating branch is coupled to the first detection module and the voltage converter respectively, and is configured to enable or disable a path between an input terminal of the voltage converter and ground according to the supply voltage and the first detection signal; The second selection branch is coupled to the second detection module and the voltage converter respectively, and is configured to select or disconnect the path between the input terminal of the voltage converter and the ground according to the supply voltage and the second detection signal.
3. The detection circuit according to claim 2, characterized in that: The first gating branch comprises: a first switch device, a first end of the first switch device is coupled to the first detection module, a second end of the first switch device is coupled to the voltage converter, and a third end of the first switch device is grounded; The second selection branch includes: a second switch device, a first end of the second switch device is coupled to the second detection module, a second end of the second switch device is coupled to the voltage converter, and a third end of the second switch device is grounded.
4. The detection circuit according to claim 1, characterized in that: When the gating module is configured so that the supply voltage, the first detection signal, and the second detection signal are turned on or off, the gating module includes: A first logic operator, coupled to the first detection module and the second detection module respectively, and configured to generate a first logic signal based on the first detection signal and the second detection signal; The third selection branch is coupled to the output terminal of the first logic operator and the voltage converter respectively, and is configured to select or disconnect the path between the input terminal of the voltage converter and the ground according to the first logic signal.
5. The detection circuit according to claim 4, characterized in that: The first logic operator comprises: a first OR gate, a first input terminal of the first OR gate is coupled to the first detection module, a second input terminal of the first OR gate is coupled to the second detection module, and an output terminal of the first OR gate is coupled to the third selection branch; The third selection branch includes a third switch device, a first terminal of the third switch device is coupled to the output terminal of the first logic operator, a second terminal of the third switch device is coupled to the voltage converter, and a third terminal of the third switch device is grounded.
6. The detection circuit according to claim 1, characterized in that: The first reference voltage includes a first sub-reference voltage and a second sub-reference voltage, and the first sub-reference voltage and the second sub-reference voltage are different; The first detection module comprises: a first detection branch, configured to generate a first sub-detection signal according to the first feedback voltage and the first sub-reference voltage; a second detection branch, configured to generate a second sub-detection signal according to the first feedback voltage and the second sub-reference voltage; The second logic operator is coupled to the first detection branch, the second detection branch and the gating module respectively, and is configured to generate the first detection signal based on the first sub-detection signal and the second sub-detection signal.
7. The detection circuit according to claim 6, characterized in that: The first detection branch and / or the second detection branch comprises: a first comparator, wherein the first feedback voltage is input to a first input terminal of the first comparator, and the first sub-reference voltage or the second sub-reference voltage is input to a second input terminal of the first comparator; A first inverter, wherein an input terminal of the first inverter is connected to an output terminal of the first comparator, and an output terminal of the first inverter is coupled to the second logic operator.
8. The detection circuit according to claim 7, characterized in that: The first comparator includes a hysteresis comparator.
9. The detection circuit according to claim 6, characterized in that: The second logic operator includes: a second OR gate, a first input end of the second OR gate is coupled to the first detection branch, a second input end of the second OR gate is coupled to the second detection branch, and an output end of the second OR gate is coupled to the selection module.
10. The detection circuit according to claim 1, characterized in that: The first detection parameter is an input voltage of an input terminal of the voltage converter, and the first preset parameter is a second reference voltage; The second detection module includes: a voltage dividing unit, a plurality of gating units and a first comparing unit, wherein: The voltage dividing unit is coupled to the input end of the voltage converter and the plurality of the gating units respectively, and is configured to divide the input voltage, wherein the voltage dividing unit has a plurality of voltage dividing output ends, each voltage dividing output end outputs a different divided voltage, and one voltage dividing output end is coupled to one gating unit; The gating unit is coupled to the comparing unit and is configured to gating a path between the corresponding voltage-dividing output terminal and the comparing unit based on the voltage-dividing voltage, a first output voltage of the first output terminal of the comparing unit, and a second output voltage of the second output terminal of the comparing unit, and the first output voltage is different from the second output voltage; The first comparison unit is configured to generate the second detection signal according to the divided voltage and the second reference voltage, and the second output voltage is a voltage corresponding to the second detection signal.
11. The detection circuit according to claim 10, characterized in that: The voltage dividing unit includes a plurality of voltage dividing resistors connected in sequence, and a branch between any two adjacent voltage dividing resistors serves as one of the voltage dividing output ends.
12. The detection circuit according to claim 10, characterized in that: The plurality of voltage-dividing output terminals include a first voltage-dividing output terminal and a second voltage-dividing output terminal, and the plurality of gating units include a first gating unit and a second gating unit, wherein: The first input terminal of the first gating unit is coupled to the first voltage-dividing output terminal, the second input terminal of the first gating unit is respectively coupled to the third input terminal of the second gating unit and the second output terminal of the first comparison unit, the third input terminal of the first gating unit is respectively coupled to the third input terminal of the second gating unit and the first output terminal of the first comparison unit, and the output terminal of the first gating unit is respectively coupled to the output terminal of the second gating unit and the first input terminal of the first comparison unit; The first input terminal of the second gating unit is coupled to the second voltage-dividing output terminal.
13. The detection circuit according to claim 10, characterized in that: The first comparison unit comprises: a second comparator, wherein a first input terminal of the second comparator is adapted to input the divided voltage, and a second input terminal of the second comparator is adapted to input the second reference voltage; A second inverter, wherein an input terminal of the second inverter is coupled to an output terminal of the second comparator, and an output terminal of the second inverter serves as a first output terminal of the comparison unit; A third inverter, wherein the input end of the third inverter is coupled to the output end of the second inverter, and the output end of the third inverter serves as the second output end of the first comparison unit and is coupled to the selection module.
14. The detection circuit according to any one of claims 10 to 12, characterized in that: The first comparison unit further has an enable control terminal, and the first comparison unit is further configured to execute a process of generating the second detection signal based on an input enable signal; The second detection module further includes: a switch tube coupled between the voltage dividing unit and ground, and configured to enable or disable the path between the voltage dividing units based on the enable signal.
15. The detection circuit according to claim 1, characterized in that: The voltage converter comprises a driver, a first power tube and a second power tube, wherein the driver is respectively coupled to the supply voltage, the control end of the first power tube, the control end of the second power tube and the gating module; The second detection module includes: a conversion unit and a second comparison unit, wherein: The conversion unit is coupled to the first power tube and the second power tube respectively, and is configured to generate and store a first detection voltage based on the driving current when the first power tube is in a conducting state; and is configured to discharge the stored first detection voltage when the second power tube is in a conducting state; The second comparison unit is coupled to the first power tube and the selection module respectively, and the second comparison unit has a first reference voltage source. The second comparison unit is configured to generate the second detection signal based on a reference voltage corresponding to the first reference voltage source, an input voltage at the input end of the voltage converter and the first detection voltage, wherein the second detection signal is used to drive the driver to generate a driving signal with a first level and a second level to turn on the first power tube and the second power tube in a time-sharing manner.
16. The detection circuit according to claim 15, characterized in that: The conversion unit includes a first conversion inductor, a first storage capacitor and a first conversion resistor, wherein the first end of the first conversion inductor is coupled between the second end of the first power tube and the second end of the second power tube, the second end of the first conversion inductor is respectively coupled to the first end of the first conversion resistor and the first end of the first storage capacitor, the second end of the first conversion resistor is respectively coupled to the second end of the first storage capacitor and the third end of the second power tube, and is grounded.
17. The detection circuit according to claim 15, characterized in that: The second comparison unit includes a third comparator, a first input end of the third comparator is set with the first reference voltage source and is coupled to the third end of the first power tube, a second input end of the third comparator is set between the second end coupled to the first power tube and the second end of the second power tube, and an output end of the third comparator is coupled to the selection module.
18. The detection circuit according to claim 1, characterized in that: The second detection module includes: A temperature detection unit, wherein the temperature detection unit has a temperature sensing element, and the temperature sensing element is used to convert the detected temperature into a corresponding second detection voltage; a third comparison unit, coupled to the temperature detection unit, and configured to generate a comparison signal according to the second detection voltage and a reference voltage; An inverting unit is coupled to the third comparing unit and is used to perform at least two inverting operations on the comparison signal to generate the second detection signal.
19. The detection circuit according to claim 18, characterized in that: The temperature detection unit comprises: a first transistor, a second transistor and a triode, wherein the triode serves as the temperature sensing element; wherein: the control end of the first transistor is coupled to the control end of the second transistor and the second end of the first transistor respectively, and is grounded; the first end of the first transistor is coupled to the first end of the second transistor, and is suitable for inputting a power supply voltage; the second end of the second transistor is coupled to the collector of the triode; and the base and emitter of the triode are both grounded; The third comparison unit comprises: a third transistor, a fourth transistor, a fifth transistor, a sixth transistor, a seventh transistor, an eighth transistor, a ninth transistor, a tenth transistor and an eleventh transistor, wherein the control terminal of the third transistor is coupled to the temperature sensing element, the first terminal of the third transistor is respectively coupled to the first terminal of the fourth transistor and the second terminal of the ninth transistor, and the second terminal of the third transistor is respectively coupled to the second terminal of the seventh transistor, the second terminal of the fifth transistor, the control terminal of the fifth transistor and the control terminal of the sixth transistor; the control terminal of the fourth transistor is suitable for inputting the reference voltage, the second terminal of the fourth transistor is respectively coupled to the second terminal of the sixth transistor, the second terminal of the eighth transistor, the control terminal of the eighth transistor, the control terminal of the seventh transistor and the control terminal of the eleventh transistor; the first terminal of the fifth transistor, the first terminal of the sixth transistor, the first terminal of the seventh transistor, the first terminal of the eighth transistor and the first terminal of the eleventh transistor are all grounded; the control terminal of the ninth transistor is respectively coupled to the control terminal of the temperature detection unit and the tenth transistor, and the first terminal of the ninth transistor and the first terminal of the tenth transistor are suitable for inputting the power supply voltage; the second terminal of the tenth transistor is respectively coupled to the second terminal of the inverting unit and the eleventh transistor; The inverting unit includes: a twelfth transistor, a thirteenth transistor, a fourteenth transistor and a fifteenth transistor, wherein the control end of the twelfth transistor is coupled to the control end of the fourteenth transistor and the third comparison unit respectively, and the first end of the twelfth transistor and the first end of the fourteenth transistor are suitable for inputting a power supply voltage; the second end of the twelfth transistor is coupled to the control end of the fourteenth transistor, the control end of the fifteenth transistor and the second end of the thirteenth transistor respectively; the first end of the thirteenth transistor and the first end of the fifteenth transistor are both grounded; the second end of the fourteenth transistor is connected to the second end of the fifteenth transistor and serves as the output end of the second detection module.
20. A voltage conversion circuit, characterized in that: include: The detection circuit according to any one of claims 1 to 19; A voltage converter is coupled to the detection circuit.
Citation Information
Patent Citations
Mixed switch power source converter and automatic switching control circuit
CN101499713A
Control circuit as well as switch converter and control method thereof
CN102957303A
Switch converter and control method thereof
CN103151925A
Charge pump circuit and storage device
CN104467405A
Voltage detection circuit, controller and electronic equipment
CN111537773A