Double-circuit power supply electronic equipment
By designing dual-powered electronic devices, using the power board to detect the external power supply and lithium battery status, emergency power supply when the battery is exhausted is achieved, and solar energy utilization and lithium battery life are improved.
Patent Information
- Application Number
- CN202420931974.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2034-04-29
AI Technical Summary
When the battery power of existing IPC products is exhausted, the USB interface cannot be used for emergency power supply, and the solar energy utilization rate is low, and the lithium battery life is reduced.
Design a dual-channel powered electronic device. When the power board detects that there is no external power supply, select the lithium battery to power, when the external power supply is detected, select the external power supply to power, and select the lithium battery to recharge when the external power supply is lowered to the lower limit.
It solves the problem that the USB interface cannot be used for emergency power when the battery is exhausted, improves the utilization rate of solar energy, and extends the service life of lithium batteries.
Smart Images

Figure CN222531376U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic technology, in particular to an electronic device with dual power supply. Background Art
[0002] In the existing IPC (Internet Protocol Camera) industry, in the power supply scheme for products with USB interfaces and lithium batteries (especially products with cameras), the USB interface usually only charges the lithium battery, and the lithium battery then powers the system. The disadvantages of this power supply scheme are as follows:
[0003] First, when the battery is exhausted, the USB interface cannot serve as an emergency power supply; the system can only be powered after the battery voltage is charged to the set value.
[0004] Second, if this power supply scheme is applied to a system that uses solar charging, the solar energy must be charged first, converting electrical energy into chemical energy, and then the system is powered by a battery. This method of converting chemical energy into electrical energy itself has efficiency issues, and some energy will be lost. In addition, since the charging circuit sets an upper limit value for the charging current when it is designed, the maximum input power of the charging management chip will be limited. If the maximum output power of solar energy is greater than the maximum input power of charging under strong light, a part of the solar energy will be wasted and cannot be used. Therefore, there is a problem of low utilization of solar energy.
[0005] Third, this power supply solution also has the risk of reducing the life of lithium batteries. Utility Model Content
[0006] In view of the above technical problems, an embodiment of the utility model provides an electronic device with dual power supply to solve the problem that the USB interface cannot provide emergency power supply when the existing battery is exhausted.
[0007] The present invention provides a dual-powered electronic device, comprising a body, wherein a power board and a main board are arranged in the body, and the power board is electrically connected to the main board;
[0008] When the power board detects that there is no external power supply, the lithium battery is selected to power the mainboard; when the external power input is detected, the external power is selected to charge and power the mainboard; when the external power supply is detected to be reduced to the lower limit value, the lithium battery is selected to supplement the power;
[0009] The main board controls the charging state of the power board.
[0010] Optionally, in the dual-powered electronic device, the power board is provided with an input module, a charging module, a switch module, a first connection module and a lithium battery; the input module is connected to the charging module, the switch module and the first connection module; the charging module is connected to the lithium battery, and the switch module is connected to the first connection module;
[0011] When the input module is connected to an external power supply, it outputs a power supply voltage and a USB power supply voltage;
[0012] The charging module controls the charging state according to the charging control signal, and converts the power supply voltage into the charging voltage to charge the lithium battery during charging;
[0013] The switch module converts the battery voltage into a battery power supply voltage and controls the output state of the battery power supply voltage according to the switch operation;
[0014] The first connection module transmits the USB power supply voltage and the battery power supply voltage to the mainboard, and also transmits the charging control signal output by the mainboard to the charging module.
[0015] Optionally, in the dual-powered electronic device, the input module includes a USB interface, an overvoltage protection chip, a first resistor, a second resistor and a third resistor;
[0016] The VBUS pin of the USB interface is the power supply end, the CC1 pin of the USB interface is grounded through a first resistor, and the CC2 pin of the USB interface is grounded through a second resistor; the DP1 pin, DP2 pin, DN1 pin and DN2 pin of the USB interface are all connected to the first connection module; the GND pin of the USB interface is grounded, the VIN pin of the overvoltage protection chip is connected to the power supply end, the OVLO pin of the overvoltage protection chip is connected to the GND pin and ground of the overvoltage protection chip through a third resistor, and the OUT pin of the overvoltage protection chip is the USB power supply end; the FAULT pin, ILIM pin and CE pin of the overvoltage protection chip are all grounded.
[0017] Optionally, in the dual-powered electronic device, the input module further includes a first capacitor, a second capacitor, a third capacitor and a first diode;
[0018] The first capacitor is connected between the VIN pin of the overvoltage protection chip and the ground, the second capacitor is connected between the OUT pin of the overvoltage protection chip and the ground; one end of the third capacitor is connected to the cathode of the first diode and the power supply end; the other end of the third capacitor is connected to the anode of the first diode and the ground.
[0019] Optionally, in the dual-powered electronic device, the charging module includes a charging management chip, a battery interface, an indicator light, a first inductor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a fourth capacitor, a fifth capacitor and a sixth capacitor;
[0020] The VIN pin of the charging management chip is connected to the power supply end and one end of the fourth resistor; the TS pin of the charging management chip is connected to the other end of the fourth resistor, one end of the fifth resistor, one end of the sixth resistor and the temperature detection pin of the battery interface; the other end of the fifth resistor is connected to the first connection module, the other end of the sixth resistor is grounded, the STAT pin of the charging management chip is connected to the negative pole of the indicator light, the positive pole of the indicator light is connected to the power supply end through the eighth resistor, the PMID pin of the charging management chip is grounded through the fourth capacitor, and the PGND pin and GND pin of the charging management chip are both grounded; the BAT pin of the charging management chip is connected to the battery pin of the battery interface, one end of the seventh resistor and one end of the sixth capacitor; the CSP pin of the charging management chip is connected to one end of the first inductor and the other end of the seventh resistor, the SW pin of the charging management chip is connected to the other end of the first inductor and one end of the fifth capacitor, the BST pin of the charging management chip is connected to the other end of the fifth capacitor, and the ground pin of the battery interface is grounded.
[0021] Optionally, in the electronic device with dual power supply, the switch module includes a toggle switch, a switch chip, and a ninth resistor:
[0022] The first pin of the toggle switch is connected to the battery pin of the battery interface through the ninth resistor, the second pin of the toggle switch is connected to the G pin of the switch chip and one end of the seventh capacitor, the third pin of the toggle switch is grounded through the tenth resistor, the fourth pin and the fifth pin of the toggle switch are grounded, the S pin and the S1 pin of the switch chip are both connected to the battery pin of the battery interface, and the D pin of the switch chip is the battery power supply end.
[0023] Optionally, in the dual-powered electronic device, the first connection module includes a first interface, an eighth capacitor and a ninth capacitor:
[0024] Pin 1 of the first interface is connected to the USB power supply end and one end of the eighth capacitor; pin 3 and pin 4 of the first interface are connected one-to-one to pin DN1 and pin DP1 of the USB interface; pin 6 of the first interface is connected to the other end of the fifth resistor, pin 7 and pin 8 of the first interface are both connected to the battery power supply end and one end of the ninth capacitor, and the other end of the eighth capacitor and the other end of the ninth capacitor are both grounded; pin 2, pin 5, pin G1 and pin G2 of the first interface are all grounded.
[0025] Optionally, in the dual-powered electronic device, the mainboard is provided with a second connection module, a power supply control module, a normal power module and a control module;
[0026] The second connection module connects the power supply control module, the normal power module and the control module; the power supply control module connects the control module and the first interface module;
[0027] The second connection module outputs the USB power supply voltage and the battery power supply voltage to the power supply control module;
[0028] The power supply control module selects to output the battery power supply voltage to the normal power module for power supply according to the voltage state, outputs the USB power supply voltage for power supply, and controls the battery power supply voltage for power replenishment when detecting that the USB power supply voltage drops to a lower limit value;
[0029] The normal power module outputs a charging control signal when the detection function is triggered, and transmits it to the power board through the second connection module.
[0030] Optionally, in the dual-powered electronic device, the second connection module includes a second interface, a tenth capacitor and an eleventh capacitor;
[0031] Pins 1 to 8 of the second interface are connected one-to-one with pins 1 to 8 of the first interface, pin 1 of the second interface is connected to one end of the tenth capacitor and the power supply control module; pin 6 of the second interface is connected to the normal power module and transmits the charging control signal, pins 7 and 8 of the second interface are both connected to one end of the eleventh capacitor and the power supply control module, and the other end of the tenth capacitor and the other end of the eleventh capacitor are both grounded; pin 2, pin 5, pin G1 and pin G2 of the second interface are all grounded.
[0032] Optionally, in the dual-powered electronic device, the power supply control module includes a first switch tube, a second switch tube, a third switch tube, a third diode, a fourth diode, a fifth diode, a sixth diode, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor and a sixteenth resistor;
[0033] The gate of the first switch tube is connected to one end of the eleventh resistor, the cathode of the fifth diode and the cathode of the sixth diode; the anode of the fifth diode and the anode of the sixth diode are both connected to the normal power module, the source of the first switch tube is connected to the other end of the eleventh resistor and the ground, and the drain of the first switch tube is connected to one end of the twelfth resistor; the other end of the twelfth resistor is connected to the gate of the second switch tube, the gate of the third switch tube and one end of the sixteenth resistor; the source of the second switch tube is grounded, and the drain of the second switch tube is connected to the drain of the third switch tube and the rear-stage power supply end through the fifteenth resistor; the source of the third switch tube is connected to the other end of the sixteenth resistor, the cathode of the third diode and the cathode of the fourth diode; the anode of the third diode is connected to the 7th pin of the second interface, and the anode of the fourth diode is connected to the 1st pin of the second interface.
[0034] In the technical solution provided by the embodiment of the utility model, the electronic device with dual power supply includes a body, in which a power board and a main board are arranged, and the power board is electrically connected to the main board; when the power board detects that there is no external power supply, the lithium battery is selected to power the main board; when the external power input is detected, the external power is selected to charge and power the main board; when the external power is detected to be reduced to the lower limit, the lithium battery is selected to supplement the power; the main board controls the charging state of the power board. The external power input can directly supply power, which solves the problem that the USB interface cannot provide emergency power when the existing battery is exhausted. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a structural block diagram of an electronic device in an embodiment of the utility model.
[0036] Figure 2 1 is a circuit diagram of an input module in an embodiment of the utility model.
[0037] Figure 3 1 is a circuit diagram of a charging module in an embodiment of the utility model.
[0038] Figure 4 1 is a circuit diagram of a switch module in an embodiment of the present utility model.
[0039] Figure 5 This is a circuit diagram of the first connection module in an embodiment of the utility model.
[0040] Figure 6 4 is a circuit diagram of the second connection module in the embodiment of the utility model.
[0041] Figure 7 It is a circuit diagram of the power supply control module in the embodiment of the utility model. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. The embodiments in the utility model and all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0043] Please also see Figures 1 to 7An electronic device provided by an embodiment of the utility model includes a body, in which a power board 10 and a main board 20 are arranged, and the power board 10 is electrically connected to the main board 20; when the power board 10 detects that there is no external power supply, it selects a lithium battery to power the main board 20; when it detects that an external power supply is input, it selects an external power supply to charge and power the main board; when it detects that the external power supply drops to a lower limit value, it selects a lithium battery to supplement power. The main board controls the charging state of the power board. The external power supply can be a power adapter input power supply voltage +5V, or solar energy.
[0044] The power board 10 is provided with an input module 110, a charging module 120, a switch module 130, a first connection module 140 and a lithium battery BAT; the input module 110 is connected to the charging module 120, the switch module 130 and the first connection module 140; the charging module 120 is connected to the lithium battery BAT, and the switch module 130 is connected to the first connection module 140. When the input module 110 is connected to an external power source, it outputs a power supply voltage +5V and a USB power supply voltage USB_5V; the charging module 120 controls the charging state according to the charging control signal, and converts the power supply voltage +5V into a charging voltage to charge the lithium battery during charging; the switch module 130 converts the battery voltage VBAT into a battery power supply voltage VBAT_PW, and controls the output state of the battery power supply voltage VBAT_PW according to the switch operation. The first connection module 140 transmits the USB power supply voltage USB_5V and the battery power supply voltage VBAT_PW to the mainboard, and also transmits the charging control signal CHAR_CE output by the mainboard to the charging module 120, and outputs the USB data output by the mainboard to the connected peripherals through the input module 110.
[0045] The mainboard 20 is provided with a second connection module 210, a power supply control module 220, a normal power module and a control module (composed of an MCU and its peripheral circuits); the second connection module 210 connects the power supply control module 220, the normal power module, the control module and the first interface module; the power supply control module 220 connects the normal power module and the control module. The second connection module 210 transmits the USB data provided by the control module to the first connection module 140 (this is a reserved function), and outputs the USB power supply voltage USB_5V and the battery power supply voltage VBAT_PW to the power supply control module 220; the power supply control module 220 selects power supply according to the voltage state (i.e., whether the USB power supply voltage USB_5V is input, and the fluctuation of the USB power supply voltage USB_5V), including: outputting the battery power supply voltage VBAT_PW to the normal power module for power supply, outputting the USB power supply voltage USB_5V to other modules on the mainboard for power supply, and controlling the battery power supply voltage VBAT_PW to replenish power when the USB power supply voltage USB_5V is detected to be reduced to the lower limit value. When the normal power module detection function is triggered, a charging control signal CHAR_CE is output and transmitted to the power board through the second connection module 210 .
[0046] It should be understood that the normal power module and the control module are prior art, and their specific circuit structures are not limited here. The electronic device can be compatible with lithium battery power supply and solar power supply, and is preferably a monitoring device (such as a camera).
[0047] In this embodiment, when the USB interface in the input module 110 is not externally powered, the battery voltage VBAT provided by the lithium battery BAT is boosted and directly output to various functional modules on the mainboard for power supply. The switch module on the power board controls whether the lithium battery supplies power.
[0048] When the USB interface is connected to an external power adapter and inputs a power supply voltage of +5V (the USB interface can also be connected to external solar energy), the normal power module on the mainboard is still powered by a lithium battery, and other functional modules are powered by the USB interface and the lithium battery at the same time. The normal power module is a 4G module, and the power supply range of the 4G module is 3.6V to 4.2V. This embodiment configures its power supply to be 4.0V. The voltage range of the lithium battery when it is low and fully charged is 3.0V-4.2V. After the diode in the power supply control module 220 steps down, the voltage will be less than or equal to 4.0V. Therefore, the 4G module can only maintain a stable power supply voltage if it is powered by a lithium battery. If the power supply voltage +5V provided by the USB interface is used for power supply at the same time, even after the diode steps down, the minimum voltage will be higher than 4.0V. At this time, only a step-down circuit can be used to reduce it to 4.0V to power the 4G module. In this way, the power supply of the 4G module must use a DD-DC module that can both step up and step down, and the cost will increase.
[0049] The USB interface and the lithium battery are powered simultaneously through diodes. Since the voltage of the USB interface is higher than that of the lithium battery, the USB interface will be powered first. The lithium battery will only be used to supplement power when the power supply capacity of the USB interface is insufficient. If the power supply capacity of the USB interface is sufficient and the lithium battery is in a state of needing to be charged, it will be used to charge the lithium battery.
[0050] Except for the permanent power module, which is always powered after being powered on, the other modules are all powered by the fluctuation switch in the switch module 130. The control signal is sent by the permanent power module after a certain event (such as a PIR sensor) is triggered. This can greatly reduce system power consumption and increase battery life.
[0051] When external power is input, whether the lithium battery starts to charge is determined by a threshold. When the mainboard detects that the power level of the lithium battery is lower than the threshold, the normal power module will send a charging control signal CHAR_CE to start charging the lithium battery, otherwise it will not charge.
[0052] When the lithium battery is low or out of power, causing the system to not work properly, after plugging in the power adapter, the USB interface will give priority to charging the lithium battery, allowing the normal power module to start working quickly; after the normal power module starts working, the USB interface can supply power to other power-consuming modules, allowing the entire system to enter normal working state.
[0053] Please also read Figure 2 The input module 110 includes a USB interface J1, an overvoltage protection chip U1, a first resistor R1, a second resistor R2 and a third resistor R3; the VBUS pin (including the VBUS1 pin to the VBUS4 pin) of the USB interface J1 is a power supply end (outputting a power supply voltage of +5V), the CC1 pin of the USB interface J1 is grounded through the first resistor R1, and the CC2 pin of the USB interface J1 is grounded through the second resistor R2; the DP1 pin, DP2 pin, DN1 pin and DN2 pin of the USB interface J1 are all connected to the first connection module 140, the GND pin (including the GND1 pin to the GND7 pin) of the USB interface J1 is grounded, the VIN pin of the overvoltage protection chip U1 is connected to the power supply end, the OVLO pin of the overvoltage protection chip U1 is connected to the GND pin of the overvoltage protection chip U1 and the ground through the third resistor R3, and the OUT pin of the overvoltage protection chip U1 is a USB power supply end (outputting a USB power supply voltage USB_5V); the FAULT pin, ILIM pin and CE pin of the overvoltage protection chip U1 are all grounded.
[0054] The model of the USB interface J1 is preferably TYPEC_16P, and the model of the overvoltage protection chip is preferably WSPD2602. When the USB interface J1 is connected to an external power adapter or other peripheral device that can provide power, the power supply voltage +5V is output from its VBUS pin to supply power; at the same time, after the power supply voltage +5V is processed by the overvoltage protection chip for OVP (overvoltage protection), the USB power supply voltage USB_5V is output to supply power to the subsequent stage. The USB data (USB_DP and USB_DN) transmitted on the USB interface J1 is provided by the mainboard through the first connection module 140, which is reserved here and can be used to output USB data (such as video data) to the peripheral device during specific implementation.
[0055] Preferably, the input module 110 also includes a first capacitor C1, a second capacitor C2, a third capacitor C3 and a first diode D1; the first capacitor C1 is connected between the VIN pin of the overvoltage protection chip U1 and the ground, and the second capacitor C2 is connected between the OUT pin of the overvoltage protection chip U1 and the ground; one end of the third capacitor C3 is connected to the cathode of the first diode D1 and the power supply end; the other end of the third capacitor C3 is connected to the anode of the first diode D1 and the ground.
[0056] The first capacitor C1 is an input filter capacitor on the VIN pin of the overvoltage protection chip U1, which is used to filter the input power supply voltage +5V. The second capacitor C2 is an output filter capacitor on the OUT pin of the overvoltage protection chip U1, which is used to filter the output USB power supply voltage USB_5V to make the power supply more stable. D1 and C3 are combined to provide surge protection when the USB interface is plugged in or out.
[0057] The input module 110 further includes a second diode D2, one end of which is connected to the cathode of the first diode D1, and the other end of which is connected to the anode of the first diode D1 and the ground. The second diode D2 is preferably a bidirectional TVS (TRANSIENT VOLTAGE SUPPRESSOR) transient voltage suppressor diode of model DFN1610-2, such as Figure 2 The power board is provided with a pad for welding the second diode D2, which plays a role in limiting transient voltage, thereby protecting other components in the circuit from damage. Figures 4 to 6 The bidirectional TVS transient suppression diodes with the same symbols are all reserved, and the corresponding pads are reserved, but the corresponding bidirectional TVS transient suppression diodes are not pasted.
[0058] Please also read Figure 3The charging module 120 includes a charging management chip U2, a battery interface JV, an indicator light LED, a first inductor L1, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a fourth capacitor C4, a fifth capacitor C5 and a sixth capacitor C6; the VIN pin of the charging management chip U2 is connected to the power supply end (preferably, the VIN pin can also be grounded through two parallel filter capacitors) and one end of the fourth resistor R4; the TS pin of the charging management chip U2 is connected to the other end of the fourth resistor R4, one end of the fifth resistor R5, one end of the sixth resistor R6 and the temperature detection pin (pin 3) of the battery interface JV; the other end of the fifth resistor R5 is connected to the first connection module 140, the other end of the sixth resistor R6 is grounded, and the charging management chip U2 The STAT pin is connected to the negative electrode of the indicator light LED, the positive electrode of the indicator light LED is connected to the power supply end through the eighth resistor R8, the PMID pin of the charging management chip U2 is grounded through the fourth capacitor C4, and the PGND pin and GND pin of the charging management chip U2 are both grounded; the BAT pin of the charging management chip U2 is connected to the battery pin of the battery interface JV (i.e., pin 1, providing battery voltage VBAT), one end of the seventh resistor R7 and one end of the sixth capacitor C6; the CSP pin of the charging management chip U2 is connected to one end of the first inductor L1 and the other end of the seventh resistor R7, the SW pin of the charging management chip U2 is connected to the other end of the first inductor and one end of the fifth capacitor C5, the BST pin of the charging management chip U2 is connected to the other end of the fifth capacitor, and the ground pin (pin 2) of the battery interface JV is grounded.
[0059] Among them, the model of the charging management chip U2 is preferably LP4030, and the charging current can be adjusted (up to 2A). The battery interface JV is an existing connector interface for inserting lithium batteries, and the temperature detection signal NTC is used to monitor the temperature of the lithium battery. The charging control signal CHAR_CE transmitted by the mainboard is input through the first connection module 140, and changes the voltage on the TS pin after passing through R5, R6, and R4 to control whether the charging management chip U2 is charged; the battery interface JV can also directly output the temperature detection signal NTC to change the voltage on the TS pin, and control U2 to stop charging when the lithium battery is detected to be overheated (exceeding the preset temperature threshold). When charging, the charging management chip U2 converts the power supply voltage +5V into a charging voltage, outputs it from the SW pin, and outputs it to charge the lithium battery after energy storage by L1. C5 is the capacitor of the internal bootstrap circuit of U2, R7 is used for current detection, and C6 is used to filter the output charging voltage; at the same time, the charging management chip U2 pulls down the CHRG signal, and the indicator LED is turned off, indicating that it is not charging. Pull the CHRG signal high or leave it floating, and the indicator light will light up to indicate the charging status.
[0060] When the lithium battery is in the charging state, the battery voltage will be artificially high, resulting in inaccurate battery voltage detection. When the battery power needs to be read, the motherboard will output the charging control signal CHAR_CE to suspend the charging of the lithium battery, and then read the battery voltage to obtain the current power percentage. The reading logic set by the motherboard is to detect the battery voltage every 10 minutes, and each time the low level duration of the CHAR_CE signal is controlled to about 100ms. The lithium battery is not in the charging state, and the detected battery voltage is more stable at this time.
[0061] Please also read Figure 4 The switch module 130 includes a toggle switch U3, a switch chip U4, and a ninth resistor R9: the first pin of the toggle switch U3 is connected to the battery pin of the battery interface through the ninth resistor R9, the second pin of the toggle switch U3 is connected to the G pin of the switch chip U4 and one end of the seventh capacitor C7, the third pin of the toggle switch U3 is grounded through the tenth resistor R10, the fourth pin and the fifth pin of the toggle switch U3 are grounded, the S pin and the S1 pin of the switch chip U4 are both connected to the battery pin of the battery interface, and the D pin of the switch chip U4 (including the D1 pin to the D5 pin) is the battery power supply end (outputting the battery power supply voltage VBAT_PW to power the subsequent stage)
[0062] Among them, the model of the toggle switch U3 is preferably SS12D07VG3, and the model of the switch chip U4 is preferably SSC8029GN2. After the toggle switch U3 fluctuates to the right, the first foot is connected to the second foot, and a high-level switch signal ON_OFF is output. After filtering by the seventh capacitor C7, the switch chip U4 is controlled to be turned on, and the battery voltage VBAT is output to the battery power supply end through the D foot of U4, and the battery power supply voltage VBAT_PW is output to the subsequent stage. After the toggle switch U3 fluctuates to the left, the third foot is connected to the second foot, and a low-level switch signal ON_OFF is output. After the electric energy stored in C7 is discharged (faster), the switch chip U4 is controlled to be cut off, and the battery voltage VBAT stops being output. At this time, there is no battery power supply voltage VBAT_PW output, and the power supply stops.
[0063] Please also read Figure 5 The first connection module 140 includes a first interface J2, an eighth capacitor C8 and a ninth capacitor C9: the first pin of the first interface J2 is connected to the USB power supply end and one end of the eighth capacitor C8; the third and fourth pins of the first interface J2 are connected one-to-one with the DN1 pin and the DP1 pin of the USB interface J1; the sixth pin of the first interface J2 is connected to the other end of the fifth resistor R5, the seventh and eighth pins of the first interface J2 are both connected to the battery power supply end and one end of the ninth capacitor C9, and the other end of the eighth capacitor C8 and the other end of the ninth capacitor C9 are both grounded; the second, fifth, G1 and G2 pins of the first interface J2 are all grounded.
[0064] The first interface J2 is an existing 1.25 pitch, 8-pin, vertically attached connector; it transmits the USB data (USB_DP and USB_DN) output by the mainboard to the USB interface J1, so that the mainboard can output data to the peripherals connected to the USB interface; it also transmits the charging control signal CHAR_CE output by the mainboard to the charging management chip U2 to control the charging state; it also transmits the USB power supply voltage USB_5V and the battery power supply voltage VBAT_PW to the mainboard for power supply. C8 and C9 are used to filter the connected power supply voltage.
[0065] Please also read Figure 6 On the main board, the second connection module 210 includes a second interface J3, a tenth capacitor C10 and an eleventh capacitor C11; pins 1 to 8 of the second interface J3 are connected one-to-one with pins 1 to 8 of the first interface J2, and pin 1 of the second interface J3 is connected to one end of the tenth capacitor C10 and the power supply control module 220; pins 3 and 4 of the second interface J3 are connected to the control module and transmit USB data (USB_DP and USB_DN); pin 6 of the second interface J3 is connected to the normal power module and transmits the charging control signal CHAR_CE, pins 7 and 8 of the second interface J3 are both connected to one end of the eleventh capacitor C11 and the power supply control module 220, and the other end of the tenth capacitor C10 and the other end of the eleventh capacitor C11 are both grounded; pins 2, 5, G1 and G2 of the second interface J3 are all grounded.
[0066] The second interface J3 is of the same type as the first interface, and transmits the USB data (USB_DP and USB_DN) output by the control module to the first interface J2, so that the control module outputs the corresponding data to the peripheral connected to the USB interface; it also transmits the charging control signal CHAR_CE output by the normal power module to the charging management chip U2 on the power board through the first interface J2 to control the charging state; it also outputs the USB power supply voltage USB_5V and the battery power supply voltage VBAT_PW for power supply. C10 and C11 are used to filter the connected power supply voltage.
[0067] Please also read Figure 7On the main board, the power supply control module 220 includes a first switch tube Q1, a second switch tube Q2, a third switch tube Q3, a third diode D3, a fourth diode D4, a fifth diode D5, a sixth diode D6, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15 and a sixteenth resistor R16; the gate of the first switch tube Q1 is connected to one end of the eleventh resistor R11, the cathode of the fifth diode D5 and the cathode of the sixth diode D6; the anode of the fifth diode D5 and the anode of the sixth diode D6 are both connected to the normal power module, and the source of the first switch tube Q1 is connected to the other end of the eleventh resistor R11 and the ground , the drain of the first switch tube Q1 is connected to one end of the twelfth resistor R12; the other end of the twelfth resistor R12 is connected to the gate of the second switch tube Q2, the gate of the third switch tube Q3 and one end of the sixteenth resistor R16; the source of the second switch tube Q2 is grounded, and the drain of the second switch tube Q2 is connected to the drain of the third switch tube Q3 and the rear-stage power supply end (providing the rear-stage power supply voltage VBAT_2) through the fifteenth resistor R15; the source of the third switch tube Q3 is connected to the other end of the sixteenth resistor R16, the cathode of the third diode D3 and the cathode of the fourth diode D4; the anode of the third diode D3 is connected to the 7th pin of the second interface J3, and the anode of the fourth diode D4 is connected to the 1st pin of the second interface J3.
[0068] The first switch tube Q1 and the second switch tube Q2 are N-type MSO tubes, and the third switch tube Q3 is a P-type MOS tube. The USB power supply voltage USB_5V passes through D4, and the battery power supply voltage VBAT_PW passes through D3, and the two merge into the SYS_PW voltage.
[0069] The SYS_PW voltage is output to the LDO and DC-DC of the normal power module. The power supply of the normal power module is supplied by the SYS_PW voltage after passing through the boost IC; the other way is transmitted to the source of Q3. The on and off of the third switch tube Q3 is controlled by the 4G_P_EN signal or WIFI_P_EN signal output by the normal power module. When the 4G_P_EN signal or WIFI_P_EN signal is high, Q1 is turned on to pull down the gates of Q2 and Q3, Q2 is turned off and Q3 is turned on, and the SYS_PW voltage is output through Q3 as the subsequent power supply voltage VBAT_2, which powers the existing modules on the motherboard, such as image processing chips, speakers, motors, LED lights, etc. When the 4G_P_EN signal or the WIFI_P_EN signal is at a low level, Q1 is turned off, and the SYS_PW voltage pulls up the gates of Q2 and Q3 through R16, Q2 is turned on and Q3 is turned off, the SYS_PW voltage stops outputting, and the subsequent power supply voltage VBAT_2 is pulled down to a low level by Q2, and the power supply stops.
[0070] When both the USB interface and the lithium battery are in place for power supply, since the power supply voltage +5V transmitted by the USB interface is 5V, which must be higher than the voltage of the lithium battery, D4 is turned on and D3 is turned off. At this time, the mainboard is powered by the USB interface. During operation, if the power supply capacity of the USB interface is sufficient, even if the working current suddenly increases, the voltage will not drop below the battery voltage passing through D3, and the mainboard must be powered by the USB interface. If the power supply capacity of the USB interface is insufficient, the current suddenly increases, and its voltage drops below the battery voltage, the battery will supplement power through D3 to keep the mainboard's power supply stable. In order to avoid changes in the power supply of the USB interface, the power supply of the constant power module is only provided by the lithium battery.
[0071] Power the normal power module on the motherboard separately from other modules. When the USB port is powered, the power loss of the lithium battery is relatively slower, the lithium battery needs to be charged less frequently, and its service life will be extended.
[0072] In order to monitor whether the subsequent power supply voltage VBAT_2 is normal, two test points TP1 and TP2 can be brought out. In order to avoid interference, these two test points need to be placed on different sides of the motherboard. For example, TP1 is on the front side of the motherboard and TP2 is brought out on the back side of the motherboard.
[0073] To sum up, the utility model provides a dual-powered electronic device; when the lithium battery is low or out of power, the USB interface can power the mainboard and the power board, allowing the electronic device to work normally and quickly; for electronic devices powered by solar energy, the USB interface can be connected to the solar power supply, which can improve the effective utilization rate of solar energy, reduce resource waste, and effectively reduce the number of battery charge and discharge cycles: if solar power is used, the energy loss of the lithium battery is reduced, and adverse operations such as repeated charging and discharging are avoided, the battery charging frequency is reduced, and the battery life of the lithium battery is relatively increased, making the service life of the lithium battery longer.
[0074] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electronic device with dual power supply, comprising a body, characterized in that: A power board and a main board are arranged in the machine body, and the power board is electrically connected to the main board; When the power board detects that there is no external power supply, the lithium battery is selected to power the mainboard; when the external power input is detected, the external power supply is selected to charge and power the mainboard; When the external power supply is detected to be lower than the lower limit, lithium battery is selected for power replenishment; The main board controls the charging state of the power board; The power board is provided with an input module, a charging module, a switch module, a first connection module and a lithium battery; the input module is connected to the charging module, the switch module and the first connection module; the charging module is connected to the lithium battery, and the switch module is connected to the first connection module; When the input module is connected to an external power supply, it outputs a power supply voltage and a USB power supply voltage; The charging module controls the charging state according to the charging control signal, and converts the power supply voltage into the charging voltage to charge the lithium battery during charging; The switch module converts the battery voltage into a battery power supply voltage and controls the output state of the battery power supply voltage according to the switch operation; The first connection module transmits the USB power supply voltage and the battery power supply voltage to the mainboard, and also transmits the charging control signal output by the mainboard to the charging module.
2. The electronic device with dual power supply according to claim 1, characterized in that: The input module includes a USB interface, an overvoltage protection chip, a first resistor, a second resistor and a third resistor; The VBUS pin of the USB interface is a power supply terminal, the CC1 pin of the USB interface is grounded through a first resistor, and the CC2 pin of the USB interface is grounded through a second resistor; The DP1 pin, DP2 pin, DN1 pin and DN2 pin of the USB interface are all connected to the first connection module; The GND pin of the USB interface is grounded, the VIN pin of the overvoltage protection chip is connected to the power supply end, the OVLO pin of the overvoltage protection chip is connected to the GND pin and ground of the overvoltage protection chip through a third resistor, and the OUT pin of the overvoltage protection chip is the USB power supply end; the FAULT pin, ILIM pin and CE pin of the overvoltage protection chip are all grounded.
3. The electronic device with dual power supply according to claim 2, characterized in that: The input module further includes a first capacitor, a second capacitor, a third capacitor and a first diode; The first capacitor is connected between the VIN pin of the overvoltage protection chip and the ground, the second capacitor is connected between the OUT pin of the overvoltage protection chip and the ground; one end of the third capacitor is connected to the cathode of the first diode and the power supply end; the other end of the third capacitor is connected to the anode of the first diode and the ground.
4. The electronic device with dual power supply according to claim 2, characterized in that: The charging module includes a charging management chip, a battery interface, an indicator light, a first inductor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a fourth capacitor, a fifth capacitor and a sixth capacitor; The VIN pin of the charging management chip is connected to the power supply end and one end of the fourth resistor; the TS pin of the charging management chip is connected to the other end of the fourth resistor, one end of the fifth resistor, one end of the sixth resistor and the temperature detection pin of the battery interface; the other end of the fifth resistor is connected to the first connection module, the other end of the sixth resistor is grounded, the STAT pin of the charging management chip is connected to the negative pole of the indicator light, the positive pole of the indicator light is connected to the power supply end through the eighth resistor, the PMID pin of the charging management chip is grounded through the fourth capacitor, and the PGND pin and GND pin of the charging management chip are both grounded; the BAT pin of the charging management chip is connected to the battery pin of the battery interface, one end of the seventh resistor and one end of the sixth capacitor; the CSP pin of the charging management chip is connected to one end of the first inductor and the other end of the seventh resistor, the SW pin of the charging management chip is connected to the other end of the first inductor and one end of the fifth capacitor, the BST pin of the charging management chip is connected to the other end of the fifth capacitor, and the ground pin of the battery interface is grounded.
5. The electronic device with dual power supply according to claim 4, characterized in that: The switch module includes a toggle switch, a switch chip, and a ninth resistor: The first pin of the toggle switch is connected to the battery pin of the battery interface through the ninth resistor, the second pin of the toggle switch is connected to the G pin of the switch chip and one end of the seventh capacitor, the third pin of the toggle switch is grounded through the tenth resistor, the fourth pin and the fifth pin of the toggle switch are grounded, the S pin and the S1 pin of the switch chip are both connected to the battery pin of the battery interface, and the D pin of the switch chip is the battery power supply end.
6. The electronic device with dual power supply according to claim 1, characterized in that: The first connection module includes a first interface, an eighth capacitor and a ninth capacitor: Pin 1 of the first interface is connected to the USB power supply end and one end of the eighth capacitor; pin 3 and pin 4 of the first interface are connected one-to-one to pin DN1 and pin DP1 of the USB interface; pin 6 of the first interface is connected to the other end of the fifth resistor, pin 7 and pin 8 of the first interface are both connected to the battery power supply end and one end of the ninth capacitor, and the other end of the eighth capacitor and the other end of the ninth capacitor are both grounded; pin 2, pin 5, pin G1 and pin G2 of the first interface are all grounded.
7. The electronic device with dual power supply according to claim 6, characterized in that: The mainboard is provided with a second connection module, a power supply control module, a normal power module and a control module; The second connection module connects the power supply control module, the normal power module and the control module; the power supply control module connects the control module and the first interface module; The second connection module outputs the USB power supply voltage and the battery power supply voltage to the power supply control module; The power supply control module selects to output the battery power supply voltage to the normal power module for power supply according to the voltage state, outputs the USB power supply voltage for power supply, and controls the battery power supply voltage for power replenishment when detecting that the USB power supply voltage drops to a lower limit value; The normal power module outputs a charging control signal when the detection function is triggered, and transmits it to the power board through the second connection module.
8. The electronic device with dual power supply according to claim 7, characterized in that: The second connection module includes a second interface, a tenth capacitor and an eleventh capacitor; Pins 1 to 8 of the second interface are connected one-to-one with pins 1 to 8 of the first interface, and pin 1 of the second interface is connected to one end of the tenth capacitor and the power supply control module; Pin 6 of the second interface is connected to the normal power module and transmits the charging control signal, pin 7 and pin 8 of the second interface are connected to one end of the eleventh capacitor and the power supply control module, the other end of the tenth capacitor and the other end of the eleventh capacitor are grounded; pin 2, pin 5, pin G1 and pin G2 of the second interface are all grounded.
9. The electronic device with dual power supply according to claim 8, characterized in that: The power supply control module includes a first switch tube, a second switch tube, a third switch tube, a third diode, a fourth diode, a fifth diode, a sixth diode, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor and a sixteenth resistor; The gate of the first switch tube is connected to one end of the eleventh resistor, the cathode of the fifth diode and the cathode of the sixth diode; the anode of the fifth diode and the anode of the sixth diode are both connected to the normal power module, the source of the first switch tube is connected to the other end of the eleventh resistor and the ground, and the drain of the first switch tube is connected to one end of the twelfth resistor; the other end of the twelfth resistor is connected to the gate of the second switch tube, the gate of the third switch tube and one end of the sixteenth resistor; The source of the second switch tube is grounded, and the drain of the second switch tube is connected to the drain of the third switch tube and the subsequent power supply end through the fifteenth resistor; the source of the third switch tube is connected to the other end of the sixteenth resistor, the cathode of the third diode and the cathode of the fourth diode; the anode of the third diode is connected to the 7th pin of the second interface, and the anode of the fourth diode is connected to the 1st pin of the second interface.