CN219107091U - Switch control circuit based on USB insertion and battery power supply system - Google Patents

Switch control circuit based on USB insertion and battery power supply system Download PDF

Info

Publication number
CN219107091U
CN219107091U CN202223369795.2U CN202223369795U CN219107091U CN 219107091 U CN219107091 U CN 219107091U CN 202223369795 U CN202223369795 U CN 202223369795U CN 219107091 U CN219107091 U CN 219107091U
Authority
CN
China
Prior art keywords
circuit
resistor
power supply
supply system
battery power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202223369795.2U
Other languages
Chinese (zh)
Inventor
王日翔
梁永治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Fenda Technology Co Ltd
Original Assignee
Shenzhen Fenda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Fenda Technology Co Ltd filed Critical Shenzhen Fenda Technology Co Ltd
Priority to CN202223369795.2U priority Critical patent/CN219107091U/en
Application granted granted Critical
Publication of CN219107091U publication Critical patent/CN219107091U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model belongs to the technical field of electronic circuits, and provides a switch control circuit based on USB insertion, which is applied to a battery power supply system and comprises: the USB1 connector, first bleeder circuit, USB2 connector, second bleeder circuit, switch selection circuit, detection circuitry and power supply circuit, USB1 connector and USB2 connector are used for pegging graft with battery power supply system, first bleeder circuit and second bleeder circuit are used for pressing when the USB connector inserts battery power supply system and produce first switching signal and second switching signal output, detect by detection circuitry through switch selection circuit, thereby realize any USB and insert, the system can both automatic start, realize plug automatic start and the technological effect that is detected, also reduce the occupation to PCB panel simultaneously, the cost is reduced.

Description

Switch control circuit based on USB insertion and battery power supply system
Technical Field
The utility model relates to the technical field of electronic circuits, in particular to a switch control circuit based on USB insertion and a battery power supply system.
Background
When the battery Voltage (VBAT) is low to a certain degree, the product can be automatically shut down, after USB is inserted, a voltage of about 2.5V is obtained through resistor voltage division and is supplied to an enable EN (enable) pin of a power supply chip, after the pin is high-level, the power supply chip starts a working mode, MCU_VCC voltage is directly supplied to start the system, and meanwhile, USB is matched for charging. In the prior art, although the product can be started after being plugged into the USB, the system/main control cannot judge the USB plug-in, the state of communication with the system is lacking, the whole system cannot fully control the startup and shutdown, the power consumption of the whole system is not ideal, if two USB interfaces are designed for the product, two diodes are selected for realization, the elements occupy the area of a PCB (printed circuit board) more, and the design of small and fine products is not facilitated.
In summary, the existing switch control circuit based on USB insertion has the technical problems of inconvenient overall control of on-off, non-ideal power consumption of the whole machine, large occupation of PCB board area and the like.
Disclosure of Invention
In order to solve the technical problems, the utility model provides the following scheme.
A USB insertion-based switch control circuit for use in a battery powered system, the USB insertion-based switch control circuit comprising:
the USB1 connector is used for being spliced with the battery power supply system;
the first voltage dividing circuit is used for generating a first switching signal output by voltage division when the USB1 connector is inserted into the battery power supply system;
the USB2 connector is used for being spliced with the battery power supply system;
the second voltage dividing circuit is used for dividing voltage to generate a second switching signal output when the USB1 connector is inserted into the battery power supply system;
the switch selection circuit is electrically connected with the output end of the first voltage division circuit and the output end of the second voltage division circuit, and the second switch signal performs switch selection according to the first switch signal so as to output a switch selection signal;
the detection circuit is electrically connected with the output end of the switch selection circuit and is used for outputting a switch detection signal after detecting the switch selection signal;
and the power supply circuit is electrically connected with the output end of the detection circuit and is used for supplying power to the battery power supply system.
Further, the first voltage dividing circuit includes: a resistor R62 and a resistor R63; the second end of the resistor R62 is connected with the USB1 connector, the first end of the resistor R62 is connected with the second end of the resistor R63, and the first end of the resistor R63 is connected with the ground; the first end of the resistor R62 and the second end of the resistor R63 are output ends of the first voltage dividing circuit.
Further, the second voltage dividing circuit includes: a resistor R65 and a resistor R70; the first end of the resistor R65 is connected with the USB2 connector, the second end of the resistor R65 is connected with the second end of the resistor R70, and the first end of the resistor R70 is connected with the ground; the second end of the resistor R65 and the second end of the resistor R70 are output ends of the second voltage dividing circuit.
Further, the switch selection circuit includes: a dual diode; the first anode of the double diode is connected with the output end of the first voltage dividing circuit; the second anode of the double diode is connected with the output end of the second voltage dividing circuit; the common cathode of the double diodes is the output end of the switch selection circuit and is connected with the detection circuit.
Further, the detection circuit comprises a resistor R3; the first end of the resistor R3 is connected with the output end of the switch selection circuit, and the second end of the resistor R3 is an ADC detection pin of the battery power supply system.
Further, the power supply circuit comprises a power supply chip circuit and a startup locking circuit; the power supply chip circuit is connected with a power supply end VBAT and is connected with the starting locking circuit; the output end of the starting locking circuit outputs a locking signal to lock the starting state of the battery power supply system, and the power supply chip circuit is connected with the output power supply voltage of the battery power supply system.
Further, the startup locking circuit comprises a diode Z1; the cathode of the diode Z1 is connected with the power supply chip circuit, and the anode of the diode Z1 is connected with the battery power supply system.
Further, the power supply chip circuit comprises a power supply chip U6, a capacitor C14, a resistor R69, an inductor L2, a resistor R75, a capacitor C29, a capacitor C213 and a diode D3; the input end IN of the power chip U6 is connected with the power end VBAT, and the enabling end EN of the power chip U6 is connected with the starting locking circuit; the SB end of the power chip U6 is connected with the first end of the capacitor C14, the GND end of the power chip U6 is grounded, the FB end of the power chip U6 is grounded through a resistor R69, and the SW end of the power chip U6 is commonly connected with the first end of the inductor L2 and the second end of the capacitor C14; the second end of the inductor L2 is connected with a resistor R69 through a resistor R75; the capacitor C29, the capacitor C213 and the diode D3 are connected in parallel and then connected to the second end of the inductor L2, and the cathode of the diode D3 is the output end of the supply voltage.
Further, the power supply voltage is 3.3V.
In addition, the utility model provides a battery power supply system to which the switch control circuit based on USB insertion described in any one of the above is applied.
Compared with the prior art, the utility model has the beneficial effects that:
the utility model provides a switch control circuit based on USB insertion, which is applied to a battery power supply system, and comprises: the USB1 connector is used for being plugged with the battery power supply system, the first voltage dividing circuit is used for generating a first switching signal output by voltage division when the USB1 connector is plugged with the battery power supply system, the USB2 connector is used for being plugged with the battery power supply system, the second voltage dividing circuit is used for generating a second switching signal output by voltage division when the USB1 connector is plugged with the battery power supply system, the switching selection circuit is electrically connected with the output end of the first voltage dividing circuit and the output end of the second voltage dividing circuit, according to the first switch signal, the second switch signal is switched and selected to output a switch selection signal, the detection circuit is electrically connected with the output end of the switch selection circuit and is used for outputting a switch detection signal after detecting the switch selection signal, the power supply circuit is electrically connected with the output end of the detection circuit and is used for supplying power to a battery power supply system, so that any USB (universal serial bus) insertion is realized, the system can be automatically started, the technical effects of automatic starting up and detection of plugging are realized, meanwhile, the occupation of a PCB (printed circuit board) is reduced, and the cost is reduced.
Drawings
FIG. 1 is a schematic diagram of a switch control circuit based on USB plug-in;
fig. 2 is a schematic circuit diagram of a switch control circuit based on USB insertion.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present utility model more apparent, the technical solutions of the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model, and it is apparent that the described embodiments are only some embodiments of the present utility model, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model.
Referring to fig. 1-2, the present utility model provides a switch control circuit based on USB insertion, which is applied to a battery power supply system, and the switch control circuit based on USB insertion includes: the USB1 connector is used for being plugged with the battery power supply system, the first voltage division circuit is used for being separated to generate a first switch signal output when the USB1 connector is plugged with the battery power supply system, the second voltage division circuit is used for being separated to generate a second switch signal output when the USB1 connector is plugged with the battery power supply system, the switch selection circuit is electrically connected with the output end of the first voltage division circuit and the output end of the second voltage division circuit, the second switch signal is subjected to switch selection to output the switch selection signal according to the first switch signal, the detection circuit is electrically connected with the output end of the switch selection circuit and is used for outputting the switch detection signal after the switch selection signal is detected, and the power supply circuit is electrically connected with the output end of the detection circuit and is used for supplying power to the battery power supply system.
In this embodiment, the switch control circuit based on USB insertion includes: the USB1 connector is used for being plugged with the battery power supply system, the first voltage dividing circuit is used for generating a first switching signal output by voltage division when the USB1 connector is plugged with the battery power supply system, the USB2 connector is used for being plugged with the battery power supply system, the second voltage dividing circuit is used for generating a second switching signal output by voltage division when the USB1 connector is plugged with the battery power supply system, the switching selection circuit is electrically connected with the output end of the first voltage dividing circuit and the output end of the second voltage dividing circuit, according to the first switch signal, the second switch signal is switched and selected to output a switch selection signal, the detection circuit is electrically connected with the output end of the switch selection circuit and is used for outputting a switch detection signal after detecting the switch selection signal, the power supply circuit is electrically connected with the output end of the detection circuit and is used for supplying power to a battery power supply system, so that any USB (universal serial bus) insertion is realized, the system can be automatically started, the technical effects of automatic starting up and detection of plugging are realized, meanwhile, the occupation of a PCB (printed circuit board) is reduced, and the cost is reduced.
In some embodiments, the first voltage divider circuit includes: a resistor R62 and a resistor R63; the second end of the resistor R62 is connected with the USB1 connector, the first end of the resistor R62 is connected with the second end of the resistor R63, and the first end of the resistor R63 is connected with the ground; the first end of the resistor R62 and the second end of the resistor R63 are output ends of the first voltage dividing circuit. Further, the second voltage dividing circuit includes: a resistor R65 and a resistor R70; the first end of the resistor R65 is connected with the USB2 connector, the second end of the resistor R65 is connected with the second end of the resistor R70, and the first end of the resistor R70 is connected with the ground; the second end of the resistor R65 and the second end of the resistor R70 are output ends of the second voltage dividing circuit. Further, the switch selection circuit includes: a dual diode; the first anode of the double diode is connected with the output end of the first voltage dividing circuit; the second anode of the double diode is connected with the output end of the second voltage dividing circuit; the common cathode of the double diodes is the output end of the switch selection circuit and is connected with the detection circuit. Further, the detection circuit comprises a resistor R3; the first end of the resistor R3 is connected with the output end of the switch selection circuit, and the second end of the resistor R3 is an ADC detection pin of the battery power supply system. Further, the power supply circuit comprises a power supply chip circuit and a startup locking circuit; the power supply chip circuit is connected with a power supply end VBAT and is connected with the starting locking circuit; the output end of the starting locking circuit outputs a locking signal to lock the starting state of the battery power supply system, and the power supply chip circuit is connected with the output power supply voltage of the battery power supply system. Further, the startup locking circuit comprises a diode Z1; the cathode of the diode Z1 is connected with the power supply chip circuit, and the anode of the diode Z1 is connected with the battery power supply system. Further, the power supply chip circuit comprises a power supply chip U6, a capacitor C14, a resistor R69, an inductor L2, a resistor R75, a capacitor C29, a capacitor C213 and a diode D3; the input end IN of the power chip U6 is connected with the power end VBAT, and the enabling end EN of the power chip U6 is connected with the starting locking circuit; the SB end of the power chip U6 is connected with the first end of the capacitor C14, the GND end of the power chip U6 is grounded, the FB end of the power chip U6 is grounded through a resistor R69, and the SW end of the power chip U6 is commonly connected with the first end of the inductor L2 and the second end of the capacitor C14; the second end of the inductor L2 is connected with a resistor R69 through a resistor R75; the capacitor C29, the capacitor C213 and the diode D3 are connected in parallel and then connected to the second end of the inductor L2, and the cathode of the diode D3 is the output end of the supply voltage. Further, the power supply voltage is 3.3V. In addition, the utility model provides a battery power supply system to which the switch control circuit based on USB insertion described in any one of the above is applied.
Referring to fig. 2, in the above embodiment, USB1, SUB2 in fig. 2 are two-way USB connectors, Z5 is a dual diode, R3 is connected to the usb_det detection pin of the system, Z1 is connected to the power_en enable pin of the system, and U6 is the POWER chip IC of the system. Taking the switching on/off of USB1 as an example. When USB1 is inserted into a 5V charger, the voltage of a first pin VIN_1 is divided by R62 and R63 to be 2.5V, and then the voltage is conducted by Z5 (double diodes), a resistor R3 detects high level, a system reports that the system recognizes the high level through USB_DET (ADC detection pin), a power chip U6 of the 5 th pin/enable EN (enable), and a battery power supply system works normally to supply 3.3V power to the system; after the system is started, the power_en signal/high level is given to the 5 th pin of the battery POWER supply system through the diode Z1, so that the locked start is realized. When the USB device is removed, the voltage of the first pin VIN_1 disappears through the voltage division of R62 and R63 by 2.5V, Z5 (double diodes) is cut off, the resistor R3 detects low level, the system is reported, the main control system judges that the peripheral device has removed the USB device, and a user realizes on-off by operating a key, so that the product keeps low power consumption.
Finally, it should be generally described that the switch control circuit based on USB insertion provided in the foregoing embodiment is applied to a battery power supply system, two paths of USB connectors are used for being plugged into the battery power supply system, two voltage division circuits are used for generating a first switch signal output and a second switch signal output by voltage division when the USB connectors are plugged into the battery power supply system, the switch selection circuit is electrically connected with the output end of the first voltage division circuit and the output end of the second voltage division circuit, the second switch signal is subjected to switch selection according to the first switch signal to output the switch selection signal, the detection circuit is electrically connected with the output end of the switch selection circuit, and is used for outputting a switch detection signal after detecting the switch selection signal, and the power supply circuit is electrically connected with the output end of the detection circuit, so as to supply power for the battery power supply system, thereby realizing any path of USB insertion, the system can automatically start up, realize automatic plug-in and-out and detected technical effects, and simultaneously reduce occupation of PCB boards, and reduce cost.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present utility model, and not for limiting the same; although the utility model has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the utility model.

