CN110739742A - Charging protection method, charging protection circuit, charging system and terminal - Google Patents

Charging protection method, charging protection circuit, charging system and terminal Download PDF

Info

Publication number
CN110739742A
CN110739742A CN201911032862.1A CN201911032862A CN110739742A CN 110739742 A CN110739742 A CN 110739742A CN 201911032862 A CN201911032862 A CN 201911032862A CN 110739742 A CN110739742 A CN 110739742A
Authority
CN
China
Prior art keywords
charging
interface
charger
voltage
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911032862.1A
Other languages
Chinese (zh)
Other versions
CN110739742B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911032862.1A priority Critical patent/CN110739742B/en
Publication of CN110739742A publication Critical patent/CN110739742A/en
Application granted granted Critical
Publication of CN110739742B publication Critical patent/CN110739742B/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

Abstract

The embodiment of the invention provides charging protection methods, a charging protection circuit, a charging system and a terminal, wherein the method is applied to the terminal, the terminal comprises a charging interface and a charging circuit connected with the charging interface, the method comprises the steps of detecting whether a charger connected with the charging interface is removed or not, detecting the voltage value of a charging input end of the charging circuit, if the voltage value of the charging input end is detected to be larger than or equal to the pull-out detection limit voltage value of the charging circuit, and detecting that the charger is removed, discharging the charging input end, and according to the scheme of the invention, whether the charging circuit is in an abnormal reverse boosting state or not can be accurately identified by detecting whether the charger is removed or not and whether the charging input end has voltage or not, and the charging circuit is discharged when the charging circuit is abnormal, so that the charging circuit detects that the charger is removed, the charging state is correctly displayed, and misleading to a terminal user is avoided.

Description

Charging protection method, charging protection circuit, charging system and terminal
Technical Field
The embodiment of the invention relates to the technical field of charging, in particular to charging protection methods, charging protection circuits, charging systems and terminals.
Background
At present, charging management modules are mainly used by a mobile terminal to manage charging between an adapter and a battery, and the charging process is mainly divided into pre-charging, constant-current, constant-voltage and other processes.
The principle essence of on-off charging is to adopt step-down switch circuit to charge, in the constant voltage charging stage, when the lithium cell is close to full charge, battery voltage is close to the cut-off voltage that charges gradually, charging current is littleer and more, if the energy of inductance is higher than the input among the charging circuit this moment, the backward current flows backward to the input will appear, thereby constitute unusual reverse boost modes, even end user has disconnected the charger, the voltage of input also can not be maintained, lead to the system mistake to think that the charger has not been disconnected, still show in charging, influence user experience.
Disclosure of Invention
The embodiment of the invention provides charging protection methods, charging protection circuits, charging systems and terminals, and aims to solve the problems that the terminal is in an abnormal reverse boosting state in the charging process, even if a terminal user disconnects a charger, the voltage of a charging input end is still maintained, the system mistakenly thinks that the charger is not disconnected, the charging state is displayed mistakenly, and misleading is caused to the terminal user.
In order to solve the technical problem, the invention is realized as follows:
, an embodiment of the present invention provides charging protection methods, which are applied to a terminal that includes a charging interface and a charging circuit connected to the charging interface, and the method includes:
detecting whether a charger connected with the charging interface is removed;
detecting a voltage value of a charging input end of the charging circuit;
and if the voltage value of the charging input end is detected to be larger than or equal to the pull-out detection voltage limit value of the charging circuit and the charger is detected to be removed, discharging the charging input end.
In a second aspect, an embodiment of the present invention provides types of charging protection circuits, where the charging protection circuits are applied to a terminal, the terminal includes a charging interface and a charging circuit connected to the charging interface, and the charging protection circuit includes:
the interface detection module is connected with the charging interface and used for detecting whether the charger at the charging interface is removed or not;
the voltage detection module is connected with the charging input end of the charging circuit and used for detecting the voltage value of the charging input end;
the discharging module is used for discharging the charging input end;
and the control module is used for controlling the discharging module to discharge the charging input end if the voltage value of the charging input end detected by the voltage detection module is greater than or equal to the pull-out detection limit voltage value of the charging circuit and the interface detection module detects that the charger is removed.
In a third aspect, an embodiment of the present invention provides kinds of charging systems, including a charging circuit and the charging protection circuit as described above.
In a fourth aspect, an embodiment of the present invention provides terminals, including the charging system described above.
In a fifth aspect, an embodiment of the present invention provides terminals, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the charge protection method as described above.
In a sixth aspect, an embodiment of the present invention provides computer-readable storage media, where a computer program is stored on the computer-readable storage media, and when the computer program is executed by a processor, the computer program implements the steps of the charge protection method as described above.
In the embodiment of the invention, whether the charger is removed and whether the charging input end has voltage is detected, whether the charging circuit is in an abnormal reverse boosting state can be accurately identified, and the charging circuit detects that the charger is removed by discharging the charging input end when the charging circuit is abnormal so as to correctly display the charging state and avoid misleading the terminal user.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a circuit schematic of a charging circuit;
fig. 2 is a schematic flowchart of charge protection methods according to an embodiment of the present invention;
fig. 3 is a second schematic flow chart of charge protection methods according to the embodiment of the present invention;
fig. 4 is a third schematic flow chart of charge protection methods according to the embodiment of the present invention;
fig. 5 is a schematic diagram illustrating the components of charging protection circuits according to an embodiment of the present invention;
fig. 6 is a schematic circuit diagram of charging systems according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the structure of terminals according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of terminals according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
Further, the use of "and/or" in the specification and claims means that at least of the attached objects, such as a and/or B, means that there are three instances where a single A, a single B, and both A and B are included.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Embodiments of the present invention are described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a circuit schematic diagram of charging circuits, as shown in fig. 1, in the charging circuit, Q1 is a MOSFET, Q2 is a high-side N-MOSFET, Q3 is a low-side N-MOSFET, L is a charging inductor, C2 and C3 are an input capacitor and an output capacitor, respectively, Q4 is a MOSFET for charging path management, and the capacitor C4 and the diode D1 form a bootstrap circuit for controlling the on and off of Q2 after boosting.
As shown in FIG. 1, in the constant voltage charging stage, when the battery is close to full charge, the battery voltage will gradually approach the charge cut-off voltage, the charging current will be smaller and smaller, the duty ratio of Q2 will be smaller and the duty ratio of Q3 will be larger and larger, after is fixed, Q3 will be closed and enter into diode mode, and freewheel through the body diode of Q3, however, in order to maintain the normal conduction and closing of Q2, it still needs to open Q3 at an interval of to charge C4, when Q3 is opened, if the energy of inductor L is higher than the input at this time, the reverse current will flow back to the charge input, so abnormal reverse boost modes are formed, even if the end user disconnects the charger, the voltage at the charge input will not be maintained, so that the charging circuit is not disconnected, the system still shows in the charging, and the user experience is affected.
Referring to fig. 2, fig. 2 is a of a flowchart illustrating charging protection methods according to an embodiment of the present invention, an embodiment of the present invention provides charging protection methods that can be applied to a terminal including a charging interface and a charging circuit 200 connected to the charging interface, where the charging protection method specifically includes:
step S1, detecting whether the charger connected with the charging interface is removed;
step S2, detecting a voltage value at the charging input terminal of the charging circuit 200;
in step S3, if the voltage value of the charging input terminal is detected to be greater than or equal to the unplugging detection voltage limit value of the charging circuit 200 and the charger is detected to be removed, the charging input terminal is discharged.
The charging protection method is started in a terminal charging state, if the detected voltage value of the charging input end is greater than or equal to the pulling-out detection limit voltage value of the charging circuit 200 and the charger is detected to be removed, the charging circuit is judged to be in a reverse flow/reverse boost state, and because the reverse boost state belongs to abnormal weak balance and does not have carrying capacity, after the charging input end is discharged, the voltage of the charging input end is pulled down to be below the insertion detection limit value of the charging circuit, so that the charging circuit can correctly detect that the charger is pulled out, close charging and exit the abnormal reverse flow state.
That is to say, the charging protection method provided in the embodiment of the present invention can accurately determine whether the charging circuit 200 is in the abnormal reverse boosting state by detecting the state of the charger (whether the charger is removed) connected to the charging interface and the voltage value of the charging input terminal, and then take measures to discharge the charging input terminal to reduce the voltage of the charging input terminal to be below the limit of the insertion detection of the charging circuit 200, so that the charging circuit can correctly detect that the charger is pulled out, and then close the charging and exit the abnormal reverse flow state.
The above-mentioned unplugging detection limit voltage value of the charging circuit 200 may be a predetermined threshold , that is, a predetermined value according to the actual circuit, if the voltage value of the charging input terminal is detected to be greater than or equal to the unplugging detection limit voltage value, the charging circuit 200 may determine that the charger is unplugged (the charger may or may not be unplugged at this time because there may be a reverse boost state), and similarly, the plugging detection limit voltage value of the charging circuit 200 may also be a predetermined threshold , that is, a predetermined value according to the actual circuit, if the voltage value of the charging input terminal is detected to be less than the plugging detection limit voltage value, the charging circuit 200 may determine that the charger is unplugged.
In the above steps S1 and S2, step S1 may be performed first and step S2 may be performed later, step S2 may be performed first and step S1 may be performed later, or step S1 and step S2 may be performed simultaneously.
The terminal provided by the embodiment of the invention can be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA) and the like. Those skilled in the art will recognize that the words are not limiting.
Referring to fig. 3, fig. 3 is a second schematic flow chart of charging protection methods according to another embodiment of the present invention, as shown in fig. 3, the charging protection method according to the embodiment of the present invention can be applied to a terminal whose charging interface is a type-C interface, and the charging protection method includes:
step S10, detecting whether the charger connected with the charging interface is removed;
specifically, in step S10, detecting whether the charger is removed can determine whether the charger is removed by detecting whether a cc (configuration channel) pin at the charging interface is in place (i.e., whether a voltage exists), that is: if the voltage exists in the CC pin, the charger is judged not to be removed; if no voltage is present at the CC pin, the charger is determined to be removed.
Step S20, detecting a voltage value at the charging input terminal of the charging circuit 200;
in step S30, if it is detected that the voltage value Vbus of the charging input terminal is greater than or equal to the unplugging detection voltage limit value Vbus1 of the charging circuit 200 and it is detected that the charger is removed, the charging input terminal is discharged.
Specifically, in step S30, it is preferable to preferentially determine the detection result of step S10, that is, if the charger is removed in step S10, the process returns to step S10, and if the charger is not removed in step S10, the process advances to step to determine the detection result of step S20, that is, if the voltage value of the charging input terminal detected in step S20 is less than the pull-out detection limit voltage value of the charging circuit 200, the process returns to step S20, and if the voltage value of the charging input terminal detected in step S20 is greater than or equal to the pull-out detection limit voltage value of the charging circuit 200, that is, the charging circuit is determined to be in the reverse flow/reverse boost state, the voltage of the charging input terminal is discharged, and after the charging input terminal is discharged, the voltage of the charging input terminal is pulled down below the insertion detection limit voltage value of the charging circuit, so that the charging circuit correctly detects the charger, shuts down the charging, and exits the reverse flow state.
In the above steps S10 and S20, step S10 may be performed first and step S20 may be performed second, step S20 may be performed first and step S10 may be performed second, and step S10 and step S20 may be performed simultaneously.
Referring to fig. 4, fig. 4 is a third schematic flowchart of charging protection methods according to another of the present invention, as shown in fig. 4, the charging protection method according to the present invention can be applied to a terminal whose charging interface is a Micro-B interface, and the charging protection method includes:
step S100, detecting whether a charger connected with the charging interface is removed;
specifically, in step S100, detecting whether the charger connected to the charging interface is removed can be performed by detecting whether a DP/DM (Data Minus/Data Plus) terminal at the charging interface is in place (i.e., whether a voltage is present) to determine whether the charger is removed, that is: if the voltage exists at the DP/DM end, the charger is judged not to be removed; if no voltage exists at the DP/DM end, the charger is determined to be removed.
Step S200, detecting a voltage value of a charging input terminal of the charging circuit 200;
in step S300, if it is detected that the voltage value Vbus of the charging input terminal is greater than or equal to the pull-out detection voltage limit value Vbus1 of the charging circuit 200 and it is detected that the charger is removed, the charging input terminal is discharged.
Specifically, in step S300, preferably, the detection result of step S100 may be preferentially determined, that is, if the charger is removed in step S100, the step S100 is returned, and if the charger is not removed in step S100, the step is performed to determine the detection result of step S200, that is, if the voltage value of the charging input terminal is detected to be less than the unplugging detection limit voltage value of the charging circuit 200 in step S200, the step S200 is returned, and if the voltage value of the charging input terminal is detected to be greater than or equal to the unplugging detection limit voltage value of the charging circuit 200 in step S200, the charging input terminal is preliminarily determined to be in the reverse flow/reverse boost state, and the charging input terminal is discharged.
Step S400, after discharging the charging input terminal, detecting the voltage value of the charging input terminal of the charging circuit 200 again, that is, repeating step S200, if the voltage value Vbus of the charging input terminal detected again is greater than or equal to the insertion detection voltage limit value Vbus1 of the charging circuit 200, determining that the error is abnormal, stopping discharging the charging input terminal, and at this time, the terminal is still in the charging state, and if the voltage value Vbus of the charging input terminal detected again is less than the insertion detection voltage limit value Vbus1 of the charging circuit 200, the voltage of the charging input terminal is pulled down to be below the insertion detection voltage limit value Vbus1 of the charging circuit 200, the above-mentioned preliminary determination that the charging circuit is in the reverse flow/reverse boost state is correct, the charging circuit can correctly detect that the charger is pulled out, close the charging, and exit the abnormal reverse flow state.
In the above steps S100 and S200, the step S100 may be performed first and then the step S200 may be performed, the step S200 may be performed first and then the step S100 may be performed, or the step S100 and the step S200 may be performed simultaneously.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating charging protection circuits according to yet another embodiment of the present invention , as shown in fig. 5, charging protection circuits according to an embodiment of the present invention are provided and can be applied to a terminal, where the terminal includes a charging interface and a charging circuit 200 connected to the charging interface, and the charging protection circuit specifically includes:
the interface detection module 300 is connected with the charging interface and used for detecting whether the charger connected with the charging interface is removed or not;
the voltage detection module 400 is connected with the charging input end of the charging circuit 200 and is used for detecting the voltage value of the charging input end;
a discharging module 500 for discharging the charging input terminal;
the control module 600 is configured to control the discharging module 500 to discharge the charging input terminal if the voltage value of the charging input terminal detected by the voltage detecting module 400 is greater than or equal to the unplugging detection limit voltage value of the charging circuit 200 and the interface detecting module 300 detects that the charger is removed.
Further , in the charging protection circuit provided in the embodiment of the present invention, if the charging interface of the terminal is a type-C interface, the specific operating principle of the charging protection circuit may be as follows:
the interface detection module 300 detects whether the charger connected to the charging interface is removed;
specifically, the interface detecting module 300 may determine whether the charger is removed by detecting whether a cc (configuration channel) pin at the charging interface is in place (i.e., whether a voltage exists), that is: if the voltage exists in the CC pin, the charger is judged not to be removed; if no voltage is present at the CC pin, the charger is determined to be removed.
The voltage detection module 400 detects a voltage value of a charging input terminal of the charging circuit 200;
the control module 600 obtains and analyzes the detection results of the interface detection module 300 and the voltage detection module 400, and if the voltage value of the charging input terminal detected by the voltage detection module 400 is greater than or equal to the pulling-out detection limit voltage value of the charging circuit 200, and the interface detection module 300 detects that the charger is removed, that is, it is determined that the charging circuit is in the reverse flow/reverse boost state, the control module 600 controls the discharging module 500 to discharge the charging input terminal, and the voltage of the charging input terminal is quickly lowered to be below the insertion detection limit value of the charging circuit, so that the charging circuit correctly detects that the charger is pulled out, closes the charging, and exits the abnormal reverse flow state.
Further , in the charging protection circuit provided in the embodiment of the present invention, if the charging interface of the terminal is a Micro-B interface, the specific operating principle of the charging protection circuit may be as follows:
the interface detection module 300 detects whether the charger connected to the charging interface is removed;
specifically, the interface detecting module 300 may determine whether the charger is removed by detecting whether the DP/DM terminal at the charging interface is in place (i.e. whether a voltage exists), that is: if the voltage exists at the DP/DM end, the charger is judged not to be removed; if no voltage exists at the DP/DM end, the charger is determined to be removed.
The voltage detection module 400 detects a voltage value of a charging input terminal of the charging circuit 200;
the control module 600 obtains and analyzes the detection results of the interface detection module 300 and the voltage detection module 400, and if the voltage value of the charging input terminal detected by the voltage detection module 400 is greater than or equal to the pull-out detection voltage limit value of the charging circuit 200, and the interface detection module 300 detects that the charger is removed, that is, it is preliminarily determined that the charging circuit is in the reverse flow/reverse boost state, the control module 600 controls the discharging module 500 to discharge the charging input terminal, however, since a part of the charger may have a DP/DM terminal that is not electrically charged, that is, it is possible that the charger is not actually removed, but the voltage detection module 400 detects that the DP/DM terminal is not electrically charged, so that an abnormal false recognition occurs, after the charging input terminal is discharged, the control module 600 re-detects the voltage value of the charging input terminal of the charging circuit 200, if the voltage value of the charging input terminal detected by the voltage detection module 400 is greater than or equal to the primary plug-in detection voltage limit value of the charging circuit 200, it is determined that the abnormal false recognition occurs, the control module 600 controls the discharging module 500 to stop discharging the charging input terminal from discharging, and the charging input terminal is actually still in the charging input terminal is in the charging circuit is in the charging state, and it is determined that the charging input terminal is correctly inserted in the charging circuit is not inserted in the charging circuit, and the reverse flow detection circuit is correctly detected, and it is not detected, and it is determined that the charging.
As shown in fig. 6, step , in the charging protection circuit according to the embodiment of the present invention, the discharging module 500 includes:
the end of the resistor R is connected with the charging input end;
the control terminal of the transistor Q is connected to the control module 600, the th pole of the transistor Q is connected to the other th pole of the resistor R, the second pole of the transistor Q is connected to the ground terminal of the charging circuit 200, and the transistor Q is configured to connect or disconnect the charging input terminal to the ground terminal under the control of the control module 600.
Preferably, the transistor Q may be a MOS transistor, and may specifically be an N-MOSFET.
Referring to fig. 6, fig. 6 is a schematic circuit diagram of charging systems provided by another embodiment of the present invention , as shown in fig. 6, an embodiment of the present invention provides charging systems, which can be applied to a terminal having a charging interface, and the charging system specifically includes a charging circuit 200 and a charging protection circuit in the above embodiment connected to the charging circuit 200. since the charging protection circuit can detect a state of a charger (whether the charger is removed) at the charging interface and a voltage value at a charging input terminal, and accordingly accurately determine whether the charging circuit 200 is in an abnormal reverse boost state, and then take measures to discharge the charging input terminal, so that the voltage at the charging input terminal drops below an insertion detection limit of the charging circuit 200, and thus the charging circuit can correctly detect that the charger is pulled out, and then turn off the charging and exit the abnormal reverse flow state, the charging systems provided by the embodiment of the present invention also have the above functions.
Referring to fig. 7, fig. 7 is a schematic diagram of a terminal according to another embodiment of the present invention, where the terminal 100 includes, but is not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 1010, and a power source 1011.
Wherein, the processor 1010 is configured to:
detecting whether a charger connected with the charging interface is removed;
detecting the voltage value of the charging input end of the charging circuit 200;
if the voltage value of the charging input terminal is detected to be greater than or equal to the unplugging detection limit voltage value of the charging circuit 200 and the charger is detected to be removed, the charging input terminal is discharged.
In the embodiment of the invention, whether the charger is removed and whether the charging input end has voltage is detected, whether the charging circuit is in an abnormal reverse boosting state can be accurately identified, and the charging circuit detects that the charger is removed by discharging the charging input end when the charging circuit is abnormal, so that the charging state is correctly displayed, and misleading to a terminal user is avoided.
It should be understood that in the embodiments of the present invention, the rf unit 101 may be used for receiving and transmitting signals during information transmission and reception or during a call, specifically, receiving downlink data from a base station and then processing the received downlink data to the processor 1010, and further, transmitting uplink data to the base station.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 further includes at least sensors 105, such as a light sensor, a motion sensor, and other sensors, and specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or backlight when the terminal 100 moves to the ear, as the motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions ( is generally three axes), can detect the magnitude and direction of gravity when the terminal is at rest, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like, and the sensors 105 can further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which will not be described herein again.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
, the touch panel 1071 can be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel 1071 can be transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 can provide a corresponding visual output on the display panel 1061 according to the type of the touch event.
The interface unit 108 is an interface through which an external device is connected to the terminal 100, for example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like.
The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least functions (such as a sound playing function, an image playing function, etc.), and a storage data area that may store data created according to use of the cellular phone (such as audio data, a phone book, etc.), and the like, and further, the memory 109 may include a high-speed random access memory and may further include a nonvolatile memory, for example, at least magnetic disk storage devices, flash memory devices, or other volatile solid-state storage devices.
The processor 1010 is a control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal, the processor 1010 may include or more processing units, and preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communication.
The terminal 100 may also include a power source 1011 (e.g., a battery) for powering the various components, and preferably, the power source 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the terminal 100 includes functional modules, which are not shown, and are not described in detail herein.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal according to still another embodiment of the present invention, where the terminal 110 includes a processor 111 and a memory 112, in an embodiment of the present invention, the terminal 110 further includes a computer program stored in the memory 112 and operable on the processor 111, and when the computer program is executed by the processor 111, the following steps are implemented:
detecting whether a charger connected with the charging interface is removed;
detecting the voltage value of the charging input end of the charging circuit 200;
if the voltage value of the charging input terminal is detected to be greater than or equal to the unplugging detection limit voltage value of the charging circuit 200 and the charger is detected to be removed, the charging input terminal is discharged.
The processor 111 is responsible for managing the bus architecture and general processing, and the memory 112 may store data used by the processor 111 in performing operations.
Optionally, the charging interface is a type-C interface, and when being executed by the processor 111, the computer program may further implement the following steps:
the step of detecting whether the charger at the charging interface is removed comprises:
detecting whether voltage exists in a CC pin of the charging interface:
if the voltage exists in the CC pin, judging that the charger is not removed;
if no voltage exists at the CC pin, the charger is judged to be removed.
Optionally, the charging interface is a Micro-B interface, and when being executed by the processor 111, the computer program may further implement the following steps:
detecting whether voltage exists at a DP/DM end of a charging interface:
if the voltage exists at the DP/DM end, judging that the charger is not removed;
and if no voltage exists at the DP/DM end, determining that the charger is removed.
Optionally, the charging interface is a Micro-B interface, and when being executed by the processor 111, the computer program may further implement the following steps:
after the step of discharging the charging input, the method further comprises:
detecting the voltage value of the charging input end again;
and if the voltage value of the charging input end is greater than or equal to the voltage limit value of the insertion detection of the charging circuit, stopping discharging the charging input end.
In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The embodiment of the present invention further provides computer-readable storage media, where a computer program is stored on the computer-readable storage media, and when the computer program is executed by a processor, the computer program implements each process of the above charging protection method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises an series of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Based on the understanding that the technical solution of the present invention per se or parts contributing to the prior art can be embodied in the form of software products stored in storage media (such as ROM/RAM, magnetic disk, optical disk) and including instructions for causing terminals (which may be mobile phones, computers, servers, air conditioners, or network devices, etc.) to execute the methods described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1, charging protection methods, applied to a terminal, the terminal including a charging interface and a charging circuit connected to the charging interface, the method comprising:
detecting whether a charger connected with the charging interface is removed;
detecting a voltage value of a charging input end of the charging circuit;
and if the voltage value of the charging input end is detected to be larger than or equal to the pull-out detection voltage limit value of the charging circuit and the charger is detected to be removed, discharging the charging input end.
2. The charging protection method according to claim 1, wherein the charging interface is a type-C interface, and the step of detecting whether a charger connected to the charging interface is removed comprises:
detecting whether voltage exists in a CC pin of the charging interface:
if the voltage exists in the CC pin, judging that the charger is not removed;
if no voltage exists at the CC pin, the charger is judged to be removed.
3. The charging protection method according to claim 1, wherein the charging interface is a Micro-B interface, and the step of detecting whether the charger connected to the charging interface is removed comprises:
detecting whether voltage exists at a DP/DM end of a charging interface:
if the voltage exists at the DP/DM end, judging that the charger is not removed;
and if no voltage exists at the DP/DM end, determining that the charger is removed.
4. The charge protection method of claim 3, wherein after the step of discharging the charge input, the method further comprises:
detecting the voltage value of the charging input end;
and if the voltage value of the charging input end is greater than or equal to the voltage limit value of the insertion detection of the charging circuit, stopping discharging the charging input end.
5, kinds of protection circuit that charges is applied to the terminal, the terminal including the interface that charges and with the charging circuit that the interface is connected charges, its characterized in that includes:
the interface detection module is connected with the charging interface and used for detecting whether the charger connected with the charging interface is removed or not;
the voltage detection module is connected with the charging input end of the charging circuit and used for detecting the voltage value of the charging input end;
the discharging module is used for discharging the charging input end;
and the control module is used for controlling the discharging module to discharge the charging input end if the voltage value of the charging input end detected by the voltage detection module is greater than or equal to the pull-out detection limit voltage value of the charging circuit and the interface detection module detects that the charger is removed.
6. The charging protection circuit of claim 5, wherein the charging interface is a Micro-B interface,
the control module is further configured to control the voltage detection module to detect the voltage value of the charging input end of the terminal again after controlling the discharging module to discharge the charging input end, and if the voltage value of the charging input end detected by the voltage detection module is greater than or equal to the insertion detection voltage limit value of the charging circuit, control the discharging module to stop discharging the charging input end.
7. The charge protection circuit of claim 5, wherein the discharge module comprises:
the end of the resistor is connected with the charging input end;
and a transistor, a control terminal of which is connected with the control module, an th pole of which is connected with the other end of the resistor, a second pole of which is connected with a ground terminal of the charging circuit, and the transistor is used for connecting or disconnecting the charging input terminal with the ground terminal under the control of the control module.
A charging system of 8, , comprising a charging circuit and a charging protection circuit of any of claims 5-7, wherein the charging protection circuit is the charging protection circuit of any of claims .
A terminal of , comprising the charging system of claim 8.
10, terminal, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the charge protection method according to any of claims 1 to 4, wherein the steps are defined as .
11, computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the charge protection method according to any of claims 1 to 4, wherein the steps are defined as .
CN201911032862.1A 2019-10-28 2019-10-28 Charging protection method, charging protection circuit, charging system and terminal Active CN110739742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911032862.1A CN110739742B (en) 2019-10-28 2019-10-28 Charging protection method, charging protection circuit, charging system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911032862.1A CN110739742B (en) 2019-10-28 2019-10-28 Charging protection method, charging protection circuit, charging system and terminal

Publications (2)

Publication Number Publication Date
CN110739742A true CN110739742A (en) 2020-01-31
CN110739742B CN110739742B (en) 2021-11-23

Family

ID=69271777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911032862.1A Active CN110739742B (en) 2019-10-28 2019-10-28 Charging protection method, charging protection circuit, charging system and terminal

Country Status (1)

Country Link
CN (1) CN110739742B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111817409A (en) * 2020-09-11 2020-10-23 深圳英集芯科技有限公司 Fast charging protection circuit and method, fast charging chip and fast charging power supply equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104393627A (en) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 USB charger, mobile terminal and charging control method
CN104782019A (en) * 2012-11-01 2015-07-15 高通股份有限公司 Prevention of output supply boosting upon removal of input adapter
CN205070466U (en) * 2014-06-24 2016-03-02 苹果公司 Portable electronic equipment and be used for portable electronic equipment's charging system
CN105978093A (en) * 2016-06-24 2016-09-28 青岛海信移动通信技术股份有限公司 Mobile terminal
CN109643904A (en) * 2016-10-03 2019-04-16 英特尔公司 Method for reusing pulse discharging energy during lithium ion quick charge for better power flow efficiency
US20190190284A1 (en) * 2017-12-15 2019-06-20 Qualcomm Incorporated Open-Loop Limiting of a Charging Phase Pulsewidth

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782019A (en) * 2012-11-01 2015-07-15 高通股份有限公司 Prevention of output supply boosting upon removal of input adapter
CN205070466U (en) * 2014-06-24 2016-03-02 苹果公司 Portable electronic equipment and be used for portable electronic equipment's charging system
CN104393627A (en) * 2014-08-29 2015-03-04 展讯通信(上海)有限公司 USB charger, mobile terminal and charging control method
CN105978093A (en) * 2016-06-24 2016-09-28 青岛海信移动通信技术股份有限公司 Mobile terminal
CN109643904A (en) * 2016-10-03 2019-04-16 英特尔公司 Method for reusing pulse discharging energy during lithium ion quick charge for better power flow efficiency
US20190190284A1 (en) * 2017-12-15 2019-06-20 Qualcomm Incorporated Open-Loop Limiting of a Charging Phase Pulsewidth

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111817409A (en) * 2020-09-11 2020-10-23 深圳英集芯科技有限公司 Fast charging protection circuit and method, fast charging chip and fast charging power supply equipment
CN111817409B (en) * 2020-09-11 2020-12-15 深圳英集芯科技有限公司 Fast charging protection circuit and method, fast charging chip and fast charging power supply equipment
CN114172223A (en) * 2020-09-11 2022-03-11 深圳英集芯科技股份有限公司 Quick charging protection method

