CN106340915B - Terminal device - Google Patents
Terminal device Download PDFInfo
- Publication number
- CN106340915B CN106340915B CN201610718210.3A CN201610718210A CN106340915B CN 106340915 B CN106340915 B CN 106340915B CN 201610718210 A CN201610718210 A CN 201610718210A CN 106340915 B CN106340915 B CN 106340915B
- Authority
- CN
- China
- Prior art keywords
- addition function
- signal
- input
- voltage conversion
- function module
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2207/00—Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J2207/30—Charge provided using DC bus or data bus of a computer
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
- Dc-Dc Converters (AREA)
Abstract
The present invention provides a kind of terminal device, comprising: the output end of DC voltage conversion module is connected with the input terminal of USB interface and enabled circuit respectively;The output end of enabled circuit is connected with the first input end of addition function module;Main control chip is connected with the second input terminal of addition function module, the output end of addition function module is connected with the control terminal of DC voltage conversion module, enabled circuit is used for when DC voltage conversion module is in running order, generates the first level signal according to the pulse width modulation (PWM) pulse of DC voltage conversion module output end;Addition function module exports the first drop control signal for controlling DC voltage conversion module output pwm pulse when the signal that the signal of first input end is the first level signal and/or the second input terminal is the first level signal.So that USB interface can continue as peripheral hardware and charge after terminal device is standby.
Description
Technical field
The present invention relates to the communication technology more particularly to a kind of terminal devices.
Background technique
Pass through universal serial bus (Universal Serial Bus, referred to as are as follows: USB) interface in terminal device at present
A kind of common function in terminal device is become to the charging of other peripheral hardwares.
And terminal device is that USB interface that premise that other peripheral hardwares charge is terminal device must have an electricity, and terminal
The USB interface of equipment must have electricity premise be that terminal device necessarily is in open state, in order to other peripheral hardwares charge so that
Terminal device is always maintained at open state, if a peripheral hardware is charged using the USB interface of terminal, once terminal is set
Standby standby, USB interface will cannot charge, therefore it is standby to will lead to terminal device because losing power supply at this time for peripheral hardware
Afterwards, USB interface cannot charge for peripheral hardware.
In order to avoid terminal device it is standby after, the problem of USB interface cannot be charged for peripheral hardware, doing in prior art
Method is that USB interface charges when no matter setting terminal device is in open state or standby mode, so as to avoid terminal device
The problem of being charged when being in standby without normal direction other peripheral hardwares.
Summary of the invention
The embodiment of the present invention provides a kind of terminal device, and to overcome after terminal device is standby in the prior art, USB interface is not
It can be the problem of peripheral hardware is charged.
The present invention provides a kind of terminal device, comprising: general-purpose serial bus USB interface, main control chip and direct current buckling
Change the mold block, wherein the main control chip is used to export the first level signal in terminal device booting, sets in the terminal
The second electric signal, the terminal device are exported when standby standby further include: enabled circuit and addition function module;
The output end of the DC voltage conversion module input terminal phase with the USB interface and the enabled circuit respectively
Even;
The output end of the enabled circuit is connected with the first input end of the addition function module;The main control chip and
Second input terminal of the addition function module is connected, the output end of the addition function module and the DC voltage conversion mould
The control terminal of block is connected, and the enabled circuit is used for when the DC voltage conversion module is in running order, according to described
The pulse width modulation (PWM) pulse of DC voltage conversion module output end generates first level signal;
The addition function module is first level signal and/or described second in the signal of the first input end
When the signal of input terminal is first level signal, first control signal is exported, the first control signal is for controlling institute
State DC voltage conversion module output pwm pulse.
In the embodiment of the present invention: main control chip is used to export the first level signal in terminal device booting, sets in terminal
The second electric signal, the input with USB interface and enabled circuit respectively of the output end of DC voltage conversion module are exported when standby standby
End is connected;The output end of enabled circuit is connected with the first input end of addition function module;Main control chip and addition function module
The second input terminal be connected, the output end of addition function module is connected with the control terminal of DC voltage conversion module, enabled circuit
For being modulated according to the pulse width of DC voltage conversion module output end when DC voltage conversion module is in running order
Pwm pulse generates the first level signal;Addition function module is the first level signal and/or second in the signal of first input end
When the signal of input terminal is the first level signal, first control signal is exported, first control signal is for controlling direct current buckling
It changes the mold block and exports pwm pulse.So that USB interface can continue as peripheral hardware and charge after terminal device is standby.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 show be in the related technology USB interface power supply circuit diagram;
Fig. 2 show the structural schematic diagram one of terminal device provided in an embodiment of the present invention;
Fig. 3 show the structural schematic diagram two of terminal device provided in an embodiment of the present invention;
Fig. 4 show the structural schematic diagram three of terminal device provided in an embodiment of the present invention;
Fig. 5 show the structural schematic diagram four of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention is described.
The network architecture and business scenario of description of the embodiment of the present invention are to more clearly illustrate implementation of the present invention
The technical solution of example, does not constitute the restriction for technical solution provided in an embodiment of the present invention, those of ordinary skill in the art
It is found that technical solution provided in an embodiment of the present invention is for similar with the differentiation of the network architecture and the appearance of new business scene
The technical issues of, it is equally applicable.
Specification of the invention, claims and term " first " in above-mentioned attached drawing, " second ", etc. be for distinguishing
Similar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelings
Can be interchanged under condition, so as to the embodiment of the present invention example described herein can in addition to those of illustrate or describe herein with
Outer sequence is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive packet
Contain, for example, contain the process, method of series of steps, need not comprising a series of units, the system of module, product or equipment
Those of be limited to be clearly listed step or unit, but may include be not clearly listed or for these process, methods,
The other step or units of product or equipment inherently."at least one" involved in the present invention refers to one kind or a variety of
The meaning.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is worth noting that, being input to the enable signal of DC voltage conversion module in the present invention as logic high letter
Number namely DC voltage conversion module control terminal when receiving logic high normal work.
Fig. 1 show be in the related technology USB interface power supply circuit diagram, as shown in Figure 1, the circuit include master
Chip, the voltage source VCC of DC voltage conversion module, DC voltage conversion module and USB interface are controlled,
Wherein, the main control chip in terminal device is connected with the control terminal EN of DC voltage conversion module;Direct current buckling
The voltage source VCC of mold changing block is connect with the input terminal VIN of DC voltage conversion module;The output end SW of DC voltage conversion module
It is connected with VBUS (power supply) pin in USB interface.
Control of the main control chip to DC voltage conversion module when terminal device is in open state, in terminal device
EN is held to export logic high, DC voltage conversion module works normally at this time, normal supplying power for outside, DC voltage conversion module
In output end SW export pwm pulse, the pwm pulse by filtering after formed make USB interface work normally needed for direct current
VUSB is pressed, such as: it can be 5V, that is, the VUSB in the USB interface in Fig. 1 circuit is normally charged at this time, USB interface is normal
Work can be normally carried out charging for other peripheral hardwares in insertion USB interface.
Control of the main control chip to DC voltage conversion module when terminal device is in standby, in terminal device
EN is held to export logic low, DC voltage conversion module does not work at this time, not supplying power for outside, so that the USB in Fig. 1 circuit connects
VUSB in mouthful is not charged, namely when the working condition of terminal device is changed to standby mode from open state, can not continue
To continue to charge by other peripheral hardwares that USB interface charges in open state.
The present invention is by one enabled circuit of setting and addition function module, thus when terminal device is changed to from normal work
When standby mode, in the moment of change, DC voltage conversion module is in working condition, at this point, enabled circuit direct
The duty ratio of the pwm pulse of the output end SW output of voltage transformation module, so that it is determined that add circuit input logic high level
Signal, and main control chip is to add circuit input logic low level signal, so that addition function module is inputted according to enabled circuit
Logic-high signal and the logic-low signal of main control chip input determine and continue to DC voltage conversion module
Logic-high signal is exported, keeps working condition to control DC voltage conversion module, to be continuously peripheral hardware progress
Charging.Solving in terminal device is when peripheral hardware does not complete charging, standby situation occur in peripheral hardware charging process, can not
The problem of completing peripheral hardware charging.
Fig. 2 show the structural schematic diagram one of terminal device provided in an embodiment of the present invention, as shown in Fig. 2, the present embodiment
Terminal device may include: general-purpose serial bus USB interface 11, main control chip 12, DC voltage conversion module 13, master control core
Piece 12 is used to export the first level signal in terminal device booting, and second electrical level signal is exported when terminal device is standby,
In the embodiment of the present invention, above-mentioned terminal device further include: enabled circuit 14 and addition function module 15;
The output end of DC voltage conversion module 13 is respectively and in the general-purpose serial bus USB interface 11 in terminal device
VBUS pin is connected with the input terminal of enabled circuit 14;
The output end of enabled circuit 14 is connected with the first input end of addition function module 15;Main control chip 12 and addition function
Second input terminal of energy module 15 is connected, the output end and the control terminal phase of DC voltage conversion module 13 of addition function module 15
Even;
Wherein, it enables circuit 14 to be used for when DC voltage conversion module 13 is in running order, according to direct current buckling
The pulse width modulation (PWM) pulse for changing the mold 13 output end of block generates first level signal;
Addition function module 15 is in the signal that the signal of first input end is the first level signal and/or the second input terminal
When the first level signal, first control signal is exported, the first control signal is for controlling the DC voltage conversion module
13 output pwm pulses.
In above-described embodiment, the output end of DC voltage conversion module 13 is connected with the V_BUS pin in usb 11,
For providing operating voltage for usb 11.
In the prior art, during terminal device is the peripheral hardware charging being inserted into USB interface in normal work, if
The Status Change of terminal device is standby mode, control of the meeting of main control chip 12 to DC voltage conversion module 13 in terminal device
End processed inputs second electrical level signal, at this point, DC voltage conversion module 13 cannot externally export output pwm pulse namely direct current
Voltage transformation module 13 cannot externally continue to power, and also can not just export VBUS to usb 11, due to usb 11 without
Electricity also can not just continue as the peripheral hardware charging in insertion usb 11.
Due to DC voltage conversion module 13 be inserted into usb 11 in peripheral hardware charged when, the duty of pwm pulse
Than bigger, and when DC voltage conversion module 13 is not charged and charged for the peripheral hardware in insertion usb 11
Full of when, the duty ratio of pwm pulse is 0, is exactly the above-mentioned characteristic by utilizing the duty ratio of pwm pulse in the present invention, in electricity
Increase enabled circuit 14 and addition function module 15 in road, wherein the enabled circuit 14 is used for raw according to the duty ratio of pwm pulse
At the first control signal that DC voltage conversion module 13 can be made to work normally.
Such as: when enabled circuit 14 detects the duty ratio of pwm pulse greater than some default value, then to addition function
It can the first level signal of input of module 15;When enabled circuit 14 detects that the duty ratio of pwm pulse is less than some default value
When, second electrical level signal is inputted to addition function module 15.
Be in normal operating conditions in terminal device, at this point, DC voltage conversion module 13 be in normal operating conditions and
When being charged for the peripheral hardware in insertion usb 11, what enabled circuit 14 was exported according to DC voltage conversion module 13 at this time
The duty ratio of pwm pulse generates the first level signal, and is input to addition function module 15, and at this time since terminal device is in
Normal operating conditions, thus at this time main control chip 12 inputted to addition function module 15 also for the first level signal so that plus
The first level that the first level signal and the main control chip 12 that method functional module 15 is inputted according to enabled circuit 14 input is believed
Number determine continue to DC voltage conversion module 13 export first control signal, continue to locate to control DC voltage conversion module 13
In working condition, to charge for the peripheral hardware in insertion usb 11.
When terminal device is changed to standby mode from normal operating conditions, due to the moment in change, direct current buckling
Mold changing block 13 is in normal operating conditions, and charges for the peripheral hardware in insertion usb 11, at this point, enabled electricity
The duty ratio for the pwm pulse that road 14 is exported according to DC voltage conversion module 13 generates the first level signal, and is input to addition
Functional module 15, and at this time since terminal device is in standby, so main control chip 12 is inputted to addition function module 15
Second electrical level signal, so that the first level signal and main control chip 12 that addition function module 15 is inputted according to enabled circuit 14 are defeated
The second electrical level signal entered, which determines, to be continued to export first control signal to DC voltage conversion module 13, to control direct current buckling
Mold changing block 13 keeps working condition, so that the peripheral hardware being continuously in insertion usb 11 charges.
Be in normal operating conditions in terminal device, at this point, DC voltage conversion module 13 be in normal operating conditions and
Charging is carried out for the peripheral hardware in insertion usb 11 and when peripheral hardware charging fills with, when terminal device is from normal operating conditions
When being changed to standby mode, enabled circuit 14 is raw according to the duty ratio for the pwm pulse that DC voltage conversion module 13 at this time exports
At second electrical level signal, and it is input to addition function module 15, and at this time since terminal device is in standby, so at this time
What main control chip 12 was inputted to addition function module 15 is also second electrical level signal, so that addition function module 15 is according to enabled electricity
The second electrical level signal that the second electrical level signal and the main control chip 12 that road 14 inputs input, which determines, to be continued to direct current buckling
It changes the mold block 13 and exports second control signal, so that DC voltage conversion module 13 keeps off working state, to not be slotting
The peripheral hardware entered in usb 11 charges.
Be in normal operating conditions in terminal device, at this point, DC voltage conversion module 13 be in normal operating conditions and
When being not inserted into peripheral hardware in usb 11, when terminal device is changed to standby mode from normal operating conditions, circuit 14 is enabled
Second electrical level signal is generated according to the duty ratio of the pwm pulse of the output of DC voltage conversion module 13 at this time, and is input to addition
Functional module 15, and at this time since terminal device is in standby, so main control chip 12 is to addition function module 15 at this time
Input is also second electrical level signal, so that second electrical level signal that addition function module 15 is inputted according to enabled circuit 14 and institute
The second electrical level signal for stating the input of main control chip 12, which determines, to be continued to export second control signal to DC voltage conversion module 13, with
DC voltage conversion module 13 is set to keep off working state.
Be in normal operating conditions in terminal device, at this point, but it is unpromising insertion usb 11 in peripheral hardware filled
Electricity, only the peripheral hardware normal power supply in insertion usb 11 realize the other functions such as data transmission, when terminal device is from normal
When working condition is changed to standby mode, pwm pulse that enabled circuit 14 is exported according to DC voltage conversion module 13 at this time
Duty ratio generates second electrical level signal, and is input to addition function module 15, and at this time since terminal device is in standby,
So at this time main control chip 12 inputted to addition function module 15 also for second electrical level signal so that addition function module 15
It determines and continues to straight according to the second electrical level signal that the second electrical level signal and the main control chip 12 of enabled circuit 14 input input
Galvanic electricity presses conversion module 13 to export second control signal, so that DC voltage conversion module 13 keeps off working state.
By above-mentioned analysis it is found that addition function module 15 is used for according to the level signal and master for enabling the input of circuit 14
The signal that control chip 12 inputs determines whether that DC voltage conversion module 13 exports enable signal and includes:
If the signal that enabled circuit 14 inputs is the first level signal, and the signal that main control chip 12 inputs is second electrical level
Signal, then addition function module 15 exports first control signal to DC voltage conversion module 13;
If the signal that enabled circuit 14 inputs is the first level signal, and the signal that main control chip 12 inputs is the first level
Signal, then addition function module 15 exports first control signal to DC voltage conversion module 13;
If the signal that enabled circuit 14 inputs is second electrical level signal, and the signal that main control chip 12 inputs is the first level
Signal, then addition function module 15 exports first control signal to DC voltage conversion module 13;
If the signal that enabled circuit 14 inputs is second electrical level signal, and the signal that main control chip 12 inputs is second electrical level
Signal, then addition function module 15 exports second control signal to DC voltage conversion module 13.
In a kind of achievable mode of the invention, the first above-mentioned level signal can be logic-high signal,
Above-mentioned second electrical level signal can be logic-low signal, at this point, above-mentioned logical relation is as shown in table 1:
Table 1
The embodiment of the present invention provides a kind of terminal device, comprising: general-purpose serial bus USB interface, main control chip and direct current
Voltage transformation module, wherein main control chip is used to export the first level signal in terminal device booting, standby in terminal device
When export the second electric signal, terminal device further include: enabled circuit and addition function module;The output of DC voltage conversion module
End is connected with the input terminal of USB interface and enabled circuit respectively;The first of the output end of enabled circuit and addition function module is defeated
Enter end to be connected;Main control chip is connected with the second input terminal of addition function module, the output end and direct current of addition function module
It presses the control terminal of conversion module to be connected, enables circuit and be used for when DC voltage conversion module is in running order, according to direct current
The pulse width modulation (PWM) pulse of voltage transformation module output end generates the first level signal;Addition function module is defeated first
The signal for entering end is the signal of the first level signal and/or the second input terminal when being the first level signal, output the first control letter
Number, first control signal is for controlling DC voltage conversion module output pwm pulse.So that after terminal device is standby, USB
Interface can continue as peripheral hardware and charge.
Fig. 3 show the structural schematic diagram two of terminal device provided in an embodiment of the present invention, on the basis of Fig. 2, such as Fig. 3
Shown, the enabled circuit 14 in Fig. 2 includes: comparison circuit 141 and filter circuit 142;
Wherein, the output end of DC voltage conversion module 13 is connected with the input terminal of enabled circuit 14, comprising: DC voltage
The output end of conversion module 13 is connected by filter circuit 142 with the first input end of comparison circuit 141, since pwm pulse is
The pulse of one low and high level, the filter circuit 142 can be by the pulses switch of low and high level at a metastable level
Signal;
Second input terminal of comparison circuit 141 is connected with reference voltage source;
The output end of enabled circuit 14 is connected with the first input end of addition function module 15, comprising: comparison circuit 141
Output end is connected with the first input end of addition function module 15;
Enabled circuit 14 is used for when DC voltage conversion module 13 is in running order, according to DC voltage conversion module
It includes: comparison circuit 141 for comparing that the pwm pulse of 13 output ends, which exports corresponding level signal to addition function module 15,
When the voltage for the second input terminal that the corresponding voltage of pwm pulse of the first input end input of circuit 141 is higher than comparison circuit 141
The first level signal is exported to addition function module 15, it is corresponding in the pwm pulse of the input of the first input end of comparison circuit 141
Voltage lower than comparison circuit 141 the second input terminal voltage when to addition function module 15 export second electrical level signal.
The voltage value of reference voltage source in the present invention peripheral hardware and can be not inserted into peripheral hardware according to being inserted into usb 11
When, the corresponding voltage value of the pwm pulse of the output end of DC voltage conversion module 13 determines that the present invention does not limit it,
As long as can distinguish in usb 11 and whether be inserted into peripheral hardware.
It is worth noting that, above-mentioned reference voltage source can be by terminal in a kind of achievable mode of the invention
Battery in equipment provides,, can be in terminal device when being provided by the battery in terminal device in order to reach preset voltage value
In battery and comparison circuit 141 the second input terminal between connect the adjustable resistance of a resistance value, be input to ratio to ensure that
Voltage compared with the second input terminal of circuit 141 reaches preset value.
In the achievable mode of another kind of the invention, enabled circuit 14 can realize corresponding function by MCU,
When the MCU obtains the first level signal or second electrical level signal according to the duty ratio of pwm pulse.
Fig. 4 show the structural schematic diagram three of terminal device provided in an embodiment of the present invention, on the basis of Fig. 2 and Fig. 3,
As shown in figure 4, the filter circuit 142 in enabled circuit 14 in Fig. 3 includes: first resistor a and first capacitor b;
Wherein, the output end of the DC voltage conversion module 13 passes through the filter circuit 142 and the comparison circuit
141 first input end is connected, comprising:
The output end of the DC voltage conversion module 13 is connected with one end of the first resistor a, the first resistor a
The other end be connected with the first input end of the comparison circuit 141;
The other end of the first resistor a is also connected with one end of the first capacitor b, and the first capacitor b's is another
End ground connection.
Since the output end output of DC voltage conversion module 13 is pwm pulse, pass through above-mentioned first resistor a and the
One capacitor b can carry out RC filtering to pwm pulse, so that voltage value corresponding with pwm pulse is obtained, in order to comparison circuit
141 are compared using the obtained corresponding voltage value of pwm pulse, to determine the level inputted to addition function module 15 letter
Number.
In one embodiment of the invention, as shown in figure 4, above-mentioned addition function module 15 includes: first diode
151 and second diode 152,
The output end of the comparison circuit 141 is connected with the first input end of the addition function module 15, comprising: described
The output end of comparison circuit 141 is connected with the anode of the first diode 151;
The main control chip 12 is connected with the second input terminal of the addition function module 15, comprising: the main control chip
12 are connected with the anode of second diode 152;
The output end of the addition function module 15 is connected with the control terminal of the DC voltage conversion module 13, comprising:
The cathode of the first diode 151 be connected with the cathode of second diode 152 and with the direct current
It presses the control terminal of conversion module 13 to be connected, addition function may be constructed by setting first diode 151 and the second diode 152
Module 15.
When DC voltage conversion module 13 is in running order, main control chip 12 is worked normally, and main control chip 12 exports
Logic-high signal, the second diode 152 conducting, thus by the cathode of the second diode 152 to DC voltage conversion mould
The control terminal input logic high level signal of block 13;At this time when being inserted into peripheral hardware in the usb 1 of terminal device 1, comparison circuit
When 141 output end exports logic high, first diode 151 is connected, thus by the cathode of first diode 151 to straight
After galvanic electricity presses the control terminal input logic high level signal of conversion module 13, two logic highs to combine, then to DC voltage
The control terminal input of conversion module 13 is logic-high signal;It is not inserted at this time when in the usb 1 of terminal device 1
When peripheral hardware, when the output end of comparison circuit 141 exports logic low, first diode 151 is ended, to pass through the one or two pole
Control terminal input logic low level signal of the cathode of pipe 151 to DC voltage conversion module 13, logic low and logically high
After level combines, then what is inputted to the control terminal of DC voltage conversion module 13 is also logic-high signal;
When DC voltage conversion module 13 is in off position the case where, main control chip 12 does not work at this time, master control core
Piece 12 exports logic-low signal, the cut-off of the second diode 152, thus by the cathode of the second diode 152 to direct current
The control terminal input logic low level signal of conversion module 13 is pressed, no matter whether is inserted into peripheral hardware, comparison circuit in usb 11
141 output end output is logic low, and first diode 151 is ended, to pass through the cathode of first diode 151
To the control terminal input logic low level signal of DC voltage conversion module 13.
In the achievable mode of another kind of the invention, above-mentioned addition function module 15 can by or Men Shixian,
It can also be realized by MCU, the present invention does not limit it.
Further as shown in figure 4, above-mentioned terminal device further include: the second capacitor 21,
The cathode of second diode 152 is also connect with one end of second capacitor 21, second capacitor 21
Other end ground connection.
Further, on the basis of fig. 4, as shown in figure 5, above-mentioned terminal device further include: second resistance 22;
The cathode of second diode 152 is connect by second resistance 22 with one end of second capacitor 21.
And since the present invention is the improvement on existing circuit base, as shown in figure 4, DC voltage conversion module
The connection of 13 other ports is similar to the relevant technologies shown in FIG. 1, and details are not described herein again.
Terminal device provided in an embodiment of the present invention include: DC voltage conversion module output end respectively with USB interface
It is connected with the input terminal of enabled circuit;The output end of enabled circuit is connected with the first input end of add circuit;Main control chip and
Second input terminal of add circuit is connected, and the output end of add circuit is connected with the control terminal of DC voltage conversion module, enables
Circuit is used for when DC voltage conversion module is in running order, according to the pulse width of DC voltage conversion module output end
Modulation (PWM) pulse exports corresponding level signal to add circuit, and add circuit is used for according to the level letter for enabling circuit input
Number and main control chip input signal determine whether DC voltage conversion module export enable signal.
Due to being in the duty ratio and USB interface of the pulse width modulation (PWM) pulse of DC voltage conversion module output end
No insertion peripheral hardware is related, therefore, can be connect by the determination of the duty ratio of pwm pulse with DC voltage conversion module output end
Whether it is inserted into peripheral hardware in USB interface, so that corresponding level signal is inputted to add circuit, so that add circuit combines master
The input signal of control chip is standby so as to avoid terminal device to control whether DC voltage conversion module works in real time
In the case of in order to charge to peripheral hardware, so that USB interface is constantly in electriferous state and bring safety problem, effectively improves and be
The stability of system.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (7)
1. a kind of terminal device, comprising: general-purpose serial bus USB interface, main control chip and DC voltage conversion module, wherein
The main control chip is used to export the first level signal in terminal device booting, exports when the terminal device is standby
Second electric signal, which is characterized in that the terminal device further include: enabled circuit and addition function module;
The output end of the DC voltage conversion module is connected with the input terminal of the USB interface and the enabled circuit respectively;
The output end of the enabled circuit is connected with the first input end of the addition function module;The main control chip and described
Second input terminal of addition function module is connected, the output end of the addition function module and the DC voltage conversion module
Control terminal is connected, and the enabled circuit is used for when the DC voltage conversion module is in running order, according to the direct current
The pulse width modulation (PWM) pulse of voltage transformation module output end generates first level signal;
The addition function module is first level signal and/or second input in the signal of the first input end
When the signal at end is first level signal, first control signal is exported, the first control signal is described straight for controlling
Galvanic electricity presses conversion module to export pwm pulse.
2. terminal device according to claim 1, which is characterized in that the enabled circuit includes: comparison circuit and filtering
Circuit;
The output end of the DC voltage conversion module is connected with the input terminal of the enabled circuit, comprising: the DC voltage
The output end of conversion module is connected by the filter circuit with the first input end of the comparison circuit;
Second input terminal of the comparison circuit is connected with reference voltage source;
The output end of the enabled circuit is connected with the first input end of the addition function module, comprising: the comparison circuit
Output end be connected with the first input end of the addition function module;
The enabled circuit is used for when the DC voltage conversion module is in running order, according to the DC voltage conversion
The pwm pulse of module output end generates the first level signal
The comparison circuit is used for after the pwm pulse that the first input end of the comparison circuit inputs passes through filtering
DC voltage generates first level signal when being higher than the voltage of the second input terminal of the comparison circuit.
3. terminal device according to claim 2, which is characterized in that the addition function module is in the first input end
Signal when be the signal of first level signal and/or second input terminal being first level signal, output the
One, which controls signal, includes:
If the comparison circuit is input to the signal of the addition function module as first level signal, and the master control core
The signal that piece is input to the addition function module is the second electrical level signal, then the addition function module is to the direct current
Voltage transformation module exports the first control signal;
If the comparison circuit is input to the signal of the addition function module as first level signal, and the master control core
The signal that piece is input to the addition function module is first level signal, then the addition function module is to the direct current
Voltage transformation module exports the first control signal.
4. terminal device according to claim 2 or 3, which is characterized in that the filter circuit includes: first resistor and
One capacitor;
The first input end phase that the output end of the DC voltage conversion module passes through the filter circuit and the comparison circuit
Even, comprising:
The output end of the DC voltage conversion module is connected with one end of the first resistor, the other end of the first resistor
It is connected with the first input end of the comparison circuit;
The other end of the first resistor is also connected with one end of the first capacitor, the other end ground connection of the first capacitor.
5. terminal device according to claim 4, which is characterized in that the addition function module includes: first diode
With the second diode,
The output end of the comparison circuit is connected with the first input end of the addition function module, comprising: the comparison circuit
Output end be connected with the anode of the first diode;
The main control chip is connected with the second input terminal of the addition function module, comprising: the main control chip and described the
The anode of two diodes is connected;
The output end of the addition function module is connected with the control terminal of the DC voltage conversion module, comprising:
The cathode of the first diode be connected with the cathode of second diode and with the DC voltage conversion module
Control terminal be connected.
6. terminal device according to claim 5, which is characterized in that further include: the second capacitor,
The cathode of second diode is also connect with one end of second capacitor, the other end ground connection of second capacitor.
7. terminal device according to claim 2 or 3, which is characterized in that the addition function module is or door.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610718210.3A CN106340915B (en) | 2016-08-24 | 2016-08-24 | Terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610718210.3A CN106340915B (en) | 2016-08-24 | 2016-08-24 | Terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106340915A CN106340915A (en) | 2017-01-18 |
CN106340915B true CN106340915B (en) | 2019-04-09 |
Family
ID=57825181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610718210.3A Active CN106340915B (en) | 2016-08-24 | 2016-08-24 | Terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106340915B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536267B (en) * | 2018-03-30 | 2021-07-16 | 联想(北京)有限公司 | Information processing method and electronic device |
CN110912400A (en) * | 2018-09-18 | 2020-03-24 | 鸿富锦精密工业(武汉)有限公司 | Power supply control circuit and electronic device using same |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102749980A (en) * | 2012-05-25 | 2012-10-24 | 深圳Tcl新技术有限公司 | Method and system for charging external universal serial bus (USB) device when universal serial bus (USB) primary device is in a standby state |
CN102779109A (en) * | 2011-04-22 | 2012-11-14 | 艾欧互联有限公司 | I/O module with power-uninterruptible USB port |
CN103311987A (en) * | 2013-06-07 | 2013-09-18 | 国电南瑞科技股份有限公司 | Charging gun connection status discrimination circuit based on PWM (pulse width modulation) signal level comparison |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004091939A1 (en) * | 2003-04-18 | 2004-10-28 | Pirelli Pneumatici S.P.A. | Tyre for vehicle wheels and method of manufacturing |
CN103077735A (en) * | 2011-10-25 | 2013-05-01 | 鸿富锦精密工业(深圳)有限公司 | Power supply protection circuit for hard disk |
-
2016
- 2016-08-24 CN CN201610718210.3A patent/CN106340915B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779109A (en) * | 2011-04-22 | 2012-11-14 | 艾欧互联有限公司 | I/O module with power-uninterruptible USB port |
CN102749980A (en) * | 2012-05-25 | 2012-10-24 | 深圳Tcl新技术有限公司 | Method and system for charging external universal serial bus (USB) device when universal serial bus (USB) primary device is in a standby state |
CN103311987A (en) * | 2013-06-07 | 2013-09-18 | 国电南瑞科技股份有限公司 | Charging gun connection status discrimination circuit based on PWM (pulse width modulation) signal level comparison |
Also Published As
Publication number | Publication date |
---|---|
CN106340915A (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105116819B (en) | A kind of battery management main system and its control method suitable for new-energy automobile | |
CN106100858B (en) | Standard POE and force non-standard POE integration to receive power supply circuit | |
CN105119334A (en) | Voltage transformation circuit with wide voltage output range and DC charging pile | |
CN104917198B (en) | A kind of energy-storage system control device and method | |
CN103208850A (en) | Universal serial bus (USB) charging system with variable charging voltage, charger and intelligent terminal | |
KR20150048086A (en) | Charger, charging terminal, charging system and charging control method | |
CN103647318B (en) | Communicating terminal, charge control method, device and circuit | |
CN105071469B (en) | A kind of solar charging circuit | |
CN110504728A (en) | A kind of batter-charghing system, method, apparatus, computer equipment and storage medium | |
CN210027071U (en) | Vehicle-mounted charger sleep circuit and switching power supply | |
CN106340915B (en) | Terminal device | |
CN106253373A (en) | A kind of charging system and method | |
CN207652086U (en) | A kind of battery management system multichannel wake-up circuit | |
CN107154665B (en) | Charging and discharging combiner and power supply system | |
CN111315612B (en) | Sleep circuit of vehicle-mounted charger | |
CN208539640U (en) | Terminal has the eight rifle direct-current charging post system of a split type machine of independent control function | |
CN206313477U (en) | It is a kind of to support that the multichannel of QC2.0 functions is vehicle-mounted and fill chip soon | |
CN107800425A (en) | A kind of new energy vehicle battery management system digital interface circuit | |
CN107508530A (en) | AC inverter driving system circuit with current protection | |
CN209659257U (en) | A kind of the ACC OFF time-delay shutdown circuit and device of in-vehicle electronic system | |
CN104167780B (en) | A kind of continuous controlled isolating active active equalization charging module and charge system thereof | |
CN109787349A (en) | A kind of UPS circuit, power circuit and electronic equipment | |
CN114552737A (en) | Charging method based on Type-C interface, charging equipment and equipment to be charged | |
CN204441967U (en) | charging circuit, charging device and charging system | |
CN106451709A (en) | General charger for electric automobile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee after: Hisense Video Technology Co., Ltd Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee before: HISENSE ELECTRIC Co.,Ltd. |