A high-precision oscillator circuit with frequency jitter and slope compensation for switching power supply

By designing high-precision oscillator circuits in the switching power supply system, using RC oscillator circuits and digital frequency modulation technology, the frequency adjustment and EMI problems of the oscillator over a wide range are solved, and the conversion efficiency and stability of the switching power supply are improved.

CN114421766BActive Publication Date: 2024-11-19HARBIN ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111646553.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-11-19
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

In existing switching power supply systems, it is difficult for the oscillator to adjust the output frequency linearly within a wide range, resulting in power conversion efficiency and electromagnetic interference (EMI) noise problems, and traditional oscillators cannot effectively adjust the output frequency when load changes.

Method used

A high-precision oscillator circuit including RC oscillation circuit, frequency modulation logic circuit, unidirectional delay circuit, ramp compensation module, frequency jitter module, capacitor adjustment network, bandgap voltage reference and zero temperature coefficient current reference were designed. Reference current source and digital frequency modulation technology adjusts the oscillator frequency and improves EMI with ramp compensation modules and frequency jitter modules.

Benefits of technology

It realizes linear frequency switching and high-precision output frequency over a wide range, reduces EMI noise, improves the conversion efficiency and stability of switching power supplies, and is suitable for the application of power management chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114421766B_ABST
    Figure CN114421766B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of power management chips, and specifically relates to a high-precision oscillator circuit with frequency jittering and slope compensation for switching power supplies. The present invention adopts a zero temperature coefficient current source generated by a reference current source to charge and discharge a capacitor, and uses a three-bit digital frequency modulation technology to change the output oscillator frequency by changing the charging mirror current; uses a frequency jittering capacitor to change the total capacitance to improve EMI; and uses a slope compensation module with adjustable slope formed by source-level negative feedback. On the basis of having a high-precision output frequency of a traditional oscillator, the present invention can linearly switch the output frequency within a wider range, provide a slope compensation current triangle wave signal with an adjustable slope for the modulation circuit, and can adjust the oscillator output within a certain range, which is more suitable for the stability and high-precision requirements of the clock signal in the power management chip circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power management chips, and in particular relates to a high-precision oscillator circuit with frequency jittering and slope compensation applied to a switching power supply. Background Art

[0002] Science and technology are developing rapidly, and there have been great changes in both hardware and functions, and they are gradually developing in the direction of intelligence, large screen, lightness and thinness, but at the same time, they have brought about the problems of increased power consumption and insufficient equipment endurance. In this context, switching power converters have been widely used and play an increasingly important role in society, especially when the input voltage varies in a wide range and needs to be converted into a stable and appropriate output voltage through a step-up and step-down converter. Power management chips are key components in electronic devices and are widely used in various electronic products and equipment. They are one of the largest market segments for analog chips. In situations where the input voltage varies in a wide range, such as distributed power systems, new energy power generation systems, communication power grids, portable electronic devices, and power supply systems for radio frequency power amplifiers, switching power converters with step-up and step-down characteristics are required. In an ideal state, the on-time of the switch tube can reach full duty cycle, but due to the presence of various parasitic parameters in the actual circuit, the switch tube has a setup time and a shutdown time. At the same time, in order to protect the application circuit, the converter should be prevented from experiencing punch-through, which requires a certain dead time, which makes it impossible for the on-duty cycle of the converter switch to reach the full duty cycle. For boost converters and buck converters, discontinuous duty cycles will inevitably produce large dynamic interference on the output voltage. The use of RC oscillators can not only provide high-precision output frequency for the switch tube, but also improve the conversion efficiency of the switching system according to the output range of load regulation, and its performance has a direct impact on the performance and reliability of the switching power supply.

[0003] The research and development of oscillators is an important part of the research on switching circuits. The design of the switching frequency has a direct impact on the power consumption and conversion efficiency of the converter. On the one hand, it provides timing for the power switch tube, and on the other hand, it reduces the EMI (Electro Magnetic Interference) noise generated by the oscillation signal through frequency jitter. At the same time, when the chip load is light, the load does not need too much energy output, and the oscillator is frequency-reduced to reduce the number of power tube switches. The oscillator that can linearly adjust the frequency within a wide adjustment range according to the load condition is particularly critical. In addition, with a fixed switching frequency, the radiation spectrum will be concentrated in the same frequency band, which will generate EMI. The oscillator used in the switching power supply uses a frequency jitter module to disperse the spectrum into more frequency bands, thereby improving the EMI problem. The oscillator is required to generate a clock signal that is basically independent of the power supply voltage and temperature, as well as the frequency and duty cycle. At the same time, there will be a certain deviation in the output frequency when cascaded with other modules, so the deviation needs to be adjusted through trim technology when used in the switching power supply system. Summary of the invention

[0004] The object of the present invention is to provide a high-precision oscillator circuit with frequency jittering and slope compensation for a switching power supply.

[0005] A high-precision oscillator circuit with frequency jitter and slope compensation for a switching power supply, comprising an RC oscillator circuit 201, a frequency modulation logic circuit 202, a unidirectional delay circuit 203, a slope compensation module 204, a frequency jitter module 205, a capacitor adjustment network 206, a bandgap voltage reference 207, a zero temperature coefficient current reference 208, and a start-up circuit 209; the maximum charging voltage VR_1000 and the minimum charging voltage VR_100 of the charging capacitor of the RC oscillator circuit 201 are provided by the bandgap voltage reference 207, and the current used for charging is provided by the zero temperature coefficient current reference 208, the output OSC is connected to the unidirectional delay circuit 203 and the RC oscillator circuit 201 to form a closed-loop network to control the duty cycle of the output OSC_OUT, and OSC_OUT is input to the slope compensation module 204 to output the slope compensation triangular wave current signal Ramp OSC; the frequency modulation logic circuit 202 outputs a slope compensation triangular wave current signal Ramp OSC according to the power stage feedback voltage V FB The reference voltage V generated by the bandgap voltage reference 207 REF The comparison is performed, and the comparison result is output to the RC oscillator circuit 201 and the overall output NSCL, and a current signal Current Mirror is provided to the frequency jitter module 205 and the capacitor adjustment network 206; the frequency jitter module 205 outputs a jittered clock signal Jitter OSC; the start-up circuit 209 controls the working condition of the oscillator by transmitting the input enable signal EN to the RC oscillator 201, and controls the switch of the frequency jitter function through the input signal RST of the frequency jitter module 205.

[0006] Further, the slope compensation module 204 includes a twelfth PMOS tube MP12, a thirteenth PMOS tube MP13, a fourteenth PMOS tube MP14, a fifteenth PMOS tube MP15, a twenty-third NMOS tube MN23, and a first resistor R1; the thirteenth PMOS tube MP13, the fourteenth PMOS tube MP14, and the fifteenth PMOS tube MP15 form a current mirror structure, the thirteenth PMOS tube MP13, the fourteenth PMOS tube MP14, and the twenty-third NMOS tube MN23 form a common source stage structure with source negative feedback, and the current on the twenty-third NMOS tube MN23 is output by mirroring the RC oscillation circuit 2 The periodic voltage signal of the charging capacitor C5 in 01 is converted into a periodic current signal, that is, the current flowing through the twenty-third NMOS tube MN23 is the output ISLOPE1 and ISLOPE2 of the slope compensation module 204; the slope of the slope compensation is inversely proportional to the first resistor R1. According to the modulation method and slope compensation method adopted by the switching power supply system, a suitable slope of the slope compensation is obtained by adjusting the resistance value of the first resistor R1; the working condition of the slope compensation can be controlled by the ENP pin. When ENP is at a low level, the slope compensation module 204 works normally; when ENP is at a high level, the twelfth PMOS tube MP12 works in the cut-off area, and the slope compensation module 204 stops working.

[0007] Further, the frequency jitter module 205 includes a first D flip-flop 411, a second D flip-flop 412, a third D flip-flop 413, a fourth D flip-flop 414, a twenty-fourth NMOS tube MN24, a twenty-fifth NMOS tube MN25, a twenty-sixth NMOS tube MN26, a twenty-seventh NMOS tube MN27, a first capacitor C1, a second capacitor C2, a third capacitor C3, and a fourth capacitor C4. Four branches are introduced next to the charging capacitor C5 in the RC oscillation circuit 201. The width-to-length ratio of the twenty-fourth NMOS tube MN24, the twenty-fifth NMOS tube MN25, the twenty-sixth NMOS tube MN26, and the twenty-seventh NMOS tube MN27 is the same. The RC oscillation circuit 201 The output OSC_OUT is connected to a frequency divider composed of a first D flip-flop 411, a second D flip-flop 412, a third D flip-flop 413, and a fourth D flip-flop 414 triggered by four edges, and four two-divisions are performed to generate a 4-bit digital logic cyclic code. Q1, Q2, Q3, and Q4 are turned on in combination according to a certain rule, and the gate of the MOS tube turned on by the control circuit, the first capacitor C1, the second capacitor C2, the third capacitor C3, and the fourth capacitor C4 are connected in parallel to the charging capacitor C5 in the RC oscillation circuit 201. By changing the coulomb value of the charging capacitor C5, when the asynchronous reset terminal RST inputs a low level, the D trigger starts the frequency jittering function, and adjusts the output frequency within a small range, thereby generating frequency jitter of the oscillator.

[0008] The beneficial effects of the present invention are:

[0009] The present invention adopts the zero temperature coefficient current source generated by the reference current source to charge and discharge the capacitor, and uses the three-digit digital frequency modulation technology to change the output oscillator frequency by changing the charging mirror current; uses the frequency-jittering capacitor to change the total capacitance to improve EMI; and uses the slope compensation module with adjustable slope formed by source-level negative feedback. On the basis of the high-precision output frequency of the traditional oscillator, the present invention can linearly switch the output frequency within a wider range, provide the modulation circuit with a slope compensation current triangle wave signal with adjustable slope, and can adjust the oscillator output within a certain range, which is more suitable for the stability and high-precision requirements of the clock signal in the power management chip circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a diagram of the structure of an oscillator traditionally used in switching power supplies.

[0011] Figure 2 The figure is a general structure diagram of a high-precision oscillator circuit with frequency jittering and slope compensation in the present invention.

[0012] Figure 3 It is a circuit diagram of the frequency jitter module in the present invention.

[0013] Figure 4 The circuit diagram of the high-precision oscillator circuit with frequency jittering and slope compensation in the present invention.

[0014] Figure 5 This is the reference source circuit diagram of the present invention. DETAILED DESCRIPTION

[0015] The present invention is further described below in conjunction with the accompanying drawings.

[0016] According to the problems existing in the switching power supply system and the requirements on the function and performance of the oscillator in the relevant research, the present invention provides a high-precision oscillator circuit with frequency jitter and slope compensation for the switching power supply. The output frequency is adjusted synchronously and linearly according to the load conditions, and the switching power supply system is optimized by simplifying the slope compensation module to improve the conversion efficiency of the switching power supply. The circuit can also adjust the slope of the current triangle wave according to the method introduced by the slope compensation. At the same time, a frequency jitter module is designed to improve the electromagnetic interference problem of the system, and a digital-assisted adjustment technology is introduced to adjust the oscillator output and provide a flexible operating frequency for the chip.

[0017] like Figure 2As shown, the present invention includes an RC oscillator circuit 201, a frequency modulation logic circuit 202, a unidirectional delay circuit 203, a slope compensation module 204, a frequency jitter module 205, a capacitor trimming network 206, a bandgap voltage reference 207, a zero temperature coefficient current reference 208, and a startup circuit 209;

[0018] like Figure 4 As shown, the RC oscillator circuit 201 includes a charging capacitor C5 (311), a sixth capacitor C6 (313), a seventh capacitor C7 (314), a second resistor R2 (309), a third resistor R3 (310), a twenty-eighth NMOS transistor MN28 (312), a second comparator COMP2 (315), a first inverter 316, a second inverter 317, a third inverter 318, and a fourth inverter 319, for generating a voltage square wave signal.

[0019] The frequency modulation logic circuit 202 includes a first PMOS transistor MP1 (328), a third PMOS transistor MP3 (330), a fourth PMOS transistor MP4 (331), a fifth PMOS transistor MP5 (332), a seventh PMOS transistor MP7 (333), an eighth PMOS transistor MP8 (334), a ninth PMOS transistor MP9 (335), a tenth PMOS transistor MP10 (336), an eleventh PMOS transistor MP11 (337), a sixth PMOS transistor MP6 (339), a twenty-first NMOS transistor MN21 (338), a fifteenth NMOS transistor MN15 (342), a sixteenth NMOS transistor MN16 (343), a seventeenth NMOS transistor MN17 (344), an eighteenth NMOS transistor MN18 (345), a nineteenth NMOS transistor MN19 (346), a fifth inverter 347, and a first comparator COMP1 (340).

[0020] The slope compensation module 204 includes a twelfth PMOS transistor MP12 (321), a thirteenth PMOS transistor MP13 (322), a fourteenth PMOS transistor MP14 (323), a fifteenth PMOS transistor MP15 (324), a twenty-third NMOS transistor MN23 (325), and a first resistor R1 (327).

[0021] The frequency jitter module 205 includes a first D flip-flop 411, a second D flip-flop 412, a third D flip-flop 413, a fourth D flip-flop 414, a twenty-fourth NMOS transistor MN24 (401), a twenty-fifth NMOS transistor MN25 (402), a twenty-sixth NMOS transistor MN26 (403), a twenty-seventh NMOS transistor MN27 (404), a first capacitor C1 (406), a second capacitor C2 (407), a third capacitor C3 (408), and a fourth capacitor C4 (409). The output of the RC oscillation circuit 201 is connected to the input end of the frequency jitter module 205.

[0022] The capacitor trimming network 206 includes a sixth NMOS transistor MN6 (348), a ninth NMOS transistor MN9 (349), a twelfth NMOS transistor MN12 (350), a second NMOS transistor MN2 (351), a fourth NMOS transistor MN4 (352), a seventh NMOS transistor MN7 (353), a tenth NMOS transistor MN10 (354), a thirteenth NMOS transistor MN13 (355), a first NMOS transistor MN1 (356), a third NMOS transistor MN3 (357), a fifth NMOS transistor MN5 (358), an eighth NMOS transistor MN8 (359), an eleventh NMOS transistor MN11 (360), and a fourteenth NMOS transistor MN14 (361).

[0023] The startup circuit 209 includes a sixth inverter 362, a seventh inverter 363, a twenty-second NMOS transistor MN22 (326), a second PMOS transistor MP2 (329), and a twentieth NMOS transistor MN20 (341), which are used to control the on and off states of the circuit.

[0024] The bias current generated by the zero temperature coefficient current reference 208 is input to the capacitor trimming network 206 for adjusting the size of the mirror current. The mirror current is connected to the frequency modulation logic circuit 202. The power stage feedback voltage VFB and the reference voltage VR_400 generated by the bandgap voltage reference 207 are input to the frequency modulation logic circuit 202 in the light and heavy load logic control module to adjust the charging current size of the oscillation circuit. The charging capacitor C5 (311) in the main oscillation module is connected to the second comparator COMP2 (315). The second comparator COMP2 (315) inputs the maximum and minimum values ​​of the charging voltage and the capacitors C6 (313) and C7. (314) is connected, the output of the second comparator COMP2 (315) and the inverters (316), (317), (318), (319) and the unidirectional delay unit (203) together constitute a main oscillation circuit, the frequency jitter module 205 is connected in parallel with the charging capacitor C5 (311) to achieve the frequency jitter function by changing the size of the charging capacitor, the voltage on the charging capacitor C5 (311) is used as the source voltage of MN21 (338) and together with the slope compensation module (204) to form a common source stage with source negative feedback to provide a slope current, and the slope of the slope compensation can be changed by controlling the resistance value of R1 (327).

[0025] The present invention adds a comparator inside the RC to synchronously adjust the oscillator output frequency according to the load conditions; simplifies the slope compensation module, optimizes the switching power supply topology, and improves the switching power supply conversion efficiency; designs a frequency jitter module to disperse the harmonic energy and disperse the radiation spectrum into more frequency bands, thereby improving the system electromagnetic interference EMI (ElectroMagneticInterference) noise; introduces digital-assisted adjustment technology to optimize the circuit in process corner simulation by changing the charging mirror current, and the parasitic capacitance of the MOS tube causes the output frequency deviation.

[0026] Figure 1 It is a traditional RC oscillator, in which the f1 frequency generating circuit with comparators COMP1 and COMP2 as the core generates an oscillator signal OSC1 with a frequency of f1 when the chip is in heavy-load working mode; the light-load mode frequency generating circuit with comparator COMP3 as the core generates an oscillator signal OSC2 with a minimum frequency f2 in the chip, and K1, K2, K3, and K4 act as switches, in which K2 is controlled by the logic signal CTL. When CTL is at a high level, K2 is closed, and when CTL is at a low level, K2 is disconnected. The charging capacitors C1 and C2 are charged, and the capacitor voltage is converted into the output signal OUT1 of the RS trigger. After the logic control part, the high and low levels of the output frequency OSC are converted. It can be seen that this oscillator with light and heavy load mode switching has an intermittent frequency generating circuit in addition to the traditional single frequency circuit.

[0027] Figure 2 The overall structure of the high-precision oscillator with frequency jitter and slope compensation of the present invention, the maximum charging voltage VR_1000 and the minimum charging voltage VR_100 of the charging capacitor of the RC oscillator circuit 201 are provided by the bandgap voltage reference 207, the current used for charging is provided by the zero temperature coefficient current reference 208, the output OSC is connected to the unidirectional delay circuit 203 and the RC oscillator 201 to form a closed-loop network to control the duty cycle of the output OSC_OUT, OSC_OUT is output to the slope compensation module 204 to output the slope compensation triangle wave current signal Ramp OSC, the frequency modulation logic circuit 202 is based on the power level feedback voltage V FB The reference voltage V generated by the bandgap voltage reference 207 REF The comparison is performed, and the comparison result is output to the RC oscillator 201 and the overall output NSCL, and the current signal Current Mirror is provided to the frequency jitter module 205 and the capacitor adjustment network 206. The frequency jitter module 205 outputs the jittered clock signal JitterOSC. The start-up circuit 209 controls the working condition of the oscillator through the input enable signal EN output to the RC oscillator 201. Whether to start the frequency jittering is controlled by the input signal RST of the frequency jittering module 205 to control the switch of the frequency jittering function.

