CN109995107B - Detection device - Google Patents

Detection device Download PDF

Info

Publication number
CN109995107B
CN109995107B CN201910248980.XA CN201910248980A CN109995107B CN 109995107 B CN109995107 B CN 109995107B CN 201910248980 A CN201910248980 A CN 201910248980A CN 109995107 B CN109995107 B CN 109995107B
Authority
CN
China
Prior art keywords
module
access port
load
pole
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910248980.XA
Other languages
Chinese (zh)
Other versions
CN109995107A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a detection device, which comprises a power supply module and an access detection module, wherein the power supply module is connected to an access port through a power transmission channel; the access detection module is connected to the access port through the power transmission channel; the access detection module is used for determining whether the access port is accessed with a load or not based on the power transmission channel.

Description

Detection device
Technical Field
The application relates to the technical field of electronics and information, in particular to a detection device.
Background
When loads such as electronic equipment need to be charged, the loads are usually connected with a power supply module of the detection device, the detection device needs to judge whether the loads are connected to an access port of the detection device, and if the loads are judged to be connected to the access port, the power supply module is controlled to supply power to the loads. In the related art, it is necessary to determine whether the load is connected to the access port of the detection device through the detection channel of the detection device, which results in a complicated circuit inside the detection device.
Disclosure of Invention
The technical scheme of the application is realized as follows:
a detection device, comprising:
the power supply module is connected to the access port through a power transmission channel;
the access detection module is connected to the access port through the power transmission channel;
and the access detection module is used for determining whether the access port is accessed with a load or not based on the power transmission channel.
Optionally, the access detection module includes:
a first pole of the electricity storage module is connected to the access port through the power transmission channel, and a second pole of the electricity storage module is grounded;
the processing sub-module is connected to the access port through the power transmission channel;
the processing submodule is used for acquiring working parameters of a first pole of the power storage module, and if the working parameters change, determining that the access port is connected with a load.
Optionally, the processing sub-module is further configured to obtain a preset parameter, and determine that the access port has a load if the working parameter is smaller than the preset parameter.
Optionally, the apparatus further comprises:
the first end of the switch module is connected to the power supply module, the second end of the switch module is connected to the access port, and the third end of the switch module is connected to the processing submodule; the switch module is periodically closed or opened;
the processing submodule is used for enabling the switch module to be closed or opened periodically.
Optionally, a third end of the switch module is connected to the processing sub-module through a modulation module; wherein the modulation module is used for enabling the switch module to be closed or opened periodically;
and the processing submodule is also used for controlling the modulation module to work.
Optionally, the power supply module is configured to charge the power storage module and the load when the access port is connected with a load and the switch module is closed;
and the power storage module is used for charging the load when the switch module is disconnected.
Optionally, the operating parameter includes a target voltage, and the preset parameter includes a reference voltage; the processing submodule comprises:
a first input end of the comparison module is connected to the access port through the power transmission channel, a second input end of the comparison module is externally connected with a reference voltage, and an output end of the comparison module is connected to a first end of the processor;
the comparison module is used for acquiring the reference voltage and the target voltage of the electricity storage module, generating a preset level signal based on the reference voltage and the target voltage, and sending the preset level signal to the processor;
the second end of the processor is connected with the third end of the switch module;
and the processor is used for determining that the access port is accessed with a load if the preset level signal sent by the comparison module is received.
Optionally, the comparison module is further configured to generate the preset level signal if the target voltage is less than the reference voltage, and send the preset level signal to the processor.
Optionally, the processing sub-module is further configured to determine that the access port does not access the load if it is determined that the operating parameter does not change within a preset time.
Optionally, a first pole of the power supply module is connected to a first pole of the access port through the power transmission channel, and a second pole of the power supply module and a second pole of the access port are grounded;
the access detection module is connected to the first pole of the access port through the power transmission channel.
The detection device that this application embodiment provided includes power module and inserts detection module, power module passes through the transmission of electricity passageway and connects in the access port, it connects in the access port through the transmission of electricity passageway to insert detection module, it is used for confirming whether the access port inserts and has a load based on the transmission of electricity passageway to insert detection module, because detection device's the access detection module can confirm whether the access port inserts and has a load through the transmission of electricity passageway, thereby make the inside circuit of detection device simple, avoided needing to increase extra detection channel in detection device inside like correlation technique, and need detect whether the access port inserts the condition that has a load through the detection channel, lead to the inside circuit of detection device complicated.
Drawings
Fig. 1 is a schematic structural diagram of a detection apparatus according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another detection apparatus provided in the embodiment of the present application;
FIG. 3 is a schematic diagram of a target voltage variation of an access port when no load is accessed and a load is accessed according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another detection apparatus provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a detection apparatus according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be appreciated that reference throughout this specification to "an embodiment of the present application" or "an embodiment described previously" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in the embodiments of the present application" or "in the embodiments" in various places throughout this specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
It should be noted that the two modules shown in the embodiments of the present application may be directly connected by a conductor, or may be connected by other modules, including but not limited to at least one of a filtering module, a voltage stabilizing module, a voltage transforming module, and a power amplifying module, or may be connected by way of energy coupling between the two modules, so as to realize energy exchange between the two modules.
The embodiment of the application provides a detection device, as shown in fig. 1, the detection device 1 includes a power supply module 11, and the power supply module 11 is connected to an access port 12 through a power transmission channel; the detection device 1 further comprises an access detection module 13, and the access detection module 13 is connected to the access port 12 through a power transmission channel; the access detection module 13 is configured to determine whether the access port 12 is connected to the load 2 based on the power transmission channel. The power transmission path is a path for inputting electric charge to the load 2 connected to the detection apparatus 1. In the present embodiment, the power transmission channel may be a channel directly connected between the power supply module 11 and the access port 12.
The detecting device 1 is a device for detecting whether the access port 12 is connected with the load 2. In one embodiment, the detecting device 1 may be a power supply device, and the power supply device includes a battery, and the battery may be a rechargeable battery or a non-rechargeable battery, and the battery is used as the power supply module 11 in this embodiment, and after the detecting device 1 detects that the access port 12 is connected to the load 2, the battery supplies power to the load 2 through the power transmission channel. In another embodiment, the detection device 1 may be a power adapter, and the power adapter includes a power access module, where the power access module is used as the power supply module 11 in this embodiment of the application, and the power access module is used for an external power supply, and after the detection device 1 detects that the access port 12 is accessed to the load 2, the external power supply supplies power to the load 2 through a power transmission channel.
The load 2 in this embodiment of the present application is any component consuming power, for example, the load 2 may be an electronic component such as a capacitor, a resistor, or an inductor, and may also be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a palm-top computer, a personal digital assistant, a portable media player, a navigation device, a wearable device, a smart band, a pedometer, a digital TV, or a desktop computer, and the specific type of the load 2 is not limited in this embodiment of the present application.
The access port 12 should comprise two pins, one for connecting to the positive pole of the load 2 and one for connecting to the negative pole of the load 2. In other embodiments, the access port 12 can also include at least three pins, e.g., 4, 8, 20, etc., to achieve other functions. The access port 12 may be any port for connecting a load 2, for example, the access port 12 may be a Universal Serial Bus (USB) interface, a Type-C interface, a lightning interface, a computer display interface or an adapter interface, and the like. It should be understood that in the related art, the access port 12 must include three or more pins, wherein two pins are used to connect the positive pole and the negative pole of the load 2, and at least one pin is connected to a detection module for detecting whether the access port 12 is connected to the load 2 through a detection channel. In the embodiment of the present application, the access detection module 13 may connect the two pins through the power transmission channel, and detect whether the access port 12 is connected to the load 2 through the power transmission channel, so that the access port 12 may only include two pins for connecting the positive electrode and the negative electrode of the load 2, in this way, if the access port 12 includes more than two pins, other functions may be implemented through other pins except the pin connected to the power transmission channel among the more than two pins, so that the utilization rate of the pin connected to the access port 12 may be improved, thereby facilitating the miniaturization design of the access port 12.
A first pole of the power supply module 11 is connected to a first pole of the access port 12 through a power transmission channel, and a second pole of the power supply module 11 and a second pole of the access port 12 are grounded; the access detection module 13 is connected to a first pole of the access port 12 via a power transmission channel. When the battery is used as the power supply module 11, a first pole of the power supply module 11 is a positive pole of the battery, and a second pole of the power supply module 11 is a negative pole of the battery. When the power access module is used as the power supply module 11, the first pole of the power supply module 11 is connected to the positive pole of the external power supply, and the second pole of the power supply module 11 is connected to the negative pole of the external power supply or grounded.
When the load 2 is connected to the input port of the detection device 1, the first pole of the power supply module 11 is connected to the positive pole of the load 2, and the second pole of the power supply module 11 and the second pole of the load 2 are grounded.
The detection device that this application embodiment provided includes power module and inserts detection module, power module passes through the transmission of electricity passageway and connects in the access port, it connects in the access port through the transmission of electricity passageway to insert detection module, it is used for confirming whether the access port inserts and has a load based on the transmission of electricity passageway to insert detection module, because detection device's the access detection module can confirm whether the access port inserts and has a load through the transmission of electricity passageway, thereby make the inside circuit of detection device simple, avoided needing to increase extra detection channel in detection device inside like correlation technique, and need detect whether the access port inserts the condition that has a load through the detection channel, lead to the inside circuit of detection device complicated.
Based on the foregoing embodiments, the present application provides a detection apparatus, as shown in fig. 2, the detection apparatus 1 includes a power supply module 11 and an access detection module 13.
The access detection module 13 includes an electricity storage module 131 and a processing sub-module 132. A first pole of the electric storage module 131 is connected to the access port 12 through the power transmission channel, and a second pole of the electric storage module 131 is grounded. The processing sub-module 132 is connected to the access port 12 via a power transmission channel. The processing sub-module 132 is configured to obtain a working parameter of the first pole of the power storage module 131, and determine that the access port 12 has the load 2 if the working parameter changes.
The electricity storage module 131 in the embodiment of the present application is a capacitor. In other embodiments, the power storage module 131 may also be an inductor or other element for storing electric charge, such as a rechargeable battery. The first pole of the power storage module 131 may be a positive pole of the power storage module 131, and the second pole of the power storage module 131 may be a negative pole of the power storage module 131.
The operating parameter may include at least one of current, target voltage, power, temperature, and impedance. In the embodiment of the present application, a process of detecting whether the access port 12 of the detection device 1 is connected to the load 2 is described by taking a working parameter as a target voltage as an example, it should be understood that, when the working parameter is a current, a power, a temperature, or an impedance, a process of determining whether the access port is connected to the load 2 is similar to that when the working parameter is the target voltage, and details of the process are not described in this embodiment of the present application.
The variation of the working parameter may be a periodic variation of the working parameter or a non-periodic variation of the working parameter. The operating parameter may be gradually changed or may be a jumpy change, which is not limited herein, and as long as the operating parameter changes and the change of the operating parameter satisfies a preset condition, it may be determined that the access port 12 is connected to the load 2. The change of the working parameter meets the preset condition, and the change value of the working parameter can be larger than the preset value within the preset time.
The processing sub-module 132 is further configured to obtain a preset parameter, and determine that the access port 12 is connected to the load 2 if the working parameter is smaller than the preset parameter. The operating parameter includes a target voltage and the preset parameter includes a reference voltage. For example, when the preset parameter is the target voltage, the processing sub-module 132 determines that the access port 12 is connected to the load 2 when the obtained target voltage is smaller than the reference voltage. In one embodiment, the processing sub-module 132 determines that the access port 12 is connected to the load 2 whenever the obtained target voltage is less than the reference voltage. In another embodiment, when the number of times that the target voltage is less than the reference voltage is greater than the preset number of times, the processing sub-module 132 determines that the access port 12 is connected to the load 2, and in this way, it is avoided that when the access port 12 contacts an impurity, the voltage of the first pole of the electricity storage module 131 changes, so that a misjudgment is caused. The preset number of times can be selected according to actual conditions, for example, two times, three times or four times.
The detection device 1 further comprises a switch module 14, a first end of the switch module 14 is connected to the power supply module 11, a second end of the switch module 14 is connected to the access port 12, and a third end of the switch module 14 is connected to the processing submodule 132; the switch module 14 is periodically closed or opened; the processing submodule 132 is used to periodically close or open the switching module 14. The switch module 14 may be a PMOS switch or an NMOS switch.
In one embodiment, the third terminal of the switch module 14 is connected to the processing sub-module 132 through the modulation module 15; the modulation module 15 is used for periodically closing or opening the switch module 14; the processing sub-module 132 is further configured to control the modulation module 15 to operate. The modulation module 15 is configured to output a periodic preset voltage, and output the preset voltage to a third end of the switch module 14, so that the switch module 14 is turned on when receiving the preset voltage output by the processing submodule 132, and is turned off when not receiving the preset voltage output by the processing submodule 132.
In another embodiment, the third terminal of the switch module 14 may be directly connected to the first terminal of the modulation module 15, and the second terminal of the modulation module 15 may be connected to the power supply module 11, so that the power supply module 11 may directly supply power to the modulation module 15, and the modulation module 15 outputs the periodic preset voltage to the third terminal of the switch module 14. In this case, since the period of the closing or opening of the switch is not controlled by the processing sub-module 132, the consumption of the processing sub-module 132 can be reduced.
In yet another embodiment, the processing submodule 132 may be directly connected to the third terminal of the switching module 14 without passing through the modulation module 15, in which case the processing submodule 132 periodically outputs the preset voltage to the third terminal of the switching module 14, so that the switching module 14 is closed when receiving the preset voltage output by the processing submodule 132 and is opened when not receiving the preset voltage output by the processing submodule 132.
The period of the switch module 14 being closed or opened may be constant. Alternatively, the period of the switch module 14 being closed or opened may also be changed according to actual conditions, for example, the processing sub-module 132 may determine that the probability that the access port 12 is connected to the load 2 is smaller when determining that the detection apparatus 1 is in the moving state, and may control the switch module 14 to be closed or opened in the first period; when it is determined that the sensing device is in the quiescent state, the switch module 14 may be controlled to be closed or opened for a second period. Wherein the first period is less than the second period. Alternatively, the processing sub-module 132 may control the switch module 14 to be turned on or off at a first cycle when it is determined that the current time belongs to the first time range, and control the switch module 14 to be turned on or off at a second cycle when it is determined that the current time belongs to the second time range. The first time range is, for example, zero to twelve o 'clock during a day, and the second time range is, for example, twelve to twenty-four o' clock during a day. Of course, the first time range and the second time range may be selected according to actual situations, and are not limited herein.
The power supply module 11 is used for charging the power storage module 131 and the load 2 when the access port 12 is accessed with the load 2 and the switch module 14 is closed; the power storage module 131 is used to charge the load 2 when the switch module 14 is open.
As shown in fig. 3, the waveform M is a variation of the voltage at the third terminal of the switch module 14 with time, when the voltage at the third terminal of the switch module 14 is U1, the switch module 14 is in a closed state, and when the voltage at the third terminal of the switch module 14 is U2, the switch module 14 is in an open state; the waveform N is a change of the target voltage of the first pole of the power storage module 131 with time based on whether the access port 12 is connected to the load and the switch module 14 is closed or opened. As can be seen from fig. 3, the switch module 14 is always closed or opened with a preset period T, regardless of whether the access port 12 is connected with a load or not.
In the time period from T0 to T1, the access port 12 is not connected to the load 2, and as can be seen from the waveform M, the switch module 14 is turned on or off at the preset period T, and as can be seen from the waveform N, the voltage of the first pole of the electric storage module 131 is kept constant. The voltage of the first pole of the power storage module 131 may be related to the voltage that the power supply module 11 can provide. For example, in the embodiment of the present application, when the power supply module 11 provides the voltage U3, the voltage of the first pole of the power storage module 131 is also U3. In other embodiments, the voltage of the first pole of the power storage module 131 may also be less than or greater than the voltage provided by the power supply module 11. It should be noted that fig. 3 is only for illustrating the relationship between the change of the target voltage and the closing and opening of the switch module 14, and does not limit the sizes of U1, U2, and U3. In one possible embodiment, the voltage value of U3 may be the same as the predetermined voltage.
In the time period T1 to T2, the access port 12 is connected to the load 2, and as can be seen from the waveform M, the switch module 14 is still closed or opened with the preset period T. As can be seen from the waveform N, when the switch is turned off, since there is also an electrical connection between the power storage module 131 and the load 2, the power storage module 131 supplies power to the load 2, so that the voltage of the first pole of the power storage module 131 gradually decreases; when the switch is closed, since there is an electrical coupling between the first pole of the power supply module 11 and the first pole of the power storage module 131, there is an electrical coupling between the first pole of the power supply module 11 and the positive electrode of the load 2, and the power supply module 11 not only supplies power to the power storage module 131, but also supplies power to the load 2, so that the voltage of the first pole of the power storage module 131 gradually increases. Therefore, in the period from t1 to t2, the load 2 is connected to the access port 12, and the switch module 14 is periodically closed or opened, so that the power storage module 131 is in the process of periodically charging and discharging, and the voltage of the first pole of the power storage module 131 is periodically changed.
In addition, the processing sub-module 132 is further configured to determine that the access port 12 does not access the load 2 if it is determined that the operating parameter has not changed within the preset time. With reference to fig. 3, in the period from T2 to T3, the access port 12 is not connected to the load 2, and as can be seen from the waveform M, the switch module 14 is still closed or opened at the preset period T, and as the load 2 is not connected to the access port 12, the power storage module 131 cannot supply power to the load 2, so that the target voltage of the first pole of the power storage module 131 is constant, that is, as can be seen from the waveform N, the target voltage is maintained at U3.
It should be noted that, for the description of the same contents in this embodiment as those in other embodiments, reference may be made to the description in other embodiments, and details are not repeated here.
The detection device that this application embodiment provided includes power module and inserts detection module, power module passes through the transmission of electricity passageway and connects in the access port, it connects in the access port through the transmission of electricity passageway to insert detection module, it is used for confirming whether the access port inserts and has a load based on the transmission of electricity passageway to insert detection module, because detection device's the access detection module can confirm whether the access port inserts and has a load through the transmission of electricity passageway, thereby make the inside circuit of detection device simple, avoided needing to increase extra detection channel in detection device inside like correlation technique, and need detect whether the access port inserts the condition that has a load through the detection channel, lead to the inside circuit of detection device complicated. In addition, the first end of the switch module is connected to the power supply module, the second end of the switch module is connected to the access port, the third end of the switch module is connected to the processing sub-module, and the switch module is periodically switched on or switched off, so that the working parameters of the first pole of the power storage module are periodically changed, and whether the access port is connected with a load or not can be determined by detecting the working parameters of the first pole of the power storage module.
Based on the foregoing embodiments, the present application provides a detection apparatus, and as shown in fig. 4, the detection apparatus 1 includes a power supply module 11, an access detection module 13, an electricity storage module 131, a processing sub-module 132, a switch module 14, and a modulation module 15.
The processing submodule 132 includes a comparing module 1321 and a processor 1322.
The processor 1322 controls the modulation module 15 to operate, so that the modulation module 15 outputs a periodic preset voltage. In one embodiment, the processor 1322 may control only the modulation module 15 to operate, the modulation module 15 has already set the preset period, and the processor 1322 operates to make the modulation module 15 output the preset voltage with no period change through the modulation module 15. In another embodiment, the processor 1322 may further change a period of the preset voltage output by the modulation module 15, so that the preset voltage with a changed period is output by the modulation module 15. The Modulation module 15 may be a Modulation circuit for outputting a Pulse Width Modulation (PWM) signal.
A first input end of the comparison module 1321 is connected to the access port 12 through a power transmission channel, a second input end of the comparison module 1321 is externally connected with a reference voltage, and an output end of the comparison module 1321 is connected to a first end of the processor 1322; the comparing module 1321 is configured to obtain the reference voltage and the target voltage of the power storage module 131, generate a preset level signal based on the reference voltage and the target voltage, and send the preset level signal to the processor 1322. A second terminal of the processor 1322 is connected to a third terminal of the switch module 14; the processor 1322 is configured to determine that the access port 12 is connected to the load 2 if the preset level signal sent by the comparing module 1321 is received. The reference voltage may be represented by U4.
The comparing module 1321 is further configured to generate a preset level signal if the target voltage is less than the reference voltage, and send the preset level signal to the processor 1322.
The comparing module 1321 in the embodiment of the present application is a comparator. The comparator is used for comparing the reference voltage with the target voltage. The preset level signal may be a high level signal or a low level signal. In one embodiment, when the comparing module 1321 determines that the target voltage is greater than the reference voltage, a high level signal may be output to the processor 1322, and the processor 1322 determines that the access port 12 is connected to the load 2 based on the high level signal after receiving the high level signal. The processor 1322 may determine that the access port 12 is connected to the load 2 after receiving one high level signal, or the processor 1322 may determine that the access port 12 is connected to the load 2 after receiving two, three, or four high level signals. In another embodiment, when the comparing module 1321 determines that the target voltage is greater than the reference voltage, a low level signal may be output to the processor 1322, and the processor 1322 determines that the access port 12 is connected to the load 2 based on the low level signal after receiving the low level signal.
In the embodiment of the present application, the detection apparatus 1 may further include a memory (not shown), wherein the memory stores a computer program, and the memory is electrically connected to the processor 1322. In one embodiment, the processor 1322 is configured to call a first computer program stored in the memory to implement the step of determining that the access port 12 is connected to the load 2 if the predetermined level signal sent by the comparing module 1321 is received. In another embodiment, the processor 1322 is configured to call a second computer program stored in the memory to implement the step of determining that the access port 12 has the load 2 if a predetermined level signal periodically transmitted by the comparing module 1321 is received.
To more clearly illustrate the connection relationship between each module and the electronic component, please refer to fig. 5, a first pole of the power supply module 11 is connected to a first end of the MOS switch K, a second end of the MOS switch is connected to an access port 12 for connecting to a positive pole of the load 2, and the access port 12 for connecting to a negative pole of the load 2 is grounded. A first pole of the capacitor C is connected to an access port 12 for accessing the positive pole of the load 2 through a power transmission channel, and a second pole of the capacitor C is grounded. The first input end of the comparator a is connected to the access port 12 for accessing the positive pole of the load 2 through the power transmission channel, the negative input end of the comparator a is externally connected with a reference voltage, wherein the reference voltage can be provided by the power supply module 11 through the voltage transformation circuit, and the output end of the comparator a is connected to the first end of the processor 1322. The second terminal of the processor 1322 is connected to the third terminal of the MOS switch K through the modulation module 15. The reference voltage may be represented by U4.
It should be noted that, for the descriptions of the same contents in this embodiment as in the other embodiments, reference may be made to the descriptions in the other embodiments, and details are not described here again.
The detection device that this application embodiment provided includes power module and inserts detection module, power module passes through the transmission of electricity passageway and connects in the access port, it connects in the access port through the transmission of electricity passageway to insert detection module, it is used for confirming whether the access port inserts and has a load based on the transmission of electricity passageway to insert detection module, because detection device's the access detection module can confirm whether the access port inserts and has a load through the transmission of electricity passageway, thereby make the inside circuit of detection device simple, avoided needing to increase extra detection channel in detection device inside like correlation technique, and need detect whether the access port inserts the condition that has a load through the detection channel, lead to the inside circuit of detection device complicated. In addition, if the comparison module determines that the target voltage is smaller than the reference voltage to generate a preset level signal, the preset level signal is sent to the processor, so that the processor determines that the access port is connected with the load according to the preset level, and the method for determining whether the access port is connected with the load by the detection device is simple.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above-described processor function may be other electronic devices, and the embodiments of the present application are not limited in particular.
The computer storage medium/Memory may be a Memory such as a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, if an element is defined by the phrase "comprising an … …," then that does not exclude the presence of other identical elements in the processes, methods, articles, or apparatus that comprise the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (8)

