Current comparator, flyback converter system and sampling comparison circuit

By designing the pre-amplification circuit and comparison circuit in the flyback converter system, and using common-mode voltage signals and differential signals for current comparison, the problems of high cost and narrow input range of traditional current comparators are solved, and high-speed, low-latency time and wide input range current comparison effect.

CN118646397APending Publication Date: 2024-09-133PEAK (SHANGHAI) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410681416.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The flyback converter system with traditional peak current control has an inductor current spike at the moment when the power tube is turned on, causing the secondary output to be short-circuited and the inductor current to increase abnormally. A high-threshold current comparator is required to prevent the system from operating abnormally, and the current comparator The cost is high and it is difficult to achieve low latency and wide input range.

Method used

Design a current comparator, including a preamplifier circuit and a comparison circuit, which generates a common-mode voltage signal through the input unit and amplification unit, and compares it through a differential signal, using less circuit area to achieve high-speed and low-latency current comparison. Meet wide input range requirements.

Benefits of technology

It implements a current comparator with smaller circuit area cost, supports wide input range and low delay, improves the performance of the current comparator, and avoids the problem of abnormal increase in inductor current in the traditional method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646397A
    Figure CN118646397A
Patent Text Reader

Abstract

The invention discloses a current comparator, a flyback converter system and a sampling comparison circuit, the current comparator comprises a pre-amplification circuit and a comparison circuit, the pre-amplification circuit comprises an input unit and an amplification unit, the input unit is used for generating a common-mode voltage signal based on a first input signal and a second input signal; the amplification unit is connected with the input unit, and the amplification unit is used for generating a first differential signal and a second differential signal based on the common-mode voltage signal; the comparison circuit is connected with the pre-amplification circuit. The comparison circuit is used for comparing the first differential signal with the second differential signal to generate an output signal. According to the invention, differential amplification processing is carried out on an input signal through the pre-amplification circuit, so that the current comparator achieves high speed and low time delay; and the second-stage structure is optimized, so that the current comparator meets the low input voltage requirement. According to the invention, a small circuit area is adopted to meet the requirement of a wide input range, meanwhile, high speed and low time delay are realized, and the performance of the current comparator is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of integrated circuits, and in particular relates to a current comparator, a flyback converter system and a sampling comparison circuit. Background Art

[0002] In the traditional peak current controlled flyback converter system, there is generally an inductor current spike at the moment the power tube is turned on. Therefore, a leading edge blanking time must be inserted to shield the peak current comparison circuit during this period to prevent the peak value from being detected incorrectly and the power tube from being shut down by mistake. Due to the existence of this period of time, when the secondary output is short-circuited, the inductor current cannot be demagnetized and the inductor current will increase abnormally. Therefore, a current comparator with a higher threshold is generally required to work only during the leading edge blanking time to obtain the abnormal point of the inductor current, thereby triggering protection and preventing the system from working abnormally. The leading edge blanking time in the flyback converter system is generally designed to be 100 to 200ns to adapt to the external poor transformer situation, so the comparator needs to be high-speed and low-latency, while taking into account the low input voltage requirements and wide input range requirements.

[0003] In order to achieve high speed, traditional current comparators use a multi-stage structure and the first stage uses a common source input structure. Each stage of rail-to-rail input current comparator has a large overhead and consumes a high tube area cost.

[0004] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0005] The object of the present invention is to provide a current comparator, a flyback converter system and a sampling comparison circuit, which can realize a current comparator with a wide input range and low delay at a relatively small circuit area cost.

[0006] In order to achieve the above object, a specific embodiment of the present invention provides a current comparator, the current comparator includes a pre-amplification circuit and a comparison circuit;

[0007] The pre-amplification circuit includes an input unit and an amplification unit, wherein the input unit is used to generate a common-mode voltage signal based on a first input signal and a second input signal, and the amplification unit is connected to the input unit, and the amplification unit is used to amplify the common-mode voltage signal to generate a first differential signal and a second differential signal;

[0008] The comparison circuit is connected to the pre-amplification circuit, and is used for comparing the first differential signal and the second differential signal to generate an output signal.

[0009] In one or more embodiments of the present invention, the input unit includes a first triode and a second triode;

[0010] The first end of the first transistor is used to receive a first input signal, the first end of the second transistor is used to receive a second input signal, the control end of the first transistor and the control end of the second transistor are connected to the amplification unit to generate a common-mode voltage signal, and the second end of the first transistor and the second end of the second transistor are connected to the amplification unit.

[0011] In one or more embodiments of the present invention, the amplification unit includes a first resistor and a second resistor, the first end of the first resistor and the first end of the second resistor are connected to the input unit to receive a common-mode voltage signal, the second end of the first resistor is connected to the input unit and a comparison circuit to generate a first differential signal, and the second end of the second resistor is connected to the input unit and the comparison circuit to generate a second differential signal.

[0012] In one or more embodiments of the present invention, the comparison circuit includes a first input pair of tubes and / or a second input pair of tubes, and the comparison circuit also includes a first current replication unit and a second current replication unit;

[0013] The control end of the first input pair of transistors is connected to the amplification unit to generate a first input current based on the first differential signal, and to generate a second input current based on the second differential signal; the control end of the second input pair of transistors is connected to the amplification unit to generate a third input current based on the second differential signal, and to generate a fourth input current based on the first differential signal;

[0014] The first current copy unit is connected to the first input pair of tubes to copy the first input current and generate a first mirror current, and the first current copy unit is connected to the second input pair of tubes to copy the third input current and generate a third mirror current;

[0015] The second current copy unit is connected to the first input pair of tubes to copy the second input current and generate a second mirror current, and the second current copy unit is connected to the second input pair of tubes to copy the fourth input current and generate a fourth mirror current;

[0016] The output end of the first current copy unit is connected to the output end of the second current copy unit to form an output port of the comparison circuit and compares the first mirror current and the second mirror current to generate a first output signal, or compares the third mirror current and the fourth mirror current to generate a second output signal.

[0017] In one or more embodiments of the present invention, the first input pair of transistors includes a first MOS transistor and a second MOS transistor, a first end of the first MOS transistor is connected to a first end of the second MOS transistor, a control end of the first MOS transistor is connected to an amplifying unit to receive a first differential signal, a second end of the first MOS transistor is connected to a first current copying unit, a control end of the second MOS transistor is connected to the amplifying unit to receive a second differential signal, and a second end of the second MOS transistor is connected to a second current copying unit;

[0018] The second input pair of transistors includes a third MOS transistor and a fourth MOS transistor, a first end of the third MOS transistor is connected to a first end of the fourth MOS transistor, a control end of the third MOS transistor is connected to an amplifying unit to receive a second differential signal, a second end of the third MOS transistor is connected to a first current copying unit, a control end of the fourth MOS transistor is connected to an amplifying unit to receive a first differential signal, and a second end of the fourth MOS transistor is connected to a second current copying unit.

[0019] In one or more embodiments of the present invention, the first current copy unit includes a first current mirror and a second current mirror, and the second current copy unit includes a third current mirror; the first current mirror is connected to the second end of the first input pair of tubes and the second current mirror, the third current mirror is connected to the second end of the first input pair of tubes, and the second current mirror is connected to the third current mirror to compare the first mirror current and the second mirror current and generate a first output signal; or,

[0020] The first current copy unit includes a first current mirror, a second current mirror and a fifth current mirror, the second current copy unit includes a third current mirror and a fourth current mirror; the fifth current mirror is connected to the second end of the second input pair tube, the first current mirror and the second current mirror, the fourth current mirror is connected to the second end of the second input pair tube and the third current mirror, the second current mirror is connected to the third current mirror to compare the third mirror current and the fourth mirror current and generate a second output signal; or,

[0021] The first current copying unit includes a first current mirror, a second current mirror and a fifth current mirror, and the second current copying unit includes a third current mirror and a fourth current mirror; the first current mirror is connected to the second end of the first input pair of tubes and the second current mirror; the fifth current mirror is connected to the second end of the second input pair of tubes, the first current mirror and the second current mirror; the third current mirror is connected to the second end of the first input pair of tubes; the fourth current mirror is connected to the second end of the second input pair of tubes and the third current mirror; the second current mirror is connected to the third current mirror to compare the first mirror current and the second mirror current and generate a first output signal, or to compare the third mirror current and the fourth mirror current and generate a second output signal.

[0022] In one or more embodiments of the present invention, the current comparator also includes a bias circuit, which is used to provide a corresponding bias current for the amplification unit, and the bias circuit is also used to provide a corresponding bias current for the first input pair of tubes and / or the second input pair of tubes.

[0023] In one or more embodiments of the present invention, the bias circuit includes a current source unit, a first mirror unit, a second mirror unit and a third mirror unit, and the current source unit is used to generate a first bias current;

[0024] The first mirror unit is connected to the current source unit and the amplifying unit, and the first mirror unit is used to mirror the first bias current to provide a corresponding bias current for the amplifying unit;

[0025] The second mirror unit is connected to the current source unit and the first end of the first input pair of tubes, and the second mirror unit is used to mirror the first bias current to provide a corresponding bias current for the first input pair of tubes;

[0026] The third mirror unit is connected to the current source unit and the first end of the second input pair of tubes, and the third mirror unit is used to mirror the first bias current to provide a corresponding bias current for the second input pair of tubes.

[0027] An embodiment of the present invention provides a flyback converter system, the system comprising a primary circuit and a secondary circuit, the primary circuit comprising the current comparator, trigger, buffer and primary switch tube described in any embodiment, the first input end of the current comparator being used to receive a reference current, the second input end of the current comparator being connected to the second end of the primary switch tube, the output end of the current comparator being connected to the first input end of the trigger, the second input end of the trigger being used to receive a clock signal, the output end of the trigger being connected to the first end of the buffer, the second end of the buffer being connected to the control end of the primary switch tube, and the first end of the primary switch tube being connected to a reference potential.

[0028] An embodiment of the invention provides a sampling and comparison circuit, which includes a current sampling circuit and a current comparator as described in any embodiment, wherein the current sampling circuit is used to sample two current signals to be compared respectively to obtain corresponding first input signals and second input signals.

[0029] Compared with the prior art, the current comparator, flyback converter system and sampling comparison circuit of the present invention perform differential amplification processing on the input signal through the pre-amplification circuit to make the current comparator high-speed and low-latency; optimize the second-level structure so that the current comparator meets the low input voltage requirement. The present invention uses less circuit area to meet the wide input range requirements, while achieving high speed and low latency, and the performance of the current comparator is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 This is a principle block diagram of a current comparator in Embodiment 1 of the present invention.

[0032] Figure 2 This is a circuit diagram of a current comparator in Embodiment 1 of the present invention.

[0033] Figure 3 This is a circuit diagram of a current comparator in Embodiment 2 of the present invention.

[0034] Figure 4 This is a circuit diagram of a current comparator in Embodiment 3 of the present invention.

[0035] Figure 5 This is a circuit diagram of a flyback converter system in Embodiment 4 of the present invention.

[0036] Figure 6 This is a principle block diagram of a sampling and comparison circuit in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0038] The term "coupled" or "connected" or "connected" in the specification includes both direct connection and indirect connection. Indirect connection is a connection through an intermediate medium, such as a connection through an electrically conductive medium, which may have parasitic inductance or parasitic capacitance; indirect connection may also include connection through other active or passive devices on the basis of achieving the same or similar functional purpose, such as connection through circuits or components such as switches and follower circuits. In addition, in the present invention, words such as "first" and "second" are mainly used to distinguish one technical feature from another technical feature, and do not necessarily require or imply that there is a certain actual relationship, quantity or order between these technical features.

[0039] like Figure 1 As shown, a current comparator in an embodiment of the present invention includes a pre-amplifier circuit 10, a comparison circuit 20 and a bias circuit 40. The bias circuit 40 is used to provide bias current for the pre-amplifier circuit 10 and the comparison circuit 20.

[0040] The pre-amplifier circuit 10 includes an input unit 11 and an amplifying unit 12. The input unit 11 is used to generate a common-mode voltage signal VX based on a first input signal V1 and a second input signal V2. The amplifying unit 12 is connected to the input unit 11 and is used to amplify the common-mode voltage signal VX to generate a first differential signal VA and a second differential signal VB.

[0041] The comparison circuit 20 is connected to the amplification unit 12 of the pre-amplification circuit 10 , and is used for comparing the first differential signal VA with the second differential signal VB to generate an output signal.

[0042] like Figure 2 As shown, the input unit 11 includes a first transistor Q1 and a second transistor Q2.

[0043] Among them, the first end of the first transistor Q1 is used to receive the first input signal V1, the first end of the second transistor Q2 is used to receive the second input signal V2, the control end of the first transistor Q1 and the control end of the second transistor Q2 are connected to the amplification unit 12 to generate a common-mode voltage signal VX, and the second end of the first transistor Q1 and the second end of the second transistor Q2 are connected to the amplification unit 12. Optionally, the first end of the transistor in this embodiment is the emitter, the second end is the collector, and the control end is the base.

[0044] like Figure 2As shown, in one embodiment, the amplification unit 12 includes a first resistor R1 and a second resistor R2. The first end of the first resistor R1 and the first end of the second resistor R2 are connected to the input unit 11 to receive the common mode voltage signal VX, the second end of the first resistor R1 is connected to the input unit 11 and the comparison circuit 20 to generate the first differential signal VA, and the second end of the second resistor R2 is connected to the input unit 11 and the comparison circuit 20 to generate the second differential signal VB.

[0045] like Figure 1 As shown, in this embodiment, the comparison circuit 20 includes a first input pair of transistors 21 , a second input pair of transistors 22 , a first current copying unit 23 and a second current copying unit 24 .

[0046] The control end of the first input pair transistor 21 is connected to the amplifying unit 12 to generate a first input current based on the first differential signal VA, and to generate a second input current based on the second differential signal VB. The control end of the second input pair transistor 22 is connected to the amplifying unit 12 to generate a third input current based on the second differential signal VB, and to generate a fourth input current based on the first differential signal VA.

[0047] The first current copying unit 23 is connected to the first input pair of tubes 21 and the second input pair of tubes 22. The first current copying unit 23 is used to copy the first input current and generate a first mirror current, or the first current copying unit 23 is used to copy the third input current and generate a third mirror current.

[0048] The second current copying unit 24 is connected to the first input pair of tubes 21 and the second input pair of tubes 22, and is used to copy the second input current and generate a second mirror current, or the second current copying unit 24 is used to copy the fourth input current and generate a fourth mirror current.

[0049] The output end of the first current copy unit 23 is connected to the output end of the second current copy unit 24 to form the output port VOUT of the comparison circuit 20 and compares the first mirror current and the second mirror current to generate a first output signal, or compares the third mirror current and the fourth mirror current to generate a second output signal.

[0050] like Figure 2As shown, in one embodiment, the first input pair of transistors 21 includes a first MOS transistor M1 and a second MOS transistor M2. The first end of the first MOS transistor M1 is connected to the first end of the second MOS transistor M2 and the bias circuit 40, the control end of the first MOS transistor M1 is connected to the amplification unit 12 to receive the first differential signal VA, the second end of the first MOS transistor M1 is connected to the first current copy unit 23, the control end of the second MOS transistor M2 is connected to the amplification unit 12 to receive the second differential signal VB, and the second end of the second MOS transistor M2 is connected to the second current copy unit 24.

[0051] like Figure 2 As shown, in one embodiment, the second input pair of transistors 22 includes a third MOS transistor M3 and a fourth MOS transistor M4. The first end of the third MOS transistor M3 is connected to the first end of the fourth MOS transistor and the bias circuit 40, the control end of the third MOS transistor M3 is connected to the amplification unit 12 to receive the second differential signal VB, the second end of the third MOS transistor M3 is connected to the first current copy unit 23, the control end of the fourth MOS transistor M4 is connected to the amplification unit 12 to receive the first differential signal VA, and the second end of the fourth MOS transistor M4 is connected to the second current copy unit 24.

[0052] like Figure 2 As shown, in one implementation, the first current copy unit 23 includes a first current mirror 231 , a second current mirror 232 and a fifth current mirror 233 , and the second current copy unit 24 includes a third current mirror 241 and a fourth current mirror 242 .

[0053] The first current mirror 231 is connected to the second end of the first input pair tube 21 and the second current mirror 232 to generate a first mirror current based on the first input current. Specifically, the first input pair tube 21 generates a first input current based on the first differential signal VA, and the first current mirror 231 and the second current mirror 232 sequentially copy the first input current to generate the first mirror current.

[0054] The fifth current mirror 233 is connected to the second end of the second input pair tube 22, the first current mirror 231 and the second current mirror 232 to generate a third mirror current based on the third input current. Specifically, the second input pair tube 22 generates the third input current based on the second differential signal VB, and the fifth current mirror 233, the first current mirror 231 and the second current mirror 232 sequentially copy the third input current to generate the third mirror current.

[0055] The third current mirror 241 is connected to the second end of the first input pair transistor 21 to generate a second mirror current based on the second input current. Specifically, the first input pair transistor 21 generates a second input current based on the second differential signal VB, and the third current mirror 241 replicates the second input current to generate a second mirror current.

[0056] The fourth current mirror 242 is connected to the second end of the second input pair tube 22 and the third current mirror 241 to generate a fourth mirror current based on the fourth input current. Specifically, the second input pair tube 22 generates a fourth input current based on the first differential signal VA, and the fourth current mirror 242 and the third current mirror 241 sequentially replicate the fourth input current to generate a fourth mirror current.

[0057] The second current mirror 232 is connected to the third current mirror 241 to compare the first mirror current with the second mirror current and generate a first output signal, or to compare the third mirror current with the fourth mirror current and generate a second output signal.

[0058] like Figure 2 As shown, in one implementation, the first current mirror 231 includes a seventh MOS tube M7 and an eighth MOS tube M8, the second current mirror 232 includes a ninth MOS tube M9 and a first output tube MN0, the third current mirror 241 includes a twelfth MOS tube M12 and a second output tube MP0, the fourth current mirror 242 includes a tenth MOS tube M10 and an eleventh MOS tube M11, and the fifth current mirror 233 includes a fifth MOS tube M5 and a sixth MOS tube M6.

[0059] Further, the first end of the fifth MOS transistor M5 and the first end of the sixth MOS transistor M6 are connected to the reference potential, the second end and the control end of the fifth MOS transistor M5 are connected to the second end of the third MOS transistor M3 in the second input pair 22 and the control end of the sixth MOS transistor M6. The second end of the sixth MOS transistor M6 is connected to the second end and the control end of the seventh MOS transistor M7, the second end of the seventh MOS transistor M7 is connected to the second end of the first MOS transistor M1 of the first input pair 21, the control end of the seventh MOS transistor M7 is also connected to the control end of the eighth MOS transistor M8, the first end of the eighth MOS transistor M8 and the first end of the seventh MOS transistor M7 are connected to the power supply voltage VDD, the second end of the eighth MOS transistor M8 is connected to the second end of the ninth MOS transistor M9, the control end of the ninth MOS transistor M9 and the control end of the first output transistor MN0, the first end of the ninth MOS transistor M9 is connected to the reference potential, the first end of the first output transistor MN0 is connected to the reference potential, the second end of the first output transistor MN0 is connected to the second end of the second output transistor MP0 and serves as the output port VOUT of the comparison circuit 20. In an optional implementation, the reference potentials are all ground potentials.

[0060] The first end of the tenth MOS transistor M10 and the first end of the eleventh MOS transistor M11 are connected to the reference potential, the second end of the tenth MOS transistor M10, the control end of the tenth MOS transistor M10, and the control end of the eleventh MOS transistor M11 are connected to the second end of the fourth MOS transistor M4 of the second input pair 22, the second end of the eleventh MOS transistor M11 is connected to the second end of the twelfth MOS transistor M12, the control end of the twelfth MOS transistor M12, and the second end of the second MOS transistor M2 of the first input pair 21, the first end of the twelfth MOS transistor M12 is connected to the power supply voltage VDD, the first end of the second output transistor MP0 is connected to the power supply voltage VDD, the control end of the second output transistor MP0 is connected to the control end of the twelfth MOS transistor M12, and the second end of the second output transistor MP0 is connected to the second end of the first output transistor MN0 and serves as the output port VOUT of the comparison circuit 20.

[0061] like Figure 2 As shown, the bias circuit 40 provides corresponding bias currents for the amplifying unit 12, the first input pair of tubes 21, and the second input pair of tubes 22. In one embodiment, the bias circuit 40 includes a connected current source unit, a first mirror unit, a second mirror unit, and a third mirror unit. The current source unit is used to generate a first bias current, the first mirror unit is connected to the current source unit and the amplifying unit 12, and the first mirror unit is used to mirror the first bias current to provide a corresponding bias current for the amplifying unit 12. The second mirror unit is connected to the current source unit and the first end of the first input pair of tubes 21, and the second mirror unit is used to mirror the first bias current to provide a corresponding bias current for the first input pair of tubes 21; the third mirror unit is connected to the current source unit and the first end of the second input pair of tubes 22, and the third mirror unit is used to mirror the first bias current to provide a corresponding bias current for the second input pair of tubes 22.

[0062] Further, the current source unit includes a first current source I0 and a thirteenth MOS tube M13, the first mirror unit includes a fourteenth MOS tube M14 and a fifteenth MOS tube M15, the second mirror unit includes a sixteenth MOS tube M16, a seventeenth MOS tube M17 and an eighteenth MOS tube M18, and the third mirror unit includes a nineteenth MOS tube M19.

[0063] The first end of the first current source I0 is connected to the reference potential, the second end of the first current source I0 is connected to the second end of the thirteenth MOS tube M13, the first end of the thirteenth MOS tube M13, the first end of the fourteenth MOS tube M14, the first end of the fifteenth MOS tube M15, the first end of the sixteenth MOS tube M16, and the first end of the control end of the nineteenth MOS tube M19 are connected to the power supply voltage VDD, the control end of the thirteenth MOS tube M13, the control end of the fourteenth MOS tube M14, the control end of the fifteenth MOS tube M15, the control end of the sixteenth MOS tube M16, and the control end of the nineteenth MOS tube M19 are connected. The second end of the nineteenth MOS tube M19 is connected to the first end of the third MOS tube M3 and the first end of the fourth MOS tube M4.

[0064] The second end of the fourteenth MOS tube M14 is connected to the second end of the first resistor R1 and the second end of the first triode Q1, the second end of the fifteenth MOS tube M15 is connected to the second end of the second resistor R2 and the second end of the second triode Q2. The second end of the sixteenth MOS tube M16 is connected to the second end of the seventeenth MOS tube M17, the first end of the seventeenth MOS tube M17 and the first end of the eighteenth MOS tube M18 are connected to the reference potential, the control end of the seventeenth MOS tube M17 is connected to the control end of the eighteenth MOS tube M18, and the second end of the eighteenth MOS tube M18 is connected to the first end of the first MOS tube M1 and the first end of the second MOS tube M2.

[0065] Principle of the present invention: The pre-amplifier circuit 10 performs differential amplification processing on the first input signal V1 and the second input signal V2, thereby improving the response speed of the subsequent comparison circuit 20. Specifically: (V1-V2)*gm*R=VA-VB, where gm is the transconductance of the first transistor Q1 or the second transistor Q2, and R is the resistance of the first resistor R1 or the second resistor R2. It can be understood that the first transistor Q1 and the second transistor Q2 are of the same type and size, and the resistance of the first resistor R1 and the second resistor R2 are equal.

[0066] The first transistor Q1 and the second transistor Q2 form a common base input structure, so the maximum value of the input first input signal V1 and / or the second input signal V2 = power supply voltage VDD-Vdsat-VTH, where Vdsat is the saturation overdrive voltage of the fourteenth MOS transistor M14 or the fifteenth MOS transistor M15, and VTH is the turn-on threshold voltage of the first transistor Q1 or the second transistor Q2. It is generally believed that the Vdsat value is much smaller than VTH, so Vdsat can be approximately 0, so the maximum input voltage that the above input structure can handle is close to VDD-VTH. The corresponding maximum value of the first differential signal VA and / or the second differential signal VB = VDD-Vdsat, which is approximately the power supply voltage VDD, so the comparison circuit faces a voltage range of 0-VDD rail-to-rail input.

[0067] When the voltage value of the first differential signal VA and / or the second differential signal VB is relatively high, the second input pair of transistors 22 in the comparison circuit 20 is turned off, and the first input pair of transistors 21 is closed. The first MOS transistor M1 generates a first input current based on the first differential signal VA, and the first current mirror 231 and the second current mirror 232 copy the first input current in sequence and generate a first mirror current through the first output transistor MN0. The second MOS transistor M2 generates a second input current based on the second differential signal VB, and the third current mirror 241 copies the first input current and generates a second mirror current in the second output transistor MP0. The difference between the first mirror current and the second mirror current causes the output port VOUT of the comparison circuit to generate a corresponding output signal, that is, the comparison result of the current comparator.

[0068] When the voltage value of the first differential signal VA and / or the second differential signal VB is relatively low, the second input pair of tubes 22 in the comparison circuit is closed, and the first input pair of tubes 21 is turned off. The third MOS tube M3 generates a third input current based on the second differential signal VB, and the fifth current mirror 233, the first current mirror 231, and the second current mirror 232 sequentially copy the first input current and generate a third mirror current through the first output tube MN0. The fourth MOS tube M4 generates a fourth input current based on the first differential signal VA, and the fourth current mirror 242 and the third current mirror 241 sequentially copy the third input current and generate a fourth mirror current in the second output tube MP0. The difference between the third mirror current and the fourth mirror current causes the output port VOUT of the comparison circuit to generate a corresponding output signal, that is, the comparison result of the current comparator. By setting the pre-amplifier circuit 10 and two sets of input pairs of tubes, the current comparator can support a wider input voltage range while maintaining high speed and low latency.

[0069] Example 2

[0070] like Figure 3As shown, the difference between this embodiment and embodiment 1 is that the comparison circuit 20 includes a first input pair tube 21, and the first current copy unit 23 includes a first current mirror 231 and a second current mirror 232, and the second current copy unit 24 includes a third current mirror 241.

[0071] Further, the first input pair 21 includes a first MOS transistor M1 and a second MOS transistor M2. A first end of the first MOS transistor M1 is connected to a first end of the second MOS transistor M2 and a bias circuit 40, a control end of the first MOS transistor M1 is connected to an amplifying unit 12 to receive a first differential signal VA, a second end of the first MOS transistor M1 is connected to a first current copying unit 23, a control end of the second MOS transistor M2 is connected to the amplifying unit 12 to receive a second differential signal VB, and a second end of the second MOS transistor M2 is connected to a second current copying unit 24.

[0072] The first current mirror 231 is connected to the second end of the first input pair tube 21 and the second current mirror 232 to generate a first mirror current based on the first input current, the third current mirror 241 is connected to the second end of the first input pair tube 21 to generate a second mirror current based on the second input current, and the second current mirror 232 is connected to the third current mirror 241 to compare the first mirror current and the second mirror current and generate a first output signal.

[0073] like Figure 3 As shown, in one embodiment, the bias circuit 40 includes a connected current source unit, a first mirror unit, and a second mirror unit. The current source unit is used to generate a first bias current, the first mirror unit is connected to the current source unit and the amplification unit 12, and the first mirror unit is used to mirror the first bias current to provide a corresponding bias current for the amplification unit 12. The second mirror unit is connected to the current source unit and the first end of the first input pair tube 21, and the second mirror unit is used to mirror the first bias current to provide a corresponding bias current for the first input pair tube 21.

[0074] Example 3

[0075] like Figure 4 As shown, the difference between this embodiment and embodiment 1 is that: the comparison circuit includes a second input pair tube 22, the first current replication unit 23 includes a first current mirror 231, a second current mirror 232 and a fifth current mirror 233, and the second current replication unit 24 includes a third current mirror 241 and a fourth current mirror 242.

[0076] like Figure 2As shown, in one embodiment, the second input pair of transistors 22 includes a third MOS transistor M3 and a fourth MOS transistor M4. The first end of the third MOS transistor M3 is connected to the first end of the fourth MOS transistor and the bias circuit 40, the control end of the third MOS transistor M3 is connected to the amplification unit 12 to receive the second differential signal VB, the second end of the third MOS transistor M3 is connected to the first current copy unit 23, the control end of the fourth MOS transistor M4 is connected to the amplification unit 12 to receive the first differential signal VA, and the second end of the fourth MOS transistor M4 is connected to the second current copy unit 24.

[0077] The fifth current mirror 233 is connected to the second end of the second input pair tube 22, the first current mirror 231 and the second current mirror 232 to generate a third mirror current based on the third input current. Specifically, the second input pair tube 22 generates the third input current based on the second differential signal VB, and the fifth current mirror 233, the first current mirror 231 and the second current mirror 232 sequentially copy the third input current to generate the third mirror current.

[0078] The fourth current mirror 242 is connected to the second end of the second input pair tube 22 and the third current mirror 241 to generate a fourth mirror current based on the fourth input current. Specifically, the second input pair tube 22 generates a fourth input current based on the first differential signal VA, and the fourth current mirror 242 and the third current mirror 241 sequentially replicate the fourth input current to generate a fourth mirror current.

[0079] like Figure 4 As shown, in one embodiment, the bias circuit 40 includes a current source unit, a first mirror unit, and a third mirror unit connected to each other. The current source unit is used to generate a first bias current, the first mirror unit is connected to the current source unit and the amplifying unit 12, and the first mirror unit is used to mirror the first bias current to provide a corresponding bias current for the amplifying unit 12. The third mirror unit is connected to the current source unit and the first end of the second input pair tube 22, and the third mirror unit is used to mirror the first bias current to provide a corresponding bias current for the second input pair tube 22.

[0080] Example 4

[0081] like Figure 5 As shown, this embodiment provides a flyback converter system, which includes a primary winding of a transformer, a primary circuit connected to the primary winding of the transformer, a secondary winding of a transformer, and a secondary circuit connected to the secondary winding of the transformer.

[0082] The primary circuit includes a trigger 51 , a buffer 52 , a primary switch tube MOS1 , a voltage source VIN, a first capacitor C1 , a Schottky diode 53 , a first diode 54 and the current comparator described in the above embodiment.

[0083] The first input end of the current comparator is used to receive the reference current IREF, the second input end of the current comparator is connected to the second end of the primary switch tube MOS1, the output end of the current comparator is connected to the first input end of the trigger 51, the second input end of the trigger 51 is used to receive the clock signal CLK, the output end of the trigger 51 is connected to the first end of the buffer 52, the second end of the buffer 52 is connected to the control end of the primary switch tube MOS1, and the first end of the primary switch tube MOS1 is connected to the reference potential. The second end of the primary switch tube MOS1 is connected to the first end of the first diode 54 and the first end of the primary winding, the second end of the first diode 54 is connected to the second end of the Schottky diode 53, the first end of the Schottky diode 53 is connected to the second end of the primary winding, the first end of the first capacitor C1, and the first end of the voltage source VIN, and the second end of the voltage source VIN and the second end of the first capacitor C1 are connected to the reference potential.

[0084] The secondary circuit includes a second diode D1, a second capacitor C2 and a third resistor R3. A first end of the secondary winding is connected to a first end of the second diode D1, a second end of the second diode D1 is connected to a first end of the second capacitor C2 and a first end of the third resistor R3, and a second end of the third resistor R3, a second end of the second capacitor C2 and a second end of the secondary winding are connected to a reference potential.

[0085] The clock signal CLK determines the turn-on time point of the primary switch tube MOS1. After the primary switch tube MOS1 is turned on, its turn-off time point is determined by the peak current of the primary inductor, that is, the output signal IPK of the current comparator shown in the figure. When the system working input voltage VIN is low, if there is no current comparator with a sufficient input range, M1 cannot be properly turned off at the low input voltage VIN. The current comparator using the technical solution of the present invention can adapt to a wide input range signal without sacrificing the comparison speed. Even if the input voltage VIN is lower than the set voltage threshold, such as 4V, the desired output signal IPK signal can be compared to properly turn off the primary switch tube MOS1.

[0086] Optionally, the first end of the MOS tube provided in each embodiment of the present invention is a source, the second end is a drain, and the control end is a gate.

[0087] like Figure 6 As shown, an embodiment of the present invention further provides a sampling and comparison circuit, including a current sampling circuit 30 and a current comparator, wherein the current sampling circuit 30 is used to sample two current signals to be compared respectively and obtain corresponding first input signals V1 and second input signals V2 respectively.

[0088] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0089] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A current comparator, It is characterized in that The current comparator comprises a pre-amplification circuit and a comparison circuit; The pre-amplification circuit includes an input unit and an amplification unit, wherein the input unit is used to generate a common-mode voltage signal based on a first input signal and a second input signal, and the amplification unit is connected to the input unit, and the amplification unit is used to amplify the common-mode voltage signal to generate a first differential signal and a second differential signal; The comparison circuit is connected to the pre-amplification circuit, and is used for comparing the first differential signal and the second differential signal to generate an output signal.

2. The current comparator according to claim 1, It is characterized in that The input unit includes a first triode and a second triode; The first end of the first transistor is used to receive a first input signal, the first end of the second transistor is used to receive a second input signal, the control end of the first transistor and the control end of the second transistor are connected to the amplification unit to generate a common-mode voltage signal, and the second end of the first transistor and the second end of the second transistor are connected to the amplification unit.

3. The current comparator according to claim 1, It is characterized in that The amplification unit includes a first resistor and a second resistor, the first end of the first resistor and the first end of the second resistor are connected to the input unit to receive a common-mode voltage signal, the second end of the first resistor is connected to the input unit and a comparison circuit to generate a first differential signal, and the second end of the second resistor is connected to the input unit and the comparison circuit to generate a second differential signal.