[0028] In order to improve the conversion efficiency of the switching power supply, the oscillator should have the function of frequency modulation, which is changed by controlling the charging capacitor current. To ensure the accuracy of the clock frequency, the current source circuit for charging and discharging the capacitor uses a cascode structure capacitor C5 (311) to charge. When the voltage CV on the capacitor is higher than the maximum reference voltage VH, the comparator COMP2 (315) outputs a low level, and the tube MN28 (312) is turned on, then the charge on the capacitor is discharged to the ground, and the capacitor voltage immediately turns to decrease; when the capacitor voltage CV is lower than the minimum reference voltage VL, the comparator outputs a high level, and the tube MN28 (312) is turned off, and the capacitor is charged with a constant current again, and the cycle is repeated, and OSC_OUT outputs an oscillation signal. In order to prevent the comparator output from changing from low to high too quickly (the duration of OSC_OUT outputting a high level is too short), a constant delay OSC_DELAY is added in the process of changing from high level to low level. This delay circuit is composed of a first-order RC and a Schmitt trigger.

[0029] In order to improve the transmission efficiency of the switching power supply system, when the chip load is light, the load does not need too much energy output, and the switching times of the power switch tube are reduced, that is, the oscillator is frequency-reduced. A comparator is added to the oscillator, and the voltage feedback value FB introduced by the power stage is compared through the logic control module. FB is fed back according to a certain ratio. When FB is very small, the reference voltage VR is established first, and the frequency is switched. When FB is higher than the reference voltage VR, Over The voltage at the Load terminal becomes low, turning off the MN17 (344) tube. Then the currents of the tubes MP5 (332), MP7 (333), and MP8 (334) flow through MP6 (339). At this time, the currents charging the capacitor are MP5 (332), MP7 (333), MP10 (336), and MP11 (337). Because MP8 (334), MP9 (335), MP10 (336), and MP11 (337) have the same size and form a current mirror structure, MP8 (334) and MP10 (336) are connected in series, and MP9 (335) and MP11 (337) are connected in series. The width-to-length ratio of MP7 (333) is twice that of MP8 (334). Then the ratio of the currents flowing through the four paths of MP5 (332), MP7 (333), MP10 (336), and MP11 (337) is 4:4:1:1. At this time, it is equivalent to charging the capacitor with 10 times the current. At this time, the time for the capacitor to charge to the upper limit VH is set to T1; when FB is lower than VR, the voltage at the Over Load terminal becomes low, and the MN17 (344) tube is turned on. Then the current of the tubes MP5 (332), MP7 (333), and MP8 (334) is released to the ground through MN17 (344). At this time, the charging current for the capacitor is MP11 (337), which is equivalent to charging the capacitor with 1 times the current. At this time, the time for the capacitor to charge to the upper limit VH is set to T2. Then 10T1=T2. The oscillator can linearly adjust the output frequency according to the load conditions within f1~f2. If EN is a low voltage, all functions of the oscillator are turned off.

[0030]

[0031] It is also worth noting that the capacitor charging voltage is similar to a triangular wave, but it should be a square wave with a certain duty cycle when used in a switching power supply. The present invention uses a unidirectional delay module OSC_DELAY (203) composed of a first-order RC plus a Schmitt trigger. According to Expression 1, it can be known that the duty cycle of the output frequency can be changed by adjusting the internal capacitance value.

[0032] Slope compensation (204) is one of the core modules in the switch system. In the switch system, the duty cycle is usually limited to less than 0.5. From the perspective of system optimization, the duty cycle is usually greater than 0.5 to improve the utilization rate of power devices and the efficiency of power conversion and reduce output ripple. In this way, there is a contradiction between the stability condition of the current mode and the system optimization, which will produce self-harmonic oscillation. For the problem of current mode, slope compensation technology is used, but the traditional current mode switch power supply uses a separate slope compensation module. In order to improve the conversion efficiency of the switch power supply, the present invention has a stable output frequency, that is, the triangular voltage waveform generated by the capacitor charging and discharging, and uses the source negative feedback to generate a stable current triangle wave.

[0033] The slope of the slope compensation needs to be calculated based on the actual circuit parameters and current feedback coefficient S n and S f The first-order approximate average value of the inductor current is , and there are two ways to introduce slope compensation technology. One is to subtract the slope compensation signal from the error voltage signal, that is, to add it to the reverse input terminal of the modulation comparator, and compare the current given signal with the slope S e The slope compensation signal is superimposed and then compared with the inductor current; the other is to add the slope compensation to the inductor current detection signal, that is, to the non-inverting input of the PWM comparator, and compare the inductor current with a slope of S m The ramp signal is superimposed and directly compared with the current given signal. e It cannot be too small, as this will produce subharmonic oscillations, and too large a value will cause low-frequency instability.

[0034]

[0035] After taking the slope compensation measures, the switching power supply can work stably when the duty cycle is greater than 50%. At the same time, due to the increase in the duty cycle range, the utilization rate of the high-frequency converter is improved. In particular, when the power switch tube is turned on, the peak current will become a huge source of interference, and the slope compensation is equivalent to increasing the rising slope of the inductor current, which makes the current change larger during the turn-on time and plays a role in suppressing interference.

[0036] Figure 3The frequency jitter module 205 of the present invention is provided. When the switching power supply chip is working, if the switching frequency is fixed, its radiation spectrum will be concentrated in the same frequency band, which may cause a more serious EMI problem. To solve this problem, it is necessary to design a frequency jitter module 205 in the chip. The present invention introduces four branches beside the charging capacitor C5 (311), MN24 (401), MN25 (402), MN26 (403), and MN27 (404) have the same width-to-length ratio, and the output OSC_OUT during the oscillation period is connected to a frequency divider composed of edge-triggered D flip-flops (411), (412), (413), and (414), and four two-frequency divisions are performed to generate a 4-bit digital logic cyclic code, Q1, Q2, Q3, and Q4 are combined and turned on according to a certain rule, and the gates of the MOS tubes turned on by the control circuit, C1 (406), C2 (407), C3 (408), and C4 (409) are connected in parallel to the charging capacitor C5 (410), and by changing the coulomb value of the charging capacitor, when the asynchronous reset terminal RST inputs a low level, the D trigger starts the frequency jittering function, and the output frequency is adjusted within a small range, thereby generating the frequency jitter of the oscillator.

[0037] At the same time, frequency modulation is a very important function of the oscillator. The design target is f1~f2. The pre-simulation is not affected by the RC parasitic effect. After the circuit design is completed, the post-simulation may cause the output frequency to drop, because the increase of parasitic effects will increase the capacitance.

[0038]

[0039] Considering that the parasitic capacitance of the MOS tube will reduce the output frequency f, the frequency range of the circuit design is wider than the requirement. At the same time, each process has its own corner process angle. The resistors and capacitors have deviations in the process angle under tt, ss, ff, sf, and fs. The deviation will affect the slope of the slope compensation, and the output frequency of the oscillation will be offset, which is contrary to the high-precision oscillator. When designing, first simulate ss (NMOS and PMOS are both in slow state), high temperature, and low voltage. In this case, the oscillator is most difficult to start, that is, this state meets the design requirements, and the oscillator can work normally under the remaining process angles.

[0040] The traditional method is to use the AFC (Automatic frequency calibration) technology, but the disadvantage of AFC is that the MOS switch tube also has an on-resistance when it is turned on, which will reduce the quality factor Q of the resonant circuit. At the same time, when it is closed and opened, the capacitance introduced by itself also affects the accuracy. The present invention introduces a three-bit trim structure and uses an external code value, similar to a binary SAR logic, to change the output frequency, slope compensation and jitter range of the oscillator. Whether the process or temperature increases or decreases, it will pass through the intermediate value, starting with 100. When it is larger than the reference value, the code value will be reduced. Whether it increases or decreases, it will be compared with the reference value, and gradually approach the designed frequency range.

[0041] The capacitor trimming network (206) has three pins from the outside. Its principle is to change I ref1 The input current IOSC first passes through a cascode current mirror, so that the ability to copy current is more accurate. Since MN2 (351), MN4 (352), MN7 (353), MN10 (354), and MN13 (355) are of the same size, and MN3 (357), MN5 (358), MN8 (359), MN11 (360), and MN14 (361) are of the same size, the size of the current mirror Iref1 can be changed by controlling the opening and closing of MN6 (348), MN9 (349), and MN12 (350).

[0042] The sizes of the switch tubes MN6 (348), MN9 (349), and MN12 (350) are proportional. The IOSC inputs a 1uA current reference input to the drain terminal of MN2 (351). The upper MOS tube MP1 (328) outputs a 2uA current. The upper current is mirrored to other paths, and the size of the mirror current is adjusted within a certain range, thereby realizing a method of using digital assistance to enable the oscillator to be adjusted within a certain range. There are 8 groups of different code values ​​corresponding to different output frequency ranges, slope compensation peak current values, and jitter ranges.

