CN109995107A - A kind of detection device - Google Patents

A kind of detection device Download PDF

Info

Publication number
CN109995107A
CN109995107A CN201910248980.XA CN201910248980A CN109995107A CN 109995107 A CN109995107 A CN 109995107A CN 201910248980 A CN201910248980 A CN 201910248980A CN 109995107 A CN109995107 A CN 109995107A
Authority
CN
China
Prior art keywords
module
access
access interface
load
power supply
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
CN201910248980.XA
Other languages
Chinese (zh)
Other versions
CN109995107B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910248980.XA priority Critical patent/CN109995107B/en
Publication of CN109995107A publication Critical patent/CN109995107A/en
Application granted granted Critical
Publication of CN109995107B publication Critical patent/CN109995107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0077

Abstract

The embodiment of the present application discloses a kind of detection device, which includes power supply module and access detection module, and power supply module is connected to access interface by passway for transmitting electricity;It accesses detection module and the access interface is connected to by the passway for transmitting electricity;The access detection module is used to determine whether the access interface has accessed load based on the passway for transmitting electricity.

Description

A kind of detection device
Technical field
This application involves electron and information technology fields, more particularly, to a kind of detection device.
Background technique
When the loads such as electronic equipment need to charge, it will usually connect load with the power supply module of detection device, detect Device needs to judge the access interface whether load has accessed to detection device, if determining load accesses to access interface, Control power supply module powering load.In the related technology, whether to need to judge by the sense channel of detection device load It is complicated so as to cause the circuit inside detection device through accessing to the access interface of detection device.
Summary of the invention
The technical solution of the application is achieved in that
A kind of detection device, comprising:
Power supply module is connected to access interface by passway for transmitting electricity;
Detection module is accessed, the access interface is connected to by the passway for transmitting electricity;
The access detection module, for determining whether the access interface has accessed load based on the passway for transmitting electricity.
Optionally, the access detection module includes:
First pole of electricity storage module, the electricity storage module is connected to the access interface by the passway for transmitting electricity, described Second pole of electricity storage module is grounded;
Submodule is handled, the processing submodule is connected to the access interface by the passway for transmitting electricity;
The processing submodule, the running parameter of the first pole for obtaining the electricity storage module, if the running parameter Variation is generated, determines that the access interface access has load.
Optionally, the processing submodule, is also used to obtain parameter preset, if the running parameter is less than the default ginseng Number determines that the access interface access has load.
Optionally, described device further include:
Switch module, the first end of the switch module are connected to the power supply module, the second end of the switch module It is connected to the access interface, the third end of the switch module is connected to the processing submodule;The switch module period The closing or opening of property ground;
The processing submodule, for making the switch module periodically closing or opening.
Optionally, the third end of the switch module is connected to the processing submodule by modulation module;Wherein, described Modulation module is for making the switch module periodically closing or opening;
The processing submodule is also used to control the modulation module work.
Optionally, the power supply module, for having load in access interface access, and the switch module is closed When, it charges to the electricity storage module and the load;
The electricity storage module, for being charged to the load when the switch module disconnects.
Optionally, the running parameter includes target voltage, and the parameter preset includes reference voltage;The processing submodule Block includes:
The first input end of comparison module, the comparison module is connected to the access interface by the passway for transmitting electricity, Second input terminal of the comparison module is circumscribed with reference voltage, and the output end of the comparison module is connected to the first of processor End;
The comparison module is based on the base for obtaining the target voltage of the reference voltage and the electricity storage module Quasi- voltage and the target voltage generate predetermined level signal, and send the predetermined level signal to the processor;
The processor, the second end of the processor connect the third end of the switch module;
The processor connects described in determination if the predetermined level signal sent for receiving the comparison module Inbound port access has load.
Optionally, the comparison module generates described preset less than the reference voltage if being also used to the target voltage Level signal, and the predetermined level signal is sent to the processor.
Optionally, the processing submodule, if being also used to determine within a preset time, the running parameter does not generate variation, Determine that the access interface does not access load.
Optionally, the first pole of the power supply module is connected to the first of the access interface by the passway for transmitting electricity Pole, the second pole of the power supply module and the second pole ground connection of the access interface;
The access detection module is connected to the first pole of the access interface by the passway for transmitting electricity.
Detection device provided by the embodiment of the present application includes power supply module and access detection module, and power supply module passes through defeated Electric channel is connected to access interface, and access detection module is connected to access interface by passway for transmitting electricity, and access detection module is used for Determine whether access interface has accessed load based on passway for transmitting electricity, since the access detection module of detection device can pass through transmission of electricity Channel determines whether access interface has accessed load, so that the circuit inside detection device is simple, avoids such as related skill Art needs to need to increase inside detection device like that additional sense channel, and need to be by sense channel detection access interface The no loaded situation of access, causes the circuit inside detection device complicated.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of detection device provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of another detection device provided by the embodiments of the present application;
Fig. 3 shows for what the target voltage when not accessing load and access has load of the embodiment of the present application access interface changed It is intended to;
Fig. 4 is the structural schematic diagram of another detection device provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram for detection device that another embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
It should be understood that " the embodiment of the present application " or " previous embodiment " that specification is mentioned in the whole text means have with embodiment The a particular feature, structure, or characteristic of pass includes at least one embodiment of the application.Therefore, go out everywhere in the whole instruction Existing " in the embodiment of the present application " or " in the aforementioned embodiment " not necessarily refers to identical embodiment.In addition, these are specific Feature, structure or characteristic can be combined in any suitable manner and be answered in one or more embodiments.In the various realities of the application It applies in example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi of each process Function and internal logic determine that the implementation process without coping with the embodiment of the present application constitutes any restriction.Above-mentioned the application is implemented Example serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
It should be noted that the application is two module connections appeared in embodiment, it can be and lead between two modules It crosses conductor to be directly connected to, is also possible to be attached between two modules by other modules, other modules include but is not limited to At least one of filter module, Voltage stabilizing module, voltage changing module and power amplifier module, or can be between two modules The mode of energy coupling couples, to realize the energy exchange between two modules.
The embodiment of the present application provides a kind of detection device, as shown in Figure 1, detection device 1 includes power supply module 11, mould of powering Block 11 is connected to access interface 12 by passway for transmitting electricity;Detection device 1 further includes access detection module 13, accesses detection module 13 Access interface 12 is connected to by passway for transmitting electricity;Access detection module 13 is used to whether determine access interface 12 based on passway for transmitting electricity Access has load 2.Passway for transmitting electricity is to the channel for 2 input charge of load for accessing to detection device 1.In the embodiment of the present application In, passway for transmitting electricity can be the channel being connected directly between power supply module 11 and access interface 12.
Detection device 1 is that the device of load 2 whether is accessed for detecting access interface 12.In one embodiment, Detection device 1 can be a kind of power supply unit, and power supply unit includes battery, and battery can be rechargeable battery and not chargeable electricity Pond, battery detect that access interface 12 is linked into load 2 as the power supply module 11 in the embodiment of the present application, in detection device 1 Afterwards, battery gives load 2 power supply by passway for transmitting electricity.In another embodiment, detection device 1 can be power supply adaptor, Power supply adaptor includes plant-grid connection module, and as the power supply module 11 in the embodiment of the present application, power supply connects plant-grid connection module Enter module for external power supply, after detection device 1 detects that access interface 12 is linked into load 2, external power supply passes through transmission of electricity Channel gives load 2 power supply.
Load 2 in the embodiment of the present application is the element of any consumption power, for example, load 2 can for capacitor, resistance or The electronic components such as inductance can also be mobile phone, tablet computer, laptop, palm PC, personal digital assistant, portable Media player, navigation device, wearable device, Intelligent bracelet, pedometer, the number electronics such as TV or desktop computer are set Standby, the embodiment of the present application is not construed as limiting the concrete type of load 2.
Access interface 12 should include two pins, and two pins have one to load 2 positive pins for connecting, and are used for The pin of connection 2 cathode of load.In other embodiments, access interface 12 can also include at least three pins, for example, 4, 8,20 etc., to realize other functions.Access interface 12 can be any port for being used to connect load 2, for example, access Port 12 can be universal serial bus (Universal Serial Bus, USB) interface, Type-C interface, lightning interface, electricity Brain display interface or adaptor interface etc..It should be understood that in the related art, access interface 12 must include three or three Above pin, wherein two pins are used to connect the anode and cathode of load 2, at least one pin is connected by sense channel The detection module that load 2 whether is connected for detecting access interface 12 connect.And in the embodiment of the present application, due to accessing detection module 13 can connect two pins by passway for transmitting electricity, and detect whether access interface 12 accesses load 2 by passway for transmitting electricity, thus Access interface 12 is allowed only to include two for connecting the anode of load 2 and the pin of cathode, in this mode, if access When port 12 includes greater than two pins, drawn by other in addition to the pin of access passway for transmitting electricity in the pin greater than two Foot is, it can be achieved that other functions, in this way, the utilization rate of 12 pin of access interface can be improved, consequently facilitating access interface 12 is small-sized Change design.
First pole of power supply module 11 is connected to the first pole of access interface 12 by passway for transmitting electricity, and the of power supply module 11 Two poles and the second pole of access interface 12 ground connection;It accesses detection module 13 and is connected to the first of access interface 12 by passway for transmitting electricity Pole.When battery is as power supply module 11, the anode of the extremely battery of the first of power supply module 11, the second of power supply module 11 is extremely The cathode of battery.When plant-grid connection module is as power supply module 11, the first pole connection external power supply of power supply module 11 is just Pole, the cathode of the second pole connection external power supply of power supply module 11 or ground connection.
When the access of the input port of detection device 1 has load 2, the anode of the first pole connection load 2 of power supply module 11, Second pole of power supply module 11 and the second pole ground connection of load 2.
Detection device provided by the embodiment of the present application includes power supply module and access detection module, and power supply module passes through defeated Electric channel is connected to access interface, and access detection module is connected to access interface by passway for transmitting electricity, and access detection module is used for Determine whether access interface has accessed load based on passway for transmitting electricity, since the access detection module of detection device can pass through transmission of electricity Channel determines whether access interface has accessed load, so that the circuit inside detection device is simple, avoids such as related skill Art needs to need to increase inside detection device like that additional sense channel, and need to be by sense channel detection access interface The no loaded situation of access, causes the circuit inside detection device complicated.
Based on previous embodiment, the embodiment of the present application provides a kind of detection device, as shown in Fig. 2, detection device 1 includes supplying Electric module 11 and access detection module 13.
Wherein, access detection module 13 includes electricity storage module 131 and processing submodule 132.First pole of electricity storage module 131 Access interface 12, the second pole ground connection of electricity storage module 131 are connected to by passway for transmitting electricity.It is logical by transmission of electricity to handle submodule 132 Road is connected to access interface 12.Processing submodule 132 is used to obtain the running parameter of the first pole of electricity storage module 131, if work Parameter generates variation, determines that the access of access interface 12 has load 2.
Electricity storage module 131 in the embodiment of the present application is capacitor.In other embodiments, electricity storage module 131 can be with It is other for storing the element of charge for inductance or rechargeable battery etc..The first of electricity storage module 131 extremely can be electricity storage module 131 Anode, the second of electricity storage module 131 extremely can be electricity storage module 131 cathode.
Running parameter may include at least one of electric current, target voltage, power, temperature and impedance.In the application It in embodiment, illustrates by target voltage of running parameter, to detect whether access interface 12 accesses load to detection device 1 2 process is illustrated, it should be appreciated that when running parameter is electric current, power, temperature or impedance, determines whether detection interface connects Similar when entering process and the running parameter of load 2 for target voltage, the embodiment of the present application does not repeat this.
Running parameter generates variation, can be running parameter and periodically changes, is also possible to running parameter aperiodicity Variation.Running parameter, which can be, to be also possible to gradually generate variation, is also possible to the variation of jumping characteristic, is not construed as limiting herein, As long as running parameter generates variation, and the variation of running parameter meets preset condition, that is, it is negative to can determine that the access of access interface 12 has Carry 2.The variation of running parameter meets preset condition, can within a preset time, and the change value of running parameter is greater than preset value.
Processing submodule 132 is also used to obtain parameter preset, if running parameter is less than parameter preset, determines access interface 12 Access has load 2.Running parameter includes target voltage, and parameter preset includes reference voltage.For example, when parameter preset is target electricity When pressure, processing submodule 132 determines that the access of access interface 12 has load 2 when getting target voltage less than reference voltage.? In a kind of embodiment, as long as determining incoming end when handling submodule 132 when getting target voltage less than reference voltage 12 access of mouth has load 2.In another embodiment, when processing submodule 132 is getting target voltage less than benchmark electricity When the number of pressure is greater than preset times, just determines that the access of access interface 12 has load 2, in this fashion, avoid when access When port 12 touches impurity, the voltage of the first pole of electricity storage module 131 is caused to change, thus the case where generating erroneous judgement. Preset times can select according to the actual situation, for example, twice, three times or four is inferior.
Detection device 1 further includes switch module 14, and the first end of switch module 14 is connected to power supply module 11, switch module 14 second end is connected to access interface 12, and the third end of switch module 14 is connected to processing submodule 132;Switch module 14 weeks The closing or opening of phase property ground;Processing submodule 132 is for making the periodically closing or opening of switch module 14.Switch module 14 can Think PMOS switch or NMOS switch.
In one embodiment, the third end of switch module 14 is connected to processing submodule 132 by modulation module 15; Wherein, modulation module 15 is for making the periodically closing or opening of switch module 14;Submodule 132 is handled, is also used to control tune Molding block 15 works.Modulation module 15 exports predeterminated voltage to switch module 14 for exporting periodic predeterminated voltage Third end so that switch module 14 receive processing submodule 132 export predeterminated voltage when closure, do not receiving everywhere It is disconnected when the predeterminated voltage that reason submodule 132 exports.
In another embodiment, the third end of switch module 14 can be directly connected to the first end of modulation module 15, adjust The second end of molding block 15 can connect to power supply module 11, so that power supply module 11 can directly power to modulation module 15, make Modulation module 15 exports periodic predeterminated voltage to the third end of switch module 14.In this case, closing due to switch The period closed or disconnected is not processed the control of submodule 132, it is thereby possible to reduce the consumption of processing submodule 132.
In yet another embodiment, processing submodule 132 can be connected directly between the third end of switch module 14 without By modulation module 15, under this mode, the third of processing submodule 132 periodically output predeterminated voltage to switch module 14 End, so that the closure when receiving the predeterminated voltage that processing submodule 132 exports of switch module 14, is not receiving processing submodule It is disconnected when the predeterminated voltage that block 132 exports.
The period of 14 closing or opening of switch module can be unalterable.Alternatively, 14 closing or opening of switch module Period can also be changed according to the actual situation, for example, processing submodule 132 can determine at detection device 1 When motion state, it can determine that the access of access interface 12 at this time has the probability of load 2 smaller, can control switch module at this time 14 with period 1 closing or opening;When determining that detection volume device remains static, switch module 14 can control at this time With second round closing or opening.Wherein, the period 1 is less than second round.Alternatively, processing submodule 132 can work as in determination When the preceding time belongs to first time range, control switch module 14 is determining current time category with period 1 closing or opening When the second time range, control switch module 14 is with second round closing or opening.First time range be, for example, one day it In zero point to ten two points, the second time range is, for example, ten two points to 24 points among one day.Certainly, first time model Enclosing can voluntarily select with the second time range according to the actual situation, be not construed as limiting herein.
Power supply module 11 is used to have load 2 in the access of access interface 12, and when the closure of switch module 14, gives electricity storage module 131 charge with load 2;Electricity storage module 131 is used for when switch module 14 disconnects, and gives load 2 charging.
The situation as shown in figure 3, voltage that waveform M is the third end of switch module 14 changes with time, in switch module When the voltage at 14 third end is U1, switch module 14 is in closed state, and the voltage at the third end of switch module 14 is U2 When, switch module 14 is in an off state;Waveform N is load whether to be accessed based on access interface 12 and switch module 14 closes When closing or disconnecting, the target voltage of the first pole of electricity storage module 131 changes with time situation.From figure 3, it can be seen that no matter Whether access interface 12 has accessed load, and switch module 14 is always with predetermined period T closing or opening.
In t0 to t1 period, access interface 12 does not access load 2, as can be seen that switch module 14 is with default from waveform M Cycle T carries out closing or opening, as can be seen that the voltage of the first pole of electricity storage module 131 is to remain unchanged from waveform N.Storage The voltage of first pole of electric module 131 can be related with the voltage that power supply module 11 is capable of providing.For example, in the embodiment of the present application In, as the voltage U3 that power supply module 11 provides, the voltage of 131 first pole of electricity storage module is also U3.In other embodiments, it stores up The voltage that the voltage of electric 131 first pole of module might be less that or provide greater than power supply module 11.It should be noted that Fig. 3 is intended merely to Illustrate the variation of target voltage and the relationship of 14 open and close of switch module, does not limit the size of U1, U2 and U3.One In the feasible embodiment of kind, the voltage value of U3 can be identical as above-mentioned predeterminated voltage.
In t1 to t2 period, the access of access interface 12 has load 2, from waveform M as can be seen that switch module 14 still with Predetermined period T carries out closing or opening.From waveform N as can be seen that when switching disconnection, due to electricity storage module 131 and load 2 Between also have electrical connection, therefore electricity storage module 131 to load 2 power supply, so that the voltage of the first pole of electricity storage module 131 is gradually It reduces;When closing the switch, electrically connected due to existing between the first pole of power supply module 11 and the first pole of electricity storage module 131, There is also electrically connecting between first pole of power supply module 11 and the anode for loading 2, power supply module 11 is not only supplied to electricity storage module 131 Electricity returns 2 power supply of load, so that the voltage of the first pole of electricity storage module 131 gradually increases.Therefore, in t1 to t2 period, due to Load 2 accesses to access interface 12, and the periodic closing or opening of switch module 14, so that electricity storage module 131 be made to be in week The process being charged and discharged to phase property leads to changing for the voltage cycle of the first pole of electricity storage module 131.
In addition, processing submodule 132, if being also used to determine within a preset time, running parameter does not generate variation, and determination connects Inbound port 12 does not access load 2.Please continue to refer to Fig. 3, in t2 to t3 period, access interface 12 does not access load 2, from waveform M In as can be seen that switch module 14 still carries out closing or opening with predetermined period T, since load 2 does not access to access interface 12, cause electricity storage module 131 that can not give load 2 power supply, so that the target voltage of the first pole of electricity storage module 131 is constant, i.e., from As can be seen that target voltage is maintained on U3 in waveform N.
It should be noted that being referred to other implementations with the explanation of content identical in other embodiments in the present embodiment Description in example, details are not described herein again.
Detection device provided by the embodiment of the present application includes power supply module and access detection module, and power supply module passes through defeated Electric channel is connected to access interface, and access detection module is connected to access interface by passway for transmitting electricity, and access detection module is used for Determine whether access interface has accessed load based on passway for transmitting electricity, since the access detection module of detection device can pass through transmission of electricity Channel determines whether access interface has accessed load, so that the circuit inside detection device is simple, avoids such as related skill Art needs to need to increase inside detection device like that additional sense channel, and need to be by sense channel detection access interface The no loaded situation of access, causes the circuit inside detection device complicated.In addition, the first end due to switch module is connected to Power supply module, the second end of switch module are connected to access interface, and the third end of switch module is connected to processing submodule, switch Module periodically closing or opening, so that the running parameter of the first pole of electricity storage module, which generates, periodically generates variation, from And it can determine whether access interface has accessed load by the running parameter of the first pole of detection electricity storage module.
Based on previous embodiment, the embodiment of the present application provides a kind of detection device, as shown in figure 4, detection device 1 includes supplying Electric module 11, access detection module 13, electricity storage module 131, processing submodule 132, switch module 14 and modulation module 15.
Wherein, processing submodule 132 includes comparison module 1321 and processor 1322.
Processor 1322 is worked by control modulation module 15, and modulation module 15 is made to export periodic predeterminated voltage.? In a kind of embodiment, processor 1322 can only control the work of modulation module 15, and modulation module 15 has set default Period, processor 1322 make modulation module 15 export period not changed predeterminated voltage by the work of modulation module 15.? In another embodiment, processor 1322 can also change the period that modulation module 15 exports predeterminated voltage, so that modulation mould Block 15 exports period changed predeterminated voltage.Modulation module 15, which can be, modulates (Pulse Width for output pulse width Modulation, PWM) signal modulation circuit.
The first input end of comparison module 1321 is connected to access interface 12 by passway for transmitting electricity, and the of comparison module 1321 Two input terminals are circumscribed with reference voltage, and the output end of comparison module 1321 is connected to the first end of processor 1322;Comparison module 1321 for obtaining the target voltage of reference voltage and electricity storage module 131, generates default electricity based on reference voltage and target voltage Ordinary mail number, and predetermined level signal is sent to processor 1322.The third of the second end connection switch module 14 of processor 1322 End;If processor 1322 is used to receive the predetermined level signal of the transmission of comparison module 1321, determine that the access of access interface 12 has Load 2.Reference voltage can be indicated with U4.
If comparison module 1321, which is also used to target voltage, generates predetermined level signal less than reference voltage, and sends default electricity Ordinary mail number is to processor 1322.
Comparison module 1321 in the embodiment of the present application is comparator.Comparator is used for reference voltage and target voltage Size is made comparisons.Predetermined level signal can be high level signal or low level signal.In one embodiment, when comparing When module 1321 determines that target voltage is greater than reference voltage, high level signal can be exported to processor 1322, processor 1322 After receiving high level signal, determine that the access of access interface 12 has load 2 based on high level signal.Processor 1322 can be After receiving a high level signal, the access of access interface 12 load 2 is determined, alternatively, processor 1322 can receive two After a, three or four high level signals, determine that the access of access interface 12 has load 2.In another embodiment, when comparing When module 1321 determines that target voltage is greater than reference voltage, low level signal can be exported to processor 1322, processor 1322 After receiving low level signal, determine that the access of access interface 12 has load 2 based on low level signal.
In the application embodiment, detection device 1 is also provided with memory (not shown), stores in memory There is computer program, memory is electrically connected with processor 1322.In one embodiment, processor 1322 is for calling storage First computer program of middle memory, if to realize the predetermined level signal for receiving the transmission of comparison module 1321, determination is connect The access of inbound port 12 has the step of load 2.In another embodiment, processor 1322 is used to call memory in storage Second computer program, if determining incoming end to realize the predetermined level signal for receiving 1321 periodicity sending of comparison module 12 access of mouth has the step of load 2.
In order to illustrate more clearly of the connection relationship between each module and electronic component, referring to Fig. 5, power supply module 11 The first pole access to the first end of MOS switch K, the second end connection of MOS switch is for access the positive access interface of load 2 12, the access interface 12 for accessing 2 cathode of load is grounded.The first pole of capacitor C is connected to by passway for transmitting electricity for accessing The access interface 12 of 2 anode of load, the second pole ground connection of capacitor C.The first input end of comparator A is connected to by passway for transmitting electricity For accessing the access interface 12 of 2 anode of load, the negative input of comparator A is circumscribed with reference voltage, wherein reference voltage It can be what power supply module 11 was provided by transforming circuit, the output end of comparator A is connected to the first end of processor 1322.Place The second end for managing device 1322 connects the third end of MOS switch K by modulation module 15.Wherein, reference voltage can be indicated with U4.
It should be noted that being referred to other implementations with the explanation of content identical in other embodiments in the present embodiment Description in example, details are not described herein again.
Detection device provided by the embodiment of the present application includes power supply module and access detection module, and power supply module passes through defeated Electric channel is connected to access interface, and access detection module is connected to access interface by passway for transmitting electricity, and access detection module is used for Determine whether access interface has accessed load based on passway for transmitting electricity, since the access detection module of detection device can pass through transmission of electricity Channel determines whether access interface has accessed load, so that the circuit inside detection device is simple, avoids such as related skill Art needs to need to increase inside detection device like that additional sense channel, and need to be by sense channel detection access interface The no loaded situation of access, causes the circuit inside detection device complicated.In addition, due to comparison module if it is determined that target electricity Pressure is less than reference voltage and generates predetermined level signal, sends predetermined level signal to processor, makes processor according to predetermined level Determine that access interface access has load, it is simple that detection device determines whether access interface accesses loaded method.
It should be noted that above-mentioned processor can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), number Word signal processing apparatus (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), central processing unit (CPU, Central Processing Unit), controller, in microcontroller, microprocessor extremely Few one kind.It is to be appreciated that realizing that the electronic device of above-mentioned processor function can also be to be other, the embodiment of the present application is not made to have Body limits.
It should be noted that above-mentioned computer storage medium/memory can be read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable programmable Read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable is read-only deposits Reservoir (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic random access Memory (Ferromagnetic Random Access Memory, FRAM), flash memory (Flash Memory), magnetic table The memories such as face memory, CD or CD-ROM (Compact Disc Read-Only Memory, CD-ROM);It can also be with It is the various terminals for including one of above-mentioned memory or any combination, such as mobile phone, computer, tablet device, individual digital Assistant etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited from sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied with the pattern of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the application.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that can be from every one stream in computer program instructions implementation flow chart and/or block diagram The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
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.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills Art field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of detection device, comprising:
Power supply module is connected to access interface by passway for transmitting electricity;
Detection module is accessed, the access interface is connected to by the passway for transmitting electricity;
The access detection module, for determining whether the access interface has accessed load based on the passway for transmitting electricity.
2. the apparatus according to claim 1, the access detection module include:
First pole of electricity storage module, the electricity storage module is connected to the access interface, the storage by the passway for transmitting electricity Second pole of module is grounded;
Submodule is handled, the processing submodule is connected to the access interface by the passway for transmitting electricity;
The processing submodule, the running parameter of the first pole for obtaining the electricity storage module, if the running parameter generates Variation determines that the access interface access has load.
3. the apparatus of claim 2, wherein
The processing submodule, is also used to obtain parameter preset, if the running parameter be less than the parameter preset, determine described in Access interface access has load.
4. device according to claim 3, described device further include:
Switch module, the first end of the switch module are connected to the power supply module, the second end connection of the switch module In the access interface, the third end of the switch module is connected to the processing submodule;The switch module is periodically Closing or opening;
The processing submodule, for making the switch module periodically closing or opening.
5. device according to claim 4, wherein
The third end of the switch module, the switch module is connected to the processing submodule by modulation module;Wherein, institute Modulation module is stated for making the switch module periodically closing or opening;
The processing submodule is also used to control the modulation module work.
6. device according to claim 4, wherein
The power supply module for having load in access interface access, and when switch module closure, gives the storage Module and load charging;
The electricity storage module, for being charged to the load when the switch module disconnects.
7. the running parameter includes target voltage, the parameter preset according to claim 4 to 6 described in any item devices Including reference voltage;The processing submodule includes:
The first input end of comparison module, the comparison module is connected to the access interface by the passway for transmitting electricity, described Second input terminal of comparison module is circumscribed with reference voltage, and the output end of the comparison module is connected to the first end of processor;
The comparison module, for obtaining the target voltage of the reference voltage and the electricity storage module, based on the benchmark electricity Pressure and the target voltage generate predetermined level signal, and send the predetermined level signal to the processor;
The processor, the second end of the processor connect the third end of the switch module;
The processor, if the predetermined level signal sent for receiving the comparison module, determines the incoming end Mouth access has load.
8. device according to claim 7, wherein
The comparison module generates the predetermined level signal less than the reference voltage if being also used to the target voltage, and The predetermined level signal is sent to the processor.
9. the apparatus of claim 2, wherein
The processing submodule, if being also used to determine within a preset time, the running parameter does not generate variation, connects described in determination Inbound port does not access load.
10. the apparatus according to claim 1, wherein
First pole of the power supply module, the power supply module is connected to the first of the access interface by the passway for transmitting electricity Pole, the second pole of the power supply module and the second pole ground connection of the access interface;
The access detection module is connected to the first pole of the access interface by the passway for transmitting electricity.
CN201910248980.XA 2019-03-29 2019-03-29 Detection device Active CN109995107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910248980.XA CN109995107B (en) 2019-03-29 2019-03-29 Detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910248980.XA CN109995107B (en) 2019-03-29 2019-03-29 Detection device

Publications (2)

Publication Number Publication Date
CN109995107A true CN109995107A (en) 2019-07-09
CN109995107B CN109995107B (en) 2022-07-26

Family

ID=67131734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910248980.XA Active CN109995107B (en) 2019-03-29 2019-03-29 Detection device

Country Status (1)

Country Link
CN (1) CN109995107B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113541220A (en) * 2020-04-21 2021-10-22 圣邦微电子(北京)股份有限公司 Load detection circuit and charging system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221546A (en) * 2007-01-12 2008-07-16 奇岩电子股份有限公司 Device for automatically detecting universal serial bus main unit or peripherals
CN102520750A (en) * 2011-12-18 2012-06-27 西安恒飞电子科技有限公司 Low-ripple linear power source
CN103311986A (en) * 2013-06-03 2013-09-18 Tcl通讯(宁波)有限公司 Charger, mobile terminal, charger detection system and detection method thereof
CN203481855U (en) * 2013-08-01 2014-03-12 湖南九天科技股份有限公司 Portable power supply device
CN106300482A (en) * 2015-06-05 2017-01-04 西安中兴新软件有限责任公司 A kind of charger and control method thereof
US20180034293A1 (en) * 2016-02-05 2018-02-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system, charging method, and power adapter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221546A (en) * 2007-01-12 2008-07-16 奇岩电子股份有限公司 Device for automatically detecting universal serial bus main unit or peripherals
CN102520750A (en) * 2011-12-18 2012-06-27 西安恒飞电子科技有限公司 Low-ripple linear power source
CN103311986A (en) * 2013-06-03 2013-09-18 Tcl通讯(宁波)有限公司 Charger, mobile terminal, charger detection system and detection method thereof
CN203481855U (en) * 2013-08-01 2014-03-12 湖南九天科技股份有限公司 Portable power supply device
CN106300482A (en) * 2015-06-05 2017-01-04 西安中兴新软件有限责任公司 A kind of charger and control method thereof
US20180034293A1 (en) * 2016-02-05 2018-02-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system, charging method, and power adapter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113541220A (en) * 2020-04-21 2021-10-22 圣邦微电子(北京)股份有限公司 Load detection circuit and charging system

Also Published As

Publication number Publication date
CN109995107B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN106787055B (en) A kind of charging circuit, system, method and terminal
CN101355259B (en) Portable communication device and method for charging through discernment of charging cable
WO2021190320A1 (en) Battery charging protection method and charging protection apparatus, mobile terminal, and storage medium
CN114094649B (en) Data line integrated with capacitive load access identification device and identification method and system
CN105518967A (en) Apparatus and method to change current limit
CN108390432B (en) Charging circuit and electronic cigarette
CN207765577U (en) Battery capacity manages circuit
CN207007249U (en) Connect equipment and field apparatus
CN109067019A (en) Charge-discharge circuit, method, electronic equipment and storage medium
CN103904698A (en) Battery unit, terminal equipment and battery unit configuration method
CN109995107A (en) A kind of detection device
US20130103878A1 (en) Universal usb charger
CN210579159U (en) Wireless earphone system and wireless earphone
US20060178171A1 (en) Audio/charging module and electronic system and porable electronic device thereof
CN106160075B (en) Mobile power source with automatic recognition of load function
CN112117798A (en) Shutdown charging circuit of USB interface of notebook computer
CN209642338U (en) Mobile power source circuit and mobile power source
CN105610220A (en) Charge and discharge circuit for mobile terminal and mobile terminal
CN106410297B (en) Charging method and electronic equipment
CN212965358U (en) Broken line detection circuit with load access automatic wake-up function and power bank
CN205945119U (en) Portable power source with load automatic identification function
CN212085849U (en) Double-control lock key station charging control circuit
CN208849505U (en) Medical Devices with hysteresis module
CN109394169B (en) Medical Devices with hysteresis module
CN202916420U (en) Electric quantity detecting circuit of mobile power supply

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
GR01 Patent grant
GR01 Patent grant