CN109950939A - Charger states detection circuit, circuitry and charger states detection method - Google Patents

Charger states detection circuit, circuitry and charger states detection method Download PDF

Info

Publication number
CN109950939A
CN109950939A CN201711383934.8A CN201711383934A CN109950939A CN 109950939 A CN109950939 A CN 109950939A CN 201711383934 A CN201711383934 A CN 201711383934A CN 109950939 A CN109950939 A CN 109950939A
Authority
CN
China
Prior art keywords
electronic switch
circuit
charger
voltage
duration
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.)
Granted
Application number
CN201711383934.8A
Other languages
Chinese (zh)
Other versions
CN109950939B (en
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.)
Juxin (zhuhai) Science & Technology Co Ltd
Original Assignee
Juxin (zhuhai) Science & 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 Juxin (zhuhai) Science & Technology Co Ltd filed Critical Juxin (zhuhai) Science & Technology Co Ltd
Priority to CN201711383934.8A priority Critical patent/CN109950939B/en
Publication of CN109950939A publication Critical patent/CN109950939A/en
Application granted granted Critical
Publication of CN109950939B publication Critical patent/CN109950939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

This application discloses a kind of charger states detection circuit, circuitry and charger states detection methods.Charger states detection circuit provided by the present application includes: current source circuit, electronic switch, electronic switch control circuit, voltage detecting circuit;The input terminal of the current source circuit is connect by the electronic switch with equipment charger interface, the output end ground connection of the current source circuit;The input terminal of the electronic switch control circuit is connect with the output end of the voltage detecting circuit, the output end of the electronic switch control circuit is connect with the electronic switch, and the electronic switch control circuit is used to export control signal to the electronic switch according to the output of the voltage detecting circuit;The voltage detecting circuit is used to detect the voltage of the equipment charger interface.

Description

