Fold line current source

Through the design of the fold line current source, the bandgap reference device and the temperature comparison device switch the temperature coefficient of the current source is solved, the gain instability problem of the PA module when the temperature changes is achieved, the continuity and stability of the current output are achieved, and the power consumption and gain are optimized.

CN223260108UActive Publication Date: 2025-08-22SHANGHAI XINCAN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422696345.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-08-22
Estimated Expiration
2034-11-05

AI Technical Summary

Technical Problem

In the prior art, the gain of the PA module in the RF transceiver chip is unstable when the temperature changes, resulting in excessive power consumption or excessive gain, and unsmooth current switching affects performance.

Method used

The fold line current source is used to switch the positive temperature coefficient current and the zero temperature coefficient current according to the temperature change through the combination of the bandgap reference device, the zero temperature device, the temperature comparison device and the logic device to ensure the continuity and stability of the current output.

Benefits of technology

The PA module gain stability and power consumption optimization over a wide temperature range is achieved, reducing current sudden change and improving the performance and reliability of the current source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223260108U_ABST
    Figure CN223260108U_ABST
Patent Text Reader

Abstract

The utility model relates to a broken line current source relates to power supply equipment field, it includes band gap reference device, zero temperature device, temperature comparing device, logic device and output device, band gap reference device is used for detecting external temperature physical quantity and output positive temperature signal, zero temperature device is used for providing zero temperature signal, temperature comparing device is used for comparing the positive temperature signal with the zero temperature signal. The temperature comparison device is connected with the band-gap reference device and the zero temperature device so as to receive the positive temperature signal and the zero temperature signal and output an in-phase comparison signal; the logic device is connected with the temperature comparison device so as to receive the in-phase comparison signal and respond to the in-phase comparison signal so as to select the band-gap reference device or the zero temperature device to be conducted with the output device, and the output device is used for outputting the positive temperature signal or the zero temperature signal to the outside. According to the utility model, the gain performance of the PA is improved, and the situation of current abrupt change is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of power supply equipment, in particular to a broken line current source. Background Art

[0002] A current source is an idealized circuit element that can provide a constant current to a circuit regardless of changes in the voltage of the external circuit.

[0003] In existing technology, gain is a key performance metric for PA modules in RF transceiver chips. Typically, PA gain decreases with increasing temperature. To maintain constant gain across the entire temperature range of -55°C to 125°C, a positive temperature coefficient current is required to bias the PA module. When the temperature is too high, excessive positive temperature coefficient current can easily lead to excessive overall power consumption, and the gain in the high-temperature range can far exceed the required specifications. The industry's common practice is to use a comparator-generated flip signal to switch the bias from a positive temperature coefficient current to a zero temperature coefficient current at high temperatures. This achieves a compromise between power consumption and gain.

[0004] When switching between positive temperature coefficient current and zero temperature coefficient current through a comparator, the current cannot transition smoothly under different process angles, which can easily affect the performance of the PA. Utility Model Content

[0005] In order to improve the gain performance of the PA and reduce the current mutation, the utility model provides a broken line current source.

[0006] The utility model provides a broken line current source adopting the following technical solution:

[0007] A broken-line current source includes a bandgap reference device, a zero-temperature device, a temperature comparison device, a logic device, and an output device. The bandgap reference device is used to detect an external temperature physical quantity and output a positive temperature signal. The zero-temperature device is used to provide a zero-temperature signal. The temperature comparison device is connected to the bandgap reference device and the zero-temperature device to receive the positive temperature signal and the zero-temperature signal and output a same-phase comparison signal. The logic device is connected to the temperature comparison device to receive the same-phase comparison signal and, in response to the same-phase comparison signal, selects the bandgap reference device or the zero-temperature device to conduct with the output device. The output device is used to output the positive temperature signal or the zero-temperature signal to the outside world.

[0008] When the temperature is low, the bandgap reference device outputs a low-level positive temperature signal, the temperature comparison device receives the low-level positive temperature signal and the zero temperature signal and outputs a low-level in-phase comparison signal, the logic device receives the low-level in-phase comparison signal and controls the bandgap reference device and the output device to be turned on, and the output device outputs a positive temperature signal;

[0009] When the temperature is high, the bandgap reference device outputs a high-level positive temperature signal, the temperature comparison device receives the high-level positive temperature signal and the zero temperature signal and outputs a high-level in-phase comparison signal, the logic device receives the high-level in-phase comparison signal and controls the zero temperature device and the output device to be turned on, and the output device outputs the zero temperature signal.

[0010] By adopting the above technical solution, the positive temperature signal and the zero temperature signal are detected by the temperature comparison device, so that the current source is controlled to output a positive temperature signal when the temperature is low, and the current source is controlled to output a zero temperature signal when the temperature is high, thereby making the signal output by the current source continuous and stable, and reducing the situation of current mutation.

[0011] Optionally, the logic device includes an inverting module, a positive temperature transmission module and a zero temperature transmission module, the inverting module is connected to the temperature comparison device to receive the same-phase comparison signal and output the opposite-phase comparison signal, the positive temperature transmission module is connected to the temperature comparison device and the inverting module to receive the same-phase comparison signal and the opposite-phase comparison signal and respond to the same-phase comparison signal and the opposite-phase comparison signal to control the opening and closing of the path between the bandgap reference device and the output device, the zero temperature transmission module is connected to the temperature comparison device and the inverting module to receive the same-phase comparison signal and the opposite-phase comparison signal and respond to the same-phase comparison signal and the opposite-phase comparison signal to control the opening and closing of the path between the zero temperature device and the output device;

[0012] When the bandgap reference device outputs a low-level positive temperature signal, the inverting module receives a low-level in-phase comparison signal and outputs a high-level inverted comparison signal. The positive temperature transmission module receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the bandgap reference device and the output device to be closed. The zero-temperature transmission module receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the zero-temperature device and the output device to be disconnected, and the output device outputs a positive temperature signal.

[0013] When the bandgap reference device outputs a high-level positive temperature signal, the inverting module receives a high-level in-phase comparison signal and outputs a low-level inverted comparison signal. The positive temperature transmission module receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the bandgap reference device and the output device to be disconnected. The zero-temperature transmission module receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the zero-temperature device and the output device to be closed, and the output device outputs a zero-temperature signal.

[0014] By adopting the above technical solution, the positive temperature transmission module and the zero temperature transmission module are controlled by the in-phase comparison signal and the inverted comparison signal, so that when the temperature is high, the zero temperature device is controlled to output current to the outside world, and when the temperature is low, the bandgap reference device is controlled to output current to the outside world.

[0015] Optionally, the temperature comparison device is connected to the inverting input end of the positive temperature transmission module, the inverting module is connected to the non-inverting input end of the positive temperature transmission module, the temperature comparison device is connected to the non-inverting input end of the zero temperature transmission module, and the inverting module is connected to the inverting input end of the zero temperature transmission module.

[0016] By adopting the above technical solution, by adjusting the connection relationship between the temperature comparison device, the inverting module, the positive temperature transmission module and the zero temperature transmission module, when the temperature is high, the positive temperature transmission module is controlled to disconnect the path between the bandgap reference device and the output device, and the zero temperature transmission module is controlled to close the path between the zero temperature device and the output device.

[0017] Optionally, it further includes a humidity detection device, a humidity reference device, a humidity comparison device, a control device and a dehumidification device, wherein the humidity detection device is used to detect an external humidity physical quantity and convert it into a humidity detection signal, the humidity reference device is used to output a humidity reference signal, the humidity comparison device is connected to the humidity detection device and the humidity reference device to receive the humidity detection signal and the humidity reference signal and output a humidity comparison signal, the control device is connected to the humidity comparison device to receive the humidity comparison signal and output a control signal, and the dehumidification device is connected to the control device to receive the control signal and respond to the control signal to control the opening and closing of the dehumidifier;

[0018] When the humidity is high, the humidity detection device outputs a high-level humidity detection signal, and when the humidity is low, the humidity detection device outputs a low-level humidity detection signal;

[0019] When the humidity detection signal is greater than the humidity reference signal, the humidity comparison device outputs a high-level humidity comparison signal, the control device receives the high-level humidity comparison signal and outputs a high-level control signal, and the dehumidification device receives the high-level control signal and controls the dehumidifier to start;

[0020] When the humidity detection signal is not greater than the humidity reference signal, the humidity comparison device outputs a low-level humidity comparison signal, the control device receives the low-level humidity comparison signal and outputs a low-level control signal, and the dehumidification device receives the low-level control signal and controls the dehumidifier to close.

[0021] By adopting the above technical solution, the humidity of the environment where the current source is located is detected by the humidity monitoring device, so that when the humidity is too high, the environmental humidity is reduced by the dehumidifier, thereby reducing the situation where the current source malfunctions due to excessive humidity.

[0022] Optionally, a buzzer device is further included, wherein the buzzer device is connected to the control device to receive a control signal and respond to the control signal to control the opening and closing of the buzzer;

[0023] When the control device outputs a low-level control signal, the buzzer device receives the low-level control signal and controls the buzzer to be turned off;

[0024] When the control device outputs a high-level control signal, the buzzer device receives the high-level control signal and controls the buzzer to start.

[0025] By adopting the above technical solution, when the humidity is too high, the buzzer will sound a buzzer to remind the staff of the high humidity, thereby improving the convenience of the staff in handling abnormal situations and improving the stability of the current source.

[0026] Optionally, a frequency increasing device is further included, wherein the frequency increasing device is connected to the control device to receive a control signal and output a frequency increasing signal to the buzzing device;

[0027] When the control device outputs a high-level control signal, the frequency increasing device receives the high-level control signal and outputs a high-level frequency increasing signal;

[0028] When the control device outputs a low-level control signal, the frequency increasing device receives the low-level control signal and outputs a low-level frequency increasing signal.

[0029] By adopting the above technical solution, the buzzing frequency of the buzzer is increased by a frequency-increasing device, so that the working state of the circuit can be judged according to the buzzing sound. When the buzzing sound is sharp, it means that the humidity is too high and the dehumidifier is working normally. When the buzzing sound is dull, it means that the humidity is too high and the dehumidifier is abnormal. When there is no buzzing sound, it means that the humidity is normal.

[0030] Optionally, the humidity reference device is connected to an output device to receive a temperature signal and output a humidity reference signal;

[0031] When the output device outputs a high-level temperature signal, the humidity reference device outputs a high-level humidity reference signal;

[0032] When the output device outputs a low-level temperature signal, the humidity reference device outputs a low-level humidity reference signal.

[0033] By adopting the above technical solution, the working threshold of the dehumidifier is adjusted according to the ambient temperature, so that when the temperature is high, the working threshold of the dehumidifier is lowered to enable the dehumidifier to start earlier, and when the temperature is low, the working threshold of the dehumidifier is increased to delay the start of the dehumidifier, thereby reducing the situation where water vapor diffuses into the current source and causes a short circuit when the temperature is high.

[0034] Optionally, the bandgap reference device is further configured to provide a reference voltage signal, and the zero-temperature device is connected to the bandgap reference device to receive the reference voltage signal and output a zero-temperature signal.

[0035] By adopting the above technical solution, the bandgap reference device provides a reference voltage signal, thereby facilitating the zero-temperature device to scale the reference voltage signal to obtain the required zero-temperature signal, thereby improving the convenience of using the current source.

[0036] Optionally, the zero-temperature device includes an operational amplifier module, a transistor module and a resistor module, the resistor module is used to adjust the size of the zero-temperature signal and provide a resistance signal, the operational amplifier module is connected to the bandgap reference device and the resistor module to receive a reference voltage signal and a resistance signal and output an operational amplifier signal, and the transistor module is connected to the operational amplifier module to receive an operational amplifier signal and output a zero-temperature signal.

[0037] By adopting the above technical solution, the resistance value of the resistance module is adjusted to output resistance signals of different sizes, thereby adjusting the size of the current signal output by the transistor, and then adjusting the size of the output zero-temperature signal, thereby adjusting the scaling amplitude of the reference voltage signal.

[0038] Optionally, a load device is further included, and the load device is used to convert the current signal output by the bandgap reference device or the zero-temperature device into a voltage signal.

[0039] By adopting the above technical solution, the bandgap reference device and the zero temperature device are connected to the load device respectively, so that the positive temperature signal and the zero temperature signal in the form of current are converted into voltage signals, so that the temperature comparison device can identify the positive temperature signal and the zero temperature signal.

[0040] In summary, the present invention has at least one of the following beneficial technical effects:

[0041] 1. The positive temperature signal and the zero temperature signal are detected by the temperature comparison device, thereby controlling the current source to output a positive temperature signal when the temperature is low, and controlling the current source to output a zero temperature signal when the temperature is high, thereby making the signal output by the current source continuous and stable, and reducing the situation of current mutation;

[0042] 2. The positive temperature transmission module and the zero temperature transmission module are controlled by the in-phase comparison signal and the inverted comparison signal, thereby controlling the zero temperature device to output current to the outside when the temperature is high, and controlling the bandgap reference device to output current to the outside when the temperature is low;

[0043] 3. By adjusting the connection relationship between the temperature comparison device, the inverting module, the positive temperature transmission module and the zero temperature transmission module, when the temperature is high, the positive temperature transmission module is controlled to disconnect the path between the bandgap reference device and the output device, and the zero temperature transmission module is controlled to close the path between the zero temperature device and the output device. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a circuit diagram of a broken line current source;

[0045] Figure 2 It is the circuit schematic diagram of the dehumidification device;

[0046] Figure 3 This is the circuit schematic of the bandgap reference device.

[0047] The names of the parts indicated by the numerical labels in the above drawings are as follows: 1. Bandgap reference device; 2. Zero temperature device; 3. Temperature comparison device; 4. Logic device; 5. Output device; 6. Inverting module; 7. Positive temperature transmission module; 8. Zero temperature transmission module; 9. Humidity detection device; 10. Humidity reference device; 11. Humidity comparison device; 12. Control device; 13. Dehumidification device; 14. Buzzer device; 15. Frequency increasing device; 16. Operational amplifier module; 17. Transistor module; 18. Resistor module; 19. Load device. DETAILED DESCRIPTION

[0048] The present invention is described in further detail below with reference to the accompanying drawings and embodiments.

[0049] The embodiment of the utility model discloses a broken line current source. Figure 1 A broken line current source includes a bandgap reference device 1, a zero temperature device 2, a load device 19, a temperature comparison device 3, a logic device 4 and an output device 5, wherein the bandgap reference device 1 is used to detect an external temperature physical quantity and output a positive temperature signal, the zero temperature device 2 is used to provide a zero temperature signal, the load device 19 is used to convert the positive temperature signal and the zero temperature signal in the form of current into a voltage signal, the temperature comparison device 3 is connected to the bandgap reference device 1 and the zero temperature device 2 to receive the positive temperature signal and the zero temperature signal and output a same-phase comparison signal, the logic device 4 is connected to the temperature comparison device 3 to receive the same-phase comparison signal and respond to the same-phase comparison signal to select the bandgap reference device 1 or the zero temperature device 2 to be connected to the output device 5, and the output device 5 is used to output the positive temperature signal or the zero temperature signal to the outside world.

[0050] Bandgap reference device 1 includes interface 2-1 and interface 2-2. Interfaces 2-1 and 2-2 are two positive temperature signals pulled from bandgap reference device 1. The positive temperature signals from interface 2-1 and interface 2-2 do not affect each other. Zero-temperature device 2 includes interface 3-1 and interface 3-2. Interfaces 3-1 and 3-2 are two zero-temperature signals pulled from zero-temperature device 2. The zero-temperature signals from interface 3-1 and interface 3-2 do not affect each other.

[0051] The load device 19 includes a resistor R1 and a resistor R2. The temperature comparison device 3 includes a comparator N1. The comparator N1 can be a comparator chip of model TLV1701AIDCLKR.

[0052] The logic device 4 includes an inverting module 6, a positive temperature transmission module 7 and a zero temperature transmission module 8. The inverting module 6 is connected to the temperature comparison device 3 to receive the same-phase comparison signal and output the opposite-phase comparison signal. The positive temperature transmission module 7 is connected to the temperature comparison device 3 and the inverting module 6 to receive the same-phase comparison signal and the opposite-phase comparison signal and respond to the same-phase comparison signal and the opposite-phase comparison signal to control the opening and closing of the path between the bandgap reference device 1 and the output device 5. The zero temperature transmission module 8 is connected to the temperature comparison device 3 and the inverting module 6 to receive the same-phase comparison signal and the opposite-phase comparison signal and respond to the same-phase comparison signal and the opposite-phase comparison signal to control the opening and closing of the path between the zero temperature device 2 and the output device 5.

[0053] The inversion module 6 includes a logic gate U1, which can use a NOT gate integrated chip with model number 74LS04. The positive temperature transmission module 7 includes a transmission gate TG2, and the zero temperature transmission module 8 includes a transmission gate TG1. Both the transmission gate TG2 and the transmission gate TG1 can use a CMOS transmission gate chip with model number CD4066BE.

[0054] The output device 5 includes a port A. The port A can be changed according to the docking device. The port A is selected by the staff according to the actual situation and will not be described in detail here.

[0055] The negative electrode of interface 3-1 is connected to the power supply VDD and then to the negative electrode of interface 2-1. The positive electrode of interface 3-1 is connected to one end of resistor R1 and then to the negative input terminal of comparator N1. The other end of resistor R1 is connected to ground GND. The positive electrode of interface 2-1 is connected to one end of resistor R2 and then to the positive input terminal of comparator N1. The other end of resistor R2 is connected to ground GND. The output terminal of comparator N1 is connected to the input terminal of logic gate U1 and then to the non-inverting input terminal of transmission gate TG1 and then to the inverting input terminal of TG2. The output terminal of logic gate U1 is connected to the inverting input terminal of transmission gate TG1 and then to the non-inverting input terminal of TG2. One input terminal of transmission gate TG1 is connected to the positive electrode of interface 3-2. The negative electrode of interface 3-2 is connected to the power supply VDD and then to the negative electrode of interface 2-2. The other input terminal of transmission gate TG1 is connected to port A and then to one input terminal of transmission gate TG2. The other input terminal of transmission gate TG2 is connected to the positive electrode of interface 2-2.

[0056] Reference Figure 2 , also includes a humidity detection device 9, a humidity reference device 10, a humidity comparison device 11, a control device 12, a dehumidification device 13, a buzzer 14 and a frequency increasing device 15, the humidity detection device 9 is used to detect the external humidity physical quantity and convert it into a humidity detection signal, the humidity reference device 10 is connected to the output device 5 to receive the temperature signal and output the humidity reference signal, the humidity comparison device 11 is connected to the humidity detection device 9 and the humidity reference device 10 to receive the humidity detection signal and the humidity reference signal and output the humidity comparison signal, the control device 12 is connected to the humidity comparison device 11 to receive the humidity comparison signal and output the control signal, the dehumidification device 13 is connected to the control device 12 to receive the control signal and respond to the control signal to control the opening and closing of the dehumidifier, the buzzer 14 is connected to the control device 12 to receive the control signal and respond to the control signal to control the opening and closing of the buzzer, and the frequency increasing device 15 is connected to the control device 12 to receive the control signal and output the frequency increasing signal to the buzzer 14.

[0057] Humidity detection device 9 includes humidity-sensitive resistor RS and resistor R5, where humidity-sensitive resistor RS is a humidity-sensitive resistor with a negative humidity coefficient. Humidity reference device 10 includes resistors R3, R4, and R6. Humidity comparison device 11 includes comparator N2, which can be a comparator chip model TLV1701AIDCLKR.

[0058] The control device 12 includes a relay KM1, a relay KM2 and a transistor Q1. The relay KM1 and the relay KM2 can both be electromagnetic relays with a model number of JQX-13F, and the transistor Q1 can be an NPN transistor with a model number of 9013.

[0059] The dehumidification device 13 includes a relay normally open contact KM2-1 and a dehumidifier. The dehumidifier is selected by the staff according to actual conditions and will not be described here. The buzzer device 14 includes a resistor R7, a relay normally open contact KM2-2 and a buzzer HA. The frequency increasing device 15 includes a resistor R8 and a relay normally open contact KM1-1.

[0060] One end of the humidity-sensitive resistor RS is connected to the power supply VCC, the other end of the humidity-sensitive resistor RS is connected to one end of the resistor R5 and then to the positive input end of the comparator N2, the other end of the resistor R5 is connected to the ground GND, one end of the resistor R3 is connected to port A, the other end of the resistor R3 is connected to one end of the resistor R4 and then to one end of the resistor R6, the other end of the resistor R4 is connected to the ground GND, the other end of the resistor R6 is connected to the negative input end of the comparator N2, the output end of the comparator N2 is connected to the base of the transistor Q1, the emitter of the transistor Q1 is connected to the ground GND, the collector of the transistor Q1 is connected to the output end of the relay KM2, and the input end of the relay KM2 is connected to the The output end is connected, the input end of the relay KM1 is connected to the power supply VCC, one end of the relay normally open contact KM2-1 is connected to the power supply VCC and then to one end of the resistor R7 and then to one end of the resistor R8, the other end of the relay normally open contact KM2-1 is connected to the input end of the dehumidifier, the other end of the dehumidifier is connected to the ground GND, the other end of the resistor R7 is connected to one end of the relay normally open contact KM2-2, the other end of the relay normally open contact KM2-2 is connected to one end of the relay normally open contact KM1-1 and then to the input end of the buzzer HA, the other end of the resistor R8 is connected to the other end of the relay normally open contact KM1-1, and the output end of the buzzer HA is connected to the ground GND.

[0061] Reference Figure 3 The bandgap reference device 1 is further configured to provide a reference voltage signal. The zero-temperature device 2 is connected to the bandgap reference device 1 to receive the reference voltage signal and output a zero-temperature signal.

[0062] The bandgap reference device 1 includes a transistor MP0, a transistor MP1, a transistor MP2, a transistor MP3, an operational amplifier N3, a bipolar junction transistor BJ0, a bipolar junction transistor BJ1, a bipolar junction transistor BJ2, a resistor R9, a resistor R10 and a port B. MP0, the transistor MP1, the transistor MP2, the transistor MP3, the operational amplifier N3, the bipolar junction transistor BJ0, the bipolar junction transistor BJ1, the bipolar junction transistor BJ2, the resistor R9 and the resistor R10 are used to form a bandgap reference circuit. The bandgap reference circuit is common knowledge among those skilled in the art. The model used is selected by the staff according to actual conditions and will not be described in detail here. Port B is used to output a positive temperature signal.

[0063] The zero-temperature device 2 includes an operational amplifier module 16, a transistor module 17, a resistor module 18 and a port C. The operational amplifier module 16 includes an operational amplifier N4, the transistor module 17 includes transistors MP4 and MP5, the resistor module 18 includes a resistor R11, and the port C is used to output a zero-temperature signal. The transistors MP4, MP5, operational amplifier N4 and resistor R11 are used to form a current mirror circuit. The current mirror circuit is common knowledge in this field. The model used is selected by the staff according to actual conditions and will not be described in detail here.

[0064] The source of transistor MP0 is connected to the power supply VDD, and then to the source of transistor MP1, and then to the source of transistor MP2, and then to the source of transistor MP3. The gate of transistor MP0 is connected to the output terminal of operational amplifier N3, and then to the gate of transistor MP1, and then to the gate of transistor MP2, and then to the gate of transistor MP3. The drain of transistor MP0 is connected to the positive input terminal of operational amplifier N3, and then to the collector of bipolar junction transistor BJ0. The drain of transistor MP1 is connected to the negative input terminal of operational amplifier N3, and then to one end of resistor R9. The other end of resistor R9 is connected to the collector of bipolar junction transistor BJ1. The collector of bipolar junction transistor BJ0 is connected to the emitter of bipolar junction transistor BJ0, and then to the base of bipolar junction transistor BJ1, and then to the collector of bipolar junction transistor BJ1. The emitter of the bipolar junction transistor BJ1 is connected to the base of the bipolar junction transistor BJ2, and then to the emitter of the bipolar junction transistor BJ2, and then to ground GND. The drain of the transistor MP2 is connected to the negative input terminal of the operational amplifier N4, and then to one end of the resistor R10. The other end of the resistor R10 is connected to the collector of the bipolar junction transistor BJ2. The drain of the transistor MP2 is connected to port B. The positive input terminal of the operational amplifier N4 is connected to one end of the resistor R11, and then to the drain of the transistor MP4. The output terminal of the operational amplifier N4 is connected to the gate of the transistor MP4, and then to the gate of the transistor MP5. The source of the transistor MP4 is connected to the power supply VDD, and then to the source of the transistor MP5. The other end of the resistor R11 is connected to ground GND. The drain of the transistor MP5 is connected to port C.

[0065] The implementation principle of a broken line current source in the embodiment of the present utility model is as follows:

[0066] When the temperature is low, the bandgap reference device 1 outputs a low-level positive temperature signal, the temperature comparison device 3 receives the low-level positive temperature signal and the zero temperature signal and outputs a low-level in-phase comparison signal, the inverting module 6 receives the low-level in-phase comparison signal and outputs a high-level inverted comparison signal, the positive temperature transmission module 7 receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the bandgap reference device 1 and the output device 5 to be closed, the zero temperature transmission module 8 receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the zero temperature device 2 and the output device 5 to be disconnected, and the output device 5 outputs a positive temperature signal;

[0067] When the temperature is high, the bandgap reference device 1 outputs a high-level positive temperature signal, the temperature comparison device 3 receives the high-level positive temperature signal and the zero temperature signal and outputs a high-level in-phase comparison signal, the inverting module 6 receives the high-level in-phase comparison signal and outputs a low-level inverted comparison signal, the positive temperature transmission module 7 receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the bandgap reference device 1 and the output device 5 to be disconnected, the zero temperature transmission module 8 receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the zero temperature device 2 and the output device 5 to be closed, and the output device 5 outputs a zero temperature signal.

[0068] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiment. All technical solutions based on the concept of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, certain improvements and modifications that do not depart from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A broken line current source, characterized in that: The invention comprises a bandgap reference device (1), a zero temperature device (2), a temperature comparison device (3), a logic device (4) and an output device (5), wherein the bandgap reference device (1) is used to detect an external temperature physical quantity and output a positive temperature signal, the zero temperature device (2) is used to provide a zero temperature signal, the temperature comparison device (3) is connected to the bandgap reference device (1) and the zero temperature device (2) to receive the positive temperature signal and the zero temperature signal and output an in-phase comparison signal, the logic device (4) is connected to the temperature comparison device (3) to receive the in-phase comparison signal and selects the bandgap reference device (1) or the zero temperature device (2) to be connected to the output device (5) in response to the in-phase comparison signal, and the output device (5) is used to output the positive temperature signal or the zero temperature signal to the outside world; When the temperature is low, the bandgap reference device (1) outputs a low-level positive temperature signal, the temperature comparison device (3) receives the low-level positive temperature signal and the zero temperature signal and outputs a low-level in-phase comparison signal, the logic device (4) receives the low-level in-phase comparison signal and controls the bandgap reference device (1) and the output device (5) to be turned on, and the output device (5) outputs a positive temperature signal; When the temperature is high, the bandgap reference device (1) outputs a high-level positive temperature signal, the temperature comparison device (3) receives the high-level positive temperature signal and the zero temperature signal and outputs a high-level in-phase comparison signal, the logic device (4) receives the high-level in-phase comparison signal and controls the zero temperature device (2) and the output device (5) to be turned on, and the output device (5) outputs the zero temperature signal.

2. A broken line current source according to claim 1, characterized in that: The logic device (4) includes an inverting module (6), a positive temperature transmission module (7) and a zero temperature transmission module (8); the inverting module (6) is connected to the temperature comparison device (3) to receive a same-phase comparison signal and output a negative-phase comparison signal; the positive temperature transmission module (7) is connected to the temperature comparison device (3) and the inverting module (6) to receive a same-phase comparison signal and a negative-phase comparison signal and to control the opening and closing of a path between the bandgap reference device (1) and the output device (5) in response to the same-phase comparison signal and the negative-phase comparison signal; the zero temperature transmission module (8) is connected to the temperature comparison device (3) and the inverting module (6) to receive a same-phase comparison signal and a negative-phase comparison signal and to control the opening and closing of a path between the zero temperature device (2) and the output device (5) in response to the same-phase comparison signal and the negative-phase comparison signal; When the bandgap reference device (1) outputs a low-level positive temperature signal, the inverting module (6) receives the low-level in-phase comparison signal and outputs a high-level inverted comparison signal, the positive temperature transmission module (7) receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the bandgap reference device (1) and the output device (5) to be closed, the zero-temperature transmission module (8) receives the low-level in-phase comparison signal and the high-level inverted comparison signal and controls the path between the zero-temperature device (2) and the output device (5) to be disconnected, and the output device (5) outputs a positive temperature signal; When the bandgap reference device (1) outputs a high-level positive temperature signal, the inverting module (6) receives a high-level in-phase comparison signal and outputs a low-level inverted comparison signal. The positive temperature transmission module (7) receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the bandgap reference device (1) and the output device (5) to be disconnected. The zero-temperature transmission module (8) receives the high-level in-phase comparison signal and the low-level inverted comparison signal and controls the path between the zero-temperature device (2) and the output device (5) to be closed, and the output device (5) outputs a zero-temperature signal.

3. The zigzag current source according to claim 2, wherein: The temperature comparison device (3) is connected to the inverting input end of the positive temperature transmission module (7), the inverting module (6) is connected to the non-inverting input end of the positive temperature transmission module (7), the temperature comparison device (3) is connected to the non-inverting input end of the zero temperature transmission module (8), and the inverting module (6) is connected to the inverting input end of the zero temperature transmission module (8).

4. The zigzag current source according to claim 1, wherein: The invention also includes a humidity detection device (9), a humidity reference device (10), a humidity comparison device (11), a control device (12) and a dehumidification device (13), wherein the humidity detection device (9) is used to detect an external humidity physical quantity and convert it into a humidity detection signal, the humidity reference device (10) is used to output a humidity reference signal, the humidity comparison device (11) is connected to the humidity detection device (9) and the humidity reference device (10) to receive the humidity detection signal and the humidity reference signal and output a humidity comparison signal, the control device (12) is connected to the humidity comparison device (11) to receive the humidity comparison signal and output a control signal, and the dehumidification device (13) is connected to the control device (12) to receive the control signal and control the opening and closing of the dehumidifier in response to the control signal; When the humidity is high, the humidity detection device (9) outputs a high-level humidity detection signal, and when the humidity is low, the humidity detection device (9) outputs a low-level humidity detection signal; When the humidity detection signal is greater than the humidity reference signal, the humidity comparison device (11) outputs a high-level humidity comparison signal, the control device (12) receives the high-level humidity comparison signal and outputs a high-level control signal, and the dehumidification device (13) receives the high-level control signal and controls the dehumidifier to start; When the humidity detection signal is not greater than the humidity reference signal, the humidity comparison device (11) outputs a low-level humidity comparison signal, the control device (12) receives the low-level humidity comparison signal and outputs a low-level control signal, and the dehumidification device (13) receives the low-level control signal and controls the dehumidifier to be closed.

5. The zigzag current source according to claim 4, characterized in that: Also included is a buzzer device (14), which is connected to the control device (12) to receive a control signal and respond to the control signal to control the opening and closing of the buzzer; When the control device (12) outputs a low-level control signal, the buzzer device (14) receives the low-level control signal and controls the buzzer to be turned off; When the control device (12) outputs a high-level control signal, the buzzer device (14) receives the high-level control signal and controls the buzzer to start.

6. The zigzag current source according to claim 5, characterized in that: It also includes a frequency increasing device (15), which is connected to the control device (12) to receive a control signal and output a frequency increasing signal to the buzzing device (14); When the control device (12) outputs a high-level control signal, the frequency increasing device (15) receives the high-level control signal and outputs a high-level frequency increasing signal; When the control device (12) outputs a low-level control signal, the frequency increasing device (15) receives the low-level control signal and outputs a low-level frequency increasing signal.

7. The zigzag current source according to claim 4, characterized in that: The humidity reference device (10) is connected to the output device (5) to receive a temperature signal and output a humidity reference signal; When the output device (5) outputs a high-level temperature signal, the humidity reference device (10) outputs a high-level humidity reference signal; When the output device (5) outputs a low-level temperature signal, the humidity reference device (10) outputs a low-level humidity reference signal.

8. The zigzag current source according to claim 1, characterized in that: The bandgap reference device (1) is also used to provide a reference voltage signal, and the zero-temperature device (2) is connected to the bandgap reference device (1) to receive the reference voltage signal and output a zero-temperature signal.

9. The zigzag current source according to claim 8, characterized in that: The zero-temperature device (2) comprises an operational amplifier module (16), a transistor module (17) and a resistor module (18); the resistor module (18) is used to adjust the magnitude of the zero-temperature signal and provide a resistance signal; the operational amplifier module (16) is connected to the bandgap reference device (1) and the resistor module (18) to receive a reference voltage signal and a resistance signal and output an operational amplifier signal; and the transistor module (17) is connected to the operational amplifier module (16) to receive the operational amplifier signal and output a zero-temperature signal.

10. The zigzag current source according to claim 1, characterized in that: The invention also comprises a load device (19), wherein the load device (19) is used to convert the current signal output by the bandgap reference device (1) or the zero-temperature device (2) into a voltage signal.