Claims (10)

1. A switch control circuit based on USB insertion, applied to a battery power supply system, characterized in that the switch control circuit based on USB insertion comprises:
the USB1 connector is used for being spliced with the battery power supply system;
the first voltage dividing circuit is used for generating a first switching signal output by voltage division when the USB1 connector is inserted into the battery power supply system;
the USB2 connector is used for being spliced with the battery power supply system;
the second voltage dividing circuit is used for dividing voltage to generate a second switching signal output when the USB1 connector is inserted into the battery power supply system;
the switch selection circuit is electrically connected with the output end of the first voltage division circuit and the output end of the second voltage division circuit, and the second switch signal performs switch selection according to the first switch signal so as to output a switch selection signal;
the detection circuit is electrically connected with the output end of the switch selection circuit and is used for outputting a switch detection signal after detecting the switch selection signal;
and the power supply circuit is electrically connected with the output end of the detection circuit and is used for supplying power to the battery power supply system.
2. The USB insertion-based switch control circuit of claim 1, wherein the first voltage divider circuit comprises: a resistor R62 and a resistor R63; the second end of the resistor R62 is connected with the USB1 connector, the first end of the resistor R62 is connected with the second end of the resistor R63, and the first end of the resistor R63 is connected with the ground; the first end of the resistor R62 and the second end of the resistor R63 are output ends of the first voltage dividing circuit.
3. The USB plug-in based switch control circuit of claim 1, wherein the second voltage divider circuit comprises: a resistor R65 and a resistor R70; the first end of the resistor R65 is connected with the USB2 connector, the second end of the resistor R65 is connected with the second end of the resistor R70, and the first end of the resistor R70 is connected with the ground; the second end of the resistor R65 and the second end of the resistor R70 are output ends of the second voltage dividing circuit.
4. A USB plug-in based switch control circuit according to any one of claims 1 to 3, wherein the switch selection circuit comprises: a dual diode; the first anode of the double diode is connected with the output end of the first voltage dividing circuit; the second anode of the double diode is connected with the output end of the second voltage dividing circuit; the common cathode of the double diodes is the output end of the switch selection circuit and is connected with the detection circuit.
5. The USB plug-in based switch control circuit of claim 4, wherein the detection circuit includes a resistor R3; the first end of the resistor R3 is connected with the output end of the switch selection circuit, and the second end of the resistor R3 is an ADC detection pin of the battery power supply system.
6. The USB plug-in based switch control circuit of claim 5, wherein the power supply circuit comprises a power supply chip circuit and a power-on locking circuit; the power supply chip circuit is connected with a power supply end VBAT and is connected with the starting locking circuit; the output end of the starting locking circuit outputs a locking signal to lock the starting state of the battery power supply system, and the power supply chip circuit is connected with the output power supply voltage of the battery power supply system.
7. The USB plug-in based switch control circuit of claim 6, wherein the power-on locking circuit includes a diode Z1; the cathode of the diode Z1 is connected with the power supply chip circuit, and the anode of the diode Z1 is connected with the battery power supply system.
8. The USB plug-in based switch control circuit of claim 6, wherein the power chip circuit includes a power chip U6, a capacitor C14, a resistor R69, an inductor L2, a resistor R75, a capacitor C29, a capacitor C213, and a diode D3; the input end IN of the power chip U6 is connected with the power end VBAT, and the enabling end EN of the power chip U6 is connected with the starting locking circuit; the SB end of the power chip U6 is connected with the first end of the capacitor C14, the GND end of the power chip U6 is grounded, the FB end of the power chip U6 is grounded through a resistor R69, and the SW end of the power chip U6 is commonly connected with the first end of the inductor L2 and the second end of the capacitor C14; the second end of the inductor L2 is connected with a resistor R69 through a resistor R75; the capacitor C29, the capacitor C213 and the diode D3 are connected in parallel and then connected to the second end of the inductor L2, and the cathode of the diode D3 is the output end of the supply voltage.
9. The USB plug-in based switch control circuit of claim 8, wherein the supply voltage is 3.3V.
10. A battery powered system, wherein the USB plug-in based switch control circuit of any one of claims 1-9 is applied to the battery powered system.
CN202223369795.2U 2022-12-14 2022-12-14 Switch control circuit based on USB insertion and battery power supply system Active CN219107091U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223369795.2U CN219107091U (en) 2022-12-14 2022-12-14 Switch control circuit based on USB insertion and battery power supply system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223369795.2U CN219107091U (en) 2022-12-14 2022-12-14 Switch control circuit based on USB insertion and battery power supply system

Publications (1)

Publication Number Publication Date
CN219107091U true CN219107091U (en) 2023-05-30

Family

ID=86468184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223369795.2U Active CN219107091U (en) 2022-12-14 2022-12-14 Switch control circuit based on USB insertion and battery power supply system

Country Status (1)

Country Link
CN (1) CN219107091U (en)

Similar Documents

Publication Publication Date Title
US9167718B2 (en) Server system
US8149556B2 (en) Power adapter and power supply method thereof
US20070075680A1 (en) Charging mode control circuit
CN202798027U (en) Bidirectional power supply circuit of single USB interface
CN101576767A (en) Main board power supply circuit
CN109840006B (en) Main control chip power supply device
US20140049209A1 (en) Charging converter
CN101359247A (en) Power adapter circuit for motherboard
CN219107091U (en) Switch control circuit based on USB insertion and battery power supply system
CN201877592U (en) USB interface structure and computer case with same
US7745960B2 (en) Power supply control signal generating circuit
CN206180986U (en) Trigger circuit and earphone restore to throne
CN108365749A (en) A kind of direct current ATX power supplys
TWI467885B (en) Electronic devices and electronic systems
CN101526841B (en) Computer system and power saving method
CN215120525U (en) Multi-interface insertion detection starting and power supply PCB circuit and electronic equipment
CN203520298U (en) Start circuit and portable equipment
US20050066071A1 (en) Power conditioning mechanism using an external card adapter
CN101771187B (en) Wireless control energy-saving device
CN101329593A (en) Computer system AC power supply control device using host power supply switch and battery
CN108808788B (en) Miniaturized B-ultrasonic single-chip microcomputer control device and system thereof
CN101470639B (en) Start signal generation apparatus
CN220671927U (en) Power supply module, mainboard and electronic equipment
CN101241387A (en) Direct-current power supply system and its sequence control device
CN217467658U (en) PCIE keysets

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant