Disclosure of utility model
The embodiment of the application provides a power supply control circuit and an auxiliary power supply, which can prevent the situation that a chip in the auxiliary power supply consumes battery power when the battery is under-voltage, and reduce the battery loss.
The embodiment of the application provides a power supply control circuit which comprises a control module, a switch module and a main control module, wherein the control module is respectively connected with the switch module and a battery, the switch module is also respectively connected with the main control module and a power supply, the control module is used for collecting battery voltage and outputting a first control signal when the battery voltage is larger than a preset voltage and outputting a second control signal when the battery voltage is smaller than or equal to the preset voltage, the switch module is used for being conducted when the first control signal is received so that the power supply supplies power to the main control module, and is disconnected when the second control signal is received, and the main control module is used for providing voltage for other chips in an auxiliary power supply when the main control module is electrified.
In some embodiments, the control module comprises a voltage detection unit and a control unit, wherein the voltage detection unit is respectively connected with the battery and the control unit, the control unit is also connected with the switch module, the voltage detection unit is used for collecting the battery voltage, and the control unit is used for outputting the first control signal when the battery voltage is greater than the preset voltage.
In some embodiments, the switch module comprises a first switch unit and a second switch unit, wherein the first switch unit is respectively connected with the control module and the second switch unit, the second switch unit is also respectively connected with the power supply and the main control module, the first switch unit is used for being conducted when the first control signal is received and being disconnected when the second control signal is received, and the second switch unit is used for being conducted when the first switch unit is conducted so that the power supply can supply power for the main control module through the second switch unit, and is disconnected when the first switch unit is disconnected.
In some embodiments, the first switch unit comprises an optocoupler P1, a first input end of the optocoupler P1 is connected with the control module, a second input end of the optocoupler P1 is grounded, a first output end of the optocoupler P1 is connected with a first input end of the second switch unit, and a second output end of the optocoupler P1 is connected with a control end of the second switch unit.
In some embodiments, the first switch unit further comprises a resistor R3, and the first input end of the optocoupler P1 is connected with the control module through the resistor R3.
In some embodiments, the second switching unit includes a switching tube Q1, a resistor R2, and a resistor R4, where a control end of the switching tube Q1 is connected to a second end of the resistor R1 and a second output end of the first switching unit, the second end of the switching tube Q1 is connected to the power supply through the resistor R4, the second end of the switching tube Q1 is further connected to the first output end of the first switching unit through the resistor R2, and a third end of the switching tube Q1 is connected to the first end of the resistor R1 and the master control module, respectively.
In some embodiments, the main control module comprises a power supply chip U1, a power end of the power supply chip U1 is connected with the switch module, and an output end of the power supply chip is connected with other chips in the auxiliary power supply.
In some embodiments, the main control module further comprises a capacitor C1, wherein a first end of the capacitor C1 is connected with a power end of the power supply chip U1, and a second end of the capacitor C1 is grounded.
In a second aspect, embodiments of the present application provide an auxiliary power supply comprising a power supply control circuit as described above.
The embodiment of the application provides a power supply control circuit and an auxiliary power supply, wherein the power supply control circuit comprises a control module, a switch module and a main control module, the control module is respectively connected with the switch module and a battery, the switch module is also respectively connected with the main control module and the power supply, the control module is used for collecting battery voltage and outputting a first control signal when the battery voltage is larger than a preset voltage and outputting a second control signal when the battery voltage is smaller than or equal to the preset voltage, the switch module is used for being conducted when the first control signal is received so that the power supply supplies power to the main control module and is disconnected when the second control signal is received, and the main control module is used for providing voltage for other chips in the auxiliary power supply when the main control module is electrified. The embodiment of the application starts power supply only when the battery voltage is larger than the preset voltage, thereby avoiding unnecessary energy consumption and improving the energy utilization efficiency. And, prevent the battery from overdischarging when the voltage is insufficient, help to lengthen the service life of the battery.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are some, but not all, embodiments of the application. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Features of the various embodiments of the application described below may be combined with one another without constituting any conflict.
When an element is referred to as being "connected" to another element, it can be directly connected to the other element or one or more intervening elements may be present therebetween.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more.
Referring to fig. 1, fig. 1 is a block diagram illustrating a power supply control circuit 100 according to an embodiment of the application.
The embodiment of the application provides a power supply control circuit 100, which comprises a control module 10, a switch module 20 and a main control module 30.
The control module 10 is connected with the switch module 20 and the battery 200, and the switch module 20 is also connected with the main control module 30 and the power supply 300.
Specifically, the control module 10 is configured to collect a battery voltage, output a first control signal when the battery voltage is greater than a preset voltage, and output a second control signal when the battery voltage is less than or equal to the preset voltage. The switch module 20 is configured to be turned on when receiving the first control signal to enable the power supply 300 to supply power to the main control module 30, and turned off when receiving the second control signal. The main control module 30 is used for providing voltage for other chips in the auxiliary power supply when the power is on.
Wherein the battery voltage is the output voltage of the battery 200.
It should be noted that, when the battery voltage is smaller than the preset voltage, it represents that the battery is in an under-voltage state. The preset voltage is set according to the model of the battery 200, etc. For example, when the output voltage of the battery 200 is less than 20V and the battery 200 is in an under-voltage state, the preset voltage may be set to 20V.
The power supply control circuit 100 provided by the embodiment of the application starts power supply only when the battery voltage is greater than the preset voltage, thereby avoiding unnecessary energy consumption and improving the energy utilization efficiency. And the over discharge of the battery can be prevented when the voltage is insufficient, and the service life of the battery can be prolonged. The other chips in the auxiliary power supply are ensured to work under proper power supply conditions, stable voltage is provided, and the reliability and stability of the whole system are improved. The intelligent management of power supply is realized through the monitoring of the control module to the battery voltage and the corresponding control signal output, and the intelligent management is suitable for different working states and battery conditions. And the power source resource is reasonably utilized, and unnecessary power loss and equipment loss are reduced, so that the overall cost of the system is reduced to a certain extent. The stable power supply is beneficial to improving the performance of the whole system and reducing faults and errors caused by unstable voltage.
Referring to fig. 2, fig. 2 is a block diagram illustrating a power supply control circuit 100 according to another embodiment of the application.
In some embodiments, the control module 10 includes a voltage detection unit 11 and a control unit 12. The voltage detection unit 11 is connected to the battery 200 and the control unit 12, respectively, and the control unit 12 is also connected to the switch module 20. Specifically, the voltage detection unit 11 is used for acquiring the battery voltage. The control unit 12 is configured to output a first control signal when the battery voltage is greater than a preset voltage, and to output a second control signal when the battery voltage is less than or equal to the preset voltage.
The voltage detection unit 11 includes voltage dividing resistors, an analog-to-digital converter, a filter capacitor, and the like. The control unit 12 may be an MCU (Micro Control Unit ), or other suitable control device.
In the present embodiment, the voltage detection unit 11 collects the battery voltage and transmits the battery voltage to the control unit 12. The control unit 12 outputs a first control signal to the switching module 20 when the battery voltage is greater than a preset voltage. The control unit 12 outputs a second control signal to the switching module 20 when the battery voltage is less than or equal to a preset voltage.
The first control signal is a high level signal, and the second control signal is a low level signal.
In some embodiments, the switching module 20 includes a first switching unit 21 and a second switching unit 22. The first switch unit 21 is connected to the control module 10 and the second switch unit 22, and the second switch unit 22 is also connected to the power supply 300 and the main control module 30. Specifically, the first switch unit 21 is configured to be turned on when receiving the first control signal and turned off when receiving the second control signal. The second switch unit 22 is used for being turned on when the first switch unit 21 is turned on to enable the power supply 300 to supply power to the main control module 30 through the second switch unit 22, and turned off when the first switch unit 21 is turned off.
Referring to fig. 3, fig. 3 is a schematic circuit diagram of a power supply control circuit 100 according to an embodiment of the application.
In some embodiments, the first switching unit 21 includes an optocoupler P1. The first input end of the optocoupler P1 is connected to the control module 10, the second input end of the optocoupler P1 is grounded, the first output end of the optocoupler P1 is connected to the first input end of the second switch unit 22, and the second output end of the optocoupler P1 is connected to the control end of the second switch unit 22.
In some embodiments, the first switching unit 21 further includes a resistor R3. The first input of the optocoupler P1 is connected to the control module 10 via a resistor R3.
In some embodiments, the second switching unit 22 includes a switching tube Q1, a resistor R2, and a resistor R4. The control end of the switching tube Q1 is connected to the second end of the resistor R1 and the second output end of the first switching unit 21, the second end of the switching tube Q1 is connected to the power supply 300 through the resistor R4, the second end of the switching tube Q1 is further connected to the first output end of the first switching unit 21 through the resistor R2, and the third end of the switching tube Q1 is connected to the first end of the resistor R1 and the main control module 30.
The switching transistor Q1 is an NPN transistor. The base electrode of the NPN triode is the control end of the switching tube Q1, the collector electrode of the NPN triode is the second end of the switching tube Q1, and the emitter electrode of the NPN triode is the third end of the switching tube Q1. In other embodiments, the switch Q1 may be a PNP transistor or a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor, metal-Oxide semiconductor field effect transistor) or the like.
In some embodiments, the master control module 30 includes a power supply chip U1. The power supply end of the power supply chip U1 is connected to the switch module 20, and the output end of the power supply chip is connected to the other chips in the auxiliary power supply 300.
The power supply chip U1 may be a linear voltage regulator chip, such as 7805, 7812, or a switching voltage regulator chip, such as LM2596, TPS5430, or other suitable voltage output chip.
In some embodiments, the master control module 30 further includes a capacitor C1. The first end of the capacitor C1 is connected with the power end of the power supply chip U1, and the second end of the capacitor C1 is grounded.
The principle of operation of the power supply control circuit 100 will be described below with reference to fig. 3.
The battery detection unit 11 collects the battery voltage, the control unit 12 is connected to the 1 pin of the optocoupler P1 through the resistor R3 (the optocoupler P1 in fig. 3, other pins are similar), the 2 pin of the optocoupler P1 is grounded, the 4 pin of the optocoupler P1 is connected to the base of the switching tube Q1, the base of the switching tube Q1 is connected with the emitter of the switching tube Q1 in parallel with the resistor R1, the 3 pin of the optocoupler P1 is connected to the collector of the switching tube Q1 through the resistor R2, the emitter of the switching tube Q1 is connected to the 5 pin (Vcc pin) of the chip U1, and the 5 pin of the chip U1 is connected with the ground in parallel with a filter capacitor C1.VCCP is a stable supply voltage. When the switching tube Q1 is turned on, VCCP supplies power to the chip U1 through a current limiting resistor R4 and the switching tube Q1.
Specifically, the battery detection unit 11 collects the battery voltage.
When the battery voltage is greater than the preset voltage (i.e. the battery 200 is not under-voltage), the control unit 12 outputs a high-level signal (i.e. the first control signal) to the 1 pin of the optocoupler P1 through the resistor R3, so that the diode in the optocoupler P1 is turned on, and the triode in the optocoupler P1 (3 pins and 4 pins of the optocoupler P1) is turned on. Then, the resistor R2 and the resistor R1 are connected together, and VCCP is divided by the resistor R4, the resistor R2, and the resistor R1 to the base of the switching transistor Q1, so that the transistor Q1 is turned on. At this time, VCCP provides voltage to pin 5 (Vcc pin) of the chip U1 through the resistor R4 and the switching tube Q1, and the chip U1 will normally operate after obtaining the voltage, and it will provide voltage to other chips in the auxiliary power supply, so that the auxiliary power supply will operate.
When the battery is less than or equal to the preset voltage (i.e. the battery 200 is under-voltage), the control unit 12 outputs a low-level signal (second control signal), and the diode in the optocoupler P1 is not turned on, so that the triode Q1 is turned off, and the voltage of VCCP cannot be provided to the pin 5 of the chip U1. At this time, the rest of the chips in the auxiliary power supply are in an inactive state. At this time, the auxiliary power supply basically does not consume electric energy, so that the battery energy can be saved, and the service life of the battery can be prolonged.
The power supply control circuit 100 provided by the embodiment of the application starts power supply only when the battery voltage is greater than the preset voltage, thereby avoiding unnecessary energy consumption and improving the energy utilization efficiency. And the over discharge of the battery can be prevented when the voltage is insufficient, and the service life of the battery can be prolonged. The other chips in the auxiliary power supply are ensured to work under proper power supply conditions, stable voltage is provided, and the reliability and stability of the whole system are improved. The intelligent management of power supply is realized through the monitoring of the control module to the battery voltage and the corresponding control signal output, and the intelligent management is suitable for different working states and battery conditions. And the power source resource is reasonably utilized, and unnecessary power loss and equipment loss are reduced, so that the overall cost of the system is reduced to a certain extent. The stable power supply is beneficial to improving the performance of the whole system and reducing faults and errors caused by unstable voltage.
The embodiment of the application also provides an auxiliary power supply comprising the power supply control circuit 100 as described above.
The auxiliary power source generally includes a transformer, a diode, a capacitor, a resistor, a voltage regulator chip, an inductor, a triode or a field effect transistor (MOSFET), a photoelectric coupling, a fuse, and the like.
The transformer is used for changing the voltage class and realizing the voltage conversion between the input and the output. The diode is used for rectifying and converting the alternating voltage into direct voltage. The capacitor comprises a filter capacitor and an energy storage capacitor, wherein the filter capacitor is used for smoothing the output direct-current voltage and reducing ripple waves. The energy storage capacitor is used for providing energy when the power supply output is unstable. Resistors are used for voltage division, current limiting, etc. A regulator chip such as a linear regulator (LDO) or a switching regulator to provide a stable output voltage. In the switching power supply, the inductor and the capacitor form a filter circuit, so that electromagnetic interference is reduced. A transistor or a field effect transistor (MOSFET), which is used as a switching element in a switching power supply to control the transfer of energy. The photocoupler is used for realizing isolation and feedback control between input and output. The fuse provides overcurrent protection against circuit overload damage.
It should finally be noted that the above embodiments are only intended to illustrate the technical solution of the present utility model and not to limit it, that the technical features of the above embodiments or the different embodiments may be combined under the idea of the present utility model, and that many other variations in different aspects of the present utility model as described above are not provided in details for the sake of brevity, and that although the present utility model is described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that it is possible to modify the technical solution described in the foregoing embodiments or to make equivalent substitutions for some of the technical features thereof, and that these modifications or substitutions do not depart from the essence of the corresponding technical solution from the scope of the technical solution of the embodiments of the present utility model.