Anti-deadlock charge pump circuit and hysteresis comparator

By introducing a source switch structure and a hysteresis comparator into the charge pump circuit, the charge pump deadlock problem is solved, the performance and reliability of the circuit are improved, and its application scope is expanded.

CN119070630AActive Publication Date: 2024-12-03GUANGZHOU HANCHEN INFORMATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411184630.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

The high-performance charge pump circuit is prone to deadlock during the locking process of the phase-locked loop loop, resulting in the voltage at the output end being maintained at a high level and the discharge path cannot be formed, which limits the application range of the charge pump.

Method used

An anti-deadlock charge pump circuit is designed, using a source switch charge pump structure and a hysteresis comparator is introduced. By detecting the comparison between the output voltage and the preset reference voltage, the operational amplifier is controlled to stop working and the current source tube is turned on. Avoid deadlock.

Benefits of technology

It improves the operating speed of the circuit, reduces static losses, reduces the impact of charge sharing, realizes automatic detection and calibration, avoids logic errors, and improves the reliability and adaptability of the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070630A_ABST
    Figure CN119070630A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an anti-deadlock charge pump circuit and a hysteresis comparator, and the hysteresis comparator is used for collecting the voltage of the output end of a source electrode switch charge pump circuit when the source electrode switch charge pump circuit is in a deadlock state, comparing the voltage of the output end with a preset reference voltage, and outputting the voltage of the output end of the source electrode switch charge pump circuit. And when the voltage at the output end is greater than the reference voltage, a control voltage is output to control the operational amplifier to stop working, and the current source tube M4 is conducted. By adopting the source switch charge pump, the working speed of the circuit can be improved, the static loss can be reduced, channel charge injection of the switch can be avoided, the charge sharing influence can be reduced, an operational amplifier is used for improving impedance and reducing current mismatch, and a hysteresis comparator is added, so that automatic detection, comparison and calibration can be realized; when the voltage of the output end of the charge pump circuit deviates from the expected range, the working mode of the circuit is changed in a self-adaptive mode, the power supply voltage is prevented from being locked, the reliability of the circuit is improved, and the adaptability of the circuit is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to an anti-deadlock charge pump circuit and a hysteresis comparator. Background Art

[0002] At present, in modern wireless communication systems, the receiver of communication equipment not only has higher and higher requirements on the performance of the phase-locked loop, but also requires it to have extremely high adaptability and reliability. As one of the key components of the phase-locked loop, the performance of the charge pump directly affects the working state of the phase-locked loop. The core idea of ​​the high-performance charge pump structure in the prior art is to reduce the non-ideal effects of the charge pump, such as charge sharing and channel charge injection effects.

[0003] like Figure 1 A drain-switched charge pump topology is shown that attempts to solve the charge sharing problem. Figure 2 It is a topology of source switching charge pump, which increases the output resistance of the current source and tries to solve the mismatch between PMOS and NMOS current sources. There are other topologies of charge pump circuits. In addition to the single-ended structure, there is also a fully differential charge pump circuit to achieve the best current matching. In summary, the topology of the charge pump is to improve the working performance of the charge pump and realize a high-performance charge pump. However, the charge pump circuit is widely used. If you only focus on improving the performance without paying attention to the adaptability and reliability of the charge pump circuit, it will limit its scope of application.

[0004] Figure 3 The figure shows the application of high-performance charge pump circuit in the phase-locked loop circuit. During the loop locking process of the phase-locked loop, the charge pump will continue to work in the charging and discharging state until the loop is locked. Figure 3 The high performance charge pump uses Figure 2 The source switch charge pump structure shown in FIG. When the charge pump input up is high and DN is low, the charge pump is in the charging state. When the charge pump continues to be in the charging state, the output voltage of the charge pump will be charged to a high level. When the output voltage of the charge pump is close to the power supply voltage, Figure 2 In the circuit, due to the feedback of the operational amplifier, the drain voltage of M3 will also be at a high level, then the gate voltage of M4 will be at a low level and the M4 tube will be turned off. After that, even if the charge pump input UP is low and DN is high, it is in a discharge state, but due to the shutdown of the current source M4 tube, the charge pump cannot form a discharge path, and the output voltage will remain high, resulting in a "deadlock" state. This situation has brought limitations to the application of high-performance charge pump circuits. Summary of the invention

[0005] In view of the above-mentioned defects, an embodiment of the present invention discloses an anti-deadlock charge pump circuit and a hysteresis comparator, which help the charge pump circuit to perform automatic detection and comparison to prevent deadlock.

[0006] A first aspect of an embodiment of the present invention discloses an anti-deadlock charge pump circuit, comprising: a source switch charge pump circuit and a hysteresis comparator, wherein the source switch charge pump circuit comprises an operational amplifier and a current source tube M4, the hysteresis comparator is connected to the output end of the source switch charge pump circuit and the operational amplifier, and the hysteresis comparator is used to collect the output end voltage of the source switch charge pump circuit when the source switch charge pump circuit is in a deadlock state, compare the output end voltage with a preset reference voltage, and when the output end voltage is greater than the reference voltage, output a control voltage to control the operational amplifier to stop working and turn on the current source tube M4.

[0007] As an optional implementation, in the first aspect of the embodiment of the present invention, the source switch charge pump circuit also includes a charge and discharge module, a charge and discharge control module and a control switch SW5, the charge and discharge module is used to access the power supply voltage VDD, the charge and discharge control module is connected to the charge and discharge module, the hysteresis comparator and the operational amplifier, the charge and discharge module is connected to the hysteresis comparator and the operational amplifier, one end of the control switch SW5 is connected to the operational amplifier, and the other end is respectively connected to the charge and discharge control module and the charge and discharge module.

[0008] As an optional implementation, in the first aspect of the embodiment of the present invention, the charge and discharge module includes a current mirror tube M0, a current source tube M1 and a current source tube M3, the source of the current mirror tube M0 and the source of the current source tube M1 are both connected to the power supply voltage VDD, the gate of the current mirror tube M0 and the gate of the current source tube M1 are connected, the drain of the current mirror tube M0 and the drain of the current source tube M1 are respectively connected to one end of the control switch SW5, the in-phase input end of the operational amplifier and the drain of the current source tube M3, the source of the current source tube M3 is grounded, and the gate of the current source tube M3, the other end of the control switch SW5 and the output end of the operational amplifier are all connected to the charge and discharge control module.

[0009] As an optional implementation, in the first aspect of the embodiment of the present invention, the charging and discharging module also includes a normally closed switch SW0, a normally closed switch SW1 and a normally closed switch SW2, the source of the current mirror tube M0 is connected to the power supply voltage VDD through the normally closed switch SW0, the source of the current source tube M1 is connected to the power supply voltage VDD through the normally closed switch SW1, and the source of the current source tube M3 is grounded through the normally closed switch SW2.

[0010] As an optional implementation, in the first aspect of the embodiment of the present invention, the charge and discharge control module includes a current source tube M2 and a control switch SW3, the source of the current source tube M2 is connected to the power supply voltage VDD through the control switch SW3, the drain of the current source tube M2 is connected to the inverting input terminal of the operational amplifier, the hysteresis comparator and the drain of the current source tube M4 as the output end of the source switch charge pump circuit, and the gate of the current source tube M2 is connected to the drain of the current mirror tube M0.

[0011] As an optional implementation, in the first aspect of the embodiment of the present invention, the charge and discharge control module also includes a control switch SW4 and the current source tube M4, the source of the current source tube M4 is grounded through the control switch SW4, and the gate of the current source tube M4 is respectively connected to the output end of the operational amplifier and the other end of the control switch SW5.

[0012] As an optional implementation, in the first aspect of the embodiment of the present invention, the positive input terminal of the hysteresis comparator is connected to the output terminal of the source switch charge pump circuit, the negative input terminal of the hysteresis comparator is connected to the reference voltage, and the output terminal of the hysteresis comparator is connected to the operational amplifier.

[0013] As an optional implementation, in the first aspect of the embodiment of the present invention, the hysteresis comparator includes a MOS tube M5, a MOS tube M6, a MOS tube M7, a MOS tube M8, a MOS tube M9, a MOS tube M10, a MOS tube M11, a MOS tube M12, a MOS tube M13, a MOS tube M14, a MOS tube M15 and a MOS tube M16, the gate of the MOS tube M5 is connected to the gate of the MOS tube M6, the gate of the MOS tube M7 is connected to the gate of the MOS tube M8, the source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to the power supply voltage VDD, and the drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are all connected to the drain of the MOS tube M9 respectively. and the drain of the MOS tube M10, the source of the MOS tube M9 and the source of the MOS tube are both connected to the drain of the MOS tube M13, the source of the MOS tube M13 is grounded, the gate of the MOS tube M13 is connected to the gate of the MOS tube M14, the drain of the MOS tube M11 is connected to the drain of the MOS tube M12, the gate of the MOS tube M11 is connected to the gate of the MOS tube M5, the gate of the MOS tube M12 is connected to the gate of the MOS tube M16, the source of the MOS tube M12, the drain of the MOS tube M16 and the drain of the MOS tube M14 are all grounded, the drain of the MOS tube M16 is connected to the drain of the MOS tube M15, the gate of the MOS tube M15 is connected to the gate of the MOS tube M8, the gate of the MOS tube M9 is connected to the reference voltage, the gate of the MOS tube M10 is connected to the output end of the source switch charge pump circuit, and the drain of the MOS tube M15 and the drain of the MOS tube M16 are also connected to an operational amplifier.

[0014] A second aspect of an embodiment of the present invention discloses a hysteresis comparator, comprising a MOS tube M5, a MOS tube M6, a MOS tube M7, a MOS tube M8, a MOS tube M9, a MOS tube M10, a MOS tube M11, a MOS tube M12, a MOS tube M13, a MOS tube M14, a MOS tube M15 and a MOS tube M16, wherein the gate of the MOS tube M5 is connected to the gate of the MOS tube M6, the gate of the MOS tube M7 is connected to the gate of the MOS tube M8, the source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to a power supply voltage VDD, and the drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are all connected to the drain of the MOS tube M9 and the drain of the MOS tube M16, respectively. The drain of MOS tube M10, the source of MOS tube M9 and the source of MOS tube M13 are all connected to the drain of MOS tube M13, the source of MOS tube M13 is grounded, the gate of MOS tube M13 is connected to the gate of MOS tube M14, the drain of MOS tube M11 is connected to the drain of MOS tube M12, the gate of MOS tube M11 is connected to the gate of MOS tube M5, the gate of MOS tube M12 is connected to the gate of MOS tube M16, the source of MOS tube M12, the drain of MOS tube M16 and the drain of MOS tube M14 are all grounded, the drain of MOS tube M16 is connected to the drain of MOS tube M15, the gate of MOS tube M15 is connected to the gate of MOS tube M8, the gate of MOS tube M9 is connected to the reference voltage, the gate of MOS tube M10 is connected to the output end of the source switch charge pump circuit, and the drain of MOS tube M15 and the drain of MOS tube M16 are also connected to an operational amplifier.

[0015] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0016] The source switch charge pump is used in the embodiment of the present invention, which can improve the circuit operating speed, reduce static loss, avoid channel charge injection of the switch, and reduce the impact of charge sharing. The source switch charge pump circuit of the embodiment uses an operational amplifier to increase impedance and reduce current mismatch, thereby realizing a high-performance charge pump. In addition, a hysteresis comparator is added to the embodiment to realize automatic detection, comparison and calibration. When the voltage at the output end of the charge pump circuit shifts to the expected range, the working mode of the circuit is adaptively changed to avoid being locked at the power supply voltage, thereby avoiding logical errors, improving the reliability of the circuit, and expanding the adaptability of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] Figure 1 is a topological circuit diagram of a drain switch charge pump in the prior art;

[0019] Figure 2 It is a topological circuit diagram of a source switch charge pump in the prior art;

[0020] Figure 3 It is a phase-locked loop circuit diagram with a charge pump in the prior art;

[0021] Figure 4 1 is a schematic diagram of a circuit structure of an anti-deadlock charge pump circuit provided by an embodiment of the present invention;

[0022] Figure 5 Schematic diagram of the circuit structure of the hysteresis comparator provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The embodiment of the present invention discloses an anti-deadlock charge pump circuit and a hysteresis comparator. The embodiment adopts a source switch charge pump, which can improve the circuit operation speed, reduce static loss, avoid switch channel charge injection, and reduce the charge sharing effect. The source switch charge pump circuit of the embodiment uses an operational amplifier to increase impedance and reduce current mismatch, thereby realizing a high-performance charge pump. The embodiment adds a hysteresis comparator, which can realize automatic detection, comparison and calibration. When the voltage at the output end of the charge pump circuit shifts to an expected range, the circuit operation mode is adaptively changed to avoid being locked at the power supply voltage, thereby avoiding logical errors, improving the reliability of the circuit, and expanding the adaptability of the circuit.

[0026] Embodiment 1

[0027] See also Figure 4 , Figure 4 FIG. 1 is a schematic diagram of a circuit structure of an anti-deadlock charge pump circuit disclosed in an embodiment of the present invention. Figure 4 As shown, the anti-deadlock charge pump circuit includes a source switch charge pump circuit and a hysteresis comparator CMP, the source switch charge pump circuit includes an operational amplifier OP and a current source tube M4, the hysteresis comparator is connected to the output end of the source switch charge pump circuit and the operational amplifier OP, and the hysteresis comparator CMP is used to collect the output terminal voltage of the source switch charge pump circuit when the source switch charge pump circuit is in a deadlock state, compare the output terminal voltage with a preset reference voltage, and output a control voltage to control the operational amplifier OP to stop working and turn on the current source tube M4 when the output terminal voltage is greater than the reference voltage.

[0028] The embodiment introduces detection, comparison and calibration functions into the circuit, which are implemented by the hysteresis comparator CMP. A hysteresis comparator with an internal positive feedback structure is selected. The threshold voltage of the hysteresis comparator can be designed according to actual use. It has a higher noise tolerance and avoids noise voltage and PVT (temperature) fluctuations. The calibration function changes its own working state through the output voltage of the hysteresis comparator. When the charge pump is in a deadlock state, the source switch charge pump circuit detects the voltage at its own output end to determine whether it is within the expected range. If the output point voltage is within the expected range, it indicates that it is in a normal working state. Then the output voltage is compared with the reference voltage of the hysteresis comparator, and a control voltage is returned to its own core module. At this time, the control voltage does not affect the working state of the charge pump. If the output voltage of the charge pump deviates from the expected range, or even approaches the power supply voltage, it represents a deadlock state. At this time, the hysteresis comparator compares the output voltage of the charge pump with the reference voltage, and returns a control voltage to change the working state of the charge pump, so as to avoid the current source tube M4 from working in the cut-off state and prevent the charge pump from deadlocking.

[0029] The embodiment aims to solve the deadlock problem that a conventional charge pump may encounter under certain conditions, that is, the output voltage of the charge pump cannot rise or fall further, resulting in limited circuit function or failure. By integrating a source switch charge pump circuit with a hysteresis comparator, the circuit can automatically take corrective measures when a deadlock state is detected to restore the normal operation of the charge pump.

[0030] Among them, the source switch charge pump circuit also includes a charge and discharge module, a charge and discharge control module and a control switch SW5, the charge and discharge module is used to access the power supply voltage VDD, the charge and discharge control module is connected to the charge and discharge module, the hysteresis comparator and the operational amplifier, the charge and discharge module is connected to the hysteresis comparator and the operational amplifier, one end of the control switch SW5 is connected to the operational amplifier, and the other end is respectively connected to the charge and discharge control module and the charge and discharge module.

[0031] The operational amplifier OP is the core control element responsible for adjusting the output voltage according to the input signal. The current source tube M4 is used in the charge pump circuit to provide a stable current source to drive the charge transfer. By adjusting the output of the operational amplifier, the switch state of the current source tube M4 is controlled, thereby realizing the regulation of the output voltage of the charge pump. The hysteresis comparator sets two threshold voltages, including an upper threshold and a lower threshold, so that the output of the comparator changes state when the input voltage crosses these two thresholds, but the transition points are different, forming a hysteresis effect. In the embodiment, the hysteresis comparator is used to monitor the output voltage of the source switch charge pump circuit. When the output voltage reaches or exceeds the preset upper threshold (i.e., the reference voltage), it indicates that the charge pump may have entered a deadlock state. When the charge pump works normally and the output voltage fluctuates within a preset range, the hysteresis comparator will not trigger any action, and the charge pump circuit continues to operate in a predetermined manner. Once the charge pump enters a deadlock state, the output voltage no longer changes with the input signal or control signal, and gradually rises to above the preset reference voltage. After the hysteresis comparator detects this change, it outputs a control voltage, which acts on the operational amplifier or other control elements in the circuit to stop the operational amplifier from working and turn on the current source tube M4 at the same time.

[0032] Furthermore, the charge and discharge module includes a current mirror tube M0, a current source tube M1 and a current source tube M3, the source of the current mirror tube M0 and the source of the current source tube M1 are both connected to the power supply voltage VDD, the gate of the current mirror tube M0 and the gate of the current source tube M1 are connected, the drain of the current mirror tube M0 and the drain of the current source tube M1 are respectively connected to one end of the control switch SW5, the in-phase input end of the operational amplifier OP and the drain of the current source tube M3, the source of the current source tube M3 is grounded, and the gate of the current source tube M3, the other end of the control switch SW5 and the output end of the operational amplifier OP are all connected to the charge and discharge control module.

[0033] The gate of the current mirror tube M0 is connected to the gate of the current source tube M1 to form a current mirror structure, so that the currents of M0 and M1 are kept in a certain ratio. And similar to the current mirror tube M0, the source of the current source tube M1 is also connected to the power supply voltage VDD, and its gate is connected to the gate of MO to ensure that the currents of the two are equal or proportional. The source of the current source tube M3 is grounded to form a current return path.