Charger states detection circuit, circuitry and charger states detection method
Technical field
The present invention relates to power technique fields more particularly to a kind of charger states detection circuit, circuitry and fill Electrical equipment state checks method.
Background technique
Handheld multimedia devices usually have charger interface, and charger can be connected to the interface so as to hand-hold multimedia Equipment charge.Changed according to the charger states of handheld multimedia devices, it may be necessary to corresponding operation is triggered, for example, when filling When electric appliance is connected to charger interface, needs to carry out charger insertion and prompt and light screen.
In order to quickly detect charger states variation, a kind of current way is arrived in a charger end resistance in parallel Ground, as shown in Figure 1, reaching increase discharge current, to accelerate the purpose of the detection to charger states.It is with charger voltage 5V, voltage detecting circuit detect that the voltage of charger interface just thinks charger lower than 4V or when voltage degradation reaches 1V For being pulled out, if capacitor capacitance is 100uF, the resistance value of resistor is 50k ohm (corresponding to the electric current of 100uA), low " system power consuming circuit " power consumption electric current is 10uA under power consumption mode, and charging circuit and voltage detecting circuit power consumption are nA grades, can To be ignored, according to the electrical formula in basisCharger interface is detected to voltage detecting circuit from charger is extracted Voltage degradation is a length of when reaching used in 1V
However, bringing the electric current of additional 100uA to disappear due to introducing the resistance that resistance value is 50k ohm at charger end Consumption, that is, bring the power consumption of 10 times " system power consuming circuit ", the stand-by power consumption of equipment is about Q=i*t in unit time 1s =(10uA+100uA) * 1s=110uAs.
If it is desired to shorten the detection duration of charger states variation, then need the resistance value of resistor smaller, corresponding volume The electric current of outer consumption is then bigger, therefore power consumption is just bigger, and the purpose of low-power consumption standby may be not achieved.
Summary of the invention
The embodiment of the present application provides a kind of charger states detection circuit, circuitry and charger states detection side Method.
In a first aspect, providing a kind of charger states detection circuit, comprising: current source circuit, electronic switch, electronic switch Control circuit, voltage detecting circuit;
The input terminal of the current source circuit is connect by the electronic switch with equipment charger interface, the current source The output end of circuit is grounded;
The input terminal of the electronic switch control circuit is connect with the output end of the voltage detecting circuit, the electronic cutting The output end for closing control circuit is connect with the electronic switch, and the electronic switch control circuit is used for according to the voltage detecting The output of circuit exports control signal to the electronic switch;
The voltage detecting circuit is used to detect the voltage of the equipment charger interface.
Optionally, the electronic switch control circuit, is specifically used for: judging according to the output of the voltage detecting circuit After the equipment charger interface access charger, control signal is exported to the electronic switch according to the detection cycle of setting; It wherein, include first time period and second time period, the electronic switch quilt in the first time period in a detection cycle The first control signal of the electronic switch control circuit output is closed, and the electronic switch is described in the second time period The second control signal of electronic switch control circuit output disconnects.
Optionally, the electronic switch control circuit, is specifically used for: judging according to the output of the voltage detecting circuit After the equipment charger interface access charger, and after detection cycle unlatching, first control signal is exported, with control The electronic switch is in closed state, and in the first duration that the electronic switch is in closed state, according to the electricity Whether the output for pressing detection circuit, judge voltage degradation of the voltage of the equipment charger interface in first duration More than or equal to first voltage threshold value;Wherein, first duration, which is less than, detects that charger is pulled out from the equipment charger interface Required duration out;
If so, judging the equipment charger according to the output of the voltage detecting circuit after first duration When the voltage degradation of interface is more than or equal to second voltage threshold value, determine that charger is extracted from the equipment charger interface, it is defeated The second control signal out, with control the electronic switch be in an off state and keep the electronic switch be in disconnect shape State, until judging that the equipment charger interface accesses charger according to the output of the voltage detecting circuit;Otherwise, institute is exported Second control signal is stated, is in an off state with controlling the electronic switch, and into next after current detection end cycle A detection cycle;Wherein, the second voltage threshold value is greater than the first voltage threshold value.
Optionally, the electronic switch control circuit, is also used to:
After detection cycle unlatching, electricity of the voltage of the equipment charger interface in first duration is judged Reduction amount is pressed to be more than or equal to first voltage threshold value, but according to the voltage detecting not in the second duration after first duration The output of circuit judges that the voltage degradation of the equipment charger interface is more than or equal to second voltage threshold value, then exports described the Two control signals, are in an off state, and enter next inspection after current detection end cycle with controlling the electronic switch Survey the period;Wherein, the sum of second duration and first duration, which are more than or equal to, detects charger from the equipment charge Device interface extracts required duration, but less than the duration of a detection cycle.
Optionally, the current source circuit includes: current source or resistor.
Second aspect provides a kind of circuitry, which includes filling described in any one of above-mentioned first aspect Electrical equipment state checks circuit, the equipment charger interface are also connected with system power consuming circuit and charging circuit.
The third aspect provides a kind of charger states detection method, is applied to include current source circuit, electronic switch, electricity Sub switch control circuit, the charger states detection circuit of voltage detecting circuit, the input terminal of the current source circuit pass through institute It states electronic switch to connect with equipment charger interface, the output end ground connection of the current source circuit, the electronic switch control electricity The input terminal on road is connect with the output end of the voltage detecting circuit, the output end of the electronic switch control circuit and the electricity Sub switch connection;
The described method includes:
The electronic switch control circuit judges the equipment charger interface according to the output of the voltage detecting circuit Whether charger is accessed;
If so, the detection cycle according to setting exports control signal to the electronic switch;Wherein, a detection cycle Interior includes first time period and second time period, and the electronic switch controls electricity by the electronic switch in the first time period The first control signal of road output is closed, and the electronic switch is defeated by the electronic switch control circuit in the second time period Second control signal out disconnects.
Optionally, the detection cycle according to setting exports control signal to the electronic switch, comprising:
After a detection cycle is opened, the electronic switch control circuit exports first control signal, described in control Electronic switch is in closed state and in the first duration that the electronic switch is in closed state, according to the voltage detecting The output of circuit, judges whether voltage degradation of the voltage of the equipment charger interface in first duration is greater than In first voltage threshold value;Wherein, first duration, which is less than, detects charger needed for equipment charger interface extraction Duration;
If so, judging that the equipment charger connects according to the output of the voltage detecting circuit after first duration It when the voltage degradation of mouth is more than or equal to second voltage threshold value, determines that charger is extracted from the equipment charger interface, exports The second control signal, with control the electronic switch be in an off state and keep the electronic switch be in disconnect shape State, until judging that the equipment charger interface accesses charger according to the output of the voltage detecting circuit;Otherwise, institute is exported Second control signal is stated, is in an off state with controlling the electronic switch, and into next after current detection end cycle A detection cycle;Wherein, the second voltage threshold value is greater than the first voltage threshold value.
Optionally, the method also includes:
After detection cycle unlatching, electricity of the voltage of the equipment charger interface in first duration is judged Reduction amount is pressed to be more than or equal to first voltage threshold value, but according to the voltage detecting not in the second duration after first duration The output of circuit judges that the voltage degradation of the equipment charger interface is more than or equal to second voltage threshold value, then exports described the Two control signals, are in an off state, and enter next inspection after current detection end cycle with controlling the electronic switch Survey the period;Wherein, the sum of second duration and first duration, which are more than or equal to, detects charger from the equipment charge Device interface extracts required duration, but less than the duration of a detection cycle.
Current source circuit and electronic switch and electronic switch control circuit are introduced in above-described embodiment of the application, electricity The input terminal of current source circuit is connect by electronic switch with equipment charger interface, output end ground connection;Electronic switch control electricity The input terminal on road and the output end of voltage detecting circuit connect, and output end is connect with electronic switch, so as to electronic switch control Circuit exports control signal to electronic switch according to the output of voltage detecting circuit.Due to current source circuit by electronic switch with The connection of equipment charger interface, and electronic switch is carried out closing or opening by the control of electronic switch control circuit, it in this way can be with So that current source circuit is not to connect with equipment charge interface always, thus with phase is connect with equipment charger interface always Than additional current drain can be reduced, and then reduces power consumption.On the other hand, it introduces current source circuit and is not introduced into current source Circuit is compared, and the time span of equipment charge Interface status detection can be reduced.
Detailed description of the invention
Fig. 1 is the power supply interlock circuit schematic diagram of charger in the prior art;
Fig. 2A and Fig. 2 B is respectively charger states detection circuit schematic diagram provided by the embodiments of the present application;
Fig. 3 is charger states testing process schematic diagram provided by the embodiments of the present application.
Specific embodiment
The application introduces electronic switch and electronic switch control circuit in charger states detection circuit, with control Current source circuit discharges to charger, persistently consumes charger current to avoid under low-power consumption mode, reaches reduction function The purpose of consumption.
The embodiment of the present application is described in detail with reference to the accompanying drawing.
A referring to fig. 2 is charger states detection circuit 20 provided by the embodiments of the present application.Circuit structure shown in figure For the logical construction of circuit, the component connection structure inside circuit is not shown.
As shown, the charger states detection circuit includes: current source circuit 21, electronic switch 22, electronic switch control Circuit 23 processed, voltage detecting circuit 24.
The input terminal of current source circuit 21 is connect by electronic switch 22 with equipment charger interface 25, current source circuit 21 Output end ground connection.
The input terminal of electronic switch control circuit 23 is connect with the output end of voltage detecting circuit 24, electronic switch control electricity The output end on road 23 is connect with electronic switch 22, electronic switch control circuit 23 be used for according to the output of voltage detecting circuit 24 to The output control signal of electronic switch 22.
Voltage detecting circuit 24 is used for the voltage of detection device charger interface 25.
In above-mentioned charger states detection circuit 20, equipment charger interface 25 can also connect with system power consuming circuit 30 It connects, and is connect with charging circuit 40.The structure for the piece external circuit connecting with equipment charger interface 25 can be as shown in the figure.
In above-mentioned charger states detection circuit 20, optionally, current source circuit 21 can be current source, be also possible to Resistor.
In above-mentioned charger states detection circuit 20, optionally, electronic switch 22 can be transistor or similar first device Part, the transistor include field-effect tube.The field-effect tube can be PMOS field-effect tube, be also possible to NMOS field-effect Pipe.
Charger states detection circuit 20 shown in Fig. 2A can be used as a composition portion in equipment internal integrated circuit Point, the logic connecting relation of each circuit is illustrated only in figure.
In above-mentioned charger states detection circuit 20, electronic switch control circuit 23 can be according to the detection week of setting Phase exports control signal to electronic switch 22, to control the on-off of electronic switch 22.
It optionally, as shown in Figure 2 B, can also include clock cycle circuit in above-mentioned charger states detection circuit 20 25, to generate clock signal, such as pulse signal, i.e. one detection week an of clock cycle length according to detection cycle length Phase length.Electronic switch control circuit 23 is connect with clock cycle circuit 25, to obtain the clock of the generation of clock cycle circuit 25 Signal.
Specifically, electronic switch control circuit 23 can judge equipment charger according to the output of voltage detecting circuit 24 After interface 25 accesses charger, open detection process, in the detection process, according to the detection cycle of setting to electronic switch 22 Output control signal.Wherein, the length of detection cycle can experience flexible configuration according to human body.Such as can be set to 1s or It is shorter, such as 500ms.The length of one detection cycle is required greater than detecting that charger is extracted from equipment charger interface 25 Duration, for example, in the case where needing 50ms just can detect that charger is extracted from equipment charger interface 25, a detection week The length of phase may be configured as 500ms.It may include first time period and second time period in one detection cycle, in first time period Interior, the first control signal that electronic switch 22 is exported by electronic switch control circuit 23 is closed;In second time period, electronic cutting The second control signal that 22 are exported by electronic switch control circuit 23 is closed to disconnect.
Fig. 3 shows the process that above-mentioned charger states detection circuit 20 detects charger states.As shown, the process Can include:
S301: after a detection cycle is opened, electronic switch control circuit 23 exports first control signal, electronic switch 22 are closed according to first control signal, so that current source circuit 21 is connect with equipment charger interface 25.Current source circuit 21 with After equipment charger interface 25 connects, pull down the voltage of equipment charger interface.
S302: in the first duration that electronic switch 22 is in closed state, electronic switch control circuit 23 is according to voltage The output of detection circuit 24, judges whether voltage degradation of the voltage of equipment charger interface 25 in the first duration is greater than In first voltage threshold value, if so, being transferred to S303, it is otherwise transferred to S304.
Wherein, the first duration can be preset.First duration can be a shorter duration, less than detecting to charge Device extracts required duration from equipment charger interface 25.For example, charger can be detected from equipment charge needing 50ms In the case that device interface 25 is extracted, which may be configured as 5ms.
In the embodiment of the present application, first voltage threshold value and second voltage threshold value can be preset, first voltage threshold value is small In second voltage threshold value.If electronic switch control circuit 23 in the first duration, is sentenced according to the output of voltage detecting circuit 24 The voltage degradation of disconnected equipment charger interface 25 is more than or equal to first voltage threshold value, it may be considered that there is charger to fill from equipment The possibility that electrical apparatus interface 25 is extracted then continues to keep electronic switch 22 to be closed state, hereafter, if electronic switch control circuit 23 judge that the voltage degradation of equipment charger interface 25 is more than or equal to second voltage threshold according to the output of voltage detecting circuit 24 Value, it may be considered that there is charger to extract from equipment charger interface 25.
S303: in the case where keeping electronic switch closed state, electronic switch control circuit 23 is according to voltage detecting The output of circuit 24 determines charging when judging that the voltage degradation of equipment charger interface 25 is more than or equal to second voltage threshold value Device is extracted from equipment charger interface 25, second control signal is exported, so that electronic switch 22 is disconnected according to second control signal Connection between current source circuit 21 and equipment charger interface 25, and the electronic switch is kept to be in an off state, until Judge that equipment charger interface 25 accesses charger according to the output of the voltage detecting circuit.
In the step, after current source circuit 21 disconnects the connection between equipment charger interface 25, the current source circuit 21 are no longer consumed additional electric current, namely will not bring additional power consumption.
S304: electronic switch control circuit 23 exports second control signal, and under entering after current detection end cycle One detection cycle.
In above-mentioned process, if detecting that voltage of the voltage of equipment charger interface 25 in the first duration subtracts in S302 It is more than or equal to first voltage threshold value in a small amount, then under normal conditions, this testing result is to connect due to charger from equipment charger Caused by mouth 25 is extracted, therefore in S303, it can detect that the voltage of equipment charger interface 25 reduces in certain time length Amount is more than or equal to second voltage threshold value.
In practical application, it is also possible to because other reasons lead to the electricity for detecting equipment charger interface 25 in S302 The voltage degradation being pressed in the first duration is more than or equal to first voltage threshold value, and equipment charger is not detected in S303 and connects The voltage degradation of mouth 25 is more than or equal to second voltage threshold value (for example, charger is not pulled out from equipment charger interface 25 actually Out, but due to city's electro-mechanical wave etc. cause to detect that voltage degradation is greater than first voltage threshold value in the first duration).For Such case, in the embodiment of the present application, if electronic switch control circuit 23 is defeated according to voltage detecting circuit 24 in S303 Out, detect that the voltage degradation of equipment charger interface 25 is more than or equal to the second electricity in the second duration not after the first duration Threshold value is pressed, then exports second control signal, is in an off state with controlling electronic switch 22, and the state is kept to examine until currently Enter next detection cycle after surveying end cycle.Wherein, the sum of the first duration and the second duration are more than or equal to and detect to charge Device extracts required duration from the equipment charger interface, but less than the length of a detection cycle.Optionally, described second Duration, which can be set to be equal to or slightly greater than, detects that charger extracts required duration from the equipment charger interface, such as In above-mentioned example, 60ms can be set by the second duration.
Current source circuit and electronic switch and electronic switch control circuit are introduced in above-described embodiment of the application.Electricity The input terminal of sub switch control circuit and the output end of voltage detecting circuit connect, and output end is connect with electronic switch, so as to Electronic switch control circuit exports control signal to electronic switch according to the output of voltage detecting circuit.Since current source circuit is logical Electronic switch is crossed to connect with equipment charge interface, and electronic switch is closed or is broken by the control of electronic switch control circuit It opens, can make current source circuit in this way is not to connect with equipment charge interface always, thus with connecing with equipment charge always Mouth connection is compared, and can reduce additional current drain, and then reduce power consumption.On the other hand, it introduces current source circuit and does not draw Enter current source circuit to compare, the time span of equipment charge Interface status detection can be reduced.
It is related by choosing suitable component parameter and/or detection cycle based on above-mentioned charger states detection circuit Whether parameter may be implemented to be extracted with shorter duration detection charger, and equipment power dissipation can be made lower, really realize Charger keeps low-power consumption working condition in the case where charging.
The embodiment of the present application is described with a specific example below.
In this example embodiment, charger voltage 5V, the capacitor capacitance in piece external circuit are 100uF, current source circuit 21 The resistor electric current of 2mA (correspondence) for resistance value equal to 2.5K ohm, detection cycle 500ms, first when a length of 5ms, first Voltage threshold is 0.2V, and second voltage threshold value is 1V.When low-power consumption standby mode, the power consumption of the system power consuming circuit 30 of equipment is 10uA。
At the t0 moment, voltage detecting circuit 24 detects that the voltage of equipment charger interface 25 is greater than 4.75V, then it is assumed that has Charger is inserted into equipment charger interface 25.Output of the electronic switch control circuit 23 according to voltage detecting circuit 24, output height Level, electronic switch 22 is switched on, and (in this example, electronic switch 22 is in the conductive state under high level, under low level In off state) so that resistor 21 is connect with equipment charger interface 25.
Hereafter in 5ms (i.e. in the first duration), electronic switch control circuit 23 keeps output high level, electronic switch 22 It tends to remain on.During this period, electronic switch control circuit 23 judges that equipment is filled according to the output of voltage detecting circuit 24 Whether the voltage degradation of electrical apparatus interface 25 is more than or equal to 0.2V (i.e. first voltage threshold value).In this example, charger is not from setting It is extracted in standby charger interface 25, therefore electronic switch control circuit 23 does not detect equipment charger interface during this period of time 25 voltage degradation is greater than or equal to 0.2V.
After undergoing 5ms (i.e. the first duration), electronic switch control circuit 23 exports low level and keeps 455ms, In the 455ms, electronic switch 22 is turned off, so that resistor 21 is disconnected with 25 port of equipment charger interface.
After above-mentioned 455ms, next detection cycle is opened, in new detection cycle, electronic switch control circuit 23 Output high level simultaneously keeps 5ms.In the 5ms, electronic switch 22 is switched on, so that resistor 21 and equipment charger interface 25 Connection, and electronic switch control circuit 23 judges the electricity of equipment charger interface 25 according to the output of voltage detecting circuit 24 Pressing reduction amount to be greater than 0.2V, (in the 455ms of upper a cycle or in the preceding 5ms in this period, charger is from equipment charger Interface is extracted), then electronic switch control circuit 23 continues to keep output high level, until according to the defeated of voltage detecting circuit 24 Out, when judging that the voltage degradation of equipment charger interface 25 is greater than 1V, confirmation charger is extracted, and exports low level at this time, with Turn off electronic switch 22, so that the connection between resistor 21 and equipment charger interface 25 disconnects.
In this example, according to the electrical formula in basisIt is filled from extracting charger and being detected to voltage detecting circuit Electrical interface voltage degradation reaches duration used in 1V about are as follows:
In 1s of the equipment charger interface 25 inserted with charger, under low-power consumption mode, equipment power dissipation is about are as follows:
Q=[10uA*500ms+2mA*5ms] * 2=30uAs
As can be seen that compared with prior art, detection speed can be improved using the embodiment of the present application, and can reduce and set Standby power consumption.
The embodiment of the present application also provides a kind of circuitry, which can as shown in fig. 2 a or 2b, wherein can wrap It includes: charger states detection circuit 20 and system power consuming circuit 30, charging circuit 40, system power consuming circuit 30, charging circuit 40 connect with equipment charger interface 25.
It should be understood by those skilled in the art that, the embodiment of the present application can provide as the production of method, system or computer program Product.Therefore, in terms of the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present application, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present application is referring to the method, equipment (system) and computer program product according to the embodiment of the present application Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.

Claims (9)

1. a kind of charger states detection circuit characterized by comprising current source circuit, electronic switch, electronic switch control Circuit, voltage detecting circuit;
The input terminal of the current source circuit is connect by the electronic switch with equipment charger interface, the current source circuit Output end ground connection;
The input terminal of the electronic switch control circuit is connect with the output end of the voltage detecting circuit, the electronic switch control The output end of circuit processed is connect with the electronic switch, and the electronic switch control circuit is used for according to the voltage detecting circuit Output to the electronic switch export control signal;
The voltage detecting circuit is used to detect the voltage of the equipment charger interface.
2. charger states detection circuit as described in claim 1, which is characterized in that the electronic switch control circuit, tool Body is used for:
After judging the equipment charger interface access charger according to the output of the voltage detecting circuit, according to setting Detection cycle exports control signal to the electronic switch;Wherein, when in a detection cycle including first time period and second Between section, the electronic switch is closed by the first control signal that the electronic switch control circuit exports in the first time period It closes, the second control signal that the electronic switch is exported by the electronic switch control circuit in the second time period disconnects.
3. charger states detection circuit as claimed in claim 2, which is characterized in that the electronic switch control circuit, tool Body is used for:
After judging the equipment charger interface access charger according to the output of the voltage detecting circuit, an inspection is opened It surveys the period, and after detection cycle unlatching, exports first control signal, be in closed form to control the electronic switch State, and in the first duration that the electronic switch is in closed state, according to the output of the voltage detecting circuit, judge institute State whether voltage degradation of the voltage of equipment charger interface in first duration is more than or equal to first voltage threshold value;Its In, first duration, which is less than, detects that charger extracts required duration from the equipment charger interface;
If so, judging the equipment charger interface according to the output of the voltage detecting circuit after first duration When voltage degradation is more than or equal to second voltage threshold value, determine that charger is extracted from the equipment charger interface, described in output Second control signal is in an off state with controlling the electronic switch, and the electronic switch is kept to be in an off state, directly Judge that the equipment charger interface accesses charger to according to the output of the voltage detecting circuit;Otherwise, described the is exported Two control signals, are in an off state, and enter next inspection after current detection end cycle with controlling the electronic switch Survey the period;Wherein, the second voltage threshold value is greater than the first voltage threshold value.
4. charger states detection circuit as described in claim 1, which is characterized in that the electronic switch control circuit, also For:
After detection cycle unlatching, judge that voltage of the voltage of the equipment charger interface in first duration subtracts It is more than or equal to first voltage threshold value in a small amount, but according to the voltage detecting circuit not in the second duration after first duration Output judge the equipment charger interface voltage degradation be more than or equal to second voltage threshold value, then export it is described second control Signal processed is in an off state with controlling the electronic switch, and enters next detection week after current detection end cycle Phase;Wherein, the sum of second duration and first duration, which are more than or equal to, detects that charger connects from the equipment charger Mouth extracts required duration, but less than the duration of a detection cycle.
5. charger states detection circuit as described in claim 1, which is characterized in that the current source circuit includes: electric current Source or resistor.
6. a kind of circuitry, which is characterized in that including the charger states detection as described in any one of claims 1 to 5 Circuit, the equipment charger interface are also connected with system power consuming circuit and/or charging circuit.
7. a kind of charger states detection method, which is characterized in that be applied to include current source circuit, electronic switch, electronic cutting Control circuit, the charger states detection circuit of voltage detecting circuit are closed, the input terminal of the current source circuit passes through the electricity Sub switch is connect with equipment charger interface, the output end ground connection of the current source circuit, the electronic switch control circuit Input terminal is connect with the output end of the voltage detecting circuit, the output end of the electronic switch control circuit and the electronic cutting Connection connects;
The described method includes:
Whether the electronic switch control circuit judges the equipment charger interface according to the output of the voltage detecting circuit Access charger;
If so, the detection cycle according to setting exports control signal to the electronic switch;Wherein, packet in a detection cycle First time period and second time period are included, the electronic switch is defeated by the electronic switch control circuit in the first time period First control signal out is closed, and the electronic switch is exported by the electronic switch control circuit in the second time period Second control signal disconnects.
8. the method for claim 7, which is characterized in that the detection cycle according to setting is defeated to the electronic switch Signal is controlled out, comprising:
After judging the equipment charger interface access charger according to the output of the voltage detecting circuit, an inspection is opened It surveys the period, and after detection cycle unlatching, the electronic switch control circuit exports first control signal, described in control Electronic switch is in closed state, and in the first duration that the electronic switch is in closed state, is examined according to the voltage The output of slowdown monitoring circuit, judges whether voltage degradation of the voltage of the equipment charger interface in first duration is greater than Equal to first voltage threshold value;Wherein, first duration, which is less than, detects that charger extracts institute from the equipment charger interface The duration needed;
If so, judging the equipment charger interface according to the output of the voltage detecting circuit after first duration When voltage degradation is more than or equal to second voltage threshold value, determine that charger is extracted from the equipment charger interface, described in output Second control signal is in an off state with controlling the electronic switch, and the electronic switch is kept to be in an off state, directly Judge that the equipment charger interface accesses charger to according to the output of the voltage detecting circuit;Otherwise, described the is exported Two control signals, are in an off state, and enter next inspection after current detection end cycle with controlling the electronic switch Survey the period;Wherein, the second voltage threshold value is greater than the first voltage threshold value.
9. method according to claim 8, which is characterized in that the method also includes:
After detection cycle unlatching, judge that voltage of the voltage of the equipment charger interface in first duration subtracts It is more than or equal to first voltage threshold value in a small amount, but according to the voltage detecting circuit not in the second duration after first duration Output judge the equipment charger interface voltage degradation be more than or equal to second voltage threshold value, then export it is described second control Signal processed is in an off state with controlling the electronic switch, and enters next detection week after current detection end cycle Phase;Wherein, the sum of second duration and first duration, which are more than or equal to, detects that charger connects from the equipment charger Mouth extracts required duration, but less than the duration of a detection cycle.
CN201711383934.8A 2017-12-20 2017-12-20 Charger state detection circuit, device circuit, and charger state detection method Active CN109950939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711383934.8A CN109950939B (en) 2017-12-20 2017-12-20 Charger state detection circuit, device circuit, and charger state detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711383934.8A CN109950939B (en) 2017-12-20 2017-12-20 Charger state detection circuit, device circuit, and charger state detection method

Publications (2)

Publication Number Publication Date
CN109950939A true CN109950939A (en) 2019-06-28
CN109950939B CN109950939B (en) 2021-09-24

Family

ID=67004998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711383934.8A Active CN109950939B (en) 2017-12-20 2017-12-20 Charger state detection circuit, device circuit, and charger state detection method

Country Status (1)

Country Link
CN (1) CN109950939B (en)

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63178733A (en) * 1987-01-20 1988-07-22 富士通株式会社 Peak voltage detecting circuit
CN1148912A (en) * 1995-02-16 1997-04-30 菲利浦电子有限公司 Device for converting a resistance value into a control signal which depends on the resistance value, and electrical apparatus comprising such device
JPH09163617A (en) * 1995-12-01 1997-06-20 Oki Electric Ind Co Ltd Charger for portable electronic apparatus
CN1327289A (en) * 2000-06-01 2001-12-19 索尼公司 Power supply equipment and method
CN1630130A (en) * 2003-12-17 2005-06-22 三洋电机株式会社 Battery pack
CN1783640A (en) * 2004-11-22 2006-06-07 因温特奥股份公司 Integrity testing of isolation means in an uninterruptible power supply
CN101091118A (en) * 2004-10-29 2007-12-19 皇家飞利浦电子股份有限公司 System for diagnosing impedances having accurate current source and accurate voltage level-shift
CN101281216A (en) * 2008-05-28 2008-10-08 北京中星微电子有限公司 Voltage measuring circuit using scan mode
CN101282045A (en) * 2008-04-28 2008-10-08 炬力集成电路设计有限公司 Battery charging apparatus as well as control method thereof
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101841239A (en) * 2010-04-12 2010-09-22 无锡中星微电子有限公司 Boost DC/DC converter and logic control circuit thereof
CN101860066A (en) * 2009-04-03 2010-10-13 索尼公司 Battery pack and charging method
CN101983469A (en) * 2008-04-02 2011-03-02 无穷动力解决方案股份有限公司 Passive over/under voltage control and protection for energy storage devices associated with energy harvesting
CN102118057A (en) * 2010-01-05 2011-07-06 台达电子工业股份有限公司 DC UPS circuit with integrated charge-discharge circuit
CN102195324A (en) * 2011-05-18 2011-09-21 张兴发 Battery protection chip, circuit and method
CN102695997A (en) * 2010-01-05 2012-09-26 3M创新有限公司 Method, apparatus, and system for supplying pulsed current to a load
CN102809708A (en) * 2011-06-03 2012-12-05 株式会社杰士汤浅国际 Cell monitoring device, disconnection detection program and disconnection detection method of electricity storage module
CN103095929A (en) * 2013-02-16 2013-05-08 惠州Tcl移动通信有限公司 Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same
CN104076184A (en) * 2013-03-29 2014-10-01 株式会社京滨 Voltage detection apparatus
CN104360191A (en) * 2014-11-14 2015-02-18 惠州Tcl移动通信有限公司 Device and method for detecting plug-in and pull-out of charger
CN104535851A (en) * 2014-12-12 2015-04-22 惠州Tcl移动通信有限公司 Rapid detecting method and system for judging pullout state of mobile terminal charger
CN205304340U (en) * 2015-03-26 2016-06-08 上海长园维安电子线路保护有限公司 Power management module with automatic identification USB equipment
CN105790341A (en) * 2014-12-22 2016-07-20 炬芯(珠海)科技有限公司 Method and circuit for battery detection
CN105988086A (en) * 2015-03-19 2016-10-05 精工半导体有限公司 Battery remaining power predicting device and battery pack
CN106329620A (en) * 2016-08-31 2017-01-11 珠海智融科技有限公司 High-voltage rapid charging circuit structure through multiplexing of single-power-supply multi-port output
CN106602649A (en) * 2016-12-20 2017-04-26 东莞钜威动力技术有限公司 Disconnection detection circuit and disconnection detection method of battery management system
CN206559066U (en) * 2016-12-28 2017-10-13 深圳市心能科技有限公司 A kind of intelligent power-down circuit of charger

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63178733A (en) * 1987-01-20 1988-07-22 富士通株式会社 Peak voltage detecting circuit
CN1148912A (en) * 1995-02-16 1997-04-30 菲利浦电子有限公司 Device for converting a resistance value into a control signal which depends on the resistance value, and electrical apparatus comprising such device
JPH09163617A (en) * 1995-12-01 1997-06-20 Oki Electric Ind Co Ltd Charger for portable electronic apparatus
CN1327289A (en) * 2000-06-01 2001-12-19 索尼公司 Power supply equipment and method
CN1630130A (en) * 2003-12-17 2005-06-22 三洋电机株式会社 Battery pack
CN101091118A (en) * 2004-10-29 2007-12-19 皇家飞利浦电子股份有限公司 System for diagnosing impedances having accurate current source and accurate voltage level-shift
CN1783640A (en) * 2004-11-22 2006-06-07 因温特奥股份公司 Integrity testing of isolation means in an uninterruptible power supply
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101983469A (en) * 2008-04-02 2011-03-02 无穷动力解决方案股份有限公司 Passive over/under voltage control and protection for energy storage devices associated with energy harvesting
CN101282045A (en) * 2008-04-28 2008-10-08 炬力集成电路设计有限公司 Battery charging apparatus as well as control method thereof
CN101281216A (en) * 2008-05-28 2008-10-08 北京中星微电子有限公司 Voltage measuring circuit using scan mode
CN101860066A (en) * 2009-04-03 2010-10-13 索尼公司 Battery pack and charging method
CN102118057A (en) * 2010-01-05 2011-07-06 台达电子工业股份有限公司 DC UPS circuit with integrated charge-discharge circuit
CN102695997A (en) * 2010-01-05 2012-09-26 3M创新有限公司 Method, apparatus, and system for supplying pulsed current to a load
CN101841239A (en) * 2010-04-12 2010-09-22 无锡中星微电子有限公司 Boost DC/DC converter and logic control circuit thereof
CN102195324A (en) * 2011-05-18 2011-09-21 张兴发 Battery protection chip, circuit and method
CN102809708A (en) * 2011-06-03 2012-12-05 株式会社杰士汤浅国际 Cell monitoring device, disconnection detection program and disconnection detection method of electricity storage module
CN103095929A (en) * 2013-02-16 2013-05-08 惠州Tcl移动通信有限公司 Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same
CN104076184A (en) * 2013-03-29 2014-10-01 株式会社京滨 Voltage detection apparatus
CN104360191A (en) * 2014-11-14 2015-02-18 惠州Tcl移动通信有限公司 Device and method for detecting plug-in and pull-out of charger
CN104535851A (en) * 2014-12-12 2015-04-22 惠州Tcl移动通信有限公司 Rapid detecting method and system for judging pullout state of mobile terminal charger
CN105790341A (en) * 2014-12-22 2016-07-20 炬芯(珠海)科技有限公司 Method and circuit for battery detection
CN105988086A (en) * 2015-03-19 2016-10-05 精工半导体有限公司 Battery remaining power predicting device and battery pack
CN205304340U (en) * 2015-03-26 2016-06-08 上海长园维安电子线路保护有限公司 Power management module with automatic identification USB equipment
CN106329620A (en) * 2016-08-31 2017-01-11 珠海智融科技有限公司 High-voltage rapid charging circuit structure through multiplexing of single-power-supply multi-port output
CN106602649A (en) * 2016-12-20 2017-04-26 东莞钜威动力技术有限公司 Disconnection detection circuit and disconnection detection method of battery management system
CN206559066U (en) * 2016-12-28 2017-10-13 深圳市心能科技有限公司 A kind of intelligent power-down circuit of charger

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHILIANG ZHANG,等: "USB: Ultrashort Binary Descriptor for Fast Visual Matching and Retrieval", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》 *
潘玉灼 等: "铅酸蓄电池智能充电器的研制", 《泉州师范学院学报》 *

Also Published As

Publication number Publication date
CN109950939B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN103984658B (en) Universal serial bus device
CN104025417B (en) Charge-discharge control circuit and cell apparatus
CN106537720A (en) Charging method and electronic device
CN104272216A (en) Electronic device and control method therefor
CN104505551B (en) A kind of charging circuit of charging method and wearable device
CN109428352A (en) electronic device and charging method thereof
CN110829540B (en) Load access identification method, charging control method and device
CN107980191A (en) Electronic device and its charge control method
CN105826963B (en) A kind of method, charging circuit and terminal for detecting cell voltage
CN107948799A (en) Wireless headset and charging box
CN110417085A (en) A kind of system and method whether being inserted into for detecting apple equipment
CN109167420A (en) A kind of charging control circuit, charging circuit and charge control method
CN104836290B (en) The detection method and detecting system that a kind of Mobile terminal charger insertion is extracted
CN105759190B (en) The detection circuit of metal-oxide-semiconductor parameter degradation
CN103983955B (en) Power monitoring method in receiving and transmitting module test
CN109950939A (en) Charger states detection circuit, circuitry and charger states detection method
CN107994650A (en) charge control method, device and equipment
CN105896662A (en) Single-port mobile power control circuit and control method thereof
CN106972568A (en) Charging detecting circuit, method and electronic equipment
CN205335900U (en) Electronic equipment and externally fill electrical detection circuitry thereof
CN105278405B (en) A kind of flip-type electronic equipment and its on/off circuit
CN212063521U (en) Load access recognition device and charging device
CN109031098B (en) Test circuit based on charging chip
CN107271766A (en) A kind of power consumption detection method, consumption power detection circuit and mobile terminal
CN103401510A (en) Power amplifier with hot plugging function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Applicant after: ACTIONS TECHNOLOGY Co.,Ltd.

Address before: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Applicant before: ACTIONS (ZHUHAI) TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant