Disclosure of Invention
The invention mainly aims to provide a control system for realizing DC and Micro USB double charging, and aims to solve the technical problem of burning out of a main board caused by simultaneous charging of a DC socket and a Micro USB socket in the prior art.
In order to solve the technical problem, the control system for realizing DC and Micro USB dual charging comprises a DC charging circuit, a DC anti-high voltage circuit connected with the DC charging circuit, a Micro USB charging circuit and a Micro USB anti-high voltage circuit connected with the Micro USB charging circuit, wherein when the DC charging circuit receives DC voltage input, the DC anti-high voltage circuit sends a first control signal to the Micro USB anti-high voltage circuit to stop the real-time charging state of the Micro USB charging circuit.
Preferably, the DC charging circuit includes a first P-channel field effect transistor, a second P-channel field effect transistor and a TVS tube, one end of the TVS tube is connected to the DC input end, one end of the first capacitor and the drain electrode of the first P-channel field effect transistor at the same time, the other end of the TVS tube is connected to the other end of the first capacitor and the ground at the same time, the gate electrode of the first P-channel field effect transistor is connected to one end of the second capacitor, one end of the first resistor and the gate electrode of the second P-channel field effect transistor respectively, the source electrode of the first P-channel field effect transistor is connected to the other end of the second capacitor, one end of the first resistor, one end of the second resistor and the source electrode of the second P-channel field effect transistor respectively, the other end of the second resistor is grounded, the drain electrode of the second P-channel field effect transistor is connected to one end of the third capacitor, one end of the fourth capacitor and the main board power management unit respectively, and the other ends of the third capacitor and the fourth capacitor are grounded.
Preferably, the DC anti-high voltage circuit comprises a first N-channel field effect transistor and a third resistor, one end of the third resistor is connected with the gate of the first P-channel field effect transistor, one end of the second capacitor, one end of the first resistor and the gate of the second P-channel field effect transistor at the same time, the other end of the third resistor is connected with the drain of the first N-channel field effect transistor, the source of the first N-channel field effect transistor is grounded, the gate of the first N-channel field effect transistor is connected with a fourth resistor one end, a fifth capacitor one end and the Micro USB anti-high voltage circuit respectively, the other ends of the fourth resistor and the fifth capacitor are grounded, and the other end of the fifth resistor is connected with the DC input end.
Preferably, the Micro USB charging circuit includes a third P-channel field effect transistor and a fourth P-channel field effect transistor, where a source electrode of the third P-channel field effect transistor is connected to one end of a tenth resistor, one end of an eleventh resistor, one end of a tenth capacitor and a source electrode of the fourth P-channel field effect transistor, another end of the tenth resistor is grounded, a drain electrode of the third P-channel field effect transistor is connected to a USB signal receiving end, and a gate electrode of the third P-channel field effect transistor is connected to another end of the eleventh resistor, another end of the tenth capacitor and a gate electrode of the fourth P-channel field effect transistor at the same time, and a drain electrode of the fourth P-channel field effect transistor is connected to the motherboard power management unit.
Preferably, the Micro USB high-voltage prevention circuit comprises a twelfth resistor and a second N-channel field effect transistor, one end of the twelfth resistor is simultaneously connected with a grid electrode of a fourth P-channel field effect transistor, a grid electrode of a third P-channel field effect transistor, the other end of the eleventh resistor and the other end of a tenth capacitor, the other end of the twelfth resistor is connected with a drain electrode of the second N-channel field effect transistor, a source electrode of the second N-channel field effect transistor is grounded, the grid electrode of the second N-channel field effect transistor is respectively connected with one end of a thirteenth resistor and the drain electrode of the third N-channel field effect transistor, the other end of the thirteenth resistor is connected with a USB signal receiving end, the source electrode of the third N-channel field effect transistor is grounded, and the grid electrode of the third N-channel field effect transistor is connected with the DC high-voltage prevention circuit.
The invention has the following beneficial effects:
based on the setting of DC prevent high-voltage circuit and Micro USB prevent high-voltage circuit for when the user carries out the mistake operation in-process, DC socket and Micro USB socket all have voltage input, DC prevent high-voltage circuit send first control signal extremely Micro USB prevents high-voltage circuit is with stopping the real-time state of charge of Micro USB's charging circuit, makes the mainboard only supplied power by DC charging circuit, in order to play the effect of protecting the mainboard, improves the protectiveness to the mainboard, and realizes charging to the mainboard when DC socket does not charge, realizes charging of two types, and the commonality is strong.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It is noted that related terms such as "first," "second," and the like may be used to describe various components, but these terms are not limiting of the components. These terms are only used to distinguish one element from another element. For example, a first component could be termed a second component, and, similarly, a second component could be termed a first component, without departing from the scope of the present invention. The term "and/or" refers to any one or more combinations of related items and descriptive items.
Referring to fig. 1, fig. 1 is a schematic diagram of an embodiment of the present invention.
As shown in fig. 1, the control system for implementing DC and Micro USB dual charging according to the present invention includes a DC charging circuit 100, a DC anti-high voltage circuit 102 connected to the DC charging circuit 100, a Micro USB charging circuit 101, and a Micro USB anti-high voltage circuit 103 connected to the Micro USB charging circuit 101, wherein when the DC charging circuit 100 receives a DC voltage input, the DC anti-high voltage circuit sends a first control signal to the Micro USB anti-high voltage circuit to stop a real-time charging state of the Micro USB charging circuit. The control system for realizing DC and Micro USB double charging is suitable for a tablet personal computer, is built in the tablet personal computer, and is characterized in that the DC charging circuit is used for receiving DC voltage transmitted by a DC voltage input end, the DC voltage input end is connected with a DC interface, the Micro USB charging circuit is used for receiving USB voltage transmitted by a USB voltage input end, and the USB voltage input end is connected with the USB interface; the beneficial effects of the invention are as follows: based on the setting of DC prevent high-voltage circuit and Micro USB prevent high-voltage circuit for when the user carries out the mistake operation in-process, DC socket and Micro USB socket all have voltage input, DC prevent high-voltage circuit send first control signal extremely Micro USB prevents high-voltage circuit is with stopping the real-time state of charge of Micro USB's charging circuit, makes the mainboard only supplied power by DC charging circuit, in order to play the effect of protecting the mainboard, improves the protectiveness to the mainboard, and realizes charging to the mainboard when DC socket does not charge, realizes charging of two types, and the commonality is strong. It should be noted that, the DC anti-high voltage circuit directly sends the first control signal to the Micro USB anti-high voltage circuit, so that it is very important that the DC anti-high voltage circuit sends the first control signal to the whole process of stopping the real-time charging state of the charging circuit of the Micro USB based on the Micro USB anti-high voltage circuit, and the DC charging circuit cannot simply send the first control signal, so that the real-time DC voltage charging effect is easily affected.
Referring to fig. 2, fig. 2 is a schematic circuit connection diagram of a DC charging circuit and a DC anti-high voltage circuit according to an embodiment of the present invention.
As shown IN fig. 2, preferably, the DC charging circuit includes a first P-channel fet Q1, a second P-channel fet Q2, and a TVS tube Z1, one end of the TVS tube Z1 is connected to the DC input terminal DC IN, one end of the first capacitor C1, and the drain of the first P-channel fet Q1 at the same time, the other end of the TVS tube is connected to the other end of the first capacitor C1 and ground, the gate of the first P-channel fet is connected to one end of the second capacitor C2, one end of the first resistor R1, and the gate of the second P-channel fet Q2, the source of the first P-channel fet is connected to the other end of the second capacitor C2, the other end of the first resistor R1, one end of the second resistor R2, and the source of the second P-channel fet, the drain of the second P-channel fet is connected to one end of the third capacitor C3, one end of the fourth capacitor C4, and the gate of the fourth capacitor C4, and the third capacitor C4 are connected to the ground. The TVS tube is an existing transient voltage suppression diode and is a high-efficiency protection electronic component; the preferred embodiment limits the electronic components covered in the DC charging circuit, so that the tablet pc can be charged by using the DC socket, and the charging circuit formed by the two P-channel field effect transistors improves the stability and reliability of the input voltage value of the main board when the input voltage is unstable in the charging process, wherein the model of each component can be known from fig. 2, and is not described herein. The implementation principle is as follows: DC voltage is input through a DC input end DC IN, passes through an anti-surge protection circuit formed by a TVS tube and a first capacitor, then reaches the drain electrode of a first P-channel field effect tube Q1, and then goes out through the drain electrode of a second P-channel field effect tube Q2, and the DC voltage is input into a VBUS_PMU, namely a main board power supply management unit, so that DC power supply of a DC socket is realized.
As shown in fig. 2, as an optimization of the above embodiment, the DC anti-high voltage circuit includes a first N-channel field effect transistor Q3 and a third resistor R3, where one end of the third resistor R3 is connected to the gate of the first P-channel field effect transistor, one end of the second capacitor C2, one end of the first resistor R1 and the gate of the second P-channel field effect transistor at the same time, the other end of the third resistor R3 is connected to the drain of the first N-channel field effect transistor, the source of the first N-channel field effect transistor is grounded, the gate of the first N-channel field effect transistor is connected to one end of a fourth resistor R4, one end of a fifth resistor R5, one end of a fifth capacitor C5 and the Micro USB anti-high voltage circuit, the other end of the fourth resistor R4 and the other end of the fifth capacitor C5 are grounded, and the other end of the fifth resistor R5 is connected to the DC input terminal; the preferred embodiment defines the electronic components and the corresponding connection relations covered in the DC high voltage protection circuit to realize the following principles: in the position connected with the DC input end, based on the RC charging circuit formed by the fourth resistor and the fifth capacitor, when the DC voltage enters through the DC input end, the voltage of the grid electrode of the first N-channel field effect transistor Q3 can rise to the voltage capable of starting the field effect transistor after a delay, and the risk of burning the DC charging circuit when the DC voltage exceeds the rated value can be avoided by adding the RC charging circuit. Preferably, the first transistor Q4 is further included, an emitter of the first transistor is grounded, a base of the first transistor is connected with one end of the sixth resistor R6 through the first zener diode D1, and the other end of the sixth resistor R6 is connected with the DC input end. The preferred embodiment is based on the above arrangement of electronic components such that: after the DC voltage enters from the DC input end, the DC voltage passes through the sixth resistor R6 and the first voltage stabilizing diode D1, when the DC voltage exceeds 5.6V (when the input voltage of the main board power supply management unit exceeds 7V, the operation is abnormal, a voltage stabilizing tube slightly lower than the abnormal operation voltage point of the main board power supply management unit is selected, the clock of the main board power supply management unit can normally operate), the voltage stabilizing tube D1 is conducted, the base voltage of the first triode is high and is conducted to the ground, the potential of the grid electrode of the first N-channel field effect transistor Q3 is lowered, when the DC voltage exceeds 5.6V, the DC voltage is transmitted to the main board power supply management unit, the main board end is damaged, and the main board is further protected.
Referring to fig. 3, fig. 3 is a schematic circuit connection diagram of a Micro USB charging circuit and a Micro USB high voltage protection circuit in an embodiment of the present invention.
As shown in fig. 3, preferably, the Micro USB charging circuit includes a third P-channel fet Q4 and a fourth P-channel fet Q5, where the source of the third P-channel fet Q4 is connected to one end of a tenth resistor R10, one end of an eleventh resistor R11, one end of a tenth capacitor C10, and the source of the fourth P-channel fet, the other end of the tenth resistor R10 is grounded, the drain of the third P-channel fet is connected to the USB signal receiving terminal +vusb_conn, the gate of the third P-channel fet is connected to the other end of the eleventh resistor R11, the other end of the tenth capacitor C10, and the gate of the fourth P-channel fet, and the drain of the fourth P-channel fet is connected to the motherboard power management unit vbus_pmu; the preferred embodiment defines electronic components and their corresponding connection relationships covered in the Micro USB charging circuit to implement the following principles: after being input through the USB signal receiving end +VUSB_CONN, the USB voltage is output to the drain electrode of the fourth P-channel field effect transistor Q5 after passing through the third P-channel field effect transistor Q4, and the USB voltage is input to the VBUS_PMU, namely the main board power management unit, so that USB power supply of the USB socket is realized. The types of the above components can be known from fig. 3, and are not described here.
As shown in fig. 3, preferably, the Micro USB anti-high voltage circuit includes a twelfth resistor R12 and a second N-channel fet Q6, where one end of the twelfth resistor R12 is connected to the gate of the fourth P-channel fet, the gate of the third P-channel fet, the other end of the eleventh resistor R11, and the other end of the tenth capacitor R10 at the same time, the other end of the twelfth resistor R12 is connected to the drain of the second N-channel fet Q6, the source of the second N-channel fet is grounded, the gate of the second N-channel fet is connected to one end of the thirteenth resistor R13 and the drain of the third N-channel fet Q7, the other end of the thirteenth resistor is connected to the USB signal receiving end +vusb_conn, the source of the third N-channel fet is grounded, and the gate of the third N-channel fet is connected to the DC anti-high voltage circuit; the preferred embodiment defines the electronic components and the corresponding connection relation covered in the Micro USB high voltage prevention circuit, wherein the grid electrode of the third N-channel field effect transistor Q7 is respectively connected with one end of the fifth resistor R5, the grid electrode of the first N-channel field effect transistor Q3 and the collector electrode of the first triode; the circuit further comprises a second triode Q8, wherein an emitter of the second triode Q8 is grounded, a base electrode of the second triode is connected with one end of a fourteenth resistor R14 through a second voltage-stabilizing diode D2, and the other end of the fourteenth resistor R14 is connected with a USB signal receiving end +VUSB_CONN. The following principle is realized: when a USB charger is inserted to supply power to a USB socket, namely the level of a USB signal receiving end +VUSB_CONN is pulled up, the USB voltage of the Micro USB can be supplied to a VBUS_PMU through a third P-channel field effect transistor Q4 and a fourth P-channel field effect transistor Q5, but when the input voltage is simultaneously input to a DC socket and the USB socket, the DC_SEL signal is high; at this time, the third N-channel fet Q7 is turned on to ground, so that the gate potential of the second N-channel fet Q6 is pulled down, and the third P-channel fet Q4 and the fourth P-channel fet Q5 at the rear end are turned off, so that when the DC socket and the Micro USB socket have voltage input at the same time, the function of charging the tablet pc with the DC charging voltage is preferably selected, and the risk of burning out the motherboard circuit due to serial power is avoided.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.