SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a compressor driver with low pressure detects function.
The utility model adopts the following technical scheme:
the compressor driver with the low-voltage detection function comprises a low-voltage detection circuit, a master control circuit, a compressor driving circuit and a power supply circuit;
the low-voltage detection circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a voltage-stabilizing diode D1, a diode D2, an operational amplifier U1, an operational amplifier U2 and a photoelectric coupler U3,
the first end of the resistor R1 is connected with a 5V power supply, the second end of the resistor R1 is connected with the non-inverting input end of the operational amplifier U1, the second end of the resistor R2 is grounded GND1, the second end of the resistor R2 sequentially passes through the resistor R3 and the resistor R4 and is connected with the inverting input end of the operational amplifier U2, the directional input end of the operational amplifier U1 is grounded GND1 through the capacitor C1,
the output end of the operational amplifier U1 is connected with the inverting input end of the operational amplifier U2 through the resistor R4,
the first end of the resistor R5 is connected with the power output end of a low-voltage input power supply, the second end of the resistor R5 is connected with the non-inverting input end of the operational amplifier U2 through the resistor R6, the second end of the resistor R7 is grounded GND1,
the non-inverting input terminal of the operational amplifier U2 is grounded GND1 through the capacitor C2,
the anode of the voltage-stabilizing diode D1 is grounded GND1, the cathode is connected with the non-inverting input end of the operational amplifier U2 through the resistor R6,
a pin 1 of the photoelectric coupler U3 is connected with the output end of the operational amplifier U2 through the resistor R8, a pin 1 is grounded through the capacitor C3, a pin 1 is connected with the cathode of the diode D2, a pin 2 is connected with the ground GND1, a pin 3 is connected with the ground GND2, a pin 4 is connected with a 3.3V power supply through the resistor R9, a pin 4 is connected with the first end of the resistor R10,
the anode of the diode D2 is grounded GND1;
the power supply voltage detection end of the main control circuit is connected with the second end of the resistor R10, the driving end of the main control circuit is connected with the compressor driving circuit, and the power supply input end of the main control circuit is connected with the power supply output end of the power supply circuit;
and the power supply input end of the power supply circuit is connected with the power supply output end of the low-voltage input power supply.
The utility model provides a compressor driver with low pressure detects function, detectable power be the voltage of low pressure input power supply again normal operating range in, when not in normal operating range, master control circuit 2 then gets into the protection state to avoid whole compressor driver to appear the condition of damaging because of voltage abnormity.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific embodiments.
Refer to fig. 1 and 2. The compressor driver with the low voltage detection function provided by the embodiment comprises a low voltage detection circuit 1, a main control circuit 2, a compressor driving circuit 3 and a power supply circuit 4;
the low-voltage detection circuit 1 comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a voltage stabilizing diode D1, a diode D2, an operational amplifier U1, an operational amplifier U2 and a photoelectric coupler U3,
the first end of the resistor R1 is connected with a 5V power supply, the non-inverting input end of the second end operational amplifier U1, the second end is grounded GND1 through the resistor R2, the second end is connected with the inverting input end of the operational amplifier U2 through the resistor R3 and the resistor R4 in sequence, the directional input end of the operational amplifier U1 is grounded GND1 through the capacitor C1,
the output end of the operational amplifier U1 is connected with the inverting input end of the operational amplifier U2 through a resistor R4,
the first end of the resistor R5 is connected with the power output end of the low-voltage input power supply 5, the second end is connected with the non-inverting input end of the operational amplifier U2 through a resistor R6, the second end is grounded GND1 through a resistor R7,
the non-inverting input terminal of the operational amplifier U2 is connected to GND1 via a capacitor C2,
the anode of the voltage-stabilizing diode D1 is grounded GND1, the cathode is connected with the non-inverting input end of the operational amplifier U2 through a resistor R6,
a pin 1 of the photoelectric coupler U3 is connected with the output end of the operational amplifier U2 through a resistor R8, the pin 1 is grounded through a capacitor C3, the pin 1 is connected with the cathode of a diode D2, the pin 2 is grounded GND1, the pin 3 is grounded GND2, the pin 4 is connected with a 3.3V power supply through a resistor R9, the pin 4 is connected with the first end of a resistor R10,
the anode of the diode D2 is grounded GND1;
the power supply voltage detection end of the main control circuit 2 is connected with the second end of the resistor R10, the driving end is connected with the compressor driving circuit 3, and the power supply input end is connected with the power supply output end of the power supply circuit 4;
the power supply input end of the power supply circuit 4 is connected with the power supply output end of the low-voltage input power supply 5.
The operation principle of the compressor driver having the low pressure detection function according to the present embodiment will be described in detail as follows:
the resistor R1, the resistor R2, the resistor R3, the resistor R4, the capacitor C1 and the operational amplifier U1 jointly form a triangular wave generating circuit, and an output triangular wave signal is input to the inverting input end of the operational amplifier U2;
the resistor R5 and the resistor R7 form a voltage division circuit, and the voltage output by the low-voltage input power supply 5 is divided into proper voltage to be input to the non-inverting input end of the operational amplifier U2;
the resistor R6 and the capacitor C2 form a filter circuit, and an output power supply of the low-voltage input power supply 5 is filtered and then input to the non-inverting input end of the operational amplifier U2;
the voltage stabilizing diode D1 is an amplitude limiting protection circuit and protects the input voltage of the non-inverting input end of the operational amplifier U2 from being too large to cause damage to the operational amplifier U2.
The resistor R8 is a current limiting resistor and limits the current of the photoelectric coupler U3;
the capacitor C3 is a filter capacitor and is used for filtering clutter of an input signal of the photoelectric coupler U3;
the diode D2 is an amplitude limiting diode and protects the photoelectric coupler U3;
the photoelectric coupler U3 plays a role in signal isolation.
The voltage signal detected by the power supply voltage detection end of the main control circuit 2 changes along with the on-off change of the photoelectric coupler U3.
The triangular wave voltage signal U1_ out output by the triangular wave generating circuit is input to the inverting input terminal of the operational amplifier U2, the divided power supply voltage signal of the low-voltage input power supply 5 is input to the non-inverting input terminal, and the duty ratio of the voltage signal output by the operational amplifier U2, such as U2_ out1 and U2_ out2, changes due to the unstable output voltage of the low-voltage input power supply 5, that is, the voltage Vin input to the non-inverting input terminal of the operational amplifier U2 changes, such as Vin1 and Vin 2.
Therefore, the duration of the conduction interval of the photocoupler U3 also changes, and thus, the voltage signal detected by the power supply voltage detection end of the main control circuit 2 also changes, specifically, whether the voltage of the low-voltage input power supply is within the predetermined range is determined according to the duty ratio of the detected voltage signal. Specifically, as shown in fig. 2, in the range of the triangular wave signal output by the triangular wave generating circuit, the duty ratio of the voltage signal U2_ out output by the operational amplifier U2 is smaller, and vice versa, as the voltage output by the low-voltage input power supply 5 is higher, i.e., vin after voltage division is higher. Therefore, the duty ratio range of U2_ out corresponding to the normal working range value of the voltage output by the low-voltage input power supply 5 can be preset in the main control circuit 2, and whether the voltage output by the low-voltage input power supply 5 is in the normal working range can be judged by detecting the duty ratio of U2_ out. When the voltage output by the low-voltage input power supply 5 is detected to be in a normal working range, the main control circuit 2 works normally, otherwise, the protection state is entered.
By above, the compressor driver with low voltage detection function that this embodiment provided, whether detectable power supply is in normal operating range again, when not in normal operating range, master control circuit 2 then gets into the protection state to avoid whole compressor driver to appear the condition of damaging because of the voltage anomaly.
In this embodiment, the 5V power supply and the 3.3V power supply are power supplies output by the power supply circuit 4.
In this embodiment, operational amplifiers U1 and U2 are two operational amplifiers in integrated circuit LM 2904B-Q1.
In this embodiment, the main control circuit 2 is composed of a single chip microcomputer of a model TMS320F2802x or TMS320F2803x series and peripheral circuits thereof.
The above is an illustration of the present invention.