Also Published As

Publication number Publication date
CN110739742B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
CN107546808B (en) Charging identification circuit, identification method and terminal equipment
CN108923545B (en) Electronic equipment, wireless charging equipment and wireless charging method
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN109672254B (en) Charging control circuit, terminal equipment and control method
CN108135033B (en) Bluetooth connection method and mobile terminal
CN107834640B (en) Charging method and terminal
CN107645189B (en) Charging protection method and mobile terminal
CN107785961B (en) Series battery charging method, mobile terminal and computer readable medium
CN107887947B (en) Protection method for charging port and mobile terminal
US20210391753A1 (en) Terminal and wireless charging control method
CN109755997B (en) Charging method and terminal equipment
CN112596625A (en) Electronic equipment, display control method and device
CN108616650B (en) Dust removal method and mobile terminal
CN108448177B (en) Charging method and terminal
CN113922465A (en) Interface identification circuit, interface identification method and intelligent terminal
CN112165136B (en) Charging interface device and mobile terminal
CN210894629U (en) Electric meter assembly and electronic equipment
CN110739742B (en) Charging protection method, charging protection circuit, charging system and terminal
CN108595352B (en) Protection method and device for mobile terminal
CN107562167B (en) Multi-path charging method, mobile terminal and computer-readable storage medium
CN111725864B (en) Electric quantity transfer method, electronic equipment and readable storage medium
EP4117139A1 (en) Electronic device
CN110460127B (en) Wireless charging control method and terminal equipment
CN108762373B (en) Clock generation circuit and mobile terminal

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