[0034] Furthermore, the charge and discharge module also includes a normally closed switch SW0, a normally closed switch SW1 and a normally closed switch SW2, the source of the current mirror tube M0 is connected to the power supply voltage VDD through the normally closed switch SW0, the source of the current source tube M1 is connected to the power supply voltage VDD through the normally closed switch SW1, and the source of the current source tube M3 is grounded through the normally closed switch SW2.

[0035] Under normal circumstances, SW0 is closed, so that the source of M0 can be stably connected to the power supply voltage VDD, thereby ensuring that M0 can work normally. If it is necessary to disconnect M0 from VDD (for example, during fault detection, maintenance or component replacement), this can be achieved by controlling SW0. Similar to SW0, SW1 is also normally closed, ensuring that the source of M1 can be stably connected to the power supply voltage VDD. This allows M1 to work stably under normal circumstances and provide the required current. When necessary, SW1 can be opened to disconnect M1 from VDD. SW2 connects the source of M3 to the ground, which is the basis for M3 to act as a current source or current sink. Since SW2 is normally closed, it ensures that the current path of M3 is complete during normal operation. If it is necessary to change the grounding state of M3 (which may be rare in actual applications), it can be achieved by controlling SW2. Among the three normally closed switches mentioned above, SW0, SW1 and SW2 mainly play the role of connection protection and ensuring circuit stability, providing redundancy and flexibility for the circuit, but do not need to be operated frequently under normal circumstances. In the actual application of the charge and discharge module, the charge and discharge process is usually controlled by adjusting the gate voltage of the current source tube M3, the switch state of the control switch SW5 and the output signal of the operational amplifier. The normally closed switches SW0, SW1 and SW2 remain closed during these operations to ensure that the basic connection of the circuit remains unchanged.

[0036] The charge and discharge control module achieves precise control of the charge and discharge process of the charge pump circuit by precisely controlling the working state of the current source M2 and monitoring and adjusting the output voltage using the operational amplifier OP and the hysteresis comparator CMP. The current mirror tube M2 acts as a controllable current source and adjusts the current from its source to the drain according to the gate voltage. Its source is connected to VDD through the control switch SW3, that is, the control switch SW3 can control the on and off of this connection, thereby controlling whether the current mirror tube M2 starts to work.

[0037] The charge and discharge control module also includes a control switch SW4 and the current source tube M4. The source of the current source tube M4 is grounded through the control switch SW4, and the gate of the current source tube M4 is respectively connected to the output end of the operational amplifier OP and the other end of the control switch SW5. Among them, the control switch SW4 controls whether the source of the current source tube M4 is grounded. By controlling the on and off of SW4, the working state of M4 can be adjusted, thereby affecting the output characteristics of the entire charge and discharge control module. One end of M4 is connected to the source of the current source tube M4, and the other end is grounded. When SW4 is closed, the source of M4 is grounded, and M4 starts to work; when SW4 is disconnected, the source of M4 is disconnected from the ground, and M4 stops working. As another controllable current source, the current source tube M4 works in conjunction with the current source tube M2 to jointly control the current size and direction of the charge and discharge process. The gate of M4 is respectively connected to the output end of the operational amplifier OP and the other end of the control switch SW5, so that the gate voltage of M4 is jointly affected by the output signal of the operational amplifier OP and the state of the control switch SW5. The output signal of the operational amplifier may be used to adjust the gate voltage of M4, thereby controlling the current of M4; and the state of SW5 can be used to change the working mode of M4 or turn off M4 under certain conditions.

[0038] The core of the embodiment is to add a hysteresis comparator CMP to realize the detection, comparison and calibration of the circuit. The introduction of the hysteresis comparator provides an important stability control function for the circuit. The positive input terminal of the hysteresis comparator CMP is connected to the output terminal of the source switch charge pump circuit, the negative input terminal of the hysteresis comparator CMP is connected to the reference voltage, and the output terminal of the hysteresis comparator CMP is connected to the operational amplifier. The hysteresis comparator has two different threshold voltages: one for rising edge triggering (i.e., when the input voltage changes from low to high), and the other for falling edge triggering (i.e., when the input voltage changes from high to low), which helps to prevent the circuit from frequently switching states near the threshold due to noise or slight voltage fluctuations. The hysteresis comparator is connected to the output terminal of the source switch charge pump circuit, monitors the output voltage of the charge pump circuit, and generates an output signal based on the comparison result of the voltage with the reference voltage. The reference voltage is a fixed reference voltage for comparison with the output voltage of the charge pump circuit.

[0039] The hysteresis comparator CMP includes MOS tube M5, MOS tube M6, MOS tube M7, MOS tube M8, MOS tube M9, MOS tube M10, MOS tube M11, MOS tube M12, MOS tube M13, MOS tube M14, MOS tube M15 and MOS tube M16. The gate of the MOS tube M5 is connected to the gate of the MOS tube M6, the gate of the MOS tube M7 is connected to the gate of the MOS tube M8, the source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to the power supply voltage VDD, and the drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are respectively connected to the drain of the MOS tube M9 and the drain of the MOS tube M10. The drain of the MOS tube M9 and the source of the MOS tube are both connected to the drain of the MOS tube M13, the source of the MOS tube M13 is grounded, the gate of the MOS tube M13 is connected to the gate of the MOS tube M14, the drain of the MOS tube M11 is connected to the drain of the MOS tube M12, the gate of the MOS tube M11 is connected to the gate of the MOS tube M5, the gate of the MOS tube M12 is connected to the gate of the MOS tube M16, the source of the MOS tube M12, the drain of the MOS tube M16 and the drain of the MOS tube M14 are all grounded, the drain of the MOS tube M16 is connected to the drain of the MOS tube M15, the gate of the MOS tube M15 is connected to the gate of the MOS tube M8, the gate of the MOS tube M9 is connected to the reference voltage, the gate of the MOS tube M10 is connected to the output end of the source switch charge pump circuit, and the drain of the MOS tube M15 and the drain of the MOS tube M16 are also connected to an operational amplifier.

[0040] The hysteresis comparator CMP of the embodiment generates a hysteresis reaction through the switching characteristics and positive feedback mechanism of the MOS tube. Among them, the MOS tube M5 and the MOS tube M6 are used as a differential pair input stage, their gates are connected and receive input signals, and the source is connected to the power supply voltage VDD, while the MOS tube M7 and the MOS tube M8 are used to generate bias or reference voltage. The MOS tube M9 and the MOS tube M10 form a cross-coupled pair, their drains are connected to each other and to the drains of M5 and M6, so that M9 and M10 can enhance positive feedback to each other, thereby generating a hysteresis effect. In the figure, vo is the output end of the hysteresis comparator, which is respectively connected to the vctr end of the switch and the control end of the operational amplifier, and vi1 and vi2 are both used as the input ends of the hysteresis comparator, vi1 is connected to the reference voltage vref, and vi2 is connected to the output end of the charge pump.

[0041] The embodiment uses a normally closed switch corresponding to the switch of the source of M2 and M4, and the current mirror has better matching. An operational amplifier is used to increase the output impedance and reduce the current mismatch, so as to realize a high-performance charge pump. On this basis, detection, comparison and calibration functions are added. When the voltage at the output end of the charge pump shifts to the expected range, the working mode of the circuit is adaptively changed and will not be locked at the power supply voltage, thereby avoiding logical errors, improving the reliability of the circuit, and expanding the adaptability of the circuit.

[0042] The embodiment is composed of normally closed switches SW0, SW1, SW2, a switch SW3 controlled by the UP terminal, a switch SW4 controlled by the DN terminal, a switch SW5 controlled by the vctr terminal, a current mirror tube M0, a current source tube M1, M2, M3, M4, a hysteresis comparator CMP, and an operational amplifier OP. When the voltage of the charge pump output terminal out deviates from the expected voltage range, or is at a higher voltage value such as close to the power supply voltage VDD, the charge pump is in a "deadlock" state. Then the hysteresis comparator CMP will detect the voltage of the output terminal out and compare it with the reference voltage vref. The value of the reference voltage vref is designed according to the expected output terminal voltage range of the charge pump. When the out voltage is greater than the vref voltage, a voltage called vctr will be output, which makes the operational amplifier OP not work and turns on the controlled switch sw5. Thus, the vp terminal and the vg terminal are connected, and M3 also becomes a diode-connected MOS tube. M3 will bias the gate terminal voltage of M4, and M0-4 will become a simple current mirror circuit, avoiding the current source tube M4 from being cut off. When the voltage of the input terminals UP and DN is switched to UP is low level and DN is high level, M4 can complete the discharge function and pull down the voltage of the output terminal out. Finally, the charge pump circuit realizes the self-calibration function and gets out of the "deadlock" state. When the voltage of the output terminal out is within the expected range, the operational amplifier OP works normally, and the control voltage vctr output by the hysteresis comparator CMP disconnects the switch SW5 and does not connect to the circuit. At this time, the charge pump also works normally in the state of charging, discharging, and neither charging nor discharging according to the value of the input terminals UP and DN.

[0043] Embodiment 2

[0044] See also Figure 5 , Figure 5 Schematic diagram of a hysteresis comparator disclosed in an embodiment of the present invention. Figure 5As shown, the hysteresis comparator circuit may include: a MOS tube M5, a MOS tube M6, a MOS tube M7, a MOS tube M8, a MOS tube M9, a MOS tube M10, a MOS tube M11, a MOS tube M12, a MOS tube M13, a MOS tube M14, a MOS tube M15 and a MOS tube M16, wherein the gate of the MOS tube M5 is connected to the gate of the MOS tube M6, the gate of the MOS tube M7 is connected to the gate of the MOS tube M8, the source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to the power supply voltage VDD, and the drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are all connected to the drain of the MOS tube M9 and the drain of the MOS tube M16 respectively. The drain of MOS tube M10, the source of MOS tube M9 and the source of MOS tube M13 are both connected to the drain of MOS tube M13, the source of MOS tube M13 is grounded, the gate of MOS tube M13 is connected to the gate of MOS tube M14, the drain of MOS tube M11 is connected to the drain of MOS tube M12, the gate of MOS tube M11 is connected to the gate of MOS tube M5, the gate of MOS tube M12 is connected to the gate of MOS tube M16, the source of MOS tube M12, the drain of MOS tube M16 and the drain of MOS tube M14 are all grounded, the drain of MOS tube M16 is connected to the drain of MOS tube M15, the gate of MOS tube M15 is connected to the gate of MOS tube M8, the gate of MOS tube M9 is connected to the reference voltage, the gate of MOS tube M10 is connected to the output end of the source switch charge pump circuit, and the drain of MOS tube M15 and the drain of MOS tube M16 are also connected to an operational amplifier.

[0045] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0046] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0047] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0048] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0049] The XX method, device, electronic device and storage medium disclosed in the embodiments of the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An anti-deadlock charge pump circuit, It is characterized in that It includes a source switch charge pump circuit and a hysteresis comparator. The source switch charge pump circuit includes an operational amplifier and a current source tube M4. The hysteresis comparator is connected to the output end of the source switch charge pump circuit and the operational amplifier. The hysteresis comparator is used to collect the output end voltage of the source switch charge pump circuit when the source switch charge pump circuit is in a deadlock state, compare the output end voltage with a preset reference voltage, and output a control voltage to control the operational amplifier to stop working and turn on the current source tube M4 when the output end voltage is greater than the reference voltage.

2. The anti-deadlock charge pump circuit according to claim 1, It is characterized in that The source switch charge pump circuit also includes a charge and discharge module, a charge and discharge control module and a control switch SW5. The charge and discharge module is used to access the power supply voltage VDD. The charge and discharge control module is connected to the charge and discharge module, the hysteresis comparator and the operational amplifier. The charge and discharge module is connected to the hysteresis comparator and the operational amplifier. One end of the control switch SW5 is connected to the operational amplifier, and the other end is respectively connected to the charge and discharge control module and the charge and discharge module.

3. The anti-deadlock charge pump circuit according to claim 2, It is characterized in that The charge and discharge module includes a current mirror tube M0, a current source tube M1 and a current source tube M3. The source of the current mirror tube M0 and the source of the current source tube M1 are both connected to the power supply voltage VDD, the gate of the current mirror tube M0 and the gate of the current source tube M1 are connected, the drain of the current mirror tube M0 and the drain of the current source tube M1 are respectively connected to one end of the control switch SW5, the in-phase input end of the operational amplifier and the drain of the current source tube M3, the source of the current source tube M3 is grounded, and the gate of the current source tube M3, the other end of the control switch SW5 and the output end of the operational amplifier are all connected to the charge and discharge control module.

4. The anti-deadlock charge pump circuit according to claim 3, It is characterized in that The charge and discharge module also includes a normally closed switch SW0, a normally closed switch SW1 and a normally closed switch SW2. The source of the current mirror tube M0 is connected to the power supply voltage VDD through the normally closed switch SW0, the source of the current source tube M1 is connected to the power supply voltage VDD through the normally closed switch SW1, and the source of the current source tube M3 is grounded through the normally closed switch SW2.

5. The anti-deadlock charge pump circuit according to claim 2, It is characterized in that The charge and discharge control module includes a current source tube M2 and a control switch SW3. The source of the current source tube M2 is connected to the power supply voltage VDD through the control switch SW3. The drain of the current source tube M2 is connected to the inverting input terminal of the operational amplifier, the hysteresis comparator and the drain of the current source tube M4 as the output end of the source switch charge pump circuit. The gate of the current source tube M2 is connected to the drain of the current mirror tube M0.

6. The anti-deadlock charge pump circuit according to claim 5, It is characterized in that The charge and discharge control module further includes a control switch SW4 and the current source tube M4. The source of the current source tube M4 is grounded through the control switch SW4. The gate of the current source tube M4 is connected to the output end of the operational amplifier and the other end of the control switch SW5.

7. The anti-deadlock charge pump circuit according to claim 1, It is characterized in that The positive input terminal of the hysteresis comparator is connected to the output terminal of the source switch charge pump circuit, the negative input terminal of the hysteresis comparator is connected to the reference voltage, and the output terminal of the hysteresis comparator is connected to the operational amplifier.

8. The anti-deadlock charge pump circuit according to claim 7, It is characterized in that The hysteresis comparator includes MOS tube M5, MOS tube M6, MOS tube M7, MOS tube M8, MOS tube M9, MOS tube M10, MOS tube M11, MOS tube M12, MOS tube M13, MOS tube M14, MOS tube M15 and MOS tube M16. The gate of the MOS tube M5 is connected to the gate of the MOS tube M6, and the gate of the MOS tube M7 is connected to the gate of the MOS tube M8. The source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to the power supply voltage VDD. The drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are all connected to the drain of the MOS tube M9 and the drain of the MOS tube M10 respectively. The source of the MOS tube M9 and the source of the MOS tube are both connected to the drain of the MOS tube M13, the source of the MOS tube M13 is grounded, the gate of the MOS tube M13 is connected to the gate of the MOS tube M14, the drain of the MOS tube M11 is connected to the drain of the MOS tube M12, the gate of the MOS tube M11 is connected to the gate of the MOS tube M5, the gate of the MOS tube M12 is connected to the gate of the MOS tube M16, the source of the MOS tube M12, the drain of the MOS tube M16 and the drain of the MOS tube M14 are all grounded, the drain of the MOS tube M16 is connected to the drain of the MOS tube M15, the gate of the MOS tube M15 is connected to the gate of the MOS tube M8, the gate of the MOS tube M9 is connected to the reference voltage, the gate of the MOS tube M10 is connected to the output end of the source switch charge pump circuit, and the drain of the MOS tube M15 and the drain of the MOS tube M16 are also connected to an operational amplifier.

9. A hysteresis comparator, It is characterized in that The invention comprises a MOS tube M5, a MOS tube M6, a MOS tube M7, a MOS tube M8, a MOS tube M9, a MOS tube M10, a MOS tube M11, a MOS tube M12, a MOS tube M13, a MOS tube M14, a MOS tube M15 and a MOS tube M16, wherein the gate of the MOS tube M5 is connected to the gate of the MOS tube M6, the gate of the MOS tube M7 is connected to the gate of the MOS tube M8, the source of the MOS tube M5, the source of the MOS tube M6, the source of the MOS tube M7, the source of the MOS tube M8, the source of the MOS tube M11, the drain of the MOS tube M14 and the source of the MOS tube M15 are all connected to the power supply voltage VDD, the drain of the MOS tube M5, the drain of the MOS tube M6, the drain of the MOS tube M7 and the drain of the MOS tube M8 are all connected to the drain of the MOS tube M9 and the drain of the MOS tube M10 respectively, and the MOS The source of the transistor M9 and the source of the MOS transistor are both connected to the drain of the MOS transistor M13, the source of the MOS transistor M13 is grounded, the gate of the MOS transistor M13 is connected to the gate of the MOS transistor M14, the drain of the MOS transistor M11 is connected to the drain of the MOS transistor M12, the gate of the MOS transistor M11 is connected to the gate of the MOS transistor M5, the gate of the MOS transistor M12 is connected to the gate of the MOS transistor M16, the source of the MOS transistor M12, the drain of the MOS transistor M16 and the drain of the MOS transistor M14 are all grounded, the drain of the MOS transistor M16 is connected to the drain of the MOS transistor M15, the gate of the MOS transistor M15 is connected to the gate of the MOS transistor M8, the gate of the MOS transistor M9 is connected to the reference voltage, the gate of the MOS transistor M10 is connected to the output end of the source switch charge pump circuit, and the drain of the MOS transistor M15 and the drain of the MOS transistor M16 are also connected to an operational amplifier.

Citation Information

Patent Citations

  • Automatic tuning circuit used for phase-locked loop frequency synthesizer

    CN102857218A

  • Circuit starting method, control circuit, and voltage reference circuit

    CN105373178A

  • Differential charge pump circuit applied to delay-locked loop

    CN117254803A

  • Feedback type full difference modulator

    CN1859000A

  • Novel rectifier diode replacement circuit

    CN202840924U