Circuit for improving timing precision of capacitor charging

By using trimming current and clamp circuit technology in the capacitor charging and discharging oscillator, the problem of inconsistent timing output caused by process deviations in the capacitor charging timing circuit is solved, high-precision timing output is achieved, and the reliability and consistency of the chip are improved. sex.

CN221746444UActive Publication Date: 2024-09-20上海帝迪集成电路设计有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202420282534.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-09-20
Estimated Expiration
2034-02-06

AI Technical Summary

Technical Problem

In actual applications, the existing capacitor charging timing circuit has a large timing output deviation due to process deviation, which affects the reliability and consistency of the chip.

Method used

A capacitor charging and discharging oscillator is used to modify the current instead of the bias current, and a clamp circuit is set between the signal input terminal and the timing switch node so that the starting point of the charging timing slope starts from 0, eliminating current spikes caused by parasitic capacitive coupling.

Benefits of technology

The capacitor charging timing accuracy is greatly improved, the timing output deviation is reduced to less than ±10%, and the performance and reliability of the chip are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221746444U
    Figure CN221746444U
Patent Text Reader

Abstract

The utility model provides a circuit for improving capacitor charging timing precision, a bias current I in an edge trigger capacitor charging timing circuit is replaced by a capacitor charging and discharging oscillator trimming current, and a clamping circuit is added and is arranged between a signal input end A and a timing switch node B. According to the utility model, the capacitor charging and discharging oscillator trimming current is used for replacing the original bias current, so that the oscillator capacitor trimming current related to the capacitor technology is generated in the capacitor charging and discharging oscillator, and the change of the slope slope along with the current and the capacitor technology during charging timing can be thoroughly improved; meanwhile, the clamping circuit is arranged between the signal input end A and the timing switch node B, so that the timing switch node B does not have a voltage jump phenomenon in the rising edge change process of the signal input end A from low to high, the current peak caused by parasitic capacitance coupling originally disappears, the slope timing starting point is started from 0, and the slope timing time is increased. And the timing precision of the capacitor is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of semiconductor capacitor timing circuits, and in particular to a circuit for improving the timing accuracy of capacitor charging. Background Art

[0002] Power management chips are used to manage batteries and electrical energy, including various chargers, converters, wireless chargers, driver chips, etc., and are widely used in life, industry, and automobile fields. Various timing circuits are often used in specific chip circuit design. For example, in order to avoid the sharp drop in efficiency and reliability problems caused by the direct pass of the switch power tube, it is necessary to generate accurate switch tube dead time; driving the PWM generator mode switch often requires various duty cycle signals; various logic controls require fixed pulse generators, etc.

[0003] Among them, the timing circuit that uses current to charge the capacitor to generate a ramp is widely used because it is simple, reliable, and easy to adjust. Figure 1 As shown, it is a conventional edge-triggered capacitor charging timing circuit. The input clock signal A charges or discharges the capacitor through the inverter I1, the first PMOS control switch PM5, and the first NMOS control switch NM1. The current I generates a charging current for the timing capacitor C_time through the current mirror of PM1-PM4. The comparator I2 determines the timing end point, and the timing pulse is output through the inverter I3 and the AND gate I4. The timing pulse is a positive pulse. The comparator can also be changed to a Schmitt trigger.

[0004] Working waveform Figure 2 As shown by the solid line: when A is at a low level, the first NMOS control switch NM1 is turned on, and the capacitor C_time hanging at point C is discharged to the ground potential, the comparator I2 outputs a low level, and the inverter I3 outputs a high level. Since A is low at this time, the AND gate I4 outputs Y at a low level; when A flips to a high level, the first PMOS control switch PM5 is turned on, and the capacitor hanging at point C is charged, and a slope begins to be generated, but at first the voltage at point C is less than Vref, the comparator outputs a low level, the inverter I3 outputs a high level, and the AND gate output Y is still a high level; as the C slope continues to rise, when the slope threshold reaches the reverse input voltage Vref of the comparator, the comparator I2 flips to a high level, is low through the inverter I3, and the AND gate I4 outputs Y to a low level, and the capacitor charging timing ends.

[0005] However, when testing finished products after actual tape-out, point C and timing output point Y often become Figure 2 The waveform shown by the dotted line in the middle shows that the final timing output Y deviation has a large deviation. On the one hand, there will be a Figure 2The arc steps shown by the circle have random heights ranging from tens of millivolts to hundreds of millivolts. On the other hand, due to the deviation of capacitance and current with the process, the capacitor charging slope at point C will also deviate from the design value, with a dispersed slope, fluctuating up and down. The final timing output deviation is ±10-60%, and the deviation has a random distribution characteristic, which will lead to a large difference in consistency during chip mass production, reduce chip performance, and even affect reliability and damage the chip. In summary, the industry is in urgent need of a circuit to improve the accuracy of capacitor charging timing. Utility Model Content

[0006] In response to the problems existing in the prior art, the utility model provides a circuit for improving the accuracy of capacitor charging timing, improving the problem that the original capacitor timing has large and random deviations due to process changes, improving the timing accuracy, making the capacitor timing accuracy consistent during chip mass production, and increasing the reliability of the chip.

[0007] In order to achieve the above technical objectives, the utility model adopts the following technical solutions: a circuit for improving the accuracy of capacitor charging timing, replacing the bias current I in the edge-triggered capacitor charging timing circuit with the capacitor charging and discharging oscillator adjustment current, so as to avoid the slope of the charging timing slope C changing with the current and capacitor process; adding a clamping circuit, wherein the clamping circuit is arranged between the signal input terminal A and the timing switch node B, and the voltage of the timing switch node B is clamped by the clamping circuit, so that the starting point of the charging timing slope C starts from 0.

[0008] Furthermore, the edge-triggered capacitor charging timing circuit includes: a first current mirror PM1, a second current mirror PM2, a third current mirror PM3, a fourth current mirror PM4, a first PMOS control switch PM5, a first NMOS control switch NM1, a first capacitor C_time, a first inverter I1, a first comparator I2, a second inverter I3 and an AND gate I4, the source of the first current mirror PM1 and the source of the third current mirror PM3 are both connected to the access voltage VCC, the gate of the first current mirror PM1 is respectively connected to the gate of the third current mirror PM3, the source of the second current mirror PM2, and the drain of the first current mirror PM1, the gate of the second current mirror PM2 is respectively connected to the gate of the fourth current mirror PM4 and the drain of the second current mirror PM2; the drain of the third current mirror PM3 is connected to the source of the fourth current mirror PM4, and the The drain of the fourth current mirror PM4 and the source of the first PMOS control switch PM5 are both connected to the timing switch node B, the output end of the first inverter I1 is respectively connected to the gate of the first PMOS control switch PM5 and the gate of the first NMOS control switch NM1, the drain of the first PMOS control switch PM5 and the drain of the first NMOS control switch PM1 are respectively connected to one end of the first capacitor C_time and the non-inverting input end of the first comparator I2, the output end of the first comparator I2 is connected to the input end of the second inverter I3, the output end of the second inverter I3 is connected to the first input end of the AND gate I4, the second input end of the AND gate I4 and the input end of the first inverter I1 are both connected to the signal input end A; the source of the first NMOS control switch NM1 and the other end of the first capacitor C_time are both grounded.

[0009] Furthermore, the clamping circuit includes: a resistor R1 and a second PMOS control switch PM6, one end of the resistor R1 is connected to the drain of the second PMOS control switch PM6, the other end of the resistor R1 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B.

[0010] Furthermore, the clamping circuit is a second PMOS control switch PM6, the drain of the second PMOS control switch PM6 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B.

[0011] Furthermore, the size of the second PMOS control switch PM6 is the same as the size of the first PMOS control switch PM5.

[0012] Furthermore, the clamping circuit includes: a second PMOS control switch PM6 and a second NMOS switch tube NM2, the source of the second PMOS control switch PM6 is connected to the timing switch node B, the drain of the second PMOS control switch PM6 is connected to the drain of the second NMOS switch tube NM2, the source of the second NMOS switch tube NM2 is grounded, and the gate of the second PMOS control switch PM6 and the gate of the second NMOS switch tube NM2 are both connected to the signal input terminal A.

[0013] Furthermore, the size of the second PMOS control switch PM6 is the same as that of the first control switch PM5 , and the size of the second NMOS switch tube NM2 is the same as that of the first NMOS control switch NM1 .

[0014] Furthermore, the capacitor charge and discharge oscillator includes: a bias current, a trimming circuit, a control switch, a second capacitor C, a third NMOS switch tube NM3, a second comparator and a digital logic circuit. The input end of the bias current is connected to the access voltage VCC, and the output end of the bias current is connected to the trimming circuit. The trimming circuit is respectively connected to the drain of the second current mirror PM2 and the control switch. The control switch is also respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input end of the second comparator. The other end of the second capacitor C is grounded, and the gate of the third NMOS switch tube NM3, the output end of the second comparator, and the input end of the digital logic circuit are connected.

[0015] Further, the trimming circuit includes: a first trimming switch S1, a second trimming switch S2, a third trimming switch S3, a fourth trimming switch S4, a first trimming current mirror NM4, a second trimming current mirror NM5, a third trimming current mirror NM6, a fourth trimming current mirror NM7, a fifth trimming current mirror NM8, a sixth trimming current mirror NM9, a seventh trimming current mirror NM10, an eighth trimming current mirror NM11, a ninth trimming current mirror NM12, a tenth trimming current mirror NM13, an eleventh trimming current mirror NM14, a twelfth trimming current mirror NM15, a thirteenth trimming current mirror NM16, and a fourteenth trimming current mirror NM17, and the output ends of the bias current are respectively connected to One end of the first trimming switch S1, one end of the second trimming switch S2, one end of the third trimming switch S3, one end of the fourth trimming switch S4, the drain of the first trimming current mirror NM4, the gate of the first trimming current mirror NM4, the gate of the second trimming current mirror NM5, the gate of the third trimming current mirror NM6, the gate of the fourth trimming current mirror NM7, the gate of the fifth trimming current mirror NM8, the gate of the sixth trimming current mirror NM9, and the gate of the seventh trimming current mirror NM10 are connected, the other end of the first trimming switch S1 is connected to the drain of the second trimming current mirror NM5, the other end of the second trimming switch S2 is connected to the drain of the third trimming current mirror NM6, and the third The other end of the trimming switch S3 is connected to the drain of the fourth trimming current mirror NM7, the other end of the fourth trimming switch S4 is connected to the drain of the fifth trimming current mirror NM8, the drain of the sixth trimming current mirror NM9 is connected to the control switch, and the drain of the seventh trimming current mirror NM10 is connected to the drain of the second current mirror PM2; the source of the first trimming current mirror NM4 is respectively connected to the drain of the eighth trimming current mirror NM11, the gate of the eighth trimming current mirror NM11, the gate of the ninth trimming current mirror NM12, the gate of the tenth trimming current mirror NM13, the gate of the eleventh trimming current mirror NM14, the gate of the twelfth trimming current mirror NM15, and the gate of the thirteenth trimming current mirror NM16. The gate of the trimming current mirror NM16 and the gate of the fourteenth trimming current mirror NM17 are connected, the drain of the ninth trimming current mirror NM12 is connected to the source of the second trimming current mirror NM5, the drain of the tenth trimming current mirror NM13 is connected to the source of the third trimming current mirror NM6, the drain of the eleventh trimming current mirror NM14 is connected to the source of the fourth trimming current mirror NM7, the drain of the twelfth trimming current mirror NM15 is connected to the source of the fifth trimming current mirror NM8, the drain of the thirteenth trimming current mirror NM16 is connected to the source of the sixth trimming current mirror NM9, and the drain of the fourteenth trimming current mirror NM17 is connected to the source of the seventh trimming current mirror NM10;The source of the eighth trimming current mirror NM11, the source of the ninth trimming current mirror NM12, the source of the tenth trimming current mirror NM13, the source of the eleventh trimming current mirror NM14, the source of the twelfth trimming current mirror NM15, the source of the thirteenth trimming current mirror NM16, and the source of the fourteenth trimming current mirror NM17 are all grounded. ;

[0016] Further, the control switch includes: a first control switch PM7, a second control switch PM8, a third control switch PM9, and a fourth control switch PM10. The source of the first control switch PM7 and the source of the second control switch PM8 are both connected to the access voltage VCC, the gate of the first control switch PM7 is respectively connected to the drain of the first control switch PM7, the source of the third control switch PM9, and the gate of the second control switch PM8, the gate of the third control switch PM9 is respectively connected to the gate of the fourth control switch PM10, the drain of the third control switch PM9, and the drain of the sixth trimming current mirror NM9, the source of the fourth control switch PM10 is connected to the drain of the second control switch PM8, and the drain of the fourth control switch PM10 is respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input terminal of the second comparator.

[0017] Compared with the prior art, the utility model has the following beneficial effects: the utility model improves the accuracy of capacitor charging timing by replacing the original bias current with the capacitor charging and discharging oscillator trimming current, so that the capacitor charging and discharging oscillator generates an oscillator capacitor trimming current related to the capacitor process, which can completely improve the charging timing slope slope changing with the current and capacitor process; at the same time, a clamping circuit is set between the signal input terminal A and the timing switch node B, so that the timing switch node B no longer has a voltage mutation phenomenon during the rising edge change of the signal input terminal A from low to high, the current spike caused by the original parasitic capacitance coupling disappears, the slope timing starting point becomes 0, and the timing output deviation is reduced to less than ±10%, which greatly improves the capacitor timing accuracy, makes the mass-produced chip capacitor timing circuit consistent, and enhances the performance and reliability of the chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the structure of a traditional edge-triggered capacitor charging timing circuit;

[0019] Figure 2 It is the working waveform diagram of the traditional edge-triggered capacitor charging timing circuit;

[0020] Figure 3 This is a schematic diagram of a circuit for improving the timing accuracy of capacitor charging according to the utility model;

[0021] Figure 4This is a schematic diagram of the circuit structure of the capacitor charging and discharging oscillator in the utility model;

[0022] Figure 5 This is the arc step diagram of the starting point of the traditional capacitor timing slope;

[0023] Figure 6 This is a schematic diagram of the effect of the circuit for improving the timing accuracy of capacitor charging according to the utility model;

[0024] Figure 7 This is a schematic diagram of a circuit for improving the timing accuracy of capacitor charging in Example 1;

[0025] Figure 8 This is a circuit diagram for improving the capacitor charging timing accuracy in Example 2;

[0026] Fig. 9 This is a circuit diagram for improving the timing accuracy of capacitor charging according to Example 3. DETAILED DESCRIPTION

[0027] The technical solution of the utility model is further explained below in conjunction with the accompanying drawings.

[0028] like Figure 1 The edge-triggered capacitor charging timing circuit includes: a first current mirror PM1, a second current mirror PM2, a third current mirror PM3, a fourth current mirror PM4, a first PMOS control switch PM5, a first NMOS control switch NM1, a first capacitor C_time, a first inverter I1, a first comparator I2, a second inverter I3 and an AND gate I4. The source of the first current mirror PM1 and the source of the third current mirror PM3 are both connected to the access voltage VCC, the gate of the first current mirror PM1 is respectively connected to the gate of the third current mirror PM3, the source of the second current mirror PM2, and the drain of the first current mirror PM1, the gate of the second current mirror PM2 is respectively connected to the gate of the fourth current mirror PM4 and the drain of the second current mirror PM2; the drain of the third current mirror PM3 is connected to the source of the fourth current mirror PM4, and the gate of the first current mirror PM1 is respectively connected to the gate of the third current mirror PM3, the source of the second current mirror PM2, and the drain of the first current mirror PM1. The drain of the four current mirrors PM4 and the source of the first PMOS control switch PM5 are both connected to the timing switch node B, the output end of the first inverter I1 is respectively connected to the gate of the first PMOS control switch PM5 and the gate of the first NMOS control switch NM1, the drain of the first PMOS control switch PM5 and the drain of the first NMOS control switch PM1 are respectively connected to one end of the first capacitor C_time and the non-inverting input end of the first comparator I2, the output end of the first comparator I2 is connected to the input end of the second inverter I3, the output end of the second inverter I3 is connected to the first input end of the AND gate I4, the second input end of the AND gate I4 and the input end of the first inverter I1 are both connected to the signal input end A; the source of the first NMOS control switch NM1 and the other end of the first capacitor C_time are both grounded.

[0029] like Figure 3 The utility model provides a circuit for improving the accuracy of capacitor charging timing, replacing the bias current I in the edge-triggered capacitor charging timing circuit with the capacitor charging and discharging oscillator trimming current, generating a trimming current related to the capacitor process deviation in the capacitor charging and discharging oscillator, and matching the charging current with the process variation of the capacitor one by one to make the charging slope consistent; adding a clamping circuit, the clamping circuit is set between the signal input terminal A and the timing switch node B, so that the starting point of the charging slope starts from 0, eliminating the starting arc step, and solving the current spike problem of parasitic capacitance coupling. Figure 6 When the signal input terminal A is at a low level, the timing switch node B is clamped to a voltage position close to the Vgs voltage of the first PMOS control switch PM5, and Y outputs a low level; when the signal input terminal A changes from low to high, the voltage of the timing switch node B will not change suddenly, suppressing the peak of the charging current at point C, so that the starting point of the capacitor timing starts from zero. Through the above two improvements, the utility model can fundamentally solve the deviation of the capacitor timing caused by the process and parasitic coupling, and greatly improve the accuracy of the capacitor charging timing.

[0030] like Figure 4 The capacitor charge-discharge oscillator in the utility model includes: a bias current, a trimming circuit, a control switch, a second capacitor C, a third NMOS switch tube NM3, a second comparator and a digital logic circuit. The input end of the bias current is connected to the access voltage VCC, and the output end of the bias current is connected to the trimming circuit. The trimming circuit is respectively connected to the drain of the second current mirror PM2 and the control switch. The control switch is also respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input end of the second comparator. The other end of the second capacitor C is grounded, and the gate of the third NMOS switch tube NM3, the output end of the second comparator, and the input end of the digital logic circuit are connected.

[0031] The trimming circuit in the utility model comprises: a first trimming switch S1, a second trimming switch S2, a third trimming switch S3, a fourth trimming switch S4, a first trimming current mirror NM4, a second trimming current mirror NM5, a third trimming current mirror NM6, a fourth trimming current mirror NM7, a fifth trimming current mirror NM8, a sixth trimming current mirror NM9, a seventh trimming current mirror NM10, an eighth trimming current mirror NM11, a ninth trimming current mirror NM12, a tenth trimming current mirror NM13, an eleventh trimming current mirror NM14, a twelfth trimming current mirror NM15, a thirteenth trimming current mirror NM16, and a fourteenth trimming current mirror NM17, wherein the output ends of the bias current are respectively connected to one end of the first trimming switch S1, one end of the second trimming switch S2, One end of the third trimming switch S3, one end of the fourth trimming switch S4, the drain of the first trimming current mirror NM4, the gate of the first trimming current mirror NM4, the gate of the second trimming current mirror NM5, the gate of the third trimming current mirror NM6, the gate of the fourth trimming current mirror NM7, the gate of the fifth trimming current mirror NM8, the gate of the sixth trimming current mirror NM9, and the gate of the seventh trimming current mirror NM10 are connected, the other end of the first trimming switch S1 is connected to the drain of the second trimming current mirror NM5, the other end of the second trimming switch S2 is connected to the drain of the third trimming current mirror NM6, the other end of the third trimming switch S3 is connected to the drain of the fourth trimming current mirror NM7, and the other end of the fourth trimming switch S4 is connected to the drain of the fifth trimming current mirror NM8. The drain of the sixth trimming current mirror NM9 is connected to the control switch, the drain of the seventh trimming current mirror NM10 is connected to the drain of the second current mirror PM2; the source of the first trimming current mirror NM4 is respectively connected to the drain of the eighth trimming current mirror NM11, the gate of the eighth trimming current mirror NM11, the gate of the ninth trimming current mirror NM12, the gate of the tenth trimming current mirror NM13, the gate of the eleventh trimming current mirror NM14, the gate of the twelfth trimming current mirror NM15, the gate of the thirteenth trimming current mirror NM16, and the gate of the fourteenth trimming current mirror NM17, the drain of the ninth trimming current mirror NM12 is connected to the source of the second trimming current mirror NM5, the drain of the tenth trimming current mirror NM13 is connected to the source of the third trimming current mirror The source of the eighth trimming current mirror NM11, the source of the ninth trimming current mirror NM12, the source of the tenth trimming current mirror NM13, the source of the eleventh trimming current mirror NM14, the source of the twelfth trimming current mirror NM15, the source of the thirteenth trimming current mirror NM16, the source of the thirteenth trimming current mirror NM16, and the source of the fourteenth trimming current mirror NM17 are all grounded.

[0032] The control switch in the utility model includes: a first control switch PM7, a second control switch PM8, a third control switch PM9, and a fourth control switch PM10. The source of the first control switch PM7 and the source of the second control switch PM8 are both connected to the access voltage VCC. The gate of the first control switch PM7 is respectively connected to the drain of the first control switch PM7, the source of the third control switch PM9, and the gate of the second control switch PM8. The gate of the third control switch PM9 is respectively connected to the gate of the fourth control switch PM10, the drain of the third control switch PM9, and the drain of the sixth trimming current mirror NM9. The source of the fourth control switch PM10 is connected to the drain of the second control switch PM8. The drain of the fourth control switch PM10 is respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input end of the second comparator.

[0033] The bias current Ib passes through the first to fourth trimming switches S1-S4 and the first to fourteenth trimming current mirrors NM4-NM17, and finally generates a mirror current I_osc1, which generates a sawtooth wave for the capacitor charging and discharging, and then generates the chip internal clock signal clk through the second comparator and digital logic circuit. Because of process deviation, the chip usually tests the finished clock frequency, and adjusts it to the expected frequency by turning on and off the first to fourth trimming switches S1-S4. In this process, a current in the same direction and proportion as the capacitor process deviation will be generated, which can be mirrored, such as Figure 4 By directing the I_osc current to the capacitor timing chip, the random slope variation of point C caused by the variation of the current and capacitor process angle can be compensated.

[0034] After introducing the current I_osc that is consistent with the capacitor process variation, the timing slope at point C still has a random arc step, such as Figure 5 As shown, the reason for this is that when the signal input terminal A is at a low level, Figure 1The first NMOS control switch NM1 in the circuit is turned on, the capacitor at point C is discharged and pulled to the ground potential, but at the same time the first PMOS control switch PM5 is turned off, and the timing switch node B is pulled to the internal VCC voltage by the current mirrored by the third current mirror PM3 and the fourth current mirror PM4; at the moment when the signal input terminal A changes from low to high, the first NMOS control switch NM1 is turned off, and the first PMOS control switch PM5 is turned on, the timing switch node B voltage changes sharply from VCC to the Vgs voltage of the first PMOS control switch PM5, which will cause the coupling of the parasitic capacitance Cp1 and Cp2 between the drain and the gate of the third current mirror PM3 and the fourth current mirror PM4, resulting in the gate potential of the third current mirror PM3 and the fourth current mirror PM4 to be undershot, causing the current that instantly charges the capacitor at point C to generate a spike, resulting in a circular arc step at point C, ranging from tens of millivolts to hundreds of millivolts, and the specific step size is jointly determined by the actual parasitic capacitance, the coupling current spike and the timing capacitance value at point C, and varies randomly with the process. In order to solve this problem, the utility model provides three clamping circuits.

