A current modulator for switching power supply
By integrating the current modulation circuit and external modulation resistor in the switching power supply controller chip, current modulation is achieved, which solves the problem that the built-in current sampling cannot meet the demand, improves the signal-to-noise ratio and performance optimization, and simplifies power management.
Patent Information
- Application Number
- CN201910631391.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-07-12
AI Technical Summary
The built-in lossless current sampling of existing fully integrated power control chips cannot meet the needs of users to design current sampling according to specific needs. At the same time, the external current sampling method cannot simultaneously improve the signal-to-noise ratio and reduce the loss caused by current sampling.
Design a current modulator for switching power supplies. The current modulation circuit and modulation pin are integrated inside the controller chip. Current modulation is achieved through the external design of the modulation resistor. The user can adjust the current size according to needs to maintain a high signal-to-noise ratio. and low loss.
Users can design the current size according to their needs to improve the optimization of performance indicators without changing the original structure of built-in lossless current sampling, maintaining efficient sampling characteristics and high signal-to-noise ratio, and simplifying power management.
Smart Images

Figure CN110311569B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of current sampling of switching power supplies, and in particular relates to a current modulator used for a switching power supply. Background Art
[0002] Since the dual-loop control of the voltage loop and the current loop has special advantages in loop stability and input ripple suppression of the switching power supply, the control of the switching power supply has transitioned from the original single-loop control of the voltage loop to the now popular dual-loop control. Since the size of the switch current needs to be detected, judged, and controlled in each cycle, how to efficiently and accurately detect the current size passing through the power switch has become a topic that people continue to study.
[0003] like Figure 1 The figure shows a commonly used current sampling method that uses a resistor in series under the power tube to sense the current. The current through the power switch tube generates a voltage drop on the sampling resistor. This voltage is compared with the modulation voltage by a comparator to determine the current through the power tube. The modulation voltage here is the output voltage Vc of the differential amplifier EA, which is the output voltage V OUT The sampling voltage is differentially amplified with the reference voltage source Vref. The voltage regulation process of the switching power supply is: when the output voltage V OUT When the voltage on the current sampling resistor RCS reaches this voltage, the power MOS tube NM0 is turned off, so the peak current through the power MOS tube NM0 is also reduced, causing the output voltage to decrease; when the output voltage V OUT When it decreases, the sampling voltage at the negative input of the differential amplifier EA also decreases, then the modulation voltage Vc increases, and the peak current passing through the power MOS tube NM0 also increases, causing the output voltage to increase. It can be seen that once the output voltage increases, Vc decreases, and the peak current increases accordingly, causing the output voltage to decrease. Conversely, when the output voltage decreases, Vc increases, and the peak current increases accordingly, causing the output voltage to increase. This continuous cycle eventually stabilizes the output voltage at the set value. After the loop is stable, the modulation voltage Vc is a low-frequency voltage with very small fluctuations, and the voltage of the sampling resistor RCS compared with it is a higher-frequency sawtooth wave synchronized with the switch of the power MOS tube NM0. The modulation voltage Vc and the current waveform it modulates are as follows: Figure 2 As shown, the triangle wave is the voltage V on the sampling resistor. RCSWaveform, the dotted line is the waveform of the modulation voltage Vc, which forms the envelope of the sampling resistor voltage waveform. Such a power MOS tube NM0 is not integrated on the same wafer as the controller. The series current sampling resistor RCS can be reasonably designed by the power engineer according to the output power level of the switching power supply. In order to achieve the best performance indicators of the power supply within the power range used, it is very important to design the sampling current according to the needs. The modulation voltage Vc is generally limited by the maximum value Vc_max. After the sampling resistor RCS is selected, the maximum peak current passing through the power tube is determined. Vc_max is often designed between 0.7V and 1V. A large value can improve the signal-to-noise ratio of current sampling, and a small value will reduce the signal-to-noise ratio of current sampling, which may cause the power tube to mistakenly shut down the power MOS tube NM0 under the importance of noise. Because this external current sampling has a certain area of the loop on the periphery, it will generate a certain amplitude of interference signal. If Vc_max is designed to be relatively small, the modulation voltage Vc is very small at light load, which may be only tens of millivolts or less, which is easily submerged by the interference signal of the current sampling loop.
[0004] In recent years, with the multi-faceted development of integrated circuit technology, more and more BCD processes have integrated various voltage-resistant MOS and LDMOS tubes, and can integrate controllers and power LDMOS tubes on the same wafer, such as Figure 3As shown, the current sampling is also integrated inside the chip. Rsense in the figure is the sampling resistor, which often uses the parasitic resistance of the source wiring of the LDMOS tube. Since no special series connection is required to generate additional losses, it is often called built-in lossless current sampling. In this way, the sampling resistor is very small, with an order of magnitude of tens of milliohms or even several milliohms. The voltage drop generated on the sampling resistor Rsense by the current passing through the power tube NM0 is also very small, and the maximum value is often within 100mV. However, such a small voltage does not have the prominent signal-to-noise ratio problem like external current sampling, because the current sampling is built-in inside the chip, the sampling loop is small, and a relatively large part of the common-mode signal can be eliminated by reasonably arranging the wiring. Therefore, the voltage on the sampling resistor Rsense can be compared with the modulation voltage Vc after being amplified by the proportional amplifier to modulate the duty cycle of the power tube NM0. It can be seen that built-in current sampling can greatly improve the signal-to-noise ratio and does not generate additional losses caused by current sampling. These advantages are very obvious in switching power supplies. However, the current size of the existing built-in current sampling is fixed, unlike the external current sampling, which can be reasonably designed according to specific needs, so that the performance indicators of the switching power supply can be optimized within the required power range. If you want to integrate the control circuit and the power tube on the same chip, and the current sampling is convenient for customers to design by themselves as in the traditional way, then you need to increase the threshold voltage of the limited current, otherwise it will not meet the signal-to-noise ratio requirements, and then a larger sampling resistor will be connected in series, increasing additional losses. Of course, the IC company that designs this fully integrated power control chip is also aware of the problems of this traditional built-in current sampling, so it has also adopted a simple and direct method, which is to produce multiple chip models with different built-in current specifications, which to a certain extent alleviates the contradiction that customers cannot design current according to their needs, but this also significantly increases the cost of customers introducing materials and managing them, because power supplies of different power levels need to purchase chips with different current specifications. Similarly, the mass production of multiple chips with the same function is not conducive to the product management of IC manufacturers themselves. Summary of the invention
[0005] In view of this, the present invention provides a current modulator for a switching power supply to solve the technical problem that the built-in lossless current sampling of the existing fully integrated power control chip cannot meet the user's need to design current sampling according to specific needs, and simply sampling by connecting a series resistor like an external current sampling method is difficult to simultaneously improve the signal-to-noise ratio and reduce the loss caused by current sampling.
[0006] In order to have a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended to be a general review, nor is it intended to identify key / important components or to delineate the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0007] The present invention adopts the following technical solution:
[0008] In some optional embodiments, a current modulator for a switching power supply is provided, comprising: a current modulation circuit integrated inside a switching power supply controller chip and a modulation pin arranged on the switching power supply controller chip, wherein the modulation pin is connected to a modulation resistor located outside the switching power supply controller chip;
[0009] It also includes a differential amplifier integrated in the switching power supply controller chip, the differential amplifier collects the output voltage of the switching power supply and outputs a changing modulation voltage; the modulation voltage generates a modulation current that changes synchronously with the modulation voltage after passing through the current modulation circuit; when the output voltage of the switching power supply is high, the modulation voltage decreases, the modulation current also decreases, the current passing through the power tube also decreases, and the output voltage of the switching power supply decreases; conversely, when the output voltage of the switching power supply is low, the current of the power tube is increased by the modulation current, thereby increasing the output voltage of the switching power supply;
[0010] The current modulation circuit comprises: a modulation voltage input port, a modulation resistance voltage generation port and a modulation current output port;
[0011] The current modulation circuit receives a modulation voltage via the modulation voltage input port, the modulation voltage generates a modulation resistor voltage at the modulation resistor voltage generating port, the modulation resistor voltage generates a modulation resistor current on the modulation resistor, the modulation resistor current is replicated by a current mirror to generate a modulation current for modulating the duty cycle of the switching power supply, and the modulation current is output via the modulation current output port.
[0012] In some optional embodiments, the current modulation circuit includes: a modulation resistor voltage generating transistor Q1, a current mirror bias MOS tube MP1 and a current mirror mirror MOS tube MP2; the base of the modulation resistor voltage generating transistor Q1 is connected to the modulation voltage input port; the emitter of the modulation resistor voltage generating transistor Q1 is connected to the modulation resistor voltage generating port; the collector of the modulation resistor voltage generating transistor Q1 is respectively connected to the gate of the current mirror bias MOS tube MP1, the drain of the current mirror bias MOS tube MP1, and the gate of the current mirror mirror MOS tube MP2; the source of the current mirror bias MOS tube MP1 is respectively connected to the source of the current mirror mirror MOS tube MP2 and the positive input terminal of the power supply; the drain of the current mirror mirror MOS tube MP2 is connected to the modulation current output port.
[0013] In some optional embodiments, the current modulation circuit further includes: a clamping transistor Q2 and a current limiting resistor R c ; Current limiting resistor R c One end is connected to the base of the modulation resistor voltage generating transistor Q1 and the emitter of the embedded transistor Q2, and the current limiting resistor R c The other end is connected to the modulation voltage input port; the base of the clamping transistor Q2 is connected to the clamping voltage VCM_MAX; the collector of the clamping transistor Q2 is connected to the negative input terminal of the power supply.
[0014] In some optional embodiments, the current modulation circuit further includes: a clamping transistor Q2, a bias current source I B , bias resistor R B , bias transistor Q3 and voltage follower transistor Q4; the base of the voltage follower transistor Q4 is connected to the modulation voltage input port; the emitter of the voltage follower transistor Q4 is respectively connected to the emitter of the bias transistor Q3, the bias resistor R B One end of the bias resistor R B The other end is connected to the negative input terminal of the power supply; the collector of the bias transistor Q3 is connected to the base of the bias transistor Q3, the emitter of the embedded transistor Q2, and the bias current source I B The output port of the modulation resistor voltage is connected to the base of the transistor Q1; the base of the embedded transistor Q2 is connected to the embedded voltage VCM_MAX, and the collector of the embedded transistor Q2 is connected to the negative input terminal of the power supply; the collector of the voltage follower transistor Q4 is respectively connected to the source of the current mirror MOS tube MP2, the source of the current mirror bias MOS tube MP1, and the bias current source I B The input port of the
[0015] The beneficial effects brought by the present invention are as follows: since the present invention does not need to change the sampling method of the original built-in lossless current sampling device for power current, the parasitic resistance of the power tube can still be used as a current sensing device, and no additional series resistance is required to increase the loss, so the original high-efficiency sampling characteristics can be maintained; the sampling loop is still inside the chip, and the current comparison link with a higher frequency is completed inside the chip. Under the current loop area, the original high signal-to-noise ratio is still maintained; at the same time, the user end can design the modulation resistor outside the chip to change the gain of the current modulator of the present invention, that is, under the same modulation voltage, the larger the modulation resistor, the smaller the modulation current generated, and the smaller the current of the power tube. On the contrary, the smaller the modulation resistor, the larger the modulation current generated, and the larger the current of the power tube. The user end can design the power level according to the needs to optimize the performance indicators, and it is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The schematic diagram of current sampling by directly sensing current through series resistance in the prior art;
[0017] Figure 2 The modulation waveform of the modulation voltage to the peak current in the prior art;
[0018] Figure 3 The schematic diagram of the switching power supply with built-in power tube and lossless current sampling in the prior art;
[0019] Figure 4 The block diagram of the current modulator of the present invention and its application principle diagram;
[0020] Figure 5 This is a specific implementation circuit diagram of the current modulator of Embodiment 1;
[0021] Figure 6 is a curve showing the relationship between the modulation current and the modulation voltage of the current modulator in the first embodiment;
[0022] Figure 7 A specific implementation circuit diagram of the current modulator with maximum peak current limiting function in Embodiment 2;
[0023] Figure 8 is a curve showing the relationship between the modulation current and the modulation voltage of the current modulator in the second embodiment;
[0024] Fig. 9 A specific implementation circuit diagram of the current modulator with maximum and minimum peak current limiting functions in Embodiment 3;
[0025] Fig.10 4 is a curve showing the relationship between the modulation current and the modulation voltage of the current modulator in the third embodiment. DETAILED DESCRIPTION
[0026] The following description and accompanying drawings fully demonstrate specific embodiments of the present invention so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible variations only. Unless clearly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments.
[0027] The current modulator of the present invention can be used in switching power supplies of various topologies. In the embodiment, it is combined with the commonly used functional modules of the switching power supply to form a controller only to illustrate the key role of the present invention in the current modulation of the switching power supply, and is not intended to limit the scope of application of the present invention.
[0028] Embodiment 1:
[0029] like Figure 5 and 6 As shown, a current modulator for a switching power supply is provided, comprising: a current modulation circuit integrated in a switching power supply controller chip 1 and a modulation pin VCM arranged on the switching power supply controller chip, the modulation pin being connected to a modulation resistor RCM located outside the switching power supply controller chip 1. The modulation voltage Vc is converted into a modulation current I CMO , modulation current I CMO Modulate the duty cycle of the switching power supply to stabilize its output voltage.
[0030] The modulation voltage Vc refers to the output voltage of the amplifier in the switching power supply voltage regulation loop. In traditional technology, it is often used to directly modulate the duty cycle to stabilize the power supply output.
[0031] The modulation resistor RCM is outside the switching power supply controller chip 1, and is connected to the current modulation circuit inside the switching power supply controller chip 1 through the modulation pin VCM. The user end can design the resistance value of the modulation resistor RCM to set the current size.
[0032] Modulation current I CMO It is generated under the action of the modulation voltage Vc and is in the same phase as the modulation voltage Vc. When the modulation voltage Vc increases, the modulation current also increases, and when the modulation voltage Vc decreases, the modulation current also decreases.
[0033] The switch power supply controller chip 1 is used for the integrated power MOS tube NM0 of the primary winding feedback and the flyback switch power supply controller of the current sampling. For easier understanding, Figure 4The simplified circuit of the switching power supply controller chip 1 is shown. The basic function of the switching power supply duty cycle modulation is formed by the commonly used functional modules such as comparator EA, RS trigger, frequency control, drive, and current sensing. The frequency control triggers the S port of the RS trigger, so that the drive module turns on the power tube NM0. Until it is detected that the power current of the power tube NM0 exceeds the comparison threshold, the comparator EA triggers the R port of the RS trigger, and then turns off the power tube NM0 through the drive module. As explained in the background technology, the traditional current modulation method directly uses the output voltage Vc of the differential amplifier as the threshold of the comparator, resulting in that this highly integrated controller cannot design the current according to the specific application.
[0034] The current modulation circuit includes: a modulation voltage input port 101, a modulation resistor voltage generation port 102 and a modulation current output port 103; the connection relationship of each port in the switching power supply controller chip 1 is: the modulation voltage input port 101 is connected to the modulation voltage Vc used for modulating the duty ratio in the power supply controller, the modulation resistor voltage generation port 102 is connected to the modulation pin VCM of the current modulator of the present invention, and the modulation current output port 103 is connected to the positive input port of the comparator. The current modulation circuit receives the modulation voltage through the modulation voltage input port 101, and the modulation voltage generates a modulation resistor voltage at the modulation resistor voltage generation port 102. The modulation resistor voltage generates a modulation resistor current on the modulation resistor, and the modulation resistor current is copied by the current mirror to generate a modulation current for modulating the duty ratio of the switching power supply, and the modulation current is output through the modulation current output port 103.
[0035] The working principle of the current modulator of the present invention is as follows: the current modulation circuit receives the modulation voltage Vc signal from the modulation voltage input port 101, generates a modulation resistor voltage at the modulation resistor voltage generating port 102 under the action of the voltage, and the modulation resistor voltage is connected to the modulation resistor RCM outside the control chip through the modulation pin VCM, and generates a modulation resistor current I on the modulation resistor RCM. CMIN In order to match the input port of the comparator, the modulation current output port 103 generates a current that matches the modulation resistor current I CMIN Proportional modulation current I CMO , this current replication function can be easily realized in an integrated circuit by simply using a current mirror.
[0036] In the loop control of the switching power supply, the changing modulation voltage Vc generates a changing modulation current I CMO , the sampling current I obtained by the built-in lossless current sampling circuit SAMP With the modulation current I CMO A comparison is performed, and the duty cycle of the power tube NM0 is controlled according to the comparison result to stabilize the output voltage.
[0037] In the effective range of the modulation voltage Vc, the voltage on the modulation resistor RCM increases with the increase of the modulation voltage Vc, so the modulation current I CMO It also increases with the increase of the modulation voltage Vc. When the output voltage VOUT of the switching power supply is high, the modulation voltage Vc decreases and the modulation current I CMO Also decreases, then the current through the power tube NM0 also decreases, and the output voltage VOUT of the switching power supply decreases; conversely, when the output voltage VOUT of the switching power supply is low, the modulation current I CMO The current of the power tube NM0 is increased to increase the output voltage VOUT. This process is repeated repeatedly to stabilize the output voltage of the switching power supply. The modulation gain can be designed by setting the value of the modulation resistor RCM. That is, different RCM resistance values can be set to have different modulation currents I under the same modulation voltage Vc. CMO The larger the modulation resistance RCM, the higher the modulation current I CMO The smaller the value, the smaller the modulation current I CMO The larger the current sampling value of the switching power supply can be designed according to specific needs, so that the performance index of the power supply can be optimized. At the same time, the current programming method of the present invention does not destroy the original structure of the built-in lossless current sampling, and still maintains the high signal-to-noise ratio and high efficiency of lossless sampling, thus achieving the goal proposed by the present invention.
[0038] The principle and function of the present invention are described in detail below. Because it is a transistor device in the same semiconductor process and the current passing through is not large, the voltage drop caused by the parasitic resistance can be ignored, so the pn junction voltage drop of the transistor is represented by VBE, which is generally about 0.7V.
[0039] The current modulation circuit includes: a modulation resistor voltage generating transistor Q1, a current mirror bias MOS transistor MP1 and a current mirror image MOS transistor MP2. The base of the modulation resistor voltage generating transistor Q1 is connected to the modulation voltage input port 101; the emitter of the modulation resistor voltage generating transistor Q1 is connected to the modulation resistor voltage generating port 102; the collector of the modulation resistor voltage generating transistor Q1 is connected to the gate of the current mirror bias MOS transistor MP1, the drain of the current mirror bias MOS transistor MP1, and the gate of the current mirror image MOS transistor MP2; the source of the current mirror bias MOS transistor MP1 is connected to the source of the current mirror image MOS transistor MP2 and the positive input of the power supply; the drain of the current mirror image MOS transistor MP2 is connected to the modulation current output port 103.
[0040] The base of the modulation resistor voltage generating transistor Q1 receives the modulation voltage Vc signal, so its emitter voltage drop is Vc-VBE, which generates a modulation resistor current I on the modulation resistor RCM CMINThe current mirror composed of the current mirror bias MOS tube MP1 and the current mirror mirror MOS tube MP2 generates a modulation current I in a mirror image in the ratio of n:1. CMO , it is easy to calculate:
[0041]
[0042] Modulation current I CMO As the modulation voltage Vc increases, it increases, and as it decreases, it decreases. CMO The principle of modulating the duty cycle to stabilize the output voltage of the switching power supply has been explained above. The modulation voltage Vc and the output modulation current I CMO The relationship curve is as follows Figure 6 shown.
[0043] Embodiment 2:
[0044] Switching power supplies often need to limit the maximum peak current to achieve overcurrent protection and prevent the transformer from saturating due to excessive current, which ultimately damages the device. In traditional external current sampling controllers, this is generally achieved by limiting the maximum threshold voltage of the comparator. The maximum threshold voltage divided by the sampling resistor value is the maximum peak current allowed to pass through the power tube. Therefore, the current modulator of the present invention should also have this function of limiting the maximum peak current, which is the function to be achieved by the current modulator of the second embodiment.
[0045] like Figure 7 and 8 As shown, the difference between the second embodiment and the first embodiment is that the current modulation circuit further includes: a clamping transistor Q2 and a current limiting resistor R c . Current limiting resistor R c One end is connected to the base of the modulation resistor voltage generating transistor Q1 and the emitter of the clamping transistor Q2, and the other end is connected to the modulation voltage input port 101; the base of the clamping transistor Q2 is connected to the clamping voltage VCM_MAX; the collector of the clamping transistor Q2 is connected to the negative input terminal of the power supply.
[0046] When the modulation voltage Vc<(VCM_MAX+VBE), the emitter of the embedded transistor Q2 is reverse biased and does not work, so the modulation voltage Vc and the voltage VCM on the modulation resistor RCM are still VCM=Vc-VBE, and the output modulation current I is the same as in the first embodiment. CMO =(Vc-VBE) / RCM;
[0047] When the modulation voltage Vc>(VCM_MAX+VBE), the emitter of the clamping transistor Q2 begins to be forward biased, playing a clamping role. As the modulation voltage Vc continues to increase, the base voltage of the modulation resistor voltage-generating transistor Q1 is clamped at (VCM_MAX+VBE), then the voltage VCM on the modulation resistor RCM is clamped at VCM_MAX, and the output modulation current I CMO =VCM_MAX / RCM
[0048] The relationship curve between the modulation voltage Vc and the voltage VCM on the modulation resistor RCM is as follows: Figure 8 As shown, it can be seen that the maximum peak current limiting the power tube is VCM_MAX / RCM. The maximum power of the switching power supply can be set by simply designing the resistance value of the modulation resistor RCM outside the chip.
[0049] Embodiment three:
[0050] In the primary feedback switching power supply, it is necessary to limit not only the maximum peak current but also the minimum peak current, because if the minimum peak current is too small, the demagnetization time is too short, which may easily lead to abnormal output voltage sampling, and then cause the output voltage of the switching power supply to be unstable. Therefore, the present invention also provides a current modulator that simultaneously limits the maximum peak current and the minimum peak current, and simultaneously meets the technical requirements of the switching power supply overcurrent protection and the primary feedback reliable sampling.
[0051] like Fig. 9 and 10 As shown, the difference between the third embodiment and the first embodiment is that the current modulation circuit further includes: a clamping transistor Q2, a bias current source I B , bias resistor R B , bias transistor Q3 and voltage follower transistor Q4. The base of voltage follower transistor Q4 is connected to modulation voltage input port 101; the emitter of voltage follower transistor Q4 is connected to the emitter of bias transistor Q3 and bias resistor R B One end of the bias resistor R B The other end is connected to the negative input terminal of the power supply; the collector of the bias transistor Q3 is connected to the base of the bias transistor Q3, the emitter of the embedded transistor Q2, and the bias current source I B The output port of the modulation resistor voltage is connected to the base of the transistor Q1; the base of the embedded transistor Q2 is connected to the embedded voltage VCM_MAX, and the collector of the embedded transistor Q2 is connected to the negative input terminal of the power supply; the collector of the voltage follower transistor Q4 is connected to the source of the current mirror MOS tube MP2, the source of the current mirror bias MOS tube MP1, and the bias current source I B The input port of the
[0052] When the modulation voltage Vc < (VBE + VCM_MIN), where VCM_MIN = I B ×R B , the emitter of the voltage-following transistor Q4 and the emitter of the clamping transistor Q2 are both reverse-biased, and the voltage-following transistor Q4 and the clamping transistor Q2 do not function in the circuit. Moreover, the base-emitter voltage drops of the biasing transistor Q3 and the modulation-resistance voltage-generating transistor Q1 cancel each other out. It is easy to obtain that the voltage VCM on the modulation resistor RCM is equal to the voltage at the emitter of the biasing transistor Q3, that is, VCM = I B ×R B . That is, when Vc < VBE + VCM_MIN, VCM is always the minimum value I B ×R B . The minimum modulation current I CMO = I B ×R B / RCM;
[0053] When VBE + VCM_MIN < Vc < VBE + VCM_MAX, the emitter of the clamping transistor Q2 is still reverse-biased and does not function, and the voltage-following transistor Q4 starts to work, making the emitter voltage of the biasing transistor Q3 follow the voltage (Vc - VBE). Therefore, VCM = Vc - VBE, and the modulation current I CMO = (Vc - VBE) / RCM;
[0054] When Vc > VBE + VCM_MAX, the emitter of the clamping transistor Q2 is in the forward-biased state, and the biasing transistor Q3 is in the reverse-biased state. The biasing transistor Q3 no longer functions, and the base voltage of the biasing transistor Q3 and the modulation-resistance voltage-generating transistor Q1 is clamped at (VBE + VCM_MAX) by the clamping transistor Q2. Therefore, the emitter voltage of the voltage-following transistor Q4, that is, VCM = VCM_MAX, and the maximum modulation current I CMO = VCM_MAX / RCM.
[0055] According to the above analysis of the modulation voltage Vc in different stages and the current modulation circuit in different working states, the relationship curve between the modulation voltage Vc and the generated modulation current I CMO can be drawn, as shown in Fig.10 . When Vc < (VBE + VCM_MIN), the modulation current I CMO = I B ×R B / RCM = VCM_MIN / RCM, rather than decreasing as the modulation voltage Vc decreases, ensuring that the power transistor passes through a sufficiently large peak current and has a sufficiently wide demagnetization time to effectively sample the output voltage of the switching power supply. This is an important technical indicator in the flyback topology switching power supply with primary side feedback. When VBE + VCM_MIN < Vc < VBE + VCM_MAX, the output modulation current I CMO =(Vc - VBE) / RCM, and the modulation current I CMO is linearly related to the modulation voltage Vc. The switching power supply operates in this working range in most load ranges. The change in the modulation voltage Vc can change the peak current of the power transistor, and it is in the effective working range for the modulation peak current. When Vc > VBE + VCM_MAX, the maximum output modulation current I CMO = VCM_MAX / RCM, the switching power supply reaches the maximum power allowed for output, limits the maximum peak current, activates the overcurrent protection function, and improves the reliability of the power supply.
[0056] Those skilled in the art should also understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments of this document can be implemented as electronic hardware, computer software, or a combination thereof. To clearly illustrate the interchangeability between hardware and software, the above various illustrative components, blocks, modules, circuits, and steps have been generally described in terms of their functions. Whether such a function is implemented as hardware or software depends on the specific application and the design constraints imposed on the entire system. Skilled technicians can implement the described functions in a flexible manner for each specific application. However, such implementation decisions should not be construed as departing from the protection scope of this disclosure.
Claims
1. A current modulator for a switching power supply, characterized in that: include: A current modulation circuit integrated in a switching power supply controller chip and a modulation pin disposed on the switching power supply controller chip, wherein the modulation pin is connected to a modulation resistor located outside the switching power supply controller chip; It also includes a differential amplifier integrated in the switching power supply controller chip, wherein the differential amplifier collects the output voltage of the switching power supply and outputs a changing modulation voltage; After the modulation voltage passes through the current modulation circuit, a modulation current that changes synchronously with the modulation voltage is generated; when the output voltage of the switching power supply is high, the modulation voltage decreases, the modulation current also decreases, the current passing through the power tube also decreases, and the output voltage of the switching power supply decreases; conversely, when the output voltage of the switching power supply is low, the current of the power tube is increased by the modulation current, thereby increasing the output voltage of the switching power supply; The switching power supply controller chip has a built-in lossless current sampling circuit, which samples the current of the power tube to obtain a sampling current, compares the sampling current with the modulation current, and controls the duty cycle of the power tube according to the comparison result; The current modulation circuit comprises: a modulation voltage input port, a modulation resistance voltage generation port and a modulation current output port; The current modulation circuit receives a modulation voltage via the modulation voltage input port, the modulation voltage generates a modulation resistor voltage at the modulation resistor voltage generating port, the modulation resistor voltage generates a modulation resistor current on the modulation resistor, the modulation resistor current is replicated by a current mirror to generate a modulation current for modulating the duty cycle of the switching power supply, and the modulation current is output via the modulation current output port.
2. A current modulator for a switching power supply according to claim 1, characterized in that: The current modulation circuit comprises: a modulation resistor voltage generating transistor Q1, a current mirror bias MOS tube MP1 and a current mirror image MOS tube MP2; The base of the modulation resistance voltage generating transistor Q1 is connected to the modulation voltage input port; The emitter of the modulation resistor voltage generating transistor Q1 is connected to the modulation resistor voltage generating port; The collector of the modulation resistor voltage generating transistor Q1 is respectively connected to the gate of the current mirror bias MOS tube MP1, the drain of the current mirror bias MOS tube MP1, and the gate of the current mirror mirror MOS tube MP2; The source of the current mirror bias MOS tube MP1 is connected to the source of the current mirror mirror MOS tube MP2 and the positive input terminal of the power supply respectively; The drain of the current mirror MOS tube MP2 is connected to the modulation current output port.
3. A current modulator for a switching power supply according to claim 2, characterized in that: The current modulation circuit also includes: a clamping transistor Q2 and a current limiting resistor R c ; Current limiting resistor R c One end is connected to the base of the modulation resistor voltage generating transistor Q1 and the emitter of the embedded transistor Q2, and the current limiting resistor R c The other end is connected to the modulation voltage input port; The base of the clamping transistor Q2 is connected to the clamping voltage VCM_MAX; The collector of the clamping transistor Q2 is connected to the negative input terminal of the power supply.
4. A current modulator for a switching power supply according to claim 2, characterized in that: The current modulation circuit also includes: a clamping transistor Q2, a bias current source I B , bias resistor R B , bias transistor Q3 and voltage follower transistor Q4; The base of the voltage follower transistor Q4 is connected to the modulation voltage input port; The emitter of the voltage follower transistor Q4 is connected to the emitter of the bias transistor Q3 and the bias resistor R B One end of the bias resistor R B The other end is connected to the negative input terminal of the power supply; The collector of the bias transistor Q3, the base of the bias transistor Q3, the emitter of the clamp transistor Q2, and the bias current source I B The output port of the modulation resistor voltage is connected to the base of the transistor Q1; The base of the clamping transistor Q2 is connected to the clamping voltage VCM_MAX, and the collector of the clamping transistor Q2 is connected to the negative input terminal of the power supply; The collector of the voltage follower transistor Q4 is connected to the source of the current mirror MOS tube MP2, the source of the current mirror bias MOS tube MP1, and the bias current source I B The input port of the