4. The current comparator according to claim 1, It is characterized in that The comparison circuit includes a first input pair of transistors and / or a second input pair of transistors, and the comparison circuit also includes a first current replication unit and a second current replication unit; The control end of the first input pair of transistors is connected to the amplification unit to generate a first input current based on the first differential signal, and to generate a second input current based on the second differential signal; the control end of the second input pair of transistors is connected to the amplification unit to generate a third input current based on the second differential signal, and to generate a fourth input current based on the first differential signal; The first current copy unit is connected to the first input pair of tubes to copy the first input current and generate a first mirror current, and the first current copy unit is connected to the second input pair of tubes to copy the third input current and generate a third mirror current; The second current copy unit is connected to the first input pair of tubes to copy the second input current and generate a second mirror current, and the second current copy unit is connected to the second input pair of tubes to copy the fourth input current and generate a fourth mirror current; The output end of the first current copy unit is connected to the output end of the second current copy unit to form an output port of the comparison circuit and compares the first mirror current and the second mirror current to generate a first output signal, or compares the third mirror current and the fourth mirror current to generate a second output signal.

5. The current comparator according to claim 4, It is characterized in that The first input pair of transistors includes a first MOS transistor and a second MOS transistor, a first end of the first MOS transistor is connected to a first end of the second MOS transistor, a control end of the first MOS transistor is connected to an amplifying unit to receive a first differential signal, a second end of the first MOS transistor is connected to a first current copying unit, a control end of the second MOS transistor is connected to the amplifying unit to receive a second differential signal, and a second end of the second MOS transistor is connected to a second current copying unit; The second input pair of transistors includes a third MOS transistor and a fourth MOS transistor, a first end of the third MOS transistor is connected to a first end of the fourth MOS transistor, a control end of the third MOS transistor is connected to an amplifying unit to receive a second differential signal, a second end of the third MOS transistor is connected to a first current copying unit, a control end of the fourth MOS transistor is connected to an amplifying unit to receive a first differential signal, and a second end of the fourth MOS transistor is connected to a second current copying unit.

6. The current comparator according to claim 4, It is characterized in that The first current copy unit includes a first current mirror and a second current mirror, and the second current copy unit includes a third current mirror; the first current mirror is connected to the second end of the first input pair of tubes and the second current mirror, the third current mirror is connected to the second end of the first input pair of tubes, and the second current mirror is connected to the third current mirror to compare the first mirror current and the second mirror current and generate a first output signal; or, The first current copy unit includes a first current mirror, a second current mirror and a fifth current mirror, the second current copy unit includes a third current mirror and a fourth current mirror; the fifth current mirror is connected to the second end of the second input pair tube, the first current mirror and the second current mirror, the fourth current mirror is connected to the second end of the second input pair tube and the third current mirror, the second current mirror is connected to the third current mirror to compare the third mirror current and the fourth mirror current and generate a second output signal; or, The first current copying unit includes a first current mirror, a second current mirror and a fifth current mirror, and the second current copying unit includes a third current mirror and a fourth current mirror; the first current mirror is connected to the second end of the first input pair of tubes and the second current mirror; the fifth current mirror is connected to the second end of the second input pair of tubes, the first current mirror and the second current mirror; the third current mirror is connected to the second end of the first input pair of tubes; the fourth current mirror is connected to the second end of the second input pair of tubes and the third current mirror; the second current mirror is connected to the third current mirror to compare the first mirror current and the second mirror current and generate a first output signal, or to compare the third mirror current and the fourth mirror current and generate a second output signal.

7. The current comparator according to claim 4, It is characterized in that The current comparator further includes a bias circuit, which is used to provide a corresponding bias current for the amplification unit, and the bias circuit is also used to provide a corresponding bias current for the first input pair of tubes and / or the second input pair of tubes.

8. The current comparator according to claim 7, It is characterized in that The bias circuit comprises a current source unit, a first mirror unit, a second mirror unit and a third mirror unit, wherein the current source unit is used to generate a first bias current; The first mirror unit is connected to the current source unit and the amplifying unit, and the first mirror unit is used to mirror the first bias current to provide a corresponding bias current for the amplifying unit; The second mirror unit is connected to the current source unit and the first end of the first input pair of tubes, and the second mirror unit is used to mirror the first bias current to provide a corresponding bias current for the first input pair of tubes; The third mirror unit is connected to the current source unit and the first end of the second input pair of tubes, and the third mirror unit is used to mirror the first bias current to provide a corresponding bias current for the second input pair of tubes.

9. A flyback converter system, It is characterized in that The system includes a primary winding of a transformer and a primary circuit connected to the primary winding of the transformer, the primary circuit includes a trigger, a buffer, a primary switch tube and a current comparator as described in any one of claims 1 to 8, the first input end of the current comparator is used to receive a reference current, the second input end of the current comparator is connected to the second end of the primary switch tube, the output end of the current comparator is connected to the first input end of the trigger, the second input end of the trigger is used to receive a clock signal, the output end of the trigger is connected to the first end of the buffer, the second end of the buffer is connected to the control end of the primary switch tube, and the first end of the primary switch tube is connected to the reference potential.

10. A sampling comparison circuit, It is characterized in that The circuit comprises a current sampling circuit and a current comparator as claimed in any one of claims 1 to 8, wherein the current sampling circuit is used to sample two current signals to be compared respectively to obtain a corresponding first input signal and a second input signal.