[0043] Figure 5 Bandgap (207) is a voltage reference and is composed of bipolar transistors, MOS transistors, resistors, operational amplifiers, etc. The ratio of the emitter junction areas of bipolar transistors PNP1 (517) and PNP2 (518) is N. According to the virtual short of the operational amplifier, the voltages at the two input terminals of the operational amplifier are equal, and the sizes of the three MOS transistors are equal. The connection method is gate-to-gate and source-to-source to form a current mirror, so that the currents flowing through the three MOS transistors are equal. When currents of equal density flow through PNP1 (517) and PNP2 (518), since the two transistors are in a certain proportional relationship, V BEis different. Because the size of PNP1 (517) is relatively small, when the same current flows, V BE is relatively large; the size of PNP2 (518) is relatively large, so V BE The negative feedback principle of the operational amplifier makes the voltages at both ends of OPIN and OPIP equal. 10 (521) will produce a difference, that is, the base-emitter voltage difference ΔV generated by the two transistors BE for:

[0044]

[0045] T is the thermodynamic temperature, K is the Boltzmann constant, q is the electron charge, Then ΔV BE With positive temperature, considering the matching on the layout, N is 8, then the current flowing through the resistor R6 also has a positive temperature characteristic, that is:

[0046]

[0047] Since the base-emitter voltage V BE It has a negative temperature coefficient, so the current flowing through R3 (514), R4 (515), and R6 (516) has a negative temperature characteristic. At the same time, since the Q point is a zero temperature coefficient voltage node, the negative temperature coefficient gradually decreases from the transistor PNP1 (517) upward until the temperature coefficient of the Q point is 0. A branch V- is drawn from the PNP1 (517) branch to control the total resistance of the branch to remain unchanged. The proportional relationship between R3 (514), R4 (515), and R6 (516) is adjusted to obtain a negative temperature coefficient voltage that can offset the resistance with a negative temperature coefficient. In addition, in order to obtain a voltage that is insensitive to the temperature coefficient, it is also necessary to introduce a voltage with a positive temperature coefficient, add them together, and cancel out the negative temperature coefficient and the positive temperature coefficient to obtain a reference voltage that is insensitive to temperature, providing a zero temperature coefficient power supply for the oscillator and other modules. Therefore, the bandgap reference voltage V BE Relationship with temperature:

[0048]

[0049] On the left of the voltage reference in the present invention is an operational amplifier, and the input current is the input bias of 500nA. Because there is no current replication, there is no startup circuit. The negative feedback of the reference comes from the output of the operational amplifier connected to MP6 (505). The change of the output voltage will cause the change of the current. MP6 (505) pulls current from above. At the same time, the VN and VP of the operational amplifier are equal, the resistance is the same, and the current flowing through the transistor branch is half. The negative temperature coefficient voltage of the voltage reference is added to one end of the operational amplifier and added to the resistor with a negative temperature coefficient to generate a current with a zero temperature coefficient.

[0050] The present invention adopts the zero temperature coefficient current source generated by the reference current source to charge and discharge the capacitor, and uses the three-digit digital frequency modulation technology to change the output oscillator frequency by changing the charging mirror current; uses the frequency jittering capacitor to change the total capacitance to improve EMI; and adopts the slope compensation module with adjustable slope formed by source-level negative feedback to realize a high-precision RC oscillator with adjustable duty cycle applied in the switching power supply. Under the conditions of temperature and voltage fluctuation range, the oscillator outputs a square wave with high precision. The structure of the switching power supply is optimized, which is more suitable for the stability and high-precision requirements of the clock signal in the power management chip circuit.

[0051] Compared with the traditional RC oscillator, the present invention has made improvements in the following aspects:

[0052] (1) A separate slope compensation module is required in a conventional switching power supply system. The present invention generates a ramp signal by using source negative feedback to change the capacitor charging voltage. In a current mode switching power supply, a separate slope compensation module can be omitted, thereby reducing system power consumption and improving the conversion efficiency of the switching power supply system.

[0053] (2) The conventional oscillator has two output frequencies for the light load and heavy load modes of the switching system. The present invention compares the feedback voltage of the power stage with the reference voltage value VR according to the load condition. The comparison result linearly adjusts the oscillator output frequency OSC_OUT and outputs the result of the comparator NSCL to provide a switching signal for switching the modulation mode of the switching power supply, so that the converter can adjust the operating frequency and modulation mode in real time according to the load condition, further improving the conversion efficiency.

[0054] (3) Introducing a frequency jitter module that can be turned on and off to spread the spectrum into more frequency bands and improve the EMI problem of the system;

[0055] (4) Using the capacitor trimming network, on the one hand, the oscillation frequency offset caused by process deviation is adjusted, and on the other hand, the output frequency of the oscillator is adjusted so that the oscillator can have a larger frequency range under a very small control coefficient. The voltage feedback introduced from the power stage to the control stage is used to adjust the output frequency of the oscillator through the internal logic control module, and the number of switching times of the power tube is reduced when the load is light.

[0056] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A high-precision oscillator circuit with frequency jitter and slope compensation for a switching power supply, characterized in that: The invention comprises an RC oscillator circuit (201), a frequency modulation logic circuit (202), a unidirectional delay circuit (203), a slope compensation module (204), a frequency jitter module (205), a capacitor adjustment network (206), a bandgap voltage reference (207), a zero temperature coefficient current reference (208), and a start-up circuit (209); the maximum charging voltage VR_1000 and the minimum charging voltage VR_100 of the charging capacitor of the RC oscillator circuit (201) are provided by the bandgap voltage reference (207), the current used for charging is provided by the zero temperature coefficient current reference (208), the output OSC is connected to the unidirectional delay circuit (203) and the RC oscillator circuit (201) to form a closed-loop network to control the duty cycle of the output OSC_OUT, and OSC_OUT is input to the slope compensation module (204) to output a slope compensation triangle wave current signal Ramp OSC; the frequency modulation logic circuit (202) controls the duty cycle of the output OSC_OUT according to the power level feedback voltage V FB The reference voltage V generated by the bandgap voltage reference (207) REF The comparison is performed, and the comparison result is output to the RC oscillator circuit (201) and the overall output NSCL, and a current signal Current Mirror is provided to the frequency jitter module (205) and the capacitor adjustment network (206); the frequency jitter module (205) outputs a jittered clock signal Jitter OSC; the start-up circuit (209) controls the working condition of the oscillator by transmitting the input enable signal EN to the RC oscillator (201), and controls the switch of the frequency jitter function through the input signal RST of the frequency jitter module (205); The slope compensation module (204) comprises a twelfth PMOS tube MP12 (321), a thirteenth PMOS tube MP13 (322), a fourteenth PMOS tube MP14 (323), a fifteenth PMOS tube MP15 (324), a twenty-third NMOS tube MN23 (325), and a first resistor R1 (327); the thirteenth PMOS tube MP13 (322), the fourteenth PMOS tube MP14 (323), and the fifteenth PMOS tube MP15 (324) form a current mirror structure, the thirteenth PMOS tube MP13 (322), the fourteenth PMOS tube MP14 (323), and the twenty-third NMOS tube MN23 (325) form a common source stage structure with source negative feedback, and the current mirror on the twenty-third NMOS tube MN23 (325) is The output can convert the periodic voltage signal of the charging capacitor C5 (311) in the RC oscillator circuit (201) into a periodic current signal, that is, the current flowing through the twenty-third NMOS tube MN23 (325) is the output ISLOPE1 and ISLOPE2 of the slope compensation module (204); the slope of the slope compensation is inversely proportional to the first resistor R1 (327), and according to the modulation mode and slope compensation mode adopted by the switching power supply system, the appropriate slope of the slope compensation is obtained by adjusting the resistance value of the first resistor R1 (327); the working condition of the slope compensation can be controlled by the ENP pin, and when the ENP is at a low level, the slope compensation module (204) works normally; when the ENP is at a high level, the twelfth PMOS tube MP12 (321) works in the cut-off region, and the slope compensation module (204) stops working.

2. According to claim 1, a high-precision oscillator circuit with frequency jittering and slope compensation for a switching power supply, characterized in that: The frequency jitter module (205) comprises a first D flip-flop (411), a second D flip-flop (412), a third D flip-flop (413), a fourth D flip-flop (414), a twenty-fourth NMOS transistor MN24 (401), a twenty-fifth NMOS transistor MN25 (402), a twenty-sixth NMOS transistor MN26 (403), a twenty-seventh NMOS transistor MN27 (404), a first capacitor C1 (406), a second capacitor C2 (407), a third capacitor C3 (408), and a fourth capacitor C4 (409); four branches are introduced next to the charging capacitor C5 (311) in the RC oscillation circuit (201); the width-to-length ratio of the twenty-fourth NMOS transistor MN24 (401), the twenty-fifth NMOS transistor MN25 (402), the twenty-sixth NMOS transistor MN26 (403), and the twenty-seventh NMOS transistor MN27 (404) is The output OSC_OUT of the RC oscillator circuit (201) is connected to a frequency divider consisting of a first D flip-flop (411), a second D flip-flop (412), a third D flip-flop (413), and a fourth D flip-flop (414) triggered by four edges, and four two-frequency divisions are performed to generate a 4-bit digital logic cyclic code. Q1, Q2, Q3, and Q4 are turned on in combination according to a certain rule, and the gate of the MOS tube turned on by the control circuit, the first capacitor C1 (406), the second capacitor C2 (407), the third capacitor C3 (408), and the fourth capacitor C4 (409) are connected in parallel to the charging capacitor C5 (311) in the RC oscillator circuit (201). By changing the coulomb value of the charging capacitor C5 (311), when the asynchronous reset terminal RST inputs a low level, the D trigger starts the frequency jittering function, and the output frequency is adjusted within a small range, thereby generating the frequency jitter of the oscillator.