A power supply circuit for electronic equipment and control method thereof
By designing a power supply circuit and using the switching circuit to control the power output of the power supply battery and backup power supply, the problem of power outage when the device replaces the battery is solved, ensuring that the electronic equipment is constantly powered and avoiding data loss.
Patent Information
- Application Number
- CN201910418551.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-20
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2039-05-20
AI Technical Summary
In the prior art, the device may easily cause power outage when replacing the battery, resulting in incoherence or loss of previously collected data, affecting the normal operation of the data acquisition device.
A power supply circuit is designed, including a power supply battery, a backup power supply and a switching circuit. Through the switching circuit, the power supply battery and backup power supply are controlled to output power from the power supply output terminal according to the power supply state of the power supply battery, ensuring that the electronic equipment is constantly powered when replacing the battery. .
It realizes that electronic equipment can be powered by backup power when replacing the power supply battery, avoiding data loss or discontinuity caused by power outage, and ensuring that the equipment can continue to work.
Smart Images

Figure CN110138074B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic equipment, and in particular to a power supply circuit for electronic equipment and a control method thereof. Background Art
[0002] In the prior art, the equipment needs to be powered to work. For equipment with built-in batteries, when the power of the built-in batteries is exhausted, the equipment will stop working. However, for some data acquisition equipment (such as video evidence collection equipment used by police officers when performing tasks), power outages cannot occur. If power outages occur, the previously collected data may be incoherent or lost, affecting the normal operation of the data acquisition equipment. Therefore, it is necessary to improve this technology. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to provide a power supply circuit for electronic equipment and a control method thereof, so that the electronic equipment can be powered on without being disconnected when the power supply battery is replaced.
[0004] The technical solution adopted by the present invention is:
[0005] In a first aspect, the present invention provides a power supply circuit for an electronic device, comprising a power supply battery, a backup power supply, a switching circuit and a power output end, wherein the power supply battery is detachably connected to the electronic device, the output end of the power supply battery and the output end of the backup power supply are respectively connected to the input end of the switching circuit, the output end of the switching circuit is connected to the power output end, and the switching circuit is used to control the power supply battery and the backup power supply to output electric energy from the power output end in a time-sharing manner according to the power supply status of the power supply battery, when the power supply battery outputs electric energy from the power output end, the backup power supply does not supply power, and when the power supply battery stops outputting electric energy from the power output end, the backup power supply outputs electric energy from the power output end.
[0006] Furthermore, the power supply circuit also includes a charging circuit, the output end of the switching circuit is connected to the input end of the charging circuit, and the output end of the charging circuit is connected to the input end of the backup power supply to charge the backup power supply.
[0007] Furthermore, the charging circuit includes a DC boost chip and a charging control chip, the output end of the switching circuit is connected to the power input end of the DC boost chip, the power output end of the DC boost chip is connected to the input end of the charging control chip, and the output end of the charging control chip is connected to the input end of the backup power supply.
[0008] Furthermore, the charging circuit also includes an enabling circuit, the output end of the power supply battery is connected to the input end of the enabling circuit, and the output end of the enabling circuit is connected to the enabling end of the DC boost chip.
[0009] Furthermore, the enabling circuit includes a first resistor and a second resistor, the output end of the power supply battery is connected to one end of the first resistor, the other end of the first resistor is connected to one end of the second resistor and the enable end of the DC boost chip, and the other end of the second resistor is grounded.
[0010] Furthermore, the backup power supply is a backup battery.
[0011] Further, the switching circuit includes a first switch tube, a second switch tube, a third switch tube and a fourth switch tube, the output end of the power supply battery is connected to the control end of the first switch tube, the positive output end of the second switch tube, the control end of the third switch tube, and the control end of the fourth switch tube, the negative output end of the first switch tube is grounded, the positive output end of the first switch tube is respectively connected to the control end of the second switch tube and the positive output end of the second switch tube, the negative output end of the second switch tube is connected to the power supply output end, the output end of the backup power supply is connected to the negative output end of the third switch tube, the positive output end of the third switch tube is connected to the positive output end of the fourth switch tube, the control end of the third switch tube and the control end of the fourth switch tube are grounded, and the negative output end of the fourth switch tube is connected to the negative output end of the second switch tube.
[0012] Furthermore, the first switch tube is an NPN transistor, the base of the NPN transistor is the control end of the first switch tube, the emitter of the NPN transistor is the negative output end of the first switch tube, and the collector of the NPN transistor is the positive output end of the first switch tube.
[0013] Furthermore, the second switch tube, the third switch tube or the fourth switch tube is a PMOS tube, the gate of the PMOS tube is the control end of the switch tube, the source of the PMOS tube is the negative output end of the switch tube, and the drain of the PMOS tube is the positive output end of the switch tube.
[0014] In a second aspect, the present invention provides a control method for a power supply circuit for an electronic device, which is applied to the power supply circuit for the electronic device, and comprises:
[0015] Controlling the power supply battery and the backup power supply to output electric energy from the power supply output terminal in a time-sharing manner according to the power supply status of the power supply battery;
[0016] When the power supply battery outputs electric energy from the power supply output end, the backup power supply stops supplying power; when the power supply battery stops outputting electric energy from the power supply output end, the backup power supply outputs electric energy from the power supply output end.
[0017] The beneficial effects of the present invention are:
[0018] The present invention utilizes a switching circuit to control the power supply battery and the backup power supply to output electric energy from the power supply output terminal in a time-sharing manner according to the power supply status of the power supply battery. When the power supply battery outputs electric energy from the power supply output terminal, the backup power supply does not supply power. When the power supply battery stops outputting electric energy from the power supply output terminal, the backup power supply outputs electric energy from the power supply output terminal. This overcomes the technical problem in the prior art that the device stops working when the battery is replaced. When the power supply battery of the electronic device is replaced, the backup power supply supplies power to the electronic device to keep the electronic device powered on, and the electronic device can continue to work. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a structural schematic diagram of an embodiment of a power supply circuit for electronic equipment of the present invention;
[0020] Figure 2 The present invention is a circuit diagram of an embodiment of a power supply circuit for electronic equipment. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.
[0022] Example 1
[0023] refer to Figure 1 , Figure 1It is a structural schematic diagram of an embodiment of a power supply circuit for electronic equipment of the present invention; a power supply circuit for electronic equipment, the power supply circuit includes a power supply battery BAT1, a backup power supply, a switching circuit and a power output terminal C arranged inside the electronic equipment. In this embodiment, the backup power supply is a backup battery BAT2, and the backup battery BAT2 is used as an example for explanation. The remaining circuits that can provide electric energy can also be used as backup power supplies. Among them, the power supply battery BAT1 is detachably connected to the electronic equipment, the output end of the power supply battery BAT1 and the output end of the backup battery BAT2 are respectively connected to the input ends A and B of the switching circuit, and the output end of the switching circuit is connected to the power output terminal C. The switching circuit is used to control the power supply battery BAT1 and the backup battery BAT2 to output electric energy from the power output terminal C in a time-sharing manner according to the power supply state of the power supply battery BAT1. When the power supply battery BAT1 outputs electric energy from the power output terminal C, the backup battery BAT2 does not supply power. When the power supply battery BAT1 stops outputting electric energy from the power output terminal C (such as when the power supply battery BAT1 is exhausted or the power supply battery BAT1 is unplugged), the backup battery BAT2 outputs electric energy from the power output terminal C. The complete system of the electronic device refers to other functional circuits except the power supply circuit. Other functional circuits draw power from the power output terminal C to complete their own work.
[0024] By utilizing the above-mentioned power supply circuit, the backup battery can not only be used as a backup power source, but also when the electronic device replaces the power supply battery, the backup power source can supply power to the electronic device to keep the electronic device powered on, and the electronic device can continue to work. The electric energy of the backup power source can support the user to complete the replacement of the power supply battery, thereby overcoming the technical problem in the prior art that the device will stop working when the battery is replaced, and avoiding power outages that cause data loss or discontinuity. Among them, the backup battery can also be set to be detachably connected to the electronic device to realize the replacement of the backup battery and ensure that the backup battery has sufficient electric energy. The backup battery and the power supply battery can be implemented using lithium batteries.
[0025] Furthermore, the power supply circuit also includes a charging circuit, the output end of the switching circuit is connected to the input end of the charging circuit, and the output end of the charging circuit is connected to the input end of the backup power supply to charge the backup power supply. Figure 1 In this embodiment, the charging circuit includes a DC boost chip (the chip is an IC) and a charging control chip. The output end of the switching circuit, that is, the power output end C, is connected to the power input end of the DC boost chip. The power output end of the DC boost chip is connected to the input end of the charging control chip. The output end of the charging control chip is connected to the input end of the backup power supply. Taking the backup battery BAT2 as an example, the input end of the backup power supply is the output end of the backup power supply. The charging circuit also includes an enabling circuit. The output end of the power supply battery BAT1 is connected to the input end of the enabling circuit, and the output end of the enabling circuit is connected to the enabling end EN of the DC boost chip. Reference Figure 2 , Figure 2 This is a circuit diagram of an embodiment of a power supply circuit for electronic equipment of the present invention. The DC boost chip is implemented by a boost conversion chip U100 of the MP3414A model. The enabling circuit includes a first resistor R101 and a second resistor R103. The output end of the power supply battery BAT1 is connected to one end of the first resistor R101, and the other end of the first resistor R101 is connected to one end of the second resistor R103 and the enabling end EN of the boost conversion chip U100. The other end of the second resistor R103 is grounded. The charging control chip is implemented by a lithium battery charging chip U101 of the BL4054 model. The working process of the charging circuit is: the power supply battery BAT1 enables the boost conversion chip U100 to work after the first resistor R101 and the second resistor R103 divide the voltage. U100 provides 5V to the lithium battery charging chip U101 after boosting, and the lithium battery charging chip U101 can charge the backup battery BAT2.
[0026] Further, refer to Figure 2 The switching circuit includes a first switch tube Q100, a second switch tube Q101, a third switch tube Q102 and a fourth switch tube Q103. The output end of the power supply battery BAT1 is connected to the control end of the first switch tube Q100, the positive output end of the second switch tube Q101, the control end of the third switch tube Q102 and the control end of the fourth switch tube Q103. The negative output end of the first switch tube Q100 is grounded, and the positive output end of the first switch tube Q100 is connected to the control end of the second switch tube Q101. The first switch tube Q100 is connected to the positive output terminal of the first switch tube Q101, the negative output terminal of the second switch tube Q101 is connected to the power supply output terminal C, the output terminal of the backup battery BAT2 is connected to the negative output terminal of the third switch tube Q102, the positive output terminal of the third switch tube Q102 is connected to the positive output terminal of the fourth switch tube Q103, the control terminal of the third switch tube Q102 and the control terminal of the fourth switch tube Q103 are grounded, and the negative output terminal of the fourth switch tube Q103 is connected to the negative output terminal of the second switch tube Q101. In this embodiment, the first switch tube Q100 is an NPN transistor, the base of the NPN transistor is the control terminal of the first switch tube Q100, the emitter of the NPN transistor is the negative output terminal of the first switch tube Q100, and the collector of the NPN transistor is the positive output terminal of the first switch tube Q100. The second switch tube Q101, the third switch tube Q102 or the fourth switch tube Q103 is a PMOS tube, the gate of the PMOS tube is the control end of the switch tube, the source of the PMOS tube is the negative output end of the switch tube, and the drain of the PMOS tube is the positive output end of the switch tube.
[0027] When the power supply battery BAT1 is installed in the electronic device, the power supply battery BAT1 provides a positive bias voltage to the first switch tube Q100 through the resistor R102, so that the first switch tube Q100 works and conducts, and the G pole of the second switch tube Q101 is pulled down, and the second switch tube Q101 is turned on, and the power supply battery BAT1 supplies power to the entire system of the electronic device through the second switch tube Q101 and the power output terminal C. Due to the installation of the power supply battery BAT1, the G poles of the third switch tube Q102 and the fourth switch tube Q103 are turned off because of the high level, and the backup battery BAT2 cannot supply power to the entire system.
[0028] When the power supply battery BAT1 is running out of power, the user removes the power supply battery BAT1 when preparing to replace the power supply battery BAT1. At this time, the first switch tube Q100 is cut off because it cannot obtain a positive bias voltage, and the G pole of the second switch tube Q101 is at a high level and is also turned off at the same time, so the power supply battery BAT1 cannot supply power to the entire system through the second switch tube Q101. The G poles of the third switch tube Q102 and the fourth switch tube Q103 are at a low level because they do not receive the high level sent by the power supply battery BAT1, so the third switch tube Q102 and the fourth switch tube Q103 are turned on, and the backup battery BAT2 supplies power to the entire system through the third switch tube Q102 and the fourth switch tube Q103. After the user replaces the power supply battery BAT1, the electronic device returns to the working state powered by the power supply battery BAT1.
[0029] Example 2
[0030] Based on the first embodiment, the second embodiment is provided. The second embodiment provides a control method for a power supply circuit of an electronic device, which is applied to the power supply circuit of the electronic device (refer to Figure 1 and Figure 2 ),include:
[0031] According to the power supply state of the power supply battery BAT1, the power supply battery BAT1 and the backup power supply (taking the backup battery BAT2 as an example) are controlled to output electric energy from the power supply output terminal C in a time-sharing manner;
[0032] When the power supply battery BAT1 outputs electric energy from the power output terminal C, the backup battery BAT2 stops supplying power; when the power supply battery BAT1 stops outputting electric energy from the power output terminal C, the backup battery BAT2 outputs electric energy from the power output terminal C.
[0033] When the power supply battery BAT1 stops outputting power from the power output terminal C, for example, the power supply battery BAT1 is exhausted or the power supply battery BAT1 is unplugged, the backup battery BAT2 can not only serve as a backup power source, but also when the power supply battery BAT1 needs to be replaced, the power supply battery BAT1 is unplugged and the backup battery BAT2 continues to power the electronic device. The electronic device is not powered off, ensuring that the data of the electronic device is not lost or continuous, which is of great significance.
[0034] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A power supply circuit for electronic equipment, characterized in that: The electronic device comprises a power supply battery, a backup power supply, a switching circuit and a power supply output terminal, wherein the power supply battery is detachably connected to the electronic device, the output terminal of the power supply battery and the output terminal of the backup power supply are respectively connected to the input terminal of the switching circuit, the output terminal of the switching circuit is connected to the power supply output terminal, and the switching circuit is used to control the power supply battery and the backup power supply to output electric energy from the power supply output terminal in a time-sharing manner according to the power supply state of the power supply battery, if the power supply battery outputs electric energy from the power supply output terminal, the backup power supply does not supply power, if the power supply battery stops outputting electric energy from the power supply output terminal, the backup power supply outputs electric energy from the power supply output terminal; wherein the power supply circuit also comprises a charging circuit, the charging circuit comprises a DC boost chip and a charging control chip, the output terminal of the switching circuit is connected to the power supply input terminal of the DC boost chip, and the power supply output terminal of the DC boost chip is connected to the input terminal of the charging control chip. The output end of the charging control chip is connected to the input end of the backup power supply, the switching circuit includes a first switch tube, a second switch tube, a third switch tube and a fourth switch tube, the output end of the power supply battery is connected to the control end of the first switch tube, the positive output end of the second switch tube, the control end of the third switch tube and the control end of the fourth switch tube, the negative output end of the first switch tube is grounded, the positive output end of the first switch tube is respectively connected to the control end of the second switch tube and the positive output end of the second switch tube, the negative output end of the second switch tube is connected to the output end of the power supply, the output end of the backup power supply is connected to the negative output end of the third switch tube, the positive output end of the third switch tube is connected to the positive output end of the fourth switch tube, the control end of the third switch tube and the control end of the fourth switch tube are grounded, and the negative output end of the fourth switch tube is connected to the negative output end of the second switch tube; The first switch tube is an NPN transistor, the base of the NPN transistor is the control end of the first switch tube, the emitter of the NPN transistor is the negative output end of the first switch tube, and the collector of the NPN transistor is the positive output end of the first switch tube; The second switch tube, the third switch tube or the fourth switch tube is a PMOS tube, the gate of the PMOS tube is the control end of the switch tube, the source of the PMOS tube is the negative output end of the switch tube, and the drain of the PMOS tube is the positive output end of the switch tube.
2. The power supply circuit for electronic equipment according to claim 1, characterized in that: The output end of the switching circuit is connected to the input end of the charging circuit, and the output end of the charging circuit is connected to the input end of the backup power supply to charge the backup power supply.
3. The power supply circuit for electronic equipment according to claim 1, characterized in that: The charging circuit also includes an enabling circuit, the output end of the power supply battery is connected to the input end of the enabling circuit, and the output end of the enabling circuit is connected to the enabling end of the DC boost chip.
4. The power supply circuit for electronic equipment according to claim 3, characterized in that: The enabling circuit includes a first resistor and a second resistor, the output end of the power supply battery is connected to one end of the first resistor, the other end of the first resistor is connected to one end of the second resistor and the enabling end of the DC boost chip, and the other end of the second resistor is grounded.
5. The power supply circuit for electronic equipment according to claim 1, characterized in that: The backup power source is a backup battery.
6. A control method for a power supply circuit of an electronic device, applied to the power supply circuit of the electronic device according to any one of claims 1 to 5, characterized in that: include: Controlling the power supply battery and the backup power supply to output electric energy from the power supply output terminal in a time-sharing manner according to the power supply status of the power supply battery; When the power supply battery outputs electric energy from the power supply output end, the backup power supply stops supplying power; when the power supply battery stops outputting electric energy from the power supply output end, the backup power supply outputs electric energy from the power supply output end.
Citation Information
Patent Citations
Power management system
CN107492949A
Long continuation of journey inspection device
CN206922501U
A power supply circuit for electronic device
CN209930030U