[0035] Example 1

[0036] This embodiment further provides a clamping circuit based on the introduction of the above-mentioned capacitor charging and discharging oscillator. Figure 7 The clamping circuit includes: a resistor R1 and a second PMOS control switch PM6, one end of the resistor R1 is connected to the drain of the second PMOS control switch PM6, the other end of the resistor R1 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B. The value of the resistor R1 is calculated according to the magnitude of the timing charging current I_time and the target clamping value, that is, the gate of the first PMOS control switch PM5 is 0, the point C is 0, and the Vgs voltage when I_time flows through is calculated.

[0037] When the signal input terminal A is at a low level, the second PMOS control switch PM6 is turned on, and the timing charging current I_time flows through the resistor R1, generating a clamping voltage to limit the voltage of the timing switch node B; when the signal input terminal A changes from a low level to a high level, the timing switch node B will not experience a large voltage mutation, and the timing charging current I_time will not generate a large peak current due to the coupling of the parasitic capacitors Cp1 and Cp2, so the starting point of the slope timing at point C starts from 0, which completely improves the shortcomings of the traditional circuit with large and random timing deviations, greatly improves the timing accuracy, and finally achieves the consistency of the performance of the mass-produced chip capacitor timing circuit, reducing the timing output deviation to less than ±10%.

[0038] Example 2

[0039] This embodiment further provides a clamping circuit based on the introduction of the above-mentioned capacitor charging and discharging oscillator. Figure 8 , the clamping circuit is the second PMOS control switch PM6, the drain of the second PMOS control switch PM6 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B; the size of the second PMOS control switch PM6 is the same as that of the first PMOS control switch PM5, so that in the chip tape-out process, the process deviations of the two are the same, and the robustness is better. When the signal input terminal A is at a low level, the clamping voltage of the timing switch node B is consistent with the target voltage, that is, the gate of the first PMOS control switch PM5 is 0, the point C is 0, and the Vgs voltage when I_time flows is consistent, and it can resist process changes, and can well achieve a significant improvement in the accuracy of capacitor charging timing, and reduce the timing output deviation to less than ±10%.

[0040] Example 3

[0041] This embodiment further provides a clamping circuit based on the introduction of the above-mentioned capacitor charging and discharging oscillator. Fig. 9 The clamping circuit includes: a second PMOS control switch PM6 and a second NMOS switch tube NM2, the source of the second PMOS control switch PM6 is connected to the timing switch node B, the drain of the second PMOS control switch PM6 is connected to the drain of the second NMOS switch tube NM2, the source of the second NMOS switch tube NM2 is grounded, and the gate of the second PMOS control switch PM6 and the gate of the second NMOS switch tube NM2 are both connected to the signal input terminal A; the size of the second PMOS control switch PM6 is the same as the size of the first PMOS control switch PM5, and the size of the second NMOS switch tube NM2 is the same as the size of the first NMOS control switch NM1. When the signal input terminal A is at a low level, the clamping circuit of the timing switch node B starts to work, so that the voltage of the timing switch node B is completely consistent with the voltage of the timing switch node B at the moment when the rising edge of the signal input terminal A arrives, the timing switch node B will not change suddenly, and it can also resist process changes, and can well achieve a significant improvement in the accuracy of capacitor charging timing, and reduce the timing output deviation to less than ±10%.

[0042] The above are only preferred implementations of the utility model. The protection scope of the utility model is not limited to the above embodiments. All technical solutions under the idea of ​​the utility model belong to the protection scope of the utility model. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the utility model should be regarded as the protection scope of the utility model.

Claims

1. A circuit for improving the timing accuracy of capacitor charging, characterized in that: The bias current I in the edge-triggered capacitor charging timing circuit is replaced with the capacitor charging and discharging oscillator trimming current to prevent the slope of the charging timing ramp C from changing with the current and capacitor process; a clamping circuit is added, and the clamping circuit is arranged between the signal input terminal A and the timing switch node B. The voltage of the timing switch node B is clamped by the clamping circuit, so that the starting point of the charging timing ramp C starts from 0.

