CN113113960A - Short-circuit protection method in charging process and charger - Google Patents

Short-circuit protection method in charging process and charger Download PDF

Info

Publication number
CN113113960A
CN113113960A CN202010845523.1A CN202010845523A CN113113960A CN 113113960 A CN113113960 A CN 113113960A CN 202010845523 A CN202010845523 A CN 202010845523A CN 113113960 A CN113113960 A CN 113113960A
Authority
CN
China
Prior art keywords
charger
voltage
preset
output
charged
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.)
Pending
Application number
CN202010845523.1A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Publication of CN113113960A publication Critical patent/CN113113960A/en
Pending legal-status Critical Current

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/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect 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/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

Landscapes

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

Abstract

The embodiment of the application relates to the technical field of short-circuit protection, and discloses a short-circuit protection method and a charger in a charging process, wherein the method comprises the following steps: controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge the first charged equipment when the charger is connected to the first charged equipment; when the charger is detected to output the charging current, the charger is controlled to output a preset second voltage and whether the charger is short-circuited is detected, and the preset second voltage is smaller than a first minimum charging voltage for charging the first charged equipment; and if the charger is detected not to have short circuit, controlling the charger to output the preset first voltage again to charge the first charged equipment. By implementing the short-circuit protection method and the charger in the charging process disclosed by the embodiment of the application, the short-circuit phenomenon in the charging process of the electronic equipment can be avoided, so that the safety of the charging process of the electronic equipment is improved.

Description

Short-circuit protection method in charging process and charger
Technical Field
The application relates to the technical field of short-circuit protection, in particular to a short-circuit protection method and a charger in a charging process.
Background
With the continuous increase of the dependence of people on the electronic devices, the frequency of using the electronic devices by users is higher and higher, so that the users need to frequently charge the electronic devices.
In practice, it is found that aging, damage and the like of the charger due to frequent charging may cause the charger to generate a short circuit in the charging process of the electronic device, and may cause the device to be damaged if the charger is not used, or cause a fire if the charger is used, thereby being not beneficial to improving the safety of the charging process of the charger on the electronic device.
Disclosure of Invention
The embodiment of the application discloses a short-circuit protection method and a charger in a charging process, which can avoid the short-circuit phenomenon in the charging process of electronic equipment, so that the safety of the charging process of the electronic equipment is improved.
A first aspect of an embodiment of the present application discloses a short-circuit protection method in a charging process, including:
controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge a first charged device when the charger is connected to the first charged device;
when the charger is detected to output the charging current, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit, wherein the preset second voltage is smaller than a first lowest charging voltage for charging the first charged equipment;
and if the short circuit of the charger is detected not to exist, controlling the charger to output the preset first voltage again to charge the first charged equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present application, after controlling the charger to output the preset first voltage again to charge the first device to be charged, the method further includes:
if the first charged device is detected to be disconnected from the charger, controlling the voltage output by the charger to be switched from the preset first voltage to the preset second voltage;
or if the first charged device is detected to be disconnected from the charger, the charger is prohibited from outputting the preset first voltage.
As an optional implementation manner, in the first aspect of the embodiment of the present application, after the detecting that the first device to be charged is disconnected from the charger, the method further includes:
if the fact that a second charged device is connected to the charger is detected, determining a preset third voltage according to a second lowest charging voltage when the second charged device is charged, wherein the preset third voltage is smaller than the second lowest charging voltage;
and controlling the voltage output by the charger to be switched from the preset first voltage to the preset third voltage.
As an optional implementation manner, in the first aspect of the embodiments of the present application, when it is detected that the charger outputs the charging current, the controlling the charger to output a preset second voltage and detecting whether there is a short circuit of the charger includes:
acquiring a target humidity value inside the charger through a humidity sensor arranged inside the charger;
judging whether the target humidity value is within a preset humidity range or not;
and if the target humidity value is within the preset humidity range, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining to detect whether there is a short circuit in the charger includes:
acquiring the output current of the charger according to the preset second voltage, and judging whether the output current is smaller than a preset current threshold value within a preset first time period;
if the output current is smaller than a preset current threshold value within a preset first time period, determining that the charger is not short-circuited;
and if the moment that the output current is greater than or equal to the preset current threshold value exists in the first time period, determining that the short circuit exists in the charger.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining to detect whether there is a short circuit in the charger includes:
acquiring the temperature of the charger according to the preset second voltage, and judging whether the temperature of the charger is lower than a preset temperature threshold value within a preset second time period;
if the temperature of the charger is lower than a preset temperature threshold value within a preset second time period, determining that the charger is not short-circuited;
and if the moment that the temperature of the charger is greater than or equal to the preset temperature threshold value exists in the second time length, determining that the charger has a short circuit.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the method further includes:
and if the short circuit of the charger is detected, the output voltage of the charger is forbidden.
As an optional implementation manner, in the first aspect of this embodiment of the present application, after the disabling of the output voltage of the charger, the method further includes:
after a preset waiting time interval, controlling the charger to output the preset second voltage again and detecting whether the charger has a short circuit;
if the short circuit of the charger is detected, the output voltage of the charger is forbidden;
and if the short circuit of the charger is detected not to exist, controlling the charger to output the preset first voltage to charge the charged equipment.
As an optional implementation manner, in the first aspect of this embodiment of the present application, after the disabling of the output voltage of the charger, the method further includes:
and if the charger is detected to be reset after power failure, controlling the charger to output the preset first voltage again, and executing the steps of controlling the charger to output the preset second voltage and detecting whether the charger has a short circuit or not when the charger is detected to output the charging current.
A second aspect of an embodiment of the present application discloses a charger, which at least includes: control module and current detection resistance, control module with current detection resistance electricity is connected, wherein:
the control module is used for controlling the charger to output a preset first voltage, and the preset first voltage is used for enabling the charger to output a charging current to charge the charged device when the charger is connected to the charged device;
the control module is further configured to control the charger to output a preset second voltage when it is detected that the charger outputs the charging current, where the preset second voltage is less than a lowest charging voltage for charging the device to be charged;
the current detection resistor is used for detecting the output current of the charger according to a preset second voltage when the charger outputs the second voltage, and the output current is used for judging whether the charger has a short circuit or not by the control module according to the output current;
the control module is further configured to control the charger to output the preset first voltage again to charge the charged device when it is determined that the short circuit does not exist in the charger according to the output current.
A third aspect of the embodiments of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the short-circuit protection method in the charging process disclosed in the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute a short-circuit protection method in a charging process disclosed in the first aspect of the embodiments of the present application.
A fifth aspect of embodiments of the present application discloses a computer program product, which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect of embodiments of the present application.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform part or all of the steps of any one of the methods in the first aspect of the present embodiment.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, the charger can output a first voltage which can charge the charged device by default, and the first voltage can enable the charger to output a charging current to charge the charged device when the charger is connected to the charged device, so on the basis that the charger outputs the first voltage, the short-circuit protection device can judge whether the charged device is connected by judging whether the charger outputs the charging current to the charged device, and further can output a second voltage when the charged device is connected, and because the second voltage does not reach the lowest voltage for charging the charged device, the charger can not charge the charged device, thereby forming a charging protection period, the charger can carry out self-check of short circuit during the protection period, and when the charger is determined not to have short circuit, the charger is controlled to output the preset first voltage again to charge the charged device, therefore, the device damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic device in the charging process is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a charger disclosed in an embodiment of the present application;
fig. 2 is a schematic flowchart of a short-circuit protection method in a charging process according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another short-circuit protection method in a charging process disclosed in an embodiment of the present application;
fig. 4 is a schematic flowchart of a short-circuit protection method in a charging process according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a short-circuit protection device in a charging process according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another short-circuit protection device in a charging process disclosed in the embodiment of the present application;
fig. 7 is a schematic diagram of an internal circuit of a charger according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device disclosed in an 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first", "second", "third" and "fourth", etc. in the description and claims of the present application are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a short-circuit protection method and a charger in a charging process, which can avoid the short-circuit phenomenon in the charging process of electronic equipment, so that the safety of the charging process of the electronic equipment is improved.
The technical solution of the present application will be described in detail with reference to specific examples.
In order to more clearly illustrate a short-circuit protection method disclosed in the embodiments of the present application, a charger suitable for the short-circuit protection method is first introduced (alternatively, the charger may include a charging head, a socket, and the like, and is not limited herein). As shown in fig. 1, fig. 1 is a schematic structural diagram of a charger disclosed in an embodiment of the present application; the charger may include: a control module 101 (for example, a control chip, a single chip, and other devices with logic calculation and logic control capabilities, which are used to control the charger to output different voltages and perform short circuit detection, charged device access detection, and the like, but not limited thereto), a switch 102 (for example, a MOS transistor, a triode, and the like, which are used to implement on and off of the output voltage of the charger), and a current detection resistor 103 (for example, a current sensing resistor, which is used to detect the current of the internal circuit of the charger); the control module 101 may be electrically connected to the switch 102 and the current detection resistor 103, respectively.
Optionally, the charger may further include a temperature detection resistor 104 (e.g., a common thermal resistor, an end face thermal resistor, etc., which is used to detect the temperature of the charger), and the temperature detection resistor 104 is electrically connected to the control module 101.
It should be noted that: the charger can simultaneously comprise a current detection resistor 103 and a temperature detection resistor 104, so that whether the charger is short-circuited or not can be judged by the feedback of the current and the temperature of the internal circuit of the charger, and the accuracy of short-circuit judgment is improved; alternatively, the charger may include only one of the current detection resistor 103 or the temperature detection resistor 104 to save the internal space of the charger.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a short-circuit protection method in a charging process according to an embodiment of the present disclosure, where the short-circuit protection method can be applied to the control module, and the short-circuit protection method can include the following steps:
202. and controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge the first charged equipment when the charger is connected to the first charged equipment.
In the embodiment of the present application, the charger may include a charging device such as a charging head or a power strip, and an ac/dc conversion device may be disposed inside the charger to convert ac power output by the power supply into dc power suitable for an electronic device (i.e., a device to be charged). Therefore, when the charger is connected with the power supply but not connected with the charged device (for example, an electronic device such as a mobile phone, a tablet, a smart watch and the like), the control module can control the alternating current-direct current conversion device to convert the alternating current output by the power supply into a preset first voltage and output the preset first voltage.
Optionally, the preset first voltage may be equal to or greater than the lowest charging voltage of the first charged device (e.g., a rated charging voltage of the charged device, a fast charging voltage of the charged device, etc., which is not limited herein).
204. And when the charger is detected to output the charging current, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit, wherein the preset second voltage is smaller than a first lowest charging voltage for charging the first charged equipment.
In this embodiment of the application, since the preset first voltage output by the charger by default may output the charging current to the first device to be charged when the first device to be charged is charged, the charger may determine whether the device to be charged is accessed by detecting whether the charging current is output to the first device to be charged. That is to say, when the control module detects that the charger outputs the charging current, the control module determines that the charged device is connected to the charger, and at this time, in order to avoid the charger from generating a short circuit when charging the first charged device and causing the first charged device to be damaged, the control module may control the voltage output by the charger to be switched from the preset first voltage to the preset second voltage (optionally, the preset second voltage is less than the preset first voltage) so as to avoid the short circuit from causing the charged device to be damaged.
It should be noted that the preset second voltage may be smaller than a first lowest charging voltage for charging the first device to be charged (for example, the first lowest charging voltage of the first device to be charged is 3V, the preset second voltage may be set to 2.5V, 2V, and the like), and the setting of the preset second voltage to be smaller than the first lowest charging voltage for charging the first device to be charged is that the first device to be charged is charged when the charging voltage that the first device to be charged usually needs to be input reaches a certain voltage threshold (that is, the first lowest charging voltage), so when the preset second voltage is set to be smaller than the first lowest charging voltage of the first device to be charged, the charger does not charge the first device to be charged; therefore, by utilizing the characteristic that the charger does not charge the first charged device when outputting low voltage, the charger can form a charging protection period in the process of charging the first charged device, and then the control module can utilize the protection period to perform self-detection of short circuit on the charger, so as to avoid accidents caused by charging by using the short-circuited charger.
It needs to be further explained that: the charger can be internally provided with a transformer or a transformation device such as a transformation circuit, so that the control module can adjust the voltage generated by the alternating current-direct current conversion device through the transformation device. Therefore, optionally, the control module may control the voltage transformation device to switch the voltage output by the charger from a preset first voltage to a preset second voltage through the control line.
In this embodiment, when the control module detects that the first device to be charged is connected to the charger, the control module may determine whether the charger is short-circuited according to a current value generated by a preset second voltage applied to an internal circuit of the charger. It should be noted that: although the charger outputs the preset second voltage to be incapable of charging the first charged device, a certain amount of current is generated when the preset second voltage is applied to an internal circuit of the charger, so that the control module can determine whether the charger is short-circuited by judging whether the current exceeds a normal current threshold value.
As an optional implementation manner, when it is detected that the charger outputs the charging current, the control module may control the charger to output a preset second voltage, obtain the output current of the charger according to the preset second voltage, and determine whether the output current is less than a preset current threshold within a preset first time period; if the output current is smaller than a preset current threshold value within a preset first time period, the control module determines that the charger is not short-circuited; and if the moment that the output current is greater than or equal to the preset current threshold value exists in the first time period, the control module determines that the charger has a short circuit.
It should be noted that the preset current threshold may be set by a developer according to a large amount of development data, and represents the current of the internal circuit of the charger, and a critical value between the short-circuit state and the non-short-circuit state, and typical values thereof may include: 200mA, 300mA, etc., without limitation; the preset first time period may be any period of time in the process of the charger to the charged device.
Optionally, the internal circuit of the charger may be provided with a current detection resistor, and the control module may obtain the output current of the charger by detecting a voltage difference (i.e., a preset second voltage) at two ends of the current detection resistor (where the output current may be equal to a voltage difference at two ends of the current detection resistor divided by a resistance value of the current detection resistor).
By implementing the method, the control module can judge whether the charger is short-circuited or not through the current value fed back by the current detection resistor, and the method for judging the short-circuit through the current value is simple due to the low price of the current detection resistor, so that the cost of the charger is reduced, and the implementation difficulty of the short-circuit protection method is also reduced.
206. And if the short circuit of the charger is detected, controlling the charger to output the preset first voltage again to charge the first charged equipment.
In the embodiment of the application, when the control module detects that the short circuit does not exist in the charger, the charger can be normally used, and at the moment, the control module controls the charger to output the preset first voltage again to charge the first charged device, so that the situation of short circuit in the subsequent charging process can be reduced, and the safety of the charging process is improved.
As an optional implementation manner, when the charger is connected to the power supply but not connected to the first device to be charged, the preset first voltage that the control module may control the charger to output may include a first minimum charging voltage of the first device to be charged (where, because the charger can output a charging current to the first device to be charged as long as the first minimum charging voltage of the first device to be charged is output, and the subsequent control module may detect whether the device to be charged is connected to the charger as long as the charging current is output; furthermore, since the first minimum charging voltage is a minimum voltage at which the charger can output a charging current, it may reduce power consumption of the charger by keeping outputting the first minimum charging voltage before determining that the charger has no short circuit); when the charger is detected not to have a short circuit, the control module can control the charger to output the rated charging voltage of the first charged device, or the control module can control the charger to output the quick charging voltage of the first charged device, and as the voltage of the rated charging voltage or the quick charging voltage is obviously higher than the lowest charging voltage, the subsequent charging efficiency can be improved.
By implementing the method disclosed in the above embodiments, the charger may default to output the first voltage for charging the device to be charged, and the first voltage may enable the charger to output the charging current for charging the device to be charged when the charger is connected to the device to be charged, so that on the basis that the charger outputs the first voltage, the short-circuit protection device may determine whether the device to be charged is connected by whether the charger outputs the charging current to the device to be charged, and may further output the second voltage when the device to be charged is connected, and since the second voltage does not reach the minimum voltage for charging the device to be charged, the charger may not charge the device to be charged, thereby forming a charging protection period, and during the protection period, the charger may perform self-check for short circuit, and when it is determined that the charger does not have a short circuit, the charger may be controlled to re-output the preset first voltage for charging the device to be charged, therefore, the device damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic device in the charging process is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another short-circuit protection method in a charging process disclosed in the embodiment of the present application, where the short-circuit protection method can be applied to the control module, and the short-circuit protection method can include the following steps:
302. and controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge the first charged equipment when the charger is connected to the first charged equipment.
304. When the charger is detected to output the charging current, the charger is controlled to output a preset second voltage and whether the charger is short-circuited is detected, and the preset second voltage is smaller than a first lowest charging voltage for charging the first charged equipment.
In the embodiment of the present application, the lowest charging voltages of different types of charged devices may be different (optionally, the lowest charging voltages of different types of charged devices may be obtained through identification information (e.g., a production code, a product name, etc.) or a specification of the charged device), so that when different charged devices are charged, the preset second voltage output by the charger may also be different. Optionally, the preset second voltage output by the charger may be set by a developer according to the lowest charging voltage of the device to be charged, or may be adjusted by the charger according to an input control instruction, which is not limited herein.
Optionally, the charger may be provided with an identification module (e.g., a barcode scanner, a two-dimensional code scanner, or a camera), and the charger may identify the identification information of the charged device through the identification module, determine the lowest charging voltage of the charged device according to the identification information, and determine the preset second charging voltage according to the lowest charging voltage of the charged device.
Optionally, the charger may be provided with an adjusting button outside, the adjusting button may be in communication connection with the control module inside the charger, and then when the adjusting button is touched, the adjusting button may send a voltage control signal to the control module, and the control module may adjust the magnitude of the preset second voltage output by the charger according to the received voltage control signal. That is, the preset second voltage may be obtained by an adjustment command of an external adjustment button, and the adjustment command is matched with the lowest charging voltage of the charged device.
By implementing the method disclosed by each embodiment, the preset second voltage lower than the lowest charging voltage of the charged device can be more accurately determined, so that the charged device is not charged by the charger before the charged device is connected to the charger and the charger does not perform short-circuit self-detection, and short-circuit protection of the charged device is realized.
As an optional implementation manner, the control module may further acquire a target humidity value inside the charger through a humidity sensor built in the charger; judging whether the target humidity value is in a preset humidity range (the humidity range represents that the interior of the charger is in a humid state, and the specific value can be set by developers according to a large amount of development data without limitation); if the target humidity value is within the preset humidity range, the control module can control the charger to output a preset second voltage and detect whether the charger is short-circuited.
In practice, it is found that a wet environment easily causes a circuit short circuit, so that by implementing the method, before a charged device is connected to a charger, whether the inside of the charger is wet or not can be judged through data collected by a humidity sensor, and then short circuit detection can be performed when the inside of the charger is wet, so that the safety of a subsequent charging process is ensured.
306. And if the short circuit of the charger is detected, controlling the charger to output the preset first voltage again to charge the first charged equipment.
308. And if the first charged device is detected to be disconnected from the charger, controlling the voltage output by the charger to be switched from the preset first voltage to the preset second voltage.
In the embodiment of the application, when the control module detects that the short circuit does not exist in the charger, the control module controls the charger to output the preset first voltage again to charge the first device to be charged, that is, the charging current is output to the first device to be charged at the time. Alternatively, the control module may determine that the first device to be charged is disconnected from the charger when detecting that the charging current output according to the preset first voltage is not output to the first device to be charged.
After the first charged device is determined to be disconnected from the charger, the control module may control the voltage output by the charger to be switched from the preset first voltage to the preset second voltage (i.e., the low voltage that does not charge the first charged device), so that the short circuit phenomenon caused by the fact that the charger directly charges the charged device when the charged device is connected again next time can be avoided.
In other optional embodiments, the detection module may further prohibit the charger from outputting the preset first voltage when detecting that the first charged device is disconnected from the charger.
It should be noted that: the internal circuitry of the charger may be provided with a switch (e.g., a MOS transistor, a transistor, etc.) that is on by default so that the charger can output a voltage to the device being charged. And when the detection module detects that the first charged device is disconnected from the charger, the detection module can control the switch to be turned off, so that the charger is prohibited from outputting a preset first voltage to the first charged device, and the charger or the charged device is prevented from being damaged due to short circuit of the device.
As an optional implementation manner, after detecting that the first charged device is disconnected from the charger, if detecting that the second charged device is connected to the charger, the control module may determine a preset third voltage according to a second lowest charging voltage when the second charged device is charged, where the preset third voltage is less than the second lowest charging voltage; and then the control module can control the voltage output by the charger to be switched from the preset first voltage to the preset third voltage, so that when the second charged equipment is connected into the charger, the charger directly charges the second charged equipment to generate a short circuit phenomenon.
Due to the fact that the lowest charging voltages of different charged devices are different, the charging protection voltages of the different charged devices are also different, and by implementing the method, the control module can also determine the charging protection voltages suitable for the other charged devices according to the lowest charging voltages of the other charged devices when the charger is connected to the other charged devices, and therefore the charger can be guaranteed not to charge the other charged devices before short circuit self-detection is carried out, and the effect of charging protection is achieved.
By implementing the method disclosed in the above embodiments, the charger may default to output the first voltage for charging the device to be charged, and the first voltage may enable the charger to output the charging current for charging the device to be charged when the charger is connected to the device to be charged, so that on the basis that the charger outputs the first voltage, the short-circuit protection device may determine whether the device to be charged is connected by whether the charger outputs the charging current to the device to be charged, and may further output the second voltage when the device to be charged is connected, and since the second voltage does not reach the minimum voltage for charging the device to be charged, the charger may not charge the device to be charged, thereby forming a charging protection period, and during the protection period, the charger may perform self-check for short circuit, and when it is determined that the charger does not have a short circuit, the charger may be controlled to re-output the preset first voltage for charging the device to be charged, therefore, equipment damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic equipment in the charging process is improved; in addition, the preset second voltage lower than the lowest charging voltage of the charged device can be more accurately determined, so that the charged device is not charged by the charger before the charged device is connected to the charger and the charger does not perform short circuit self-detection, and short circuit protection of the charged device is realized; and when the charger is connected to other charged equipment, the charging protection voltage suitable for other charged equipment is determined according to the lowest charging voltage of other charged equipment, so that the charger is not charged before short circuit self-detection is carried out, and the effect of charging protection is achieved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a short-circuit protection method in a charging process according to another embodiment of the present disclosure, where the short-circuit protection method can be applied to the control module, and the short-circuit protection method can include the following steps:
402. and controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge the first charged equipment when the charger is connected to the first charged equipment.
404. When the charger is detected to output the charging current, the charger is controlled to output a preset second voltage and whether the charger is short-circuited is detected, and the preset second voltage is smaller than a first lowest charging voltage for charging the first charged equipment; if there is no short circuit, go to step 406; if there is a short, step 408 is performed.
It should be noted that: the short-circuit protection method disclosed by the embodiment of the application can be applied to a wired charger (namely, charging equipment which needs to be charged by connecting the charger and the charged equipment through a data line and a charging line), and can also be applied to a wireless charger (namely, various charging equipment which charges by utilizing the electromagnetic induction principle). That is, optionally, the charger comprises: a wired charger, a wireless charger, etc., and the like, but are not limited thereto.
Similarly, when the wired charger or the wireless charger detects that the charger outputs the charging current (i.e. the charged device is connected to the charger), the wired charger or the wireless charger may output a preset second voltage lower than the lowest charging voltage of the charged device to form a charging protection period; the charger can perform various line detections (including but not limited to short circuit detection, overload detection, etc., without limitation) by using the protection period, thereby ensuring the safety of the subsequent charging process.
As an optional implementation manner, when it is detected that the charger outputs the charging current, the control module may control the charger to output a preset second voltage, obtain the temperature of the charger according to the preset second voltage, and determine whether the temperature of the charger is lower than a preset temperature threshold within a preset second time period; if the temperature of the charger is lower than the preset temperature threshold value within the preset second time length, the control module determines that the charger is not short-circuited; and if the moment that the temperature of the charger is greater than or equal to the preset temperature threshold value exists in the second time length, the control module determines that the charger is short-circuited.
It should be noted that: the preset temperature threshold may be set by a developer based on a large amount of development data, and typical values thereof may include: 55 ℃, 60 ℃, or 65 ℃, etc., without limitation; the preset second time period may be any time period in the process of the charger to the charged device.
By implementing the method, the control module can judge whether the charger is short-circuited or not through the charger temperature fed back by the temperature detection resistor, and the method for judging the short-circuit through the charger temperature is simple due to the low price of the temperature detection resistor, so that the cost of the charger is reduced, and the implementation difficulty of the short-circuit protection method is also reduced.
In practice, it is found that when the control module controls the charger to output the preset second voltage and detects whether the short circuit exists in the charger, the charger does not charge the charged device, and the process usually needs to last for a certain time (tens of seconds, even minutes). But during this process the user does not know whether the charger is performing a short circuit detection or simply thinks the charger is bad, because the device being charged is not charging during this process.
Based on this, optionally, the control module may collect a real-time voltage value output by the charger in real time, and output the real-time voltage value through the display module for reference by a user.
Optionally, the control module may further determine whether the real-time voltage value can charge the charged device according to the real-time voltage value and the lowest charging voltage of the charged device, and output the determination result through the display module.
Optionally, when the real-time voltage value output by the charger is greater than or equal to the lowest charging voltage of the charged device, the control module may output a current charging reminding message through the display module;
correspondingly, when the real-time voltage value output by the charger is smaller than the lowest charging voltage of the charged device, the control module can output the reminding information that the charging is not currently performed through the display module.
In the method disclosed in each of the embodiments, a user can determine the current state information of the charger through information fed back by the display module, and when the user finds that the charged device is not being charged, if it is determined that the charger is not charging the charged device according to the state information, it indicates that the charger may be performing short circuit self-check; otherwise, if the charger is judged to be charging the charged equipment according to the displayed state information, the charger is possibly damaged. In other words, the charging information of the charging equipment can be fed back to the user by implementing the method, and the use experience of the user is provided.
As another optional implementation manner, after detecting whether the short circuit exists in the charger, the control module may further display the detection result through the display module, so that a user may replace the charger when the charger is short-circuited, and damage to the charged device due to the short circuit during charging is avoided.
It should be noted that: the display module may be a liquid crystal screen, a digital screen, or a touch screen disposed outside the charger, or may be a display screen of a user device (e.g., a mobile phone, a smart watch, or a computer) in communication with the charger, which is not limited herein.
406. And controlling the charger to output the preset first voltage again to charge the first charged equipment.
408. The charger is disabled from outputting a voltage.
In the embodiment of the present application, the internal circuit of the charger may be provided with a switch (e.g., a MOS transistor, a triode, etc.), which is on by default, so that the charger may output a voltage to the device to be charged. When the control module detects that the charger has a short circuit, the switch can be controlled to be closed, so that the charger is forbidden to output any voltage, and the damage of the charger is avoided.
As an alternative embodiment, after the output voltage of the charger is prohibited, after a preset waiting time interval (a specific time interval may be set by a developer according to a large amount of development data, and is not limited herein), the charger may be controlled to output a preset second voltage again and detect whether the charger has a short circuit; if the charger is detected to have a short circuit, the output voltage of the charger is forbidden; and if the short circuit of the charger is detected, controlling the charger to output a preset first voltage to charge the charged equipment.
Optionally, after the output voltage of the charger is prohibited for the second time and the preset waiting time is set at intervals, the charger may be controlled to output the preset second voltage again and whether the charger has a short circuit is detected, and similarly, if the charger has a short circuit, the output voltage of the charger is prohibited; if the charger is detected not to have short circuit, the charger is controlled to output a preset first voltage to charge the charged equipment, and whether the short circuit fault is overcome by the charger is detected in a circulating mode.
By implementing the method, whether the short-circuit fault is overcome by the charger can be detected by a polling method, so that the charger can be used for charging the charged equipment when the charger is recovered to be normal, and the charger is prevented from being in a state of prohibiting voltage output all the time.
As another optional implementation manner, when it is detected that the charger is reset after being powered off (optionally, after it is detected that the charger is disconnected from the power supply, it is determined that the charger is reset after being powered off when the charger is connected to the power supply again), the charger may be controlled to output the preset first voltage again, and when it is detected that the charger outputs the charging current, the steps of controlling the charger to output the preset second voltage and detecting whether there is a short circuit in the charger may be performed again.
By implementing the method, the charger can be controlled to output low voltage again and carry out short circuit detection on the charger when the charger is in power-off reset, so that short circuit protection can be obtained when the equipment to be charged is connected again.
By implementing the method disclosed in the above embodiments, the charger may default to output the first voltage for charging the device to be charged, and the first voltage may enable the charger to output the charging current for charging the device to be charged when the charger is connected to the device to be charged, so that on the basis that the charger outputs the first voltage, the short-circuit protection device may determine whether the device to be charged is connected by whether the charger outputs the charging current to the device to be charged, and may further output the second voltage when the device to be charged is connected, and since the second voltage does not reach the minimum voltage for charging the device to be charged, the charger may not charge the device to be charged, thereby forming a charging protection period, and during the protection period, the charger may perform self-check for short circuit, and when it is determined that the charger does not have a short circuit, the charger may be controlled to re-output the preset first voltage for charging the device to be charged, therefore, equipment damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic equipment in the charging process is improved; in addition, whether the charger is short-circuited can be judged through the charger temperature fed back by the temperature detection resistor, and the method for judging the short-circuit through the charger temperature is simple due to the fact that the temperature detection resistor is low in price, so that the cost of the charger is reduced, and the implementation difficulty of the short-circuit protection method is also reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a short-circuit protection device in a charging process according to an embodiment of the present application, where the short-circuit protection device may include: a first output unit 501, a detection unit 502 and a second output unit 503, wherein:
a first output unit 501, configured to control the charger to output a preset first voltage, where the preset first voltage is used to enable the charger to output a charging current to charge a first device to be charged when the charger is connected to the first device to be charged;
the detecting unit 502 is configured to, when it is detected that the charger outputs the charging current, control the charger to output a preset second voltage and detect whether the charger is short-circuited, where the preset second voltage is smaller than a first lowest charging voltage for charging the first device to be charged;
and a second output unit 503, configured to control the charger to output the preset first voltage again to charge the first device to be charged when the detection unit 502 detects that the charger has no short circuit.
The short-circuit protection device can enable the charger to output a first voltage for charging the charged device by default, the first voltage can enable the charger to output a charging current for charging the charged device when the charger is connected to the charged device, on the basis that the charger outputs the first voltage, the short-circuit protection device can judge whether the charged device is connected or not by judging whether the charger outputs the charging current to the charged device or not by judging whether the charged device is connected or not, and further can output a second voltage when the charged device is connected, and because the second voltage does not reach the lowest voltage for charging the charged device, the charger can not charge the charged device, thereby forming a charging protection period, the charger can carry out self-check of short circuit during the protection period, and when the charger is determined not to have short circuit, the charger is controlled to output the preset first voltage again for charging the charged device, therefore, the device damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic device in the charging process is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another short-circuit protection device in a charging process disclosed in the embodiment of the present application, the short-circuit protection device shown in fig. 6 may be optimized from the short-circuit protection device shown in fig. 5, and compared with the short-circuit protection device shown in fig. 5, the short-circuit protection device shown in fig. 6 may further include: a first switching unit 504 and a first prohibiting unit 505, wherein:
the first switching unit 504 is configured to, after the second output unit 503 controls the charger to output the preset first voltage again to charge the first device to be charged, control the voltage output by the charger to switch from the preset first voltage to the preset second voltage if it is detected that the first device to be charged is disconnected from the charger.
The first prohibiting unit 505 is configured to prohibit the charger from outputting the preset first voltage if it is detected that the first device to be charged is disconnected from the charger after the second outputting unit 503 controls the charger to output the preset first voltage again to charge the first device to be charged.
By adopting the short-circuit protection device, the phenomenon of short circuit caused by the fact that the charger directly charges the charged equipment when the charged equipment is accessed again next time can be avoided.
As an alternative embodiment, the short-circuit protection device shown in fig. 6 may further include: a determining unit 506 and a second switching unit 507, wherein:
a determining unit 506, configured to determine, after detecting that the first charged device is disconnected from the charger, a preset third voltage according to a second lowest charging voltage when the second charged device is charged if it is detected that the second charged device is connected to the charger, where the preset third voltage is smaller than the second lowest charging voltage;
the second switching unit 507 is configured to control the voltage output by the charger to be switched from a preset first voltage to a preset third voltage.
By adopting the short-circuit protection device, when the charger is connected to other charged equipment, the charging protection voltage suitable for other charged equipment is determined according to the lowest charging voltage of other charged equipment, so that the charger is ensured not to charge other charged equipment before short-circuit self-detection is carried out, and the effect of charging protection is achieved.
As an optional implementation manner, when detecting that the charger outputs the charging current, the detecting unit 502 is configured to control the charger to output the preset second voltage and detect whether there is a short circuit of the charger specifically may be:
the detection unit 502 is used for acquiring a target humidity value inside the charger through a humidity sensor arranged in the charger; judging whether the target humidity value is in a preset humidity range or not; and if the target humidity value is within the preset humidity range, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit.
By adopting the short-circuit protection device, whether the inside of the charger is wet or not can be judged through the data collected by the humidity sensor before the charged equipment is connected into the charger, and then short-circuit detection can be executed when the inside of the charger is wet so as to ensure the safety of the subsequent charging process.
As an optional implementation manner, the manner for determining whether the short circuit exists in the charger by the detecting unit 502 may specifically be:
the detecting unit 502 is configured to obtain an output current of the charger according to a preset second voltage, and determine whether the output current is smaller than a preset current threshold within a preset first duration; if the output current is smaller than a preset current threshold value within a preset first time period, determining that the charger is not short-circuited; and if the output current is not smaller than the preset current threshold value within the preset first time period, determining that the charger has a short circuit.
By adopting the short-circuit protection device, whether the charger is short-circuited can be judged through the current value fed back by the current detection resistor, and the method for judging the short-circuit through the current value is simpler due to the low price of the current detection resistor, so that the cost of the charger is reduced, and the implementation difficulty of the short-circuit protection method is also reduced.
As another optional implementation manner, the manner for determining whether the short circuit exists in the charger by the detection unit 502 may specifically be:
the detecting unit 502 is configured to obtain a charger temperature according to a preset second voltage, and determine whether the charger temperature is lower than a preset temperature threshold within a preset second duration; if the temperature of the charger is lower than a preset temperature threshold value within a preset second time period, determining that the charger is not short-circuited; and if the temperature of the charger is not lower than the preset temperature threshold value within the preset second time period, determining that the charger has a short circuit.
By adopting the short-circuit protection device, whether the charger is short-circuited can be judged through the charger temperature fed back by the temperature detection resistor, and the method for judging the short-circuit through the charger temperature is simple due to the low price of the temperature detection resistor, so that the cost of the charger is reduced, and the implementation difficulty of the short-circuit protection method is also reduced.
As an alternative embodiment, the short-circuit protection device shown in fig. 6 may further include a second inhibiting unit 508, where:
a second inhibiting unit 508 for inhibiting the charger from outputting the voltage when the detecting unit 502 detects that the charger has a short circuit.
By adopting the short-circuit protection device, when the short circuit of the charger is detected, the output voltage of the charger is forbidden, so that the damage of the charger is avoided.
By implementing the short-circuit protection device disclosed in each of the above embodiments, the charger may default to output a first voltage for charging the device to be charged, and the first voltage may enable the charger to output a charging current for charging the device to be charged when the charger is connected to the device to be charged, so that the short-circuit protection device may determine whether the device to be charged is connected by whether the charger outputs the charging current to the device to be charged on the basis that the charger outputs the first voltage, and may further output a second voltage when the device to be charged is connected, and since the second voltage does not reach a minimum voltage for charging the device to be charged, the charger may not charge the device to be charged, thereby forming a charging protection period, and during the protection period, the charger may perform self-checking of a short circuit, and when it is determined that the charger does not have a short circuit, the charger may be controlled to re-output the preset first voltage for charging the device to be charged, therefore, the device damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic device in the charging process is improved.
Correspondingly, the embodiment of the present application further discloses a charger, which may include: control module and current detection resistance, control module is connected with current detection resistance electricity, wherein:
the control module is used for controlling the charger to output a preset first voltage, and the preset first voltage is used for enabling the charger to output charging current to charge the charged equipment when the charger is connected to the charged equipment;
the control module is also used for controlling the charger to output a preset second voltage when the charger is detected to output the charging current, wherein the preset second voltage is less than the lowest charging voltage for charging the charged equipment;
the current detection resistor is used for detecting the output current of the charger according to a second voltage when the charger outputs a preset second voltage, and the output current is used for judging whether the charger has a short circuit or not by the controlled module according to the output current;
and the control module is also used for controlling the charger to output the preset first voltage again to charge the charged equipment when judging that the short circuit does not exist in the charger according to the output current.
By adopting the charger, the first voltage for charging the charged device can be output by default, and the first voltage can enable the charger to output the charging current for charging the charged device when the charger is connected to the charged device, so that on the basis that the charger outputs the first voltage, the short-circuit protection device can judge whether the charged device is connected or not by judging whether the charger outputs the charging current to the charged device or not by judging whether the charged device is connected or not, and further can output the second voltage when the charged device is connected, and because the second voltage does not reach the lowest voltage for charging the charged device, the charger can not charge the charged device, thereby forming a charging protection period, carrying out self-check on short circuit of the charger during the protection period, and controlling the charger to output the preset first voltage again for charging the charged device when the charger is determined not to have the short circuit, therefore, the device damage and even fire caused by short circuit of the charger in the charging process can be avoided, and the safety of the electronic device in the charging process is improved.
Optionally, please refer to fig. 7, and fig. 7 is a schematic diagram of an internal circuit of a charger according to an embodiment of the present disclosure. The internal circuit of the charger may include: a control detection unit U1 (such as a control chip and a single chip microcomputer for realizing the functions of logic control, logic operation and the like), a MOS tube Q1 (such as a P-channel MOS tube or an N-channel MOS tube for realizing the switching of the output voltage of the charger), a current detection resistor R1 (for detecting the current of the internal circuit), a temperature detection resistor R2 (such as an NTC type thermistor, a PTC type thermistor and the like for detecting the temperature of the internal circuit), a modulation unit U2 (for adjusting the output voltage of the charger) and a transformation module T1 (for transforming the power supply voltage input into the charger so that the output voltage of the charger can be adapted to the charged equipment).
As shown in fig. 7, alternatively, the control detection unit U1 may be electrically connected to the adjustment unit U2 and the transformation module T1, respectively, and the adjustment unit U2 and the transformation module T1 are electrically connected; the control detection unit U1 may further control the voltage transformation module T1 to output a preset first voltage through the adjustment unit U2 (the preset first voltage is used to enable the charger to output a charging current to charge the first device to be charged when the charger is connected to the first device to be charged); further, when the detection control unit U1 detects that the charger outputs the charging current (i.e. when there is a device to be charged connected to the charger), the adjustment unit U2 may control the voltage transformation module T1 to output a preset second voltage (the preset second voltage is less than the minimum charging voltage for charging the device to be charged), so as to form a charging protection period.
Optionally, the detection control unit U1 may be further electrically connected to the current detection resistor R1 and/or the temperature detection resistor R2 (fig. 7 exemplarily shows that the detection control unit U1 is electrically connected to the current detection resistor R1 and the temperature detection resistor R2 respectively, and should not be limited to the embodiment of the present application), and then the detection control unit U1 may determine whether the charger is short-circuited through the circuit current and the circuit temperature fed back by the current detection resistor R1 and the temperature detection resistor R2 after the adjustment unit U2 controls the voltage transformation module T1 to output the preset second voltage, and if the control detection unit U1 determines that the charger is not short-circuited, the control detection unit U1 may control the voltage transformation module T1 to output the preset first voltage again through the adjustment unit U2; optionally, the detection control unit U1 may further be electrically connected to the MOS transistor Q1, and further, when the control detection unit U1 determines that the charger is short-circuited, the MOS transistor Q1 may be controlled to turn off to prohibit the output voltage of the charger.
It should be noted that: GND in fig. 7 is a ground pin in the interface of the charger, and VBUS is a power pin in the interface of the charger; the connection device may include a data line, a power line, and the like, which include a conductive line including a positive electrode and a negative electrode, and is not limited herein; the charged device may include an electronic device such as a mobile phone, a tablet computer, a learning machine, or a smart watch, which is not limited herein.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, the electronic device may include:
a memory 801 in which executable program code is stored;
a processor 802 coupled with the memory 801;
the processor 802 calls the executable program code stored in the memory 801 to execute the short-circuit protection method in the charging process disclosed in the above embodiments.
The embodiment of the application discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute the short-circuit protection method in the charging process disclosed by each embodiment.
The embodiment of the present application also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" 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 one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The short-circuit protection method and the charger disclosed in the embodiment of the present application in the charging process are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A method of short circuit protection during charging, the method comprising:
controlling the charger to output a preset first voltage, wherein the preset first voltage is used for enabling the charger to output a charging current to charge a first charged device when the charger is connected to the first charged device;
when the charger is detected to output the charging current, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit, wherein the preset second voltage is smaller than a first lowest charging voltage for charging the first charged equipment;
and if the short circuit of the charger is detected not to exist, controlling the charger to output the preset first voltage again to charge the first charged equipment.
2. The method of claim 1, wherein after controlling the charger to output the preset first voltage again to charge the first charged device, the method further comprises:
if the first charged device is detected to be disconnected from the charger, controlling the voltage output by the charger to be switched from the preset first voltage to the preset second voltage;
or if the first charged device is detected to be disconnected from the charger, the charger is prohibited from outputting the preset first voltage.
3. The method of claim 1, further comprising:
after the first charged device is detected to be disconnected from the charger, if a second charged device is detected to be connected to the charger, determining a preset third voltage according to a second lowest charging voltage when the second charged device is charged, wherein the preset third voltage is smaller than the second lowest charging voltage;
and controlling the voltage output by the charger to be switched from the preset first voltage to the preset third voltage.
4. The method of claim 1, wherein when it is detected that the charger outputs the charging current, controlling the charger to output a preset second voltage and detecting whether there is a short circuit of the charger comprises:
acquiring a target humidity value inside the charger through a humidity sensor arranged inside the charger;
judging whether the target humidity value is within a preset humidity range or not;
and if the target humidity value is within the preset humidity range, controlling the charger to output a preset second voltage and detecting whether the charger has a short circuit.
5. The method of claim 1, wherein the determining whether the charger has a short circuit comprises:
acquiring the output current of the charger according to the preset second voltage, and judging whether the output current is smaller than a preset current threshold value within a preset first time period;
if the output current is smaller than a preset current threshold value within a preset first time period, determining that the charger is not short-circuited;
and if the moment that the output current is greater than or equal to the preset current threshold value exists in the first time period, determining that the short circuit exists in the charger.
6. The method of claim 1, wherein the determining whether the charger has a short circuit comprises:
acquiring the temperature of the charger according to the preset second voltage, and judging whether the temperature of the charger is lower than a preset temperature threshold value within a preset second time period;
if the temperature of the charger is lower than a preset temperature threshold value within a preset second time period, determining that the charger is not short-circuited;
and if the moment that the temperature of the charger is greater than or equal to the preset temperature threshold value exists in the second time length, determining that the charger has a short circuit.
7. The method according to any one of claims 1 to 6, further comprising:
and if the short circuit of the charger is detected, the output voltage of the charger is forbidden.
8. The method of claim 7, wherein after said disabling the charger from outputting a voltage, the method further comprises:
after a preset waiting time interval, controlling the charger to output the preset second voltage again and detecting whether the charger has a short circuit;
if the short circuit of the charger is detected, the output voltage of the charger is forbidden;
and if the short circuit of the charger is detected not to exist, controlling the charger to output the preset first voltage to charge the charged equipment.
9. The method of claim 7, wherein after said disabling the charger from outputting a voltage, the method further comprises:
and if the charger is detected to be reset after power failure, controlling the charger to output the preset first voltage again, and executing the steps of controlling the charger to output the preset second voltage and detecting whether the charger has a short circuit or not when the charger is detected to output the charging current.
10. A charger, characterized in that it comprises at least: control module and current detection resistance, control module with current detection resistance electricity is connected, wherein:
the control module is used for controlling the charger to output a preset first voltage, and the preset first voltage is used for enabling the charger to output a charging current to charge the charged device when the charger is connected to the charged device;
the control module is further configured to control the charger to output a preset second voltage when it is detected that the charger outputs the charging current, where the preset second voltage is less than a lowest charging voltage for charging the device to be charged;
the current detection resistor is used for detecting the output current of the charger according to a preset second voltage when the charger outputs the second voltage, and the output current is used for judging whether the charger has a short circuit or not by the control module according to the output current;
the control module is further configured to control the charger to output the preset first voltage again to charge the charged device when it is determined that the short circuit does not exist in the charger according to the output current.
11. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the short-circuit protection method in the charging process according to any one of claims 1 to 9.
12. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method for short-circuit protection during charging according to any one of claims 1 to 9.
CN202010845523.1A 2020-01-09 2020-08-20 Short-circuit protection method in charging process and charger Pending CN113113960A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2020100208236 2020-01-09
CN202010020823.6A CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter

Publications (1)

Publication Number Publication Date
CN113113960A true CN113113960A (en) 2021-07-13

Family

ID=70789584

Family Applications (7)

Application Number Title Priority Date Filing Date
CN202010020823.6A Pending CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter
CN202010845525.0A Pending CN111835074A (en) 2020-01-09 2020-08-20 Multi-output charging head
CN202010844434.5A Pending CN113113958A (en) 2020-01-09 2020-08-20 Charger and access detection method of to-be-charged equipment
CN202010844433.0A Pending CN111817414A (en) 2020-01-09 2020-08-20 Charger and short circuit prompting method in charging process
CN202010844430.7A Pending CN113113957A (en) 2020-01-09 2020-08-20 Short-circuit protection method and charger
CN202010844435.XA Pending CN113113959A (en) 2020-01-09 2020-08-20 A charger
CN202010845523.1A Pending CN113113960A (en) 2020-01-09 2020-08-20 Short-circuit protection method in charging process and charger

Family Applications Before (6)

Application Number Title Priority Date Filing Date
CN202010020823.6A Pending CN111211608A (en) 2020-01-09 2020-01-09 Charging short-circuit protection circuit and method and power adapter
CN202010845525.0A Pending CN111835074A (en) 2020-01-09 2020-08-20 Multi-output charging head
CN202010844434.5A Pending CN113113958A (en) 2020-01-09 2020-08-20 Charger and access detection method of to-be-charged equipment
CN202010844433.0A Pending CN111817414A (en) 2020-01-09 2020-08-20 Charger and short circuit prompting method in charging process
CN202010844430.7A Pending CN113113957A (en) 2020-01-09 2020-08-20 Short-circuit protection method and charger
CN202010844435.XA Pending CN113113959A (en) 2020-01-09 2020-08-20 A charger

Country Status (1)

Country Link
CN (7) CN111211608A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112290610B (en) * 2020-08-25 2022-08-16 歌尔科技有限公司 Charging control circuit and charging control method
CN114325473B (en) * 2021-12-24 2024-03-08 广州星际悦动股份有限公司 Short circuit detection circuit, short circuit detection method, short circuit detection device, electronic equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101191813A (en) * 2007-03-09 2008-06-04 中兴通讯股份有限公司 Short circuit detection device
JP4621231B2 (en) * 2007-06-29 2011-01-26 富士通テン株式会社 Power supply protection device and electronic control device
CN101398459B (en) * 2008-10-28 2011-02-09 华为终端有限公司 Method and device for identifying charger type
CN101963835B (en) * 2009-07-24 2013-04-24 鸿富锦精密工业(深圳)有限公司 Electronic equipment and method for dynamically allocating USB port power
CN103698640B (en) * 2013-12-31 2016-04-27 青岛歌尔声学科技有限公司 A kind of intelligent charge testing circuit and portable power source
CN105322397B (en) * 2015-10-13 2018-01-23 深圳市祝你快乐科技有限公司 USB port connector and its implementation with charging protection function
CN106602513A (en) * 2017-01-13 2017-04-26 顺丰科技有限公司 Short circuit protection charging interface and control method thereof
CN206697953U (en) * 2017-03-01 2017-12-01 顺丰科技有限公司 Charging inlet short-circuit detecting device and mobile terminal
CN107525997A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of USB charging circuits short circuit detection method and power supply adaptor
CN108270266A (en) * 2018-01-22 2018-07-10 维沃移动通信有限公司 A kind of charging method and charger
CN208384040U (en) * 2018-07-05 2019-01-15 深圳市车电网络有限公司 A kind of charging pile powers on safety check system
CN109560581B (en) * 2018-11-13 2020-12-01 Oppo广东移动通信有限公司 Charging processing method, charging processing circuit, electronic device, and storage medium

Also Published As

Publication number Publication date
CN113113958A (en) 2021-07-13
CN111211608A (en) 2020-05-29
CN111817414A (en) 2020-10-23
CN111835074A (en) 2020-10-27
CN113113959A (en) 2021-07-13
CN113113957A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
EP2383861A2 (en) Battery charger for portable electronic equipment
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
CN109412234B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN113113960A (en) Short-circuit protection method in charging process and charger
CN112805987B (en) Startup process control method, startup process control device, terminal equipment and computer readable storage medium
US10355497B2 (en) Protection of parallel connected cells in battery packs
US9489002B2 (en) Providing power to a component
JP2014056287A (en) Electronic apparatus and method of determining power source device by electronic apparatus
US20180351359A1 (en) Electronic device and control method
US11742684B2 (en) Charging control circuit, charging circuit and charging control method
CN112152276A (en) Abnormality detection method and apparatus, and storage medium
JP2017191606A (en) Access device
US11462930B2 (en) Method and device for controlling charging on basis of state of battery
US20120126819A1 (en) Detecting device and method for detecting battery storage capacity
JP6117015B2 (en) Electronics
US9134775B2 (en) Controlling a current drawn from an adapter by a computer system
US9368993B2 (en) Method and apparatus for a multiplexed contact between electrical devices
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN111614138B (en) Interface protection circuit and electronic equipment
JP2018200306A (en) Battery residual amount detection circuit, electronic apparatus using the same, and detection method of battery residual amount
CN109617175B (en) Mobile terminal charger detection control method, mobile terminal and storage medium
CN115441526A (en) Charging control method and device, electronic equipment and computer readable storage medium
WO2017173736A1 (en) Method and device for terminal display, and terminal
US9912180B2 (en) Charge device for battery charging and method thereof
CN109616836B (en) Foreign matter cleaning method and device for Type-c interface, storage medium and electronic equipment

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