CN109245244B - Charging circuit, charging processing method, electronic device, and storage medium - Google Patents

Charging circuit, charging processing method, electronic device, and storage medium Download PDF

Info

Publication number
CN109245244B
CN109245244B CN201811348651.4A CN201811348651A CN109245244B CN 109245244 B CN109245244 B CN 109245244B CN 201811348651 A CN201811348651 A CN 201811348651A CN 109245244 B CN109245244 B CN 109245244B
Authority
CN
China
Prior art keywords
charging
charging interface
interface
impedance value
value
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
CN201811348651.4A
Other languages
Chinese (zh)
Other versions
CN109245244A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811348651.4A priority Critical patent/CN109245244B/en
Publication of CN109245244A publication Critical patent/CN109245244A/en
Application granted granted Critical
Publication of CN109245244B publication Critical patent/CN109245244B/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/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

Landscapes

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

Abstract

The embodiment of the application provides a charging circuit, a charging processing method, electronic equipment and a storage medium. The charging interface is used for connecting an external charging device; the detection module is connected with the charging interface and is used for detecting the connection state of the charging interface; the impedance acquisition module is connected with the detection module, acquires a first impedance value of the charging interface when the connection state of the charging interface is an unconnected state, and acquires a second impedance value of the charging interface when the connection state of the charging interface is a connected state; the control module is connected with the impedance obtaining module, obtains a first impedance value and a second impedance value, and stops charging through the charging interface when the difference value between the first impedance value and the second impedance value is larger than a preset difference value threshold value. And protecting the charging interface.

Description

Charging circuit, charging processing method, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a charging circuit, a charging processing method, an electronic device, and a storage medium.
Background
At present, a charging interface of an electronic device such as a mobile phone can integrate data transmission and charging functions. When the electronic equipment is connected with an external charging device through the charging interface for charging, because the distance between pins of the charging interface is small, when foreign matters or liquid enters the charging interface, a micro short circuit is easily caused, and then the charging interface is easily damaged.
Disclosure of Invention
The embodiment of the application provides a charging circuit, a charging processing method, an electronic device and a storage medium, which can effectively and accurately detect whether a charging interface is short-circuited or not and protect the charging interface.
The embodiment of the application provides a charging circuit, it includes:
the charging interface is used for connecting an external charging device;
the detection module is connected with the charging interface and is used for detecting the connection state of the charging interface;
the impedance acquisition module is connected with the detection module, acquires a first impedance value of the charging interface when the connection state of the charging interface is an unconnected state, and acquires a second impedance value of the charging interface when the connection state of the charging interface is a connected state;
and the control module is connected with the impedance acquisition module, acquires the first impedance value and the second impedance value, and stops charging through the charging interface when the difference value between the first impedance value and the second impedance value is greater than a preset difference threshold value.
The embodiment of the application provides a charging processing method, which is applied to a device to be charged, wherein the device to be charged comprises a charging interface, and the charging interface is used for being connected with an external charging device; the method comprises the following steps:
acquiring the connection state of the charging interface;
when the connection state is the disconnection state, acquiring a first impedance value of the charging interface;
when the connection state is the connected state, acquiring a second impedance value of the charging interface;
and when the difference value between the first impedance value and the second impedance value is larger than a preset difference value threshold value, stopping charging through the charging interface.
The embodiment of the application also provides an electronic device, which comprises a charging circuit and a battery, wherein the charging circuit is connected with the battery, and the charging circuit is as described above.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the charging management method as described above.
The charging circuit, the charging processing method, the electronic device and the storage medium provided by the embodiment of the application can detect a first impedance value of a charging interface which is not connected with an external charging device and a second impedance value of the charging interface which is connected with the external charging device. When the difference value between the first impedance value and the second impedance value is zero or smaller than a preset difference value threshold value, the charging interface is normal, and the charging is normal. When the difference value between the first impedance value and the second impedance value is larger than the preset difference value threshold value, foreign matters or liquid can enter the charging interface, so that the charging interface is slightly short-circuited, and at the moment, the charging through the charging interface is stopped, so that the charging interface is protected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of a first state of an electronic device according to an embodiment of the present application.
Fig. 2 is another schematic structural diagram of the first state of the electronic device according to the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a second state of an electronic device according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of a second state of the electronic device according to the embodiment of the present application.
Fig. 5 is a schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a temperature detection element and a control module in a device to be charged according to an embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a temperature detection element and a charging interface in a device to be charged according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure.
Fig. 10 is a flowchart illustrating a charging processing method according to an embodiment of the present application.
Fig. 11 is a block diagram schematically illustrating a module of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
The embodiment of the application provides a charging circuit, a charging processing method, an electronic device and a storage medium. The details will be described below separately. The electronic device may be a smart phone, a tablet computer, or other devices, and may also be a game device, an AR (Augmented Reality) device, an audio playing device, a video playing device, or other devices.
Referring to fig. 1 to 4, fig. 1 is a schematic structural diagram of a first state of an electronic device according to an embodiment of the present disclosure, fig. 2 is another schematic structural diagram of the first state of the electronic device according to the embodiment of the present disclosure, fig. 3 is a schematic structural diagram of a second state of the electronic device according to the embodiment of the present disclosure, and fig. 4 is another schematic structural diagram of the second state of the electronic device according to the embodiment of the present disclosure. The first state may be a state in which the electronic device 100 does not turn on the camera function, such as a standby state and a state in which the camera is not turned on when the screen is bright. The second state is a state when the electronic device 100 turns on the image capturing function.
In some embodiments, the electronic device 100 may include a display 12, an electronics board 13, a battery 14, a housing 15, a front-facing camera 161, and a rear-facing camera 162. Note that the electronic apparatus 100 is not limited to the above.
In some embodiments, electronic device 100 may further include a sliding mechanism 18, sliding mechanism 18 being coupled to housing 15, sliding mechanism 18 being slidable relative to the housing. The front camera 161 and the rear camera 162 are provided on the slide mechanism 18, and are located on opposite sides, respectively.
When the electronic device 100 is in the first state, the sliding mechanism 18 is in the initial state, i.e., the sliding mechanism 18 is located in the housing.
When the electronic device 100 is in the second state, i.e. when the camera function is turned on, the sliding mechanism 18 slides out of the housing 15, and the front camera 161 and the rear camera 162 are disposed on the sliding mechanism 18. When the sliding mechanism 18 does not slide out of the casing 15, the front camera 161 and the rear camera 162 are hidden in the casing, and when the electronic device 100 is in the second state, the sliding mechanism 18 slides out of the casing 15, so that photographing, shooting and the like can be performed by using the front camera 161 and the rear camera 162.
Wherein the display screen 12 is mounted in the housing 15. The display 12 is electrically connected to the electronic circuit board 13 to form a display surface of the electronic apparatus 100. The display 12 may be in a regular shape, such as a rectangular parallelepiped structure, and the display 12 may cover the entire display surface of the electronic device 100, that is, a full screen display of the electronic device 100 is realized.
In some embodiments, the Display 12 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display.
The electronic circuit board 13 is mounted in the housing 15, the electronic circuit board 13 may be a main board of the electronic device 100, and one, two or more functional components of a motor, a microphone, a speaker, an earphone interface, a universal serial bus interface, a front camera 161, a rear camera 162, a receiver 171, a distance sensor, an ambient light sensor, a processor, and the like may be integrated on the electronic circuit board 13.
It is noted that, in the description of the present application, "a plurality" means two or more unless specifically defined otherwise.
In some embodiments, the electronic circuit board 13 may be screwed into the housing 15 by screws, or may be snap-fit into the housing 15. It should be noted that the way of specifically fixing the electronic circuit board 13 in the housing 15 according to the embodiment of the present application is not limited to this, and other ways, such as a way of fixing by a snap and a screw together, are also possible.
The electronic device 100 may further include a cover plate mounted to the display 12 to cover the display 12. The cover may be a clear glass cover so that the display 12 is transparent to the cover for display. In some embodiments, the cover plate may be a glass cover plate made of a material such as sapphire.
Wherein the housing 15 may form an outer contour of the electronic device 100. In some embodiments, the housing 15 may be a metal housing component, such as a metal such as magnesium alloy, stainless steel, and the like. It should be noted that the material of the housing 15 in the embodiment of the present application is not limited to this, for example: the housing 15 may be a plastic housing, a ceramic housing, a glass housing, or the like.
The electronic apparatus of the present application may have only the first state, that is, the electronic apparatus does not have the slide mechanism 18, and the electronic apparatus may have a non-display area, and the front camera 161, the receiver 171, the distance sensor, the ambient light sensor, and the like may be provided in the non-display area.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure. The device to be charged 300 includes a charging circuit including a charging interface 310, a detection module 320, an impedance obtaining module 340, and a control module 380. The device to be charged 300 may be an electronic device in the above-described embodiment. The charging device 200 may be an adapter, a charging cradle, or the like.
Charging interface 310 is used for connecting external charging device 200. The charging interface 310 may be a Universal Serial Bus (USB) interface. Specifically, the charging interface 310 may be a Micro USB interface or a Type-C interface, and of course, the charging interface 310 may also be other interfaces. The charging interface 310 is connected to the external charging device 200 through a charging cable line, and obtains power from the external charging device 200. The external charging device 200 may be an adapter or the like.
The detection module 320 is connected to the charging interface 310, and the detection module 320 is configured to detect a connection state of the charging interface 310.
The connection state includes a connected state and an unconnected state, the connected state indicates that the charging interface 310 is connected to the external charging device 200, and the unconnected state indicates that the charging interface 310 is not connected to the charging device 200.
Specifically, the detection may be performed through a specific pin (e.g. CC pin in the figure) or idle pin of the charging interface 310 or a special test pin. For example, interface 310 that charges is Type-C interface, detects through a CC pin in the Type-C interface, and when the Type-C interface did not pass through the charging wire connection adapter, this CC pin was the low level, and after the Type-C interface passed through the charging wire connection adapter, the adapter gave a high level of this CC pin. In this way, the connection state of charging interface 310 can be detected by determining the level of the CC pin. The CC pin is at a low level, and is in an unconnected state, and the CC pin is at a high level, and is in a connected state.
The impedance obtaining module 340 is connected to the detecting module 320, when the connection state of the charging interface 310 is an unconnected state, the impedance obtaining module 340 obtains a first impedance value of the charging interface 310, and when the connection state of the charging interface 310 is a connected state, the impedance obtaining module 340 obtains a second impedance value of the charging interface 310.
The impedance obtaining module 340 may obtain an impedance value of the charging interface 310. In particular, the detection can be realized by detecting a resistor and detecting a power supply. The detection power supply is a stable power supply, the detection power supply outputs a stable voltage value V0, V0 can be 3.3V, 1.8V and the like, one end of the detection resistor is connected with a power input pin VBUS of the charging interface 310, the other end of the detection resistor is connected with the detection power supply, and the resistance value of the detection resistor is R0. Then, the voltage value V1 of the power input pin VBUS is obtained, and the impedance value of the charging interface 310 can be calculated according to R0 (V1/(V0-V1)).
With the above formula, when the impedance obtaining module 340 is in the unconnected state, the impedance obtaining module 340 obtains a first impedance value of the charging interface 310, and when the connection state of the charging interface 310 is the connected state, the impedance obtaining module 340 obtains a second impedance value of the charging interface 310.
The control module 380 is connected to the impedance obtaining module 340, and obtains the first impedance value and the second impedance value, and when a difference between the first impedance value and the second impedance value is greater than a preset difference threshold, stops charging through the charging interface 310.
The control module 380 obtains a first impedance value and a second impedance value, and then calculates a difference value between the first impedance value and the second impedance value, and when the difference value between the first impedance value and the second impedance value is smaller than a preset difference threshold value, it is said that the charging interface 310 is normal, and charging can be performed through the charging interface 310. When the difference value between the first impedance value and the second impedance value is greater than the preset difference threshold value, a foreign object or liquid may enter the charging interface 310, which may cause a micro short circuit in the charging interface 310, and at this time, the charging through the charging interface 310 is stopped, so as to protect the charging interface 310.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features.
Referring to fig. 6 and 7, fig. 6 is a schematic structural diagram of a temperature detection element and a control module in a device to be charged according to an embodiment of the present disclosure, and fig. 7 is a schematic structural diagram of a temperature detection element and a charging interface in a device to be charged according to an embodiment of the present disclosure. The charging circuit further comprises a temperature detection element 350, wherein the temperature detection element 350 is configured to obtain first temperature information of the charging interface 310. The temperature detection element 350 may change a corresponding resistance value according to a temperature change of the charging interface 310, so as to obtain the first temperature information of the current charging interface 310 according to the change of the resistance value of the temperature detection element 350.
A pin diagram of the charging interface 310 is shown. The Temperature detecting element 350 may be a Negative Temperature Coefficient thermistor, wherein a Negative Temperature Coefficient thermistor (NTC) is a material having a Negative Temperature Coefficient thermistor phenomenon in which resistance decreases exponentially with a Temperature rise. Temperature detection element 350 may be disposed in charging interface 310, or may be disposed on the outer surface of the housing of charging interface 310.
The control module 380 is connected to the temperature detecting element 350, acquires the first temperature information, and the control module 380 obtains a corresponding preset difference threshold from a mapping table according to the first temperature information.
The temperature detection element 350 acquires first temperature information of the charging interface 310. The temperature detecting element 350 may be a negative temperature coefficient resistor, a single thermistor, a temperature sensor, or the like. The temperature detection element 350 may acquire the first temperature information of the charging interface 310 in real time.
In some embodiments, temperature sensing element 350 is adjacent to charging interface 310. The temperature detection element 350 and the charging interface 310 may be disposed in the same region, and the temperature detection element and the charging interface 310 are not directly connected, but are close to each other in distance, so that the first temperature information of the charging interface 310 can be timely and accurately acquired.
In some embodiments, the temperature sensing element 350 is attached to the charging interface 310. The temperature detecting element 350 may be directly connected to the charging interface 310 or connected to the charging interface 310 through a heat conducting element (e.g., a heat conducting fin), so as to timely and accurately obtain the first temperature information of the charging interface 310.
In some embodiments, the number of temperature sensing elements 350 is at least 2, and each temperature sensing element 350 is coupled to a sensing pin of the control module 380.
Each temperature detection element 350 can operate independently and acquire first temperature information of the charging interface 310, respectively. Each temperature detection element 350 is connected to a detection pin of the control module 380, so that the control module 380 can obtain at least 2 pieces of first temperature information, and then stop charging when any one piece of first temperature information exceeds a safe temperature threshold. Alternatively, when the at least one piece of first temperature information exceeds the safe temperature threshold, and the at least one piece of first temperature information does not exceed the safe temperature threshold, but the difference from the safe temperature threshold is small (for example, less than 10 degrees celsius or less than 5 degrees celsius), the charging is stopped. To prevent malfunction due to damage to the single temperature sensing element 350. The safe temperature threshold may be a default value, such as 50 degrees celsius, 60 degrees celsius, 70 degrees celsius, or the like.
Referring to fig. 6, one end of the temperature detecting element 350 is connected to the detecting pin of the control module 380 and is connected to the power VDD through the resistor R2 or R3, and the other end of the temperature detecting element 350 is grounded. Temperature sensing element 350 may be a temperature sensitive resistor RT1 or RT 2.
The power supply VDD may be a power supply, such as 5V, 3.3V, or the like, raised inside the device 300 to be charged. It should be noted that the detection pin of the control module 380 may be an Analog-to-Digital Converter (ADC) pin.
Charging interface 310 may increase in temperature during the charging process. The reason for the temperature increase may be that the temperature increase is caused by heat generation of the charging interface 310 itself, or the temperature increase of the battery or the charging circuit may affect the temperature increase of the charging interface 310. After the temperature of the charging interface 310 rises, the impedance of the charging interface 310 changes, and the resistance of the detection resistor changes. A mapping table may be preset, preset difference threshold values corresponding to different temperatures are stored in the mapping table, and then the corresponding preset difference threshold values are obtained from the mapping table according to the current first temperature information of the charging interface 310, so as to offset the impedance difference of the charging interface 310 caused by the temperature change. Because the difference between the first impedance value and the second impedance value is increased due to the temperature change, the preset difference threshold value is correspondingly adjusted (if increased) at the moment, so that the difference threshold value is more reasonable, and the misjudgment is prevented.
In other embodiments, the resistance values of the sensing resistors corresponding to different temperatures may be stored in a mapping table, and then the resistance values of the sensing resistors corresponding to different temperatures are obtained from the mapping table according to the current first temperature information of the charging interface 310, and then the corresponding first resistance value and the second resistance value are obtained by combining with an R-R0 (V1/(V0-V1)) formula.
Referring to fig. 8, fig. 8 is another schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure. The charging circuit further includes a first switching element 360. The first switching element 360 includes a first input terminal 361, a first output terminal 362 and a first control terminal 363, the first input terminal 361 is connected to the power input pin VBUS of the charging interface 310, the first output terminal 362 is connected to ground, and the first control terminal 363 is used for controlling the first input terminal 361 and the first output terminal 362 to be connected or disconnected. Thereby realizing the connection or disconnection between the power input pin VBUS of the charging interface 310 and the ground. The power input pin VBUS of the charging interface 310 is connected to the power pin of the external charging device 200, that is, the charging signal of the external charging device 200 is obtained through the power input pin VBUS. The first switch element 360 may be a triode, a field effect transistor, or a controllable switch.
A General Purpose Input/Output (GPIO) pin of the control module 380 is connected to the first control terminal 363. When the difference between the first impedance value and the second impedance value is greater than the preset difference threshold, the control module 380 connects the first input terminal 361 with the first output terminal 362 via the first control terminal 363.
If the charging interface 310 is normal, the first impedance value is equal to or close to the second impedance value, and the difference between the first impedance value and the second impedance value is small or 0. If the difference between the two is large, for example, larger than a preset difference threshold (the preset difference threshold may be set to different values according to different charging interfaces 310, such as 10 ohms, 50 ohms, 100 ohms, etc.), it is determined that the charging interface 310 is abnormal, and the first input terminal 361 and the first output terminal 362 of the first switch element 360 are connected, that is, the power input pin of the charging interface 310 is short-circuited to ground, so that the device 300 to be charged or the external charging device 200 is overcurrent-protected, the charging of the device 300 to be charged is stopped, and the charging interface 310 is protected from being damaged.
For example, interface 310 charges is the Type-C interface, because the pin of Type-C interface is more, and the width of Type-C interface is limited, and consequently the interval between Type-C interface pin is less, when advancing liquid or dirty, causes little short circuit easily to lead to the temperature rise at Type-C interface, causes Type-C interface and treats that charging device 300 burns out. When the Type-C interface is slightly short-circuited, the impedance of the Type-C interface can be changed. Whether the Type-C interface is short-circuited or not is determined through impedance change, so that charging is stopped, and the Type-C interface is protected.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a device to be charged and a charging apparatus according to an embodiment of the present disclosure. The control module 380 may include a fast charge management chip 381 and a battery management chip 382. When the target charging power is the first charging power, the power input pin VBUS of the charging interface 310 is used for connecting the battery 330 directly or through the second switch element 371; when the target charging power is the second charging power, the power input pin VBUS of the charging interface 310 is connected to the battery 330 through the battery management chip 382.
When the external charging device 200 and the device 300 to be charged are in the normal charging mode, i.e. when the target charging power is the second charging power, the power input pin VBUS of the charging interface 310 is connected to the battery 330 through the battery management chip 382. The battery management chip 382 comprises a protection circuit, and can directly short-circuit the VBUS of the power supply pin of the Type-C interface to ground, stop charging and realize temperature reduction of the Type-C interface. The battery management chip 382 further includes an inductor L1 around the battery management chip 382, and one end of the inductor L1 is connected to the power management chip 382, and the other end is connected to the battery 330.
When the external charging device 200 and the device 300 to be charged are in the fast charging mode, i.e. when the target charging power is the first charging power, the power input pin VBUS of the charging interface 310 is connected to the external charging device 200 or to the battery 330 through the second switch element 371. The electric energy of the external charging device 200 directly charges the battery 330 of the device 300 to be charged, so that high-power quick charging can be realized. Meanwhile, the battery management chip 382 does not pass through between the external charging device 200 and the battery 330 of the device 300 to be charged, when the charging interface 310 has foreign matters or liquid entering at the Type-C interface, a short circuit can occur between pins at the Type-C interface, because under the direct charging mode, the pins of the charging interface 310 are directly electrically connected with the battery 330, the battery management chip 382 does not exist between the charging interface 310 and the battery 330 for protection, and the short circuit at the Type-C interface can cause overlarge current in a short time and easily burn the Type-C interface and the device 300 to be charged. If the Type-C interface is abnormal, if the temperature information of the Type-C interface exceeds a safe temperature threshold (such as 60 degrees centigrade), the Type-C interface and the battery 330 are disconnected and quit the quick charging, then the power supply pin VBUS of the Type-C interface is in short circuit with the ground, the charging is stopped, the temperature reduction of the Type-C interface is realized, and the Type-C interface is protected. Therefore, the power pin VBUS of the Type-C interface can be prevented from being grounded and shorted under the quick charging mode, so that the power pin of the battery 330 is also grounded and shorted, the voltage VBAT of the battery 330 is 0, and the problem of power failure of the whole system of the device 300 to be charged is solved.
In some embodiments, the second switching element 371 includes a second input 3711, a second output 3712, and a second control 3713. The second input terminal 3711 is connected to the power input pin VBUS of the charging interface 310, the second output terminal 3712 is used for connecting to the input terminal of the battery 330, the second input terminal 3711 is connected to the second output terminal 3712 to enter a fast charging mode, and the second control terminal 3713 is used for controlling the connection or disconnection of the second input terminal 3711 and the second output terminal 3712.
The control module 380 is connected to the second control terminal 3713, when the difference between the first impedance value and the second impedance value is greater than the preset difference threshold value, and the charging circuit is in the fast charging mode, the control module 380 firstly controls the second input terminal 3711 and the second output terminal 3712 to be disconnected to exit the fast charging mode, and then connects the first input terminal 361 and the first output terminal 362, so that the device 300 to be charged or the external charging device 200 is subjected to overcurrent protection, the charging of the device 300 to be charged is stopped, and the charging interface 310 is protected from being damaged.
In some embodiments, the second switch element 371 may be a switch tube. The second switch element 371 may also include a first switch tube 372 and a second switch tube 374, an input end of the first switch tube 372 is used as a first input end 3711, an output end of the second switch tube 374 is used as a first output end 3712, an output end of the first switch tube 372 is connected to an input end of the second switch tube 374, and a control end of the first switch tube 372 is connected to a control end of the second switch tube 374 and is used as a first control end 3713.
The first switch tube 372 and the second switch tube 374 may be field effect transistors or triodes. Taking a field effect transistor as an example, the input terminal of the first switching tube 372 is a source, the output terminal of the first switching tube 372 is a drain, the control terminal of the first switching tube 372 is a gate, the input terminal of the second switching tube 374 is a drain, the output terminal of the second switching tube 374 is a source, and the control terminal of the second switching tube 374 is a gate. The two fet connections prevent the signal from the battery 330 from flowing backwards.
In some embodiments, the control module 380 sends a power-off command to the external charging device 200 through the charging interface 310, where the power-off command is used to control the external charging device 200 to stop inputting the charging signal to the charging interface 310.
Control module 380 may also send a power-off command to external charging device 200, where the power-off command may be sent to charging device 200 through charging interface 310, or may be sent to charging device 200 through WIFI, bluetooth, or other manners. The power-off command may be used to control the external charging device 200 to stop inputting the charging signal to the charging interface 310. Therefore, the charging device 200 stops inputting the charging signal to the charging interface 310 of the device to be charged, and the safety is improved.
The charging interface 310 includes communication pins D +, D-, and the control module 380 has two corresponding communication ports, which are respectively connected to one of the communication pins. The control module 380 communicates with the charging device 200 through two communication ports.
An analog-to-digital converter (AC-DC) is provided in the charging device 200 for converting AC power (e.g. 220V AC power) of the utility power into DC power (e.g. 5V DC power) for charging the device 300 to be charged. The battery management chip 382 may have a DC-DC voltage conversion module therein, which may adjust the voltage and/or current output to the battery 330 according to the requirement of the battery 330.
The charging device 200 may disconnect the AC-DC module from the power input pin of the charging interface 310, or disconnect the commercial power from the AC-DC module.
In some embodiments, a resistor R1 may be connected in series with the charging cable 210 between the VBUS line and the CC line to indicate that an external charging device (e.g., a power adapter) is the source device. A resistor R1 may also be connected in series between the VOUT pin and the CC pin of the external charging device 200 to indicate that the external charging device (e.g., a power adapter) is a source device. A battery protection board may be disposed in the battery 330 of the device 300 to be charged, and the battery protection board may implement functions such as short circuit and overcurrent protection.
In some embodiments, the charging circuit further includes a third switching element 260 and a second control module 230 located within the charging device 200.
The third switching element 260 includes a third input terminal 261, a third output terminal 262 and a third control terminal 263, wherein the third input terminal 261 is used for connecting a power supply, the third output terminal 262 is connected to the power supply input pin VBUS of the charging interface 310, and the third control terminal 263 is used for controlling the connection or disconnection between the third input terminal 261 and the third output terminal 262.
The second control module 230 connects the third control terminal 263 and the power input pin VBUS, and disconnects the third input terminal 261 from the third output terminal 262 when the second control module 230 detects that the power input pin VBUS is grounded.
The charging apparatus 200 includes a third switching element 260 and a second control module 230, and when the second control module 230 detects that the power input pin VBUS is grounded, the third control module disconnects the third input terminal 261 and the third output terminal 262, so as to disconnect the power supply from the power input pin VBUS of the charging interface 310, thereby protecting the device 300 to be charged and the charging apparatus 200. The third switching element 260 may be a field effect transistor, a triode, a controllable switch, and the like. Wherein the third input 261 of the third switching element 260 may be connected to an output of the AC-DC module.
Referring to fig. 10, fig. 10 is a schematic flowchart illustrating a charging processing method according to an embodiment of the present disclosure. Referring to fig. 5 to 9, the charging processing method is applied to a device 300 to be charged, where the device 300 to be charged includes a charging interface 310, and the charging interface 310 is used to connect to the charging apparatus 200. The charging processing method may specifically include:
101, acquiring the connection state of the charging interface.
The device to be charged 300 may be the device to be charged 300 in the above embodiment, and the charging apparatus 200 may be the charging apparatus 200 in the above embodiment, which is not described herein again. The charging interface 310 is used to connect the external charging device 200. The charging interface 310 may be a Universal Serial Bus (USB) interface. Specifically, the charging interface 310 may be a Micro USB interface or a Type-C interface, and of course, the charging interface 310 may also be other interfaces. The charging interface 310 is connected to the external charging device 200 through a charging cable line, and obtains power from the external charging device 200. The external charging device 200 may be an adapter or the like.
The connection state includes a connected state and an unconnected state, the connected state indicates that the charging interface 310 is connected to the external charging device 200, and the unconnected state indicates that the charging interface 310 is not connected to the charging device 200.
Specifically, the detection may be performed through a spare pin or a dedicated test pin of the charging interface 310. For example, interface 310 that charges is the Type-C interface, detects through an idle pin in the Type-C interface, and when the Type-C interface did not pass through the charging wire and connects the adapter, this idle pin was the low level, and after the Type-C interface passed through the charging wire and connects the adapter, the adapter improved a high level for this idle pin. In this way, the connection state of charging interface 310 can be detected by determining the level of the idle pin. The idle pin is at a low level and is in an unconnected state, and the idle pin is at a high level and is in a connected state.
102, when the connection state is the disconnection state, acquiring a first impedance value of the charging interface.
The first impedance value is an impedance value when the charging interface 310 is not connected to the charging device 200.
103, when the connection state is the connected state, acquiring a second impedance value of the charging interface.
The second impedance value is the impedance value when charging interface 310 is connected to charging device 200.
And 104, stopping charging through the charging interface when the difference value between the first impedance value and the second impedance value is greater than a preset difference value threshold value.
After the first impedance value and the second impedance value are obtained, the difference value between the first impedance value and the second impedance value is obtained, and when the difference value between the first impedance value and the second impedance value is smaller than a preset difference threshold value, it is said that the charging interface 310 is normal, and charging can be performed through the charging interface 310. When the difference value between the first impedance value and the second impedance value is greater than the preset difference threshold value, a foreign object or liquid may enter the charging interface 310, which may cause a micro short circuit in the charging interface 310, and at this time, the charging through the charging interface 310 is stopped, so as to protect the charging interface 310.
In some embodiments, the charging processing method further comprises: acquiring first temperature information of the charging interface; and obtaining a corresponding preset difference threshold from a mapping table according to the first temperature information.
The first temperature information of the charging interface 310 may be acquired in real time. Charging interface 310 may increase in temperature during the charging process. The reason for the temperature increase may be that the temperature increase is caused by heat generation of the charging interface 310 itself, or the temperature increase of the battery or the charging circuit may affect the temperature increase of the charging interface 310. After the temperature of the charging interface 310 rises, the impedance of the charging interface 310 changes, and the resistance of the detection resistor changes. A mapping table may be preset, preset difference threshold values corresponding to different temperatures are stored in the mapping table, and then the corresponding preset difference threshold values are obtained from the mapping table according to the current first temperature information of the charging interface 310, so as to offset the impedance difference of the charging interface 310 caused by the temperature change. Because the difference between the first impedance value and the second impedance value is increased due to the temperature change, the preset difference threshold value is correspondingly adjusted (if increased) at the moment, so that the difference threshold value is more reasonable, and the misjudgment is prevented.
In other embodiments, the resistance values of the sensing resistors corresponding to different temperatures may be stored in a mapping table, and then the resistance values of the sensing resistors corresponding to different temperatures are obtained from the mapping table according to the current first temperature information of the charging interface 310, and then the corresponding first resistance value and the second resistance value are obtained by combining with an R-R0 (V1/(V0-V1)) formula.
In some embodiments, the step of obtaining the corresponding preset difference threshold from the mapping table according to the first temperature information may specifically include:
when the first temperature information is smaller than a safe temperature threshold, obtaining a corresponding preset difference threshold from a mapping table according to the first temperature information;
and when the first temperature information is greater than a safe temperature threshold value, stopping charging through the charging interface.
When the device to be charged is charged with the external charging device 200 through the charging interface 310, whether the charging interface 310 has a micro short circuit or not can be judged according to the temperature of the charging interface 310, and when the charging interface 310 has foreign matters or liquid, the micro short circuit can be caused, so that the temperature at the charging interface 310 is increased. When the temperature at the charging interface 310 exceeds a safe temperature threshold, the charging through the charging interface 310 is stopped.
Specifically, the first input terminal 361 and the first output terminal 362 of the first switch element 360 may be controlled to be turned on, so as to ground the VBUS input pin of the charging interface 310, that is, ground the VBUS input pin of the charging interface 310, so as to ground the VBUS input pin of the external charging device 200, thereby over-current protecting the device 300 to be charged or the external charging device 200, stopping charging the device 300 to be charged, and protecting the charging interface 310 from being damaged.
In some embodiments, the charging processing method may further include: and when the first impedance value exceeds a first preset impedance range, stopping charging through the charging interface.
The first preset impedance range may be extracted and set, and then whether the charging interface 310 is abnormal may be determined directly by determining whether the first impedance value at the charging interface 310 is within the first preset impedance range. For example, the first predetermined impedance range may be 80k Ω -120k Ω, or 90k Ω -110k Ω, and when the first impedance value is out of the first predetermined impedance range, it is determined that the charging interface 310 is abnormal, such as a foreign object entering or a liquid entering.
In some embodiments, the charging processing method may further include: and when the second impedance value exceeds a second preset impedance range, stopping charging through the charging interface.
The second preset impedance range may be extracted and set, and then whether the charging interface 310 is abnormal or not may be determined directly by determining whether the second impedance value at the charging interface is within the second preset impedance range or not. For example, the second predetermined impedance range may be 80k Ω -120k Ω, or 90k Ω -110k Ω, and when the second impedance value is out of the second predetermined impedance range, it is determined that the charging interface 310 is abnormal, such as a foreign object entering or a liquid entering.
The first preset impedance range and the second preset impedance range may be the same or different. If the second impedance value changes due to heat generation of the charging interface 310 during the charging process, the second preset impedance range is correspondingly changed.
It should be noted that, in this embodiment, the numerical ranges of the first preset impedance range and the second preset impedance range are only examples, and in some other embodiments, the numerical ranges of the first preset impedance range and the second preset impedance range may be adjusted as needed.
In some embodiments, the step of stopping charging through the charging interface may specifically include: and sending a power-off command to the external charging device, wherein the power-off command is used for controlling the external charging device to stop inputting a charging signal to the charging interface.
The power-off instruction can be sent to the external charging device 200, and the power-off instruction can be sent to the charging device 200 through the charging interface 310, and also can be sent to the charging device 200 through modes such as WIFI and Bluetooth. The power-off command may be used to control the external charging device 200 to stop inputting the charging signal to the charging interface 310. Therefore, the charging device 200 stops inputting the charging signal to the charging interface 310 of the device to be charged, and the safety is improved.
An AC-DC module is disposed in the charging device 200, and is used for converting an alternating current (for example, 220V alternating current) of a commercial power into a direct current (for example, 5V direct current) for charging the device 300 to be charged. The power-off command may control the charging device 200 to disconnect the AC-DC module from the power input pin of the charging interface 310, or disconnect the commercial power from the AC-DC module.
Referring to fig. 11, fig. 11 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure. The electronic device 100 may be a device to be charged in the above-described embodiments, and the electronic device 100 may include a control circuit, which may include the storage and processing circuit 61. The storage and processing circuitry 61 may include memory, volatile memory, etc., and the processing circuitry in the storage and processing circuitry 61 may be used to control the operation of the electronic device 100. The storage and processing circuitry 61 may be used to run software in the electronic device 100.
The electronic device 100 may also include input-output circuitry 62. The input-output circuit 62 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from external devices and also to allow the electronic device 100 to output data from the electronic device 100 to external devices. The input-output circuitry 62 may further include a sensor 63, and one or more displays (e.g., display 64).
Electronic device 100 may also include audio component 65, and communication circuitry 66. The audio component 65 may be used to provide audio input and output functionality for the electronic device 100 and the communication circuit 66 may be used to provide the electronic device 100 with the capability to communicate with external devices.
The electronic device 100 may further include other input-output units 67. The input-output unit 67 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer program causes the computer to execute the charging processing method in any one of the above embodiments, such as: acquiring the connection state of the charging interface; when the connection state is the disconnection state, acquiring a first impedance value of the charging interface; when the connection state is the connected state, acquiring a second impedance value of the charging interface; and when the difference value between the first impedance value and the second impedance value is larger than a preset difference value threshold value, stopping charging through the charging interface.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be noted that, for the charging processing method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the charging processing method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the process of executing the computer program can include the process of the embodiment of the charging processing method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
The charging circuit, the charging processing method, the electronic device, and the storage medium provided in the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and implementations of the present application, and the description of the embodiments above is only used to help understand the method and the core idea of the present application; meanwhile, for those 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 charging circuit, comprising:
the charging interface is used for connecting an external charging device;
the detection module is connected with the charging interface and is used for detecting the connection state of the charging interface;
the impedance acquisition module is connected with the detection module, acquires a first impedance value of a power input pin of the charging interface when the connection state of the charging interface is an unconnected state, and acquires a second impedance value of the power input pin of the charging interface when the connection state of the charging interface is a connected state;
the control module is connected with the impedance acquisition module and acquires the first impedance value and the second impedance value, when the difference value between the first impedance value and the second impedance value is zero or smaller than a preset difference threshold value, the charging is carried out through the charging interface, and when the difference value between the first impedance value and the second impedance value is larger than the preset difference threshold value, the power input pin of the charging interface is grounded so as to stop charging through the charging interface.
2. The charging circuit of claim 1, further comprising a temperature detection element configured to obtain first temperature information of the charging interface;
the control module is connected with the temperature detection element and acquires the first temperature information, and the control module obtains a corresponding preset difference threshold from a mapping table according to the first temperature information.
3. The charging circuit of claim 1, further comprising a first switching element;
the first switch element comprises a first input end, a first output end and a first control end, the first input end is connected with a power input pin of the charging interface, the first output end is grounded, and the first control end is used for controlling the first input end and the first output end to be connected or disconnected;
when the difference value between the first impedance value and the second impedance value is larger than a preset difference threshold value, the control module connects the first input end with the first output end.
4. The charging circuit according to claim 3, further comprising a second switching element, wherein the second switching element comprises a second input terminal, a second output terminal, and a second control terminal, the second input terminal is connected to the power input pin of the charging interface, the second output terminal is used for connecting to an input terminal of a battery, the second input terminal is connected to the second output terminal to enter a fast charging mode, and the second control terminal is used for controlling the connection or disconnection of the second input terminal and the second output terminal;
the control module is connected with the second control end, when the difference value between the first impedance value and the second impedance value is larger than a preset difference value threshold value and the charging circuit is in a quick charging mode, the control module firstly controls the second input end and the second output end to be disconnected so as to quit the quick charging mode, and then the first input end is connected with the first output end.
5. The charging circuit of claim 1, wherein the control module sends a power-off command to the external charging device through the charging interface, and the power-off command is used for controlling the external charging device to stop inputting a charging signal to the charging interface.
6. The charging processing method is applied to a device to be charged, and is characterized in that the device to be charged comprises a charging interface, and the charging interface is used for connecting an external charging device; the method comprises the following steps:
acquiring the connection state of the charging interface;
when the connection state is the disconnection state, acquiring a first impedance value of a power input pin of the charging interface;
when the connection state is the connected state, acquiring a second impedance value of a power supply input pin of the charging interface;
when the difference value between the first impedance value and the second impedance value is zero or smaller than a preset difference threshold value, charging through the charging interface;
and when the difference value between the first impedance value and the second impedance value is larger than a preset difference value threshold value, grounding a power input pin of the charging interface so as to stop charging through the charging interface.
7. The charging processing method according to claim 6, further comprising:
acquiring first temperature information of the charging interface;
and obtaining a corresponding preset difference threshold from a mapping table according to the first temperature information.
8. The charging processing method according to claim 7, wherein the step of obtaining the corresponding preset difference threshold from a mapping table according to the first temperature information comprises:
when the first temperature information is smaller than a safe temperature threshold, obtaining a corresponding preset difference threshold from a mapping table according to the first temperature information;
and when the first temperature information is greater than a safe temperature threshold value, stopping charging through the charging interface.
9. The charging processing method according to claim 6, further comprising:
when the first impedance value exceeds a first preset impedance range, stopping charging through the charging interface;
or
And when the second impedance value exceeds a second preset impedance range, stopping charging through the charging interface.
10. The charging processing method according to claim 6, wherein the step of stopping charging through the charging interface includes:
and sending a power-off command to the external charging device, wherein the power-off command is used for controlling the external charging device to stop inputting a charging signal to the charging interface.
11. An electronic device, characterized in that the electronic device comprises a charging circuit and a battery, the charging circuit being connected to the battery, the charging circuit being as claimed in any one of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the charging processing method according to any one of claims 6 to 10.
CN201811348651.4A 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium Active CN109245244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811348651.4A CN109245244B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811348651.4A CN109245244B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109245244A CN109245244A (en) 2019-01-18
CN109245244B true CN109245244B (en) 2021-03-02

Family

ID=65078452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811348651.4A Active CN109245244B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109245244B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110021981B (en) * 2019-04-30 2021-03-23 维沃移动通信有限公司 Charger and terminal
CN110198025B (en) * 2019-06-26 2021-05-07 南京中感微电子有限公司 Battery protection system with temperature detection circuit
CN110266082A (en) * 2019-07-15 2019-09-20 上海爻火微电子有限公司 Detection method, charging interface detection circuit structure and the electronic equipment of channel impedance
CN110445206A (en) * 2019-07-31 2019-11-12 维沃移动通信有限公司 Battery protection system and mobile terminal
CN111614138B (en) * 2020-05-25 2022-02-25 维沃移动通信有限公司 Interface protection circuit and electronic equipment
CN111722122B (en) * 2020-06-01 2023-01-03 Oppo广东移动通信有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium
CN111799858B (en) * 2020-06-17 2022-05-10 维沃移动通信有限公司 Protection circuit, detection method and device thereof, electronic device and medium
CN112701750A (en) * 2020-12-21 2021-04-23 维沃移动通信有限公司 Connector, electronic equipment and control method and device of electronic equipment
CN112765081A (en) * 2021-01-26 2021-05-07 维沃移动通信有限公司 Interface control method and device and electronic equipment
CN117200403A (en) * 2023-11-03 2023-12-08 武汉星纪魅族科技有限公司 Charging control method, electronic device, power adapter and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880238A (en) * 2012-08-30 2013-01-16 中兴通讯股份有限公司 Interface expanding method and device for tablet personal computer
CN107887947A (en) * 2017-11-24 2018-04-06 维沃移动通信有限公司 A kind of guard method of charging port and mobile terminal
CN108390117A (en) * 2018-03-14 2018-08-10 维沃移动通信有限公司 Charging method and mobile terminal
CN108536055A (en) * 2018-03-21 2018-09-14 维沃移动通信有限公司 A kind of mobile terminal and detection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016045001A1 (en) * 2014-09-23 2016-03-31 Dialog Semiconductor Inc. Usb data pin impedance detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880238A (en) * 2012-08-30 2013-01-16 中兴通讯股份有限公司 Interface expanding method and device for tablet personal computer
CN107887947A (en) * 2017-11-24 2018-04-06 维沃移动通信有限公司 A kind of guard method of charging port and mobile terminal
CN108390117A (en) * 2018-03-14 2018-08-10 维沃移动通信有限公司 Charging method and mobile terminal
CN108536055A (en) * 2018-03-21 2018-09-14 维沃移动通信有限公司 A kind of mobile terminal and detection method

Also Published As

Publication number Publication date
CN109245244A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109245244B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109412234B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109378877B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109378878B (en) Charging circuit, charging processing method, electronic device, and storage medium
US10181742B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US11336105B2 (en) Multi-battery charging and discharging device and mobile terminal
US10658860B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US11556163B2 (en) Electronic device including connector and method for controlling power transmission/reception in electronic device
US20130335010A1 (en) Connector and control chip
CN109286219B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109286220B (en) Charging circuit, charging processing method, electronic device, and storage medium
WO2018034381A1 (en) Electronic device and electronic device control method
US20150256013A1 (en) Portable power supply
US11239684B2 (en) Electronic device and control method
CN109450023B (en) Charging circuit, charging processing method, electronic device, and storage medium
EP3050191A1 (en) Apparatus and method to change current limit
EP3614523B1 (en) Charging processing method and terminal device
WO2018039013A1 (en) Electrical apparatuses with connector overheating protection and methods thereof
CN106463974A (en) Connector and charging system
CN116111659A (en) Charging circuit, method, device, electronic equipment and medium
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
US20170018938A1 (en) Apparatus, a system, a computer program product and a method for signalling between an accessory and an apparatus
CN112929485B (en) Electronic device, interface module protection method, protection device and storage medium
CN220527717U (en) Charging circuit and terminal equipment
CN106650512B (en) A kind of method and electronic equipment for protecting 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
GR01 Patent grant
GR01 Patent grant