2. A circuit for improving capacitor charging timing accuracy according to claim 1, characterized in that: The edge-triggered capacitor charging timing circuit includes: a first current mirror PM1, a second current mirror PM2, a third current mirror PM3, a fourth current mirror PM4, a first PMOS control switch PM5, a first NMOS control switch NM1, a first capacitor C_time, a first inverter I1, a first comparator I2, a second inverter I3 and an AND gate I4, the source of the first current mirror PM1 and the source of the third current mirror PM3 are both connected to the access voltage VCC, the gate of the first current mirror PM1 is respectively connected to the gate of the third current mirror PM3, the source of the second current mirror PM2 and the drain of the first current mirror PM1, the gate of the second current mirror PM2 is respectively connected to the gate of the fourth current mirror PM4 and the drain of the second current mirror PM2; the drain of the third current mirror PM3 is connected to the source of the fourth current mirror PM4, and the The drain of the four current mirrors PM4 and the source of the first PMOS control switch PM5 are both connected to the timing switch node B, the output end of the first inverter I1 is respectively connected to the gate of the first PMOS control switch PM5 and the gate of the first NMOS control switch NM1, the drain of the first PMOS control switch PM5 and the drain of the first NMOS control switch PM1 are respectively connected to one end of the first capacitor C_time and the non-inverting input end of the first comparator I2, the output end of the first comparator I2 is connected to the input end of the second inverter I3, the output end of the second inverter I3 is connected to the first input end of the AND gate I4, the second input end of the AND gate I4 and the input end of the first inverter I1 are both connected to the signal input end A; the source of the first NMOS control switch NM1 and the other end of the first capacitor C_time are both grounded.

3. A circuit for improving capacitor charging timing accuracy according to claim 2, characterized in that: The clamping circuit includes: a resistor R1 and a second PMOS control switch PM6, one end of the resistor R1 is connected to the drain of the second PMOS control switch PM6, the other end of the resistor R1 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B.

4. A circuit for improving capacitor charging timing accuracy according to claim 2, characterized in that: The clamping circuit is a second PMOS control switch PM6, the drain of the second PMOS control switch PM6 is grounded, the gate of the second PMOS control switch PM6 is connected to the signal input terminal A, and the source of the second PMOS control switch PM6 is connected to the timing switch node B.

5. A circuit for improving capacitor charging timing accuracy according to claim 4, characterized in that: The size of the second PMOS control switch PM6 is the same as the size of the first PMOS control switch PM5.

6. A circuit for improving capacitor charging timing accuracy according to claim 2, characterized in that: The clamping circuit includes: a second PMOS control switch PM6 and a second NMOS switch tube NM2, the source of the second PMOS control switch PM6 is connected to the timing switch node B, the drain of the second PMOS control switch PM6 is connected to the drain of the second NMOS switch tube NM2, the source of the second NMOS switch tube NM2 is grounded, and the gate of the second PMOS control switch PM6 and the gate of the second NMOS switch tube NM2 are both connected to the signal input terminal A.

7. A circuit for improving capacitor charging timing accuracy according to claim 6, characterized in that: The size of the second PMOS control switch PM6 is the same as that of the first PMOS control switch PM5 , and the size of the second NMOS switch tube NM2 is the same as that of the first NMOS control switch NM1 .

8. A circuit for improving capacitor charging timing accuracy according to claim 2, characterized in that: The capacitor charge and discharge oscillator includes: a bias current, a trimming circuit, a control switch, a second capacitor C, a third NMOS switch tube NM3, a second comparator and a digital logic circuit. The input end of the bias current is connected to the access voltage VCC, and the output end of the bias current is connected to the trimming circuit. The trimming circuit is respectively connected to the drain of the second current mirror PM2 and the control switch. The control switch is also respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input end of the second comparator. The other end of the second capacitor C is grounded, and the gate of the third NMOS switch tube NM3, the output end of the second comparator, and the input end of the digital logic circuit are connected.

9. A circuit for improving capacitor charging timing accuracy according to claim 8, characterized in that: The trimming circuit includes: a first trimming switch S1, a second trimming switch S2, a third trimming switch S3, a fourth trimming switch S4, a first trimming current mirror NM4, a second trimming current mirror NM5, a third trimming current mirror NM6, a fourth trimming current mirror NM7, a fifth trimming current mirror NM8, a sixth trimming current mirror NM9, a seventh trimming current mirror NM10, an eighth trimming current mirror NM11, a ninth trimming current mirror NM12, a tenth trimming current mirror NM13, an eleventh trimming current mirror NM14, a twelfth trimming current mirror NM15, a thirteenth trimming current mirror NM16, and a fourteenth trimming current mirror NM17, wherein the output ends of the bias current are connected to the first trimming switch S1, a second trimming switch S2, a third trimming switch S3, a fourth trimming switch S4, a first trimming current mirror NM4, a second trimming current mirror NM5, a third trimming current mirror NM6, a fourth trimming current mirror NM7, a fifth trimming current mirror NM8, a sixth trimming current mirror NM9, a seventh trimming current mirror NM10, an eighth trimming current mirror NM11, a ninth trimming current mirror NM12, a tenth trimming current mirror NM13, an eleventh trimming current mirror NM14, a twelfth trimming current mirror NM15, a thirteenth trimming current mirror NM16, and a fourteenth trimming current mirror NM17, respectively. One end of the switch S1, one end of the second trimming switch S2, one end of the third trimming switch S3, one end of the fourth trimming switch S4, the drain of the first trimming current mirror NM4, the gate of the first trimming current mirror NM4, the gate of the second trimming current mirror NM5, the gate of the third trimming current mirror NM6, the gate of the fourth trimming current mirror NM7, the gate of the fifth trimming current mirror NM8, the gate of the sixth trimming current mirror NM9, and the gate of the seventh trimming current mirror NM10 are connected, the other end of the first trimming switch S1 is connected to the drain of the second trimming current mirror NM5, the other end of the second trimming switch S2 is connected to the drain of the third trimming current mirror NM6, and the third trimming switch The other end of the switch S3 is connected to the drain of the fourth trimming current mirror NM7, the other end of the fourth trimming switch S4 is connected to the drain of the fifth trimming current mirror NM8, the drain of the sixth trimming current mirror NM9 is connected to the control switch, and the drain of the seventh trimming current mirror NM10 is connected to the drain of the second current mirror PM2; the source of the first trimming current mirror NM4 is respectively connected to the drain of the eighth trimming current mirror NM11, the gate of the eighth trimming current mirror NM11, the gate of the ninth trimming current mirror NM12, the gate of the tenth trimming current mirror NM13, the gate of the eleventh trimming current mirror NM14, the gate of the twelfth trimming current mirror NM15, the gate of the thirteenth trimming current mirror NM16, the gate of the twelfth trimming current mirror NM17, the gate of the twelfth trimming current mirror NM18, the gate of the twelfth trimming current mirror NM19, the gate of the twelfth trimming current mirror NM20, the gate of the twelfth trimming current mirror NM21, the gate of the twelfth trimming current mirror NM22, the gate of the twelfth trimming current mirror NM23, the gate of the twelfth trimming current mirror NM24, the gate of the twelfth trimming current mirror NM25, the gate of the twelfth trimming current mirror NM26, the gate of the twelfth trimming current mirror NM27, the gate of the twelfth trimming current mirror NM28, the gate of the twelfth trimming current mirror NM29, the gate of the twelfth trimming current mirror NM30, the gate of the twelfth trimming current mirror NM31, the gate of the twelfth trimming current mirror NM32, The gate of the fourth trimming current mirror NM16 is connected to the gate of the fourteenth trimming current mirror NM17, the drain of the ninth trimming current mirror NM12 is connected to the source of the second trimming current mirror NM5, the drain of the tenth trimming current mirror NM13 is connected to the source of the third trimming current mirror NM6, the drain of the eleventh trimming current mirror NM14 is connected to the source of the fourth trimming current mirror NM7, the drain of the twelfth trimming current mirror NM15 is connected to the source of the fifth trimming current mirror NM8, the drain of the thirteenth trimming current mirror NM16 is connected to the source of the sixth trimming current mirror NM9, and the drain of the fourteenth trimming current mirror NM17 is connected to the source of the seventh trimming current mirror NM10;The source of the eighth trimming current mirror NM11, the source of the ninth trimming current mirror NM12, the source of the tenth trimming current mirror NM13, the source of the eleventh trimming current mirror NM14, the source of the twelfth trimming current mirror NM15, the source of the thirteenth trimming current mirror NM16, and the source of the fourteenth trimming current mirror NM17 are all grounded. ; 10. A circuit for improving capacitor charging timing accuracy according to claim 9, characterized in that: The control switch includes: a first control switch PM7, a second control switch PM8, a third control switch PM9, and a fourth control switch PM10. The source of the first control switch PM7 and the source of the second control switch PM8 are both connected to the access voltage VCC. The gate of the first control switch PM7 is respectively connected to the drain of the first control switch PM7, the source of the third control switch PM9, and the gate of the second control switch PM8. The gate of the third control switch PM9 is respectively connected to the gate of the fourth control switch PM10, the drain of the third control switch PM9, and the drain of the sixth trimming current mirror NM9. The source of the fourth control switch PM10 is connected to the drain of the second control switch PM8. The drain of the fourth control switch PM10 is respectively connected to one end of the second capacitor C, the drain of the third NMOS switch tube NM3, and the non-inverting input terminal of the second comparator.

Citation Information

Cited By

  • High-precision current mirror

    CN120723017A

  • Signal delay trimming circuit

    CN120729247A

  • Semiconductor device and display device

    WO2026224593A1