1. A detection device, comprising:
the power supply module is connected to the access port through the power transmission channel;
a first pole of the electricity storage module is connected to the access port through the power transmission channel, and a second pole of the electricity storage module is grounded;
the processing sub-module is connected to the access port through the power transmission channel;
the processing submodule is used for enabling the switch module to be periodically switched on or switched off, acquiring preset parameters and working parameters of a first pole of the power storage module, and determining that the access port is connected with a load if the times that the working parameters are smaller than the preset parameters are larger than preset times; wherein the operating parameter varies periodically as the switch module is periodically closed or opened.
2. The apparatus of claim 1, the apparatus further comprising:
and the first end of the switch module is connected with the power supply module, the second end of the switch module is connected with the access port, and the third end of the switch module is connected with the processing submodule.
3. The apparatus of claim 2, wherein,
the third end of the switch module is connected to the processing submodule through a modulation module; wherein the modulation module is used for enabling the switch module to be closed or opened periodically;
and the processing submodule is also used for controlling the modulation module to work.
4. The apparatus of claim 2, wherein,
the power supply module is used for charging the power storage module and the load when the access port is connected with the load and the switch module is closed;
and the power storage module is used for charging the load when the switch module is switched off.
5. The apparatus of any one of claims 2 to 4, the operating parameter comprising a target voltage, the preset parameter comprising a reference voltage; the processing submodule comprises:
a first input end of the comparison module is connected to the access port through the power transmission channel, a second input end of the comparison module is externally connected with a reference voltage, and an output end of the comparison module is connected to a first end of the processor;
the comparison module is used for acquiring the reference voltage and the target voltage of the power storage module, generating a preset level signal based on the reference voltage and the target voltage, and sending the preset level signal to the processor;
the second end of the processor is connected with the third end of the switch module;
and the processor is used for determining that the access port is connected with a load if the preset level signal sent by the comparison module is received.
6. The apparatus of claim 5, wherein,
the comparison module is further configured to generate the preset level signal if the target voltage is less than the reference voltage, and send the preset level signal to the processor.
7. The apparatus of claim 1, wherein,
the processing submodule is further configured to determine that the access port does not access the load if it is determined that the working parameter does not change within a preset time.
8. The apparatus of claim 1, wherein,
and the first pole of the power supply module is connected with the first pole of the access port through the power transmission channel, and the second pole of the power supply module and the second pole of the access port are grounded.
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 CN109995107A (en) 2019-07-09
CN109995107B true 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)

Families Citing this family (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 (3)

* 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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111211609B (en) * 2016-02-05 2021-06-25 Oppo广东移动通信有限公司 Charging method, adapter and mobile terminal

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN109995107A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
EP3733436A1 (en) Battery management device and method
CN105518967B (en) Apparatus and method for changing current limit
CN114094649B (en) Data line integrated with capacitive load access identification device and identification method and system
KR20090004525A (en) Over-voltage protected battery charger with bypass
EP2619843B1 (en) Providing power to a component
CN105075061A (en) Power feeding apparatus for solar cell, and solar cell system
JP6053280B2 (en) Charging circuit and electronic device using the same
US20130257356A1 (en) Electronic device having charging current setting unit and charging method
CN117458668B (en) Battery protection circuit, battery protection board and electronic equipment
WO2021018272A1 (en) Charging/discharging protection circuit, terminal device, and battery discharging control method
CN111969685A (en) Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
CN109995107B (en) Detection device
EP3500907B1 (en) Charging optimization
US8643991B2 (en) System for monitoring over voltage protection of battery pack and method thereof
US10965137B2 (en) Charging device and charging method thereof
JP2017207946A (en) Slew rate controller, semiconductor device, and electronic apparatus
CN111614138B (en) Interface protection circuit and electronic equipment
KR102600369B1 (en) Smart battery device and operation method thereof
CN212063521U (en) Load access recognition device and charging device
KR20070109084A (en) Battery pack
CN115378056A (en) Battery type identification method and identification device
CN114089802B (en) Power supply circuit, terminal device and voltage control method
CN116742106B (en) Battery module, charging control method and electronic equipment
CN112771751A (en) Charging method, charging device, mobile terminal and computer-readable storage medium
CN116667472B (en) Charging method and device

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