Line voltage compensation circuit and power supply driving chip
By designing a line voltage compensation circuit in the drive circuit, the contribution of line voltage to the sampling voltage is offset by the compensation current and voltage modules, thus solving the problem of the peak current of the drive tube changing with the line voltage. This achieves a constant peak current and a compensation effect that does not require auxiliary windings.
Patent Information
- Application Number
- CN202210256142.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-03-15
AI Technical Summary
In existing technologies, in charger systems that convert AC voltage to DC voltage, the peak current of the transformer primary side differs due to the delay in the drive circuit, resulting in different maximum constant current values. Furthermore, an auxiliary winding is required to compensate for the peak current.
Design a line voltage compensation circuit, including a compensation current generation module and a compensation voltage generation module. By pre-sampling the sampled voltage in each conduction cycle of the driving transistor, the sampled voltage is converted into compensation current and compensation voltage to offset the contribution of the line voltage to the sampled voltage, so that the input current remains constant when the driving transistor is delayed to turn off.
It achieves constant peak current of the drive transistor, avoids dependence on line voltage, requires no auxiliary winding, and the compensation circuit can be integrated inside the chip, resulting in a simple structure.
Smart Images

Figure CN116800065B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic technology, and in particular to a line voltage compensation circuit and a power supply driver chip. Background Technology
[0002] refer to Figure 1 In the field of AC voltage to DC voltage charger systems, due to the delay problem of AC input voltage and the internal drive circuit (MOS transistor) of the power driver chip (shown by the dashed box in the figure), the peak value Ipeak of the transformer primary current IL is different when the entire system is under high and low voltage input, which leads to different maximum constant current values.
[0003] Specifically, the chip operates in PWM peak current mode. PWM peak current mode refers to operating at a fixed frequency, where the chip regulates the output voltage by detecting the peak current on the primary side and turning off the switching transistor. Figure 2 This is the peak current mode waveform. Its working principle is as follows: when the oscillator OSC goes high, the switch Q1 turns on, and the inductor current IL flows through the resistor Rcs, generating a sampling voltage Vcs. When Vcs is greater than the reference voltage Vref, the PWM comparator output signal flips, thus turning off the switch Q1. The switch Q1 turns on again when the OSC signal triggers it again, and this cycle repeats to regulate the output voltage. When the switch Q1 is on, the slope of the inductor current is: (1); From formula (1), it can be seen that the rising slope of the inductor current IL is different for different input voltages Vin. In the ideal case, we have: ; However, due to the delay in the drive circuit, the current Ipeak when the switching transistor Q1 is actually turned off is: (2); The final input voltage Vcs of the PWM comparator is equal to:
[0004] (3); Tdelay is independent of the input voltage Vin. Therefore, for the same reference voltage Vref, the highest Vin voltage reaches 400V and the lowest is 70V. Ipeak is positively correlated with the final input voltage Vcs. Combining equation (2), it can be seen that due to Tdelay, the deviation of Ipeak under high voltage input is much larger than that under low voltage input, resulting in different situations under high and low voltage. Figure 2 As shown.
[0005] Therefore, we tried to design a parameter related to Vin to offset it. The impact. For example... Figure 3 N a As an auxiliary winding, it has two main functions: sampling the current I when the switching transistor Q1 is turned on. peak To compensate, when the switching transistor Q1 is turned off, power is supplied to the chip's VCC. The compensation portion involves supplying power through a path connected to VCC. in The relevant current flows through the compensation resistor R line Superimposed on V cs Voltage. The basic principle is that, based on the characteristics of a transformer, when the MOSFET is turned on, the primary voltage Vin is applied to the primary winding of the transformer. During conduction, the change across the primary inductor is Vin, and the voltage reflected to the auxiliary winding is Va, where n=N. p / N a Since the transformer is in reverse phase, Va is: (4); It can be seen that Va is a quantity related to Vin. At this time, the voltage of the DEM pin is clamped to 0.1V through the internal circuit, and the current flowing through the DEM pin is: (5); By scaling down the image by a factor of K using the mirroring module, we obtain: (6); The final input voltage of the compensated voltage PWM comparator is equal to: (7); The voltage superimposed on Vcs will cause the system to flip prematurely, and calculations make equation (8) true: (8); If we make the amount of early flip equal to the change caused by Tdelay, then we have: (9); Then Ipeak equals: (10); As can be seen from equation (10), after compensation, Ipeak is a parameter that is independent of the line voltage Vin and is only related to vref. Figure 4 The diagram shows the compensated Ipeak, with the dashed line representing the compensated Ipeak. Tdelay is for illustrative purposes only and does not represent the actual Tdelay ratio.
[0006] However, the above circuit requires an auxiliary winding to compensate for the peak current Ipeak flowing through the MOSFET Q1. Summary of the Invention
[0007] The technical problem to be solved by the present invention is to provide a line voltage compensation circuit and a power drive chip, which addresses the shortcomings of the prior art where the peak current flowing through the drive transistor is different under high and low voltage input, resulting in different maximum constant current values, or the need to use an auxiliary winding to compensate for the peak current of the drive transistor.
[0008] The technical solution adopted by this invention to solve its technical problem is: constructing a line voltage compensation circuit, which can be applied to a driving circuit. The driving circuit includes a driving transistor that generates an input current based on the input line voltage, a sampling unit that samples the input current in real time and generates a corresponding sampling voltage, and a control unit that controls the turn-off of the driving transistor based on the sampling voltage. The driving transistor switches periodically, and each turn-off is delayed by a preset delay. The line voltage compensation circuit includes: The compensation current generation module is used to sample the sampling voltage for a preset sampling time during each conduction cycle of the driving transistor to obtain the sampled voltage, and convert the sampled voltage into a compensation current during the current or future conduction cycles. A compensation voltage generation module is used to convert the compensation current into a second compensation voltage, and to superimpose the second compensation voltage onto the sampling voltage and send it to the control unit to offset the contribution of the line voltage to the sampling voltage within the preset delay, so that the input current remains constant and independent of the line voltage when the driving transistor is delayed to turn off.
[0009] Preferably, the compensation current generation module includes: a voltage acquisition unit, used to connect to the sampling unit, and to sample the sampling voltage for the preset sampling duration during the conduction period to obtain the acquisition voltage; and a voltage-to-current conversion unit, which converts the acquisition voltage into the compensation current based on a first conversion resistor. The compensation voltage generation module converts the compensation current into a second compensation voltage based on a second conversion resistor, wherein the first conversion resistor and the second conversion resistor satisfy... ,in: This indicates the preset sampling duration. This indicates the preset delay. This indicates the resistance value of the second switching resistor. This indicates the resistance value of the first switching resistor.
[0010] Preferably, the compensation current generating module further includes: A voltage transfer unit, connected between the voltage acquisition unit and the voltage-to-current conversion unit, is used to transfer the acquired voltage to the voltage-to-current conversion unit during the current on-cycle or the next off-cycle of the driving transistor, so that the acquired voltage obtained by the voltage acquisition unit in the previous on-cycle can be converted into a compensation current by the voltage transfer unit in the next on-cycle.
[0011] Preferably, the voltage transfer unit includes a single-stage charging transition circuit or multiple charging transition circuits connected in sequence. The charging transition circuit is used to obtain the sampled voltage through charging. The subsequent charging transition circuit in the multiple charging transition circuits starts charging only after the previous charging transition circuit has finished charging.
[0012] Preferably, the voltage acquisition unit includes a charging module, which includes one or two charging circuits that charge using the sampled voltage during the conduction cycle of the driving transistor: if it is a single charging circuit, the charging circuit starts charging synchronously when the driving transistor starts conducting and ends charging after the preset sampling duration, and outputs the charging voltage of the charging circuit during the charging process; if it is two charging circuits, the two charging circuits start charging synchronously and the time difference between the end of charging of the two charging circuits is the preset sampling duration, and outputs the absolute difference voltage of the charging voltage of the two charging circuits during the charging process.
[0013] Preferably, the voltage acquisition unit further includes: A first current mirror is connected to the charging module and is used to generate a corresponding reference current based on the voltage output by the charging module, and to mirror the current. A voltage generation circuit, connected to the first current mirror, is used to convert the mirrored current into the acquired voltage.
[0014] Preferably, the voltage-to-current conversion unit includes a second current mirror, which includes a first conversion resistor that sets a reference current, a third mirror transistor and a fourth mirror transistor whose input terminals are connected to a fixed voltage. The first terminal of the first conversion resistor is connected to the output terminal of the third mirror transistor through a switching transistor. The output terminal of the fourth mirror transistor outputs the compensation current. The output terminal of the fourth mirror transistor is simultaneously connected to the second input terminal of the PWM comparator of the control unit and the first terminal of the second conversion resistor. Wherein, the first end of the first conversion resistor is connected to a single charging circuit of the charging module, and the charging voltage output by the single charging circuit is used as the acquisition voltage, and the second end of the first conversion resistor is grounded; or, the first end and the second end of the first conversion resistor are respectively connected to two charging circuits of the charging module, and the absolute difference voltage between the two charging circuits is used as the acquisition voltage, and the second end of the first conversion resistor is grounded via a switching transistor; or, the first end of the first conversion resistor is connected to the voltage transfer unit to obtain the acquisition voltage.
[0015] More specifically, the control unit includes a PWM comparator, the sampling unit includes a sampling resistor, the input terminal of the driving transistor is connected to the line voltage, the first terminal of the sampling resistor is connected to the output terminal of the driving transistor, the second terminal of the sampling resistor is grounded, the first input terminal of the PWM comparator is connected to a reference voltage, the second input terminal of the PWM comparator is connected to the first terminal of the sampling resistor through the compensation voltage generation module, the input terminal of the compensation current generation module is connected to the first terminal of the sampling resistor to sample the sampling voltage, and the output terminal of the compensation current generation module is connected between the compensation voltage generation module and the second input terminal of the PWM comparator to input the compensation current to the compensation voltage generation module.
[0016] The present invention also constructs a power driver chip that can be applied to an AC-to-DC power supply system. The power driver chip integrates a driver transistor and a control unit. The power driver chip integrates or connects an external sampling unit. The driver transistor is used to generate an input current based on the accessed line voltage. The sampling unit is used to sample the input current in real time and generate a corresponding sampling voltage. The control unit is used to control the turn-off of the driver transistor based on the sampling voltage. The driver transistor switches periodically and each turn-off is delayed by a preset delay. The present invention is characterized in that the chip also integrates a line voltage compensation circuit as described in any of the preceding claims.
[0017] The line voltage compensation circuit and power drive chip of the present invention have the following beneficial effects: The present invention utilizes a compensation current generation module to sample the sampling voltage for a preset sampling time during each conduction cycle of the driving transistor to obtain a sampled voltage, and converts the sampled voltage into a compensation current during the current or future conduction cycles. For the generated compensation current, the compensation voltage generation module converts it into a second compensation voltage, which is then superimposed on the sampled voltage and sent to the control unit to offset the contribution of the line voltage to the sampled voltage during the preset delay. This ensures that the input current remains constant and independent of the line voltage when the driving transistor is delayed to turn off (i.e., peak current). Thus, the present invention can compensate for the peak current flowing through the driving transistor without the need for an auxiliary winding, making it independent of the magnitude of the input line voltage. Moreover, the entire compensation circuit can be integrated inside the chip, resulting in a simple structure. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort: Figure 1 This is a schematic diagram of a traditional AC-DC power supply. Figure 2 yes Figure 1 Operating waveform in peak current mode; Figure 3 This is a schematic diagram of an existing line voltage compensation circuit; Figure 4 This is a waveform diagram illustrating the compensation principle of an existing line voltage compensation circuit. Figure 5 This is a schematic diagram of an application scenario for a power drive chip that uses the line voltage compensation circuit of the present invention. Figure 6 This is a block diagram of the line voltage compensation circuit in Embodiment 1; Figure 7 This is a circuit diagram of the compensation current generation module in Embodiment 1; Figure 8 This is a schematic diagram of the working waveform in CCM mode; Figure 9 This is a schematic diagram of the working waveform in DCM mode; Figure 10 This is a circuit diagram of the compensation current generation module in Embodiment 2; Figure 11 This is a block diagram of the line voltage compensation circuit in Embodiment 3; Figure 12 This is a circuit diagram of the compensation current generation module in Embodiment 3; Figure 13 This is a circuit diagram of the compensation current generation module in Embodiment 4; Figure 14 This is a comparison diagram of the compensation effects of the two types of embodiments. Detailed Implementation
[0019] To address the shortcomings of existing technologies, such as the difference in peak current flowing through the drive transistor Q1 under high and low voltage inputs, leading to different maximum constant current values, or the need for auxiliary windings to compensate for the peak current of the drive transistor Q1, reference is made to... Figure 5 This invention designs a line voltage compensation circuit and a power driver chip 1000. The compensation circuit mainly includes a compensation current generation module 1 and a compensation voltage generation module 2, both of which can be integrated into the power driver chip 1000. The compensation current generation module 1 is used to sample the sampling voltage Vcs for a preset sampling time in each conduction cycle of the driving transistor Q1 to obtain a sampled voltage, and convert the sampled voltage into a compensation current Iline in the current or future conduction cycle (e.g., the next conduction cycle). The compensation voltage generation module 2 is used to convert the compensation current Iline into a second compensation voltage, and superimpose the second compensation voltage onto the sampled voltage Vcs and send it to the control unit to offset the contribution of the line voltage to the sampled voltage Vcs within the preset delay, thereby making the input current remain constant and independent of the line voltage when the driving transistor Q1 is delayed to turn off.
[0020] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Typical embodiments of the invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the present invention more thorough and complete. It should be understood that the embodiments of the present invention and the specific features thereof are detailed descriptions of the technical solutions of this application, and not limitations thereof. Where there is no conflict, the embodiments of the present invention and the technical features thereof can be combined with each other.
[0021] Example 1 refer to Figure 5The line voltage compensation circuit of the present invention can be applied to the drive circuit of an AC to DC power supply system. The AC to DC power supply system includes an input capacitor, an inductor, a transformer, a diode, an output resistor, an output capacitor, and the drive circuit. The input capacitor, inductor, and primary winding of the transformer are connected in parallel to form the input circuit. The line voltage Vin is an AC power supply that is input to the input circuit. The secondary winding of the transformer, diode, output resistor, and output capacitor form the output circuit. The output circuit outputs DC power. The input circuit is driven by the drive circuit to realize the transfer of energy from the primary side to the secondary side.
[0022] The driving circuit includes a power driver chip 1000 and its associated peripheral circuits. For example, the power driver chip 1000 typically integrates a driver transistor Q1, a control unit, logic circuits, and an oscillator OSC. A sampling unit is externally connected to the power driver chip 1000; however, the sampling unit can also be integrated internally into the chip 1000. The input terminal of the driver transistor Q1 is connected to the primary side. The driver transistor Q1 switches periodically to generate an input current based on the input line voltage. When the oscillator OSC goes high, the driver transistor Q1 is turned on, and the turning off of the driver transistor Q1 is controlled by the sampling result of the sampling unit. Because the turn-off delay of the driver transistor Q1 is preset, the peak value of the input current flowing through the driver transistor Q1 changes with the input line voltage Vin. Therefore, this invention designs a compensation circuit including a compensation current generation module 1 and a compensation voltage generation module 2 to solve this problem. The sampling unit includes a sampling resistor Rcs. The first end of Rcs is connected to the output of the driving transistor Q1, and the second end is grounded. This unit samples the input current in real time and generates a corresponding sampling voltage Vcs at the first end of Rcs. The control unit specifically includes a PWM comparator connected to the sampling unit. This comparator controls the turn-off of the driving transistor Q1 based on the sampling voltage Vcs. The first input of the PWM comparator is connected to a reference voltage Vref, and the second input is connected to the first end of the sampling resistor Rcs through the compensation voltage generation module 2. The inductor current IL flows through the sampling resistor Rcs to generate the sampling voltage Vcs. When Vcs is greater than the reference voltage Vref, the PWM comparator output signal flips, turning off the switching transistor Q1. The transistor Q1 is turned on again when the OSC signal triggers it again, and this cycle repeats to regulate the output voltage. The input terminal of the compensation current generation module 1 added in this invention is connected to the first terminal of the sampling resistor Rcs to sample the sampling voltage Vcs and generate Iline. The output terminal of the compensation current generation module 1 is connected between the compensation voltage generation module 2 and the second input terminal of the PWM comparator to input the compensation current Iline to the compensation voltage generation module 2.
[0023] refer to Figure 6 The compensation current generating module 1 includes: Voltage acquisition unit 11 is used to connect to the sampling unit and sample the sampling voltage Vcs for the preset sampling time during the conduction period to obtain the acquisition voltage; The voltage-to-current conversion unit 13 converts the acquired voltage into the compensation current Iline based on the first conversion resistor R3.
[0024] A voltage transfer unit 12 is connected between the voltage acquisition unit 11 and the voltage-to-current conversion unit 13. It is used to transfer the acquired voltage to the voltage-to-current conversion unit 13 during the next turn-off cycle of the driving transistor Q1 (in other embodiments, it can also be transferred during the current conduction cycle), so that the acquired voltage obtained by the voltage acquisition unit 11 in the previous conduction cycle can be converted into a compensation current Iline by the voltage transfer unit 12 in the next conduction cycle.
[0025] In this invention, the compensation voltage generation module 2 converts the compensation current Iline into a second compensation voltage based on the second conversion resistor Rline. The first conversion resistor R3 and the second conversion resistor Rline satisfy... ,in: This indicates the preset sampling duration. This indicates the preset delay. This indicates the resistance value of the second switching resistor, Rline. This indicates the resistance value of the first switching resistor R3.
[0026] refer to Figure 7 In this embodiment, the voltage acquisition unit 11 includes: The charging module 111 includes two charging circuits that charge the device using the sampled voltage Vcs during the conduction period of the driving transistor Q1. The two charging circuits start charging synchronously and the time difference between the end of charging of the two charging circuits is the preset sampling time. During the charging process, the absolute difference voltage of the charging voltage of the two charging circuits (the difference between the larger charging voltage and the smaller charging voltage) is output.
[0027] The first current mirror 112 is connected to the charging module 111 and is used to generate a corresponding reference current based on the voltage output by the charging module 111 and to mirror the current. The voltage generation circuit 113 is connected to the first current mirror 112 and is used to convert the mirror current into the sampled voltage.
[0028] Specifically, the charging module 111 includes a first charging capacitor C1 constituting one charging circuit and a first charging switch S1 controlling the charging duration of the first charging capacitor C1, and a second charging capacitor C2 constituting another charging circuit and a second charging switch S2 controlling the charging duration of the second charging capacitor C2. The first charging switch S1 is connected between the first terminal of the sampling resistor Rcs and the first terminal of the first charging capacitor C1, and the second terminal of the first charging capacitor C1 is grounded. The second charging switch S2 is connected between the sampling unit and the first terminal of the second charging capacitor C2, and the second terminal of the second charging capacitor C2 is grounded. The differential voltage between the first terminal of the first charging capacitor C1 and the first terminal of the second charging capacitor C2 is used as the output of the absolute differential voltage.
[0029] Specifically, the first current mirror 112 includes a first resistor R1 for setting a reference current, a first image transistor M3 and a second image transistor M4 whose input terminals are both connected to a fixed voltage. The first end of the first resistor R1 is connected to the output terminal of the first image transistor M3 through a MOS switch, and the second end of the first resistor R1 is grounded through a MOS switch. The voltage generation circuit 113 includes a second resistor R2. The first end of the second resistor R2 is connected to the output terminal of the second image transistor M4, and the second end of the second resistor R2 is grounded. The first end of the second resistor R2 outputs the sampled voltage, as shown in Vsample in the figure.
[0030] The voltage at the first terminal of the first resistor R1 is obtained from the first terminal of the first charging capacitor C1. Preferably, the voltage is obtained through an operational amplifier EA1. The first terminal of the second charging capacitor C2 is connected to one input terminal of the operational amplifier EA1, the other input terminal of the operational amplifier EA1 is connected to the first terminal of the first resistor R1, and the output terminal of the operational amplifier EA1 is connected to the control terminal of the MOS switch connected to the first terminal of the first resistor R1.
[0031] The voltage at the second end of the first resistor R1 is obtained from the voltage at the first end of the second charging capacitor C2. Preferably, the voltage is obtained through an operational amplifier EA2: the first end of the first charging capacitor C1 is connected to one input terminal of the operational amplifier EA2, the other input terminal of the operational amplifier EA2 is connected to the second end of the first resistor R1, and the output terminal of the operational amplifier EA1 is connected to the control terminal of the MOS switch connected to the second end of the second resistor R2.
[0032] Thus, the voltage difference between the first and second terminals of the first resistor R1 is the absolute differential voltage.
[0033] Specifically, the voltage transfer unit 12 includes a single-stage charging transition circuit 121 or multiple stages (two or more stages) of charging transition circuits 121 connected in sequence. Each stage of the charging transition circuit 121 is used to acquire the sampled voltage through charging, and the subsequent stage of the charging transition circuit 121 starts charging only after the previous stage of the charging transition circuit 121 has finished charging. Each stage of the charging transition circuit 121 includes a third charging capacitor C3 / C4 and a third charging switch S3 / S4 that controls the charging time of the corresponding third charging capacitor C3 / C4.
[0034] The two-stage charging transition circuit 121 used in this embodiment: In the first-stage charging transition circuit 121: the first end of the third charging switch S3 is connected to the first end of the second resistor R2 in the voltage acquisition unit 11, the second end of the third charging switch S3 is connected to the first end of the corresponding third charging capacitor C3, and the second end of the third charging capacitor C3 is grounded.
[0035] In the second-stage charging transition circuit 121: the first terminal of the third charging switch S4 is connected to the first terminal of the third charging capacitor C3 in the previous-stage charging transition circuit 121; the second terminal of the third charging switch S4 is connected to the first terminal of the corresponding third charging capacitor C4; the second terminal of the third charging capacitor C4 is grounded; and the first terminal of the third charging capacitor C4 is connected to the subsequent voltage-current conversion unit 13 to input the acquired voltage to the voltage-current conversion unit 13.
[0036] Specifically, the voltage-to-current conversion unit 13 includes a second current mirror, which includes a first conversion resistor R3 for setting a reference current, a third image transistor M5 and a fourth image transistor M6 whose input terminals are connected to a fixed voltage. The first terminal of the first conversion resistor R3 is connected to the output terminal of the third image transistor M5 via a MOS switch, and the second terminal of the first conversion resistor R3 is grounded. The output terminal of the fourth image transistor M6 outputs the compensation current Iline. The output terminal of the fourth image transistor M6 is simultaneously connected to the second input terminal of the PWM comparator of the control unit and the first terminal of the second conversion resistor Rline. The second terminal of the second conversion resistor Rline is connected to the voltage transfer unit 12 to obtain the acquired voltage.
[0037] Wherein, the first end of the first conversion resistor R3 is connected to the voltage transfer unit 12 to obtain the sampled voltage, preferably through the operational amplifier EA3: the first end of the third charging capacitor C4 in the voltage transfer unit 12 is connected to one input terminal of the operational amplifier EA3, the other input terminal of the operational amplifier EA3 is connected to the first end of the first conversion resistor R3, and the output terminal of the operational amplifier EA3 is connected to the control terminal of the MOS switch connected to the first end of the first conversion resistor R3.
[0038] The following is combined Figure 6-7 ,as well as Figure 8 The waveform further explains the working principle of this invention: We can generate a current Iline by sampling Vcs through the compensation current generation module 1 to compensate for Vin. The preset sampling time is Tsample, and its basic principle is as follows: (11); It can be seen from equation (11) that V cs The slope is related to V in It is directly proportional. Therefore, through a fixed time T sample Sample V cs The value V sample , obtained with V in The voltage value is proportional to the current value. This voltage is converted into a current Iline and compensated for on Rline. The value of Iline is: (12); Its slope is: (13); Then we have: (14); The final input voltage of the compensated voltage PWM comparator is equal to: (15); Because we set: (16); The final Ipeak is: (17); The influence of Ipeak deviation caused by Tdelay was successfully eliminated.
[0039] It is worth noting that in this embodiment, two charging circuits are used to accommodate both CCM and DCM modes. CCM means the inductor current does not discharge to zero in each cycle. DCM, on the other hand, discharges to zero, such as... Figure 9 As shown. Figure 7The circuit shown samples two voltage values when acquiring Vcs (the difference between the sampling times of the two values is exactly the preset sampling duration T). sample The absolute voltage difference between the two sampled voltages (the larger voltage minus the smaller voltage) divided by the preset sampling duration T sample Only V cs The slope. Specifically, during the conduction period of the driving transistor Q1, V is sampled by S1 and S2 respectively. cs1 The values of V1 and V2 are stored in capacitors C1 and C2 respectively, and the difference between them, V, is obtained through EA1, EA2, R1, and R2. sample: (18); (19); During the off-cycle of drive transistor Q1, switch S3 is turned on, storing the value of Vsample onto capacitor C3. At this time: (20); When S3 is turned off, S4 is turned on, redistributing the charge on capacitor C3 to C4, ultimately resulting in: (twenty one); The Iline obtained through EA3 and R3 is: (twenty two); The final input voltage of the compensated voltage PWM comparator is equal to: (twenty three); because: (twenty four); so: (25); Finally obtained This eliminates the effect of Tdelay.
[0040] When the input line voltage changes from low voltage to high voltage, such as Figure 8 The voltages sampled by C1 and C2 are V3 and V4, respectively. The sampling time is Tsample. The difference between the two is obtained through EA1, EA2, R1, and R2, which is V. sample:
[0041]
[0042] The final input voltage of the compensated voltage PWM comparator is equal to: ; because: ; so: ; It can be seen that, regardless of whether it is a low-voltage or high-voltage output, the Vcs corresponding to the final turn-off of the drive transistor is equal to Vref.
[0043] Example 2 Example 1 is applicable to systems operating in both CCM and DCM. (See reference...) Figure 10 This embodiment is applicable only to power systems in DCM mode. The difference between this embodiment and Embodiment 1 is that, for the charging module 111, we use a single charging circuit. This single charging circuit starts charging synchronously when the driving transistor Q1 starts conducting and ends charging after the preset sampling time has been reached. During the charging process, the charging voltage of the charging circuit is output.
[0044] Specifically, the charging module 111 includes a first charging capacitor C1 constituting a single charging circuit and a first charging switch S1 controlling the charging duration of the first charging capacitor C1. The first charging switch S1 is connected between the first end of the sampling resistor Rcs and the first end of the first charging capacitor C1. The second end of the first charging capacitor C1 is grounded. The voltage at the first end of the first charging capacitor C1 is connected as the output of the single charging circuit to one input of the operational amplifier EA1. The other input of the operational amplifier EA1 is connected to the first end of the first resistor R1. The output of the operational amplifier EA1 is connected to the control terminal of the MOS switch connected to the first end of the first resistor R1. Compared with Embodiment 1, the second charging switch S2, the second charging capacitor C2, the operational amplifier EA2, and the MOS switch connected to EA2 are omitted. Correspondingly, in this embodiment, the second end of the first resistor R1 is directly grounded.
[0045] Example 3 like Figure 11 The difference between this embodiment and the first embodiment is that the absolute voltage difference between the two charging voltages output by the charging module 111 is directly used as the sampling voltage input to the voltage-current conversion unit 13, omitting the intermediate first current mirror 112, voltage generation circuit 113, and charging transition circuit 121.
[0046] refer to Figure 12In this embodiment, the voltage-to-current conversion unit 13 has also been improved. The first and second ends of the first conversion resistor R3 are respectively connected to the two charging circuits of the charging module 111. The absolute difference voltage between the two charging circuits is used as the sampling voltage. For example, the first end of the first conversion resistor R3 no longer obtains the voltage from the first end of the third charging capacitor C4 in the voltage transfer unit 12 through EA3, but instead obtains the voltage from the first end of the first charging capacitor C1 through EA1. In addition, the second end of the first conversion resistor R3 also obtains the voltage from the first end of the second charging capacitor C2 through EA2. The second end of the first conversion resistor R3 is also grounded through the MOS switch.
[0047] Example 4 This embodiment is only applicable to systems operating in a DCM (Distributed Management Center). (See reference...) Figure 13 This embodiment also omits the intermediate first current mirror 112, voltage generation circuit 113, and charging transition circuit 121, omitting one charging circuit compared to embodiment three, and having only a single charging circuit like embodiment two. This single charging circuit synchronously starts charging when the driving transistor Q1 starts conducting and ends charging after the preset sampling time is reached, and outputs the charging voltage of the charging circuit during the charging process.
[0048] In this embodiment, the structure of the voltage-current conversion unit 13 is the same as that in Embodiment 1, except that the first end of the first conversion resistor R3 no longer obtains the voltage from the first end of the third charging capacitor C4 in the voltage transfer unit 12 through EA3, but instead obtains the voltage from the first end of the first charging capacitor C1 through EA1.
[0049] Of the four embodiments above, embodiments one and three can be applied to both CCM and DCM modes simultaneously, while embodiments two and four are only applicable to DCM mode. Compared to embodiments three and four, embodiments one and two apply the compensation current immediately during the current conduction cycle, while embodiments one and two obtain the compensation current in the previous conduction cycle but only realize the compensation in the next conduction cycle. Of course, it is also possible to... Figure 8 If the conduction signals of S3 and S4 are brought forward to the current conduction cycle, the compensation current in Embodiments 1 and 2 can also be used for compensation within the current conduction cycle. Furthermore, a further advantage of Embodiments 1 and 2 compared to Embodiments 3 and 4 is that the charge redistribution of capacitors C3 and C4 can improve compensation consistency. (Reference) Figure 14Vc1 and Vc4 represent the voltages across capacitors C1 and C4, respectively. Since Vin has a dome-shaped waveform, it will drop in voltage when operating at maximum power. If only C1 is used, the Iline will change significantly. With C3 and C4, when Vin changes, the voltage of C3 will change with the voltage of C1. Furthermore, due to the redistribution of charge between the two capacitors, the voltage of C4 will slowly change to be the same as that of C3, improving the consistency of compensation and thus ensuring that the compensation current Iline decreases with the voltage fluctuation of Vin.
[0050] In summary, the line voltage compensation circuit and power drive chip of the present invention have the following beneficial effects: The present invention utilizes a compensation current generation module to sample the sampling voltage for a preset sampling time during each conduction cycle of the drive transistor to obtain a sampled voltage, and converts the sampled voltage into a compensation current during the current or future conduction cycles. For the generated compensation current, the compensation voltage generation module converts it into a second compensation voltage, which is then superimposed on the sampled voltage and sent to the control unit to offset the contribution of the line voltage to the sampled voltage during the preset delay. This ensures that the input current remains constant and independent of the line voltage when the drive transistor is delayed to turn off (i.e., peak current). Thus, the present invention can compensate for the peak current flowing through the drive transistor without the need for an auxiliary winding, making it independent of the magnitude of the input line voltage. Moreover, the entire compensation circuit can be integrated inside the chip, resulting in a simple structure.
[0051] It should be noted that the term "connected" or "linked" includes not only directly connecting two entities, but also indirectly connecting them through other entities that have a beneficial improvement effect. The terms "equal," "identical," "simultaneous," or other similar expressions are not limited to absolute equality or identity in mathematical terms; in implementing the rights described in this patent, they can refer to similarity in an engineering sense or within an acceptable error range.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
[0053] The terms "first," "second," and other ordinal numbers used in this specification are used to describe various constituent elements, but these constituent elements are not limited by these terms. The purpose of using these terms is solely to distinguish one constituent element from others. For example, without departing from the scope of the invention, a first constituent element may be named a second constituent element, and similarly, a second constituent element may be named a first constituent element.
[0054] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A line voltage compensation circuit, applicable to a driving circuit, the driving circuit comprising a driving transistor that generates an input current based on the input line voltage, a sampling unit that samples the input current in real time and generates a corresponding sampling voltage, and a control unit that controls the turn-off of the driving transistor based on the sampling voltage, wherein the driving transistor switches periodically and each turn-off is delayed by a preset delay, characterized in that, The line voltage compensation circuit includes: The compensation current generation module is used to sample the sampling voltage for a preset sampling time during each conduction cycle of the driving transistor to obtain the sampled voltage, and convert the sampled voltage into a compensation current during the current or future conduction cycles. A compensation voltage generation module is used to convert the compensation current into a second compensation voltage, and to superimpose the second compensation voltage onto the sampling voltage and send it to the control unit to offset the contribution of the line voltage to the sampling voltage within the preset delay, so that the input current remains constant and independent of the line voltage when the driving transistor is delayed to turn off. The compensation current generation module includes: a voltage acquisition unit, which is connected to the sampling unit and samples the sampling voltage for the preset sampling duration during the conduction period to obtain the acquisition voltage; and a voltage-current conversion unit, which converts the acquisition voltage into the compensation current based on a first conversion resistor. The compensation voltage generation module converts the compensation current into a second compensation voltage based on a second conversion resistor, wherein the first conversion resistor and the second conversion resistor satisfy... ,in: This indicates the preset sampling duration. This indicates the preset delay. This indicates the resistance value of the second switching resistor. This indicates the resistance value of the first switching resistor; The compensation current generating module further includes: A voltage transfer unit, connected between the voltage acquisition unit and the voltage-to-current conversion unit, is used to transfer the acquired voltage to the voltage-to-current conversion unit during the current on-cycle or the next off-cycle of the driving transistor, so that the acquired voltage obtained by the voltage acquisition unit in the previous on-cycle can be converted into a compensation current by the voltage transfer unit in the next on-cycle.
2. The line voltage compensation circuit according to claim 1, characterized in that, The voltage transfer unit includes a single-stage charging transition circuit or multiple charging transition circuits connected in sequence. The charging transition circuit is used to obtain the sampled voltage through charging. The subsequent charging transition circuit in the multiple charging transition circuits starts charging only after the previous charging transition circuit has finished charging.
3. The line voltage compensation circuit according to claim 2, characterized in that, Each stage of the charging transition circuit includes a third charging capacitor and a third charging switch that controls the charging time of the corresponding third charging capacitor. In each stage of the charging transition circuit: the first terminal of the third charging switch is connected to the voltage acquisition unit / the previous stage of the charging transition circuit, the second terminal of the third charging switch is connected to the first terminal of the corresponding third charging capacitor, the second terminal of the third charging capacitor is grounded, and the first terminal of the third charging capacitor is also connected to the next stage of the charging transition circuit / voltage-current conversion unit.
4. The line voltage compensation circuit according to claim 1, characterized in that, The voltage acquisition unit includes: A charging module includes one or two charging circuits that charge using the sampled voltage during the conduction cycle of the driving transistor: if it is a single charging circuit, the charging circuit starts charging synchronously when the driving transistor starts conducting and ends charging after the continuous charging reaches the preset sampling duration, and outputs the charging voltage of the charging circuit during the charging process; if it is two charging circuits, the two charging circuits start charging synchronously and the time difference between ...
5. The line voltage compensation circuit according to claim 4, characterized in that, The charging module includes a first charging capacitor constituting a charging circuit and a first charging switch controlling the charging duration of the first charging capacitor. The first charging switch is connected between the sampling unit and a first terminal of the first charging capacitor. The second terminal of the first charging capacitor is grounded. The voltage of the first terminal of the first charging capacitor is the output of a single charging circuit. Alternatively, the charging module includes a first charging capacitor constituting one charging circuit and a first charging switch controlling the charging duration of the first charging capacitor, and a second charging capacitor constituting another charging circuit and a second charging switch controlling the charging duration of the second charging capacitor; the first charging switch is connected between the sampling unit and a first terminal of the first charging capacitor, the second terminal of the first charging capacitor is grounded, the second charging switch is connected between the sampling unit and a first terminal of the second charging capacitor, the second terminal of the second charging capacitor is grounded, and the differential pressure between the first terminal of the first charging capacitor and the first terminal of the second charging capacitor is used as the output of the absolute differential pressure.
6. The line voltage compensation circuit according to claim 4, characterized in that, The voltage acquisition unit also includes: A first current mirror is connected to the charging module and is used to generate a corresponding reference current based on the voltage output by the charging module, and to mirror the current. A voltage generation circuit, connected to the first current mirror, is used to convert the mirrored current into the acquired voltage.
7. The line voltage compensation circuit according to claim 6, characterized in that, The first current mirror includes a first resistor for setting a reference current, a first image transistor and a second image transistor whose input terminals are both connected to a fixed voltage. The first end of the first resistor is connected to the output terminal of the first image transistor through a switching transistor, and the second end of the first resistor is grounded through a switching transistor. The voltage generation circuit includes a second resistor, the first end of which is connected to the output terminal of the second image transistor, the second end of which is grounded, and the first end of the second resistor outputs the acquired voltage. Wherein, the first end of the first resistor obtains the charging voltage output by a single charging circuit of the charging module, or the first end and the second end of the first resistor obtain the absolute differential voltage between the two charging circuits of the charging module.
8. The line voltage compensation circuit according to claim 4, characterized in that, The voltage-to-current conversion unit includes a second current mirror, which includes a first conversion resistor that sets a reference current, a third mirror transistor and a fourth mirror transistor whose input terminals are connected to a fixed voltage. The first terminal of the first conversion resistor is connected to the output terminal of the third mirror transistor through a switching transistor. The output terminal of the fourth mirror transistor outputs the compensation current. The output terminal of the fourth mirror transistor is simultaneously connected to the second input terminal of the PWM comparator of the control unit and the first terminal of the second conversion resistor. Wherein, the first end of the first conversion resistor is connected to a single charging circuit of the charging module, and the charging voltage output by the single charging circuit is used as the sampling voltage, and the second end of the first conversion resistor is grounded; or, the first end and the second end of the first conversion resistor are respectively connected to two charging circuits of the charging module, and the absolute difference voltage between the two charging circuits is used as the sampling voltage, and the second end of the first conversion resistor is grounded via a switching transistor.
9. The line voltage compensation circuit according to claim 1, characterized in that, The voltage-to-current conversion unit includes a second current mirror, which includes a first conversion resistor that sets a reference current, a third mirror transistor and a fourth mirror transistor whose input terminals are connected to a fixed voltage. The first terminal of the first conversion resistor is connected to the output terminal of the third mirror transistor through a switching transistor. The second terminal of the first conversion resistor is grounded. The output terminal of the fourth mirror transistor outputs the compensation current. The output terminal of the fourth mirror transistor is simultaneously connected to the second input terminal of the PWM comparator of the control unit and the first terminal of the second conversion resistor. The first terminal of the first conversion resistor is connected to the voltage transfer unit to obtain the acquired voltage.
10. The line voltage compensation circuit according to claim 1, characterized in that, The control unit includes a PWM comparator, the sampling unit includes a sampling resistor, the input terminal of the driving transistor is connected to the line voltage, the first terminal of the sampling resistor is connected to the output terminal of the driving transistor, the second terminal of the sampling resistor is grounded, the first input terminal of the PWM comparator is connected to a reference voltage, the second input terminal of the PWM comparator is connected to the first terminal of the sampling resistor through the compensation voltage generation module, the input terminal of the compensation current generation module is connected to the first terminal of the sampling resistor to sample the sampling voltage, and the output terminal of the compensation current generation module is connected between the compensation voltage generation module and the second input terminal of the PWM comparator to input the compensation current to the compensation voltage generation module.
11. A power driver chip, applicable to an AC-to-DC power supply system, wherein the power driver chip integrates a driver transistor and a control unit, and a sampling unit is integrated internally or externally connected to the power driver chip; the driver transistor generates an input current based on the input line voltage; the sampling unit samples the input current in real time and generates a corresponding sampling voltage; the control unit controls the turn-off of the driver transistor based on the sampling voltage; the driver transistor switches periodically with each turn-off delayed by a preset time, characterized in that... The chip also integrates the line voltage compensation circuit as described in claim 1.
Citation Information
Patent Citations
LED driving device, control method of same, line voltage compensation circuit of same, and control method of line voltage compensation circuit
CN106413196A
Dimming control circuit and dimming chip thereof
CN113747629A
Line voltage compensation circuit and power supply driving chip
CN217508577U
