CN114744693A - Charging method and electronic equipment - Google Patents

Charging method and electronic equipment Download PDF

Info

Publication number
CN114744693A
CN114744693A CN202210188068.1A CN202210188068A CN114744693A CN 114744693 A CN114744693 A CN 114744693A CN 202210188068 A CN202210188068 A CN 202210188068A CN 114744693 A CN114744693 A CN 114744693A
Authority
CN
China
Prior art keywords
charging
mode
voltage
charging device
charging mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210188068.1A
Other languages
Chinese (zh)
Inventor
柴路
石荣
欧加成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210188068.1A priority Critical patent/CN114744693A/en
Publication of CN114744693A publication Critical patent/CN114744693A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/061Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for DC powered loads
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application provides a charging method, which comprises the following steps: if the charging equipment is currently in a first charging mode, sending a trigger signal to the charging equipment so that the charging equipment executes circuit resetting based on the trigger signal; based on performing the circuit reset, the charging device switches from the first charging mode to a second charging mode, wherein a charging power in the second charging mode is greater than the first charging mode; and receiving the electric energy provided by the charging equipment in the second charging mode. Simultaneously, this application still provides an electronic equipment.

Description

Charging method and electronic equipment
Technical Field
The present disclosure relates to charging technologies, and in particular, to a charging method and an electronic device.
Background
Along with the release of the quick charging protocol, more and more terminal products carrying the quick charging protocol are provided, and when a terminal supporting the quick charging protocol is connected with a charging device supporting the same quick charging protocol for charging, sometimes the charging device cannot work in a quick charging mode, so that the terminal cannot be charged in the quick charging mode.
Disclosure of Invention
In view of this, the technical solution of the present application is implemented as follows:
according to an aspect of the present application, there is provided a charging method, the method including:
if the charging equipment is currently in a first charging mode, sending a trigger signal to the charging equipment so that the charging equipment executes circuit resetting based on the trigger signal;
based on performing the circuit reset, the charging device switches from the first charging mode to a second charging mode, wherein a charging power in the second charging mode is greater than the first charging mode;
and receiving the electric energy provided by the charging equipment in the second charging mode.
In the foregoing solution, the switching, by the charging device, from the first charging mode to a second charging mode based on the execution of the circuit reset includes:
transmitting a first voltage timing signal to the charging device;
receiving a first voltage parameter returned by the charging device based on the first voltage timing signal;
and if the first voltage parameter is within a first preset voltage parameter range, determining that the charging equipment is currently in a second charging mode.
In the foregoing solution, before the sending the first voltage timing signal to the charging device, the method further includes:
transmitting a second voltage timing signal to the charging device;
receiving a second voltage parameter returned by the charging device based on the second voltage timing signal;
and if the second voltage parameter is within a second preset voltage parameter range, sending the first voltage timing sequence signal to the charging equipment.
In the above scheme, before sending the second voltage timing signal to the charging device, the method further includes;
transmitting a third voltage timing signal to the charging device;
receiving a third voltage parameter returned by the charging device based on the third voltage timing signal;
and if the third voltage parameter is within a third preset voltage parameter range, sending the second voltage timing signal to the charging equipment.
In the above scheme, before the third voltage timing signal is sent to the charging device, the method further includes;
transmitting a fourth voltage timing signal to the charging device;
receiving a fourth voltage parameter returned by the charging device based on the fourth voltage timing signal;
and if the fourth voltage parameter is within a fourth preset voltage parameter range, sending the third voltage time sequence signal to the charging equipment.
In the above scheme, the method further comprises:
if the second voltage parameter is out of the second preset voltage parameter range, determining that the charging equipment is currently in a third charging mode;
receiving electric energy provided by the charging equipment in the third charging mode;
or, if the third voltage parameter is out of the third preset voltage parameter range, determining that the charging device is currently in a fourth charging mode;
receiving the electric energy provided by the charging equipment in the fourth charging mode;
or, if the fourth voltage parameter is out of the fourth preset voltage parameter range, determining that the charging device is currently in a fifth charging mode;
performing the capability provided by the charging device in the fifth charging mode.
In the above scheme, before sending the trigger signal to the charging device, the method further includes:
marking a current charging mode of the charging device;
and receiving the electric energy provided by the charging equipment in the first charging mode according to the mark if the mark meets parameter conditions after the charging equipment performs circuit reset.
In the above scheme, the method further comprises:
in an instance in which it is determined that the charging device is currently in a second charging mode, clearing the flag for the current charging mode of the charging device.
In the foregoing scheme, the determining that the charging device is currently in the first charging mode includes:
and if the first voltage parameter is out of the first preset voltage parameter range, determining that the charging equipment is currently in the first charging mode.
According to another aspect of the present application, there is provided a charging apparatus including:
the charging device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a trigger signal to the charging device if the charging device is currently in a first charging mode so that the charging device executes circuit resetting on the charging device based on the trigger signal;
a switching unit configured to cause the charging device to switch from the first charging mode to a second charging mode based on performing the circuit reset, wherein a charging power in the second charging mode is greater than that in the first charging mode;
and the receiving unit is used for receiving the electric energy provided by the charging equipment in the second charging mode.
According to the charging method and the charging device, under the condition that it is determined that charging equipment is currently in a first charging mode, a trigger signal is sent to the charging equipment, so that the charging equipment executes circuit resetting based on the trigger signal; based on performing the circuit reset, the charging device switches from the first charging mode to a second charging mode; wherein the charging power in the second charging mode is greater than the first charging mode; and receiving the electric energy provided by the charging equipment in the second charging mode. In this way, whether the charging equipment is abnormally charged or not can be automatically judged, and the charging equipment can be enabled to execute circuit reset to switch to a quick charging mode to continuously charge the target terminal in the case of abnormal charging of the charging equipment.
Drawings
Fig. 1 is a first schematic flow chart of a charging method in the present application;
FIG. 2 is a schematic diagram of the identification process of the BC1.2 charging protocol;
FIG. 3 is a schematic diagram of the identification process of the QC2.0 charging protocol;
fig. 4 is a second flowchart illustrating a charging method according to the present application;
FIG. 5 is a first structural diagram of an electronic device according to the present application;
fig. 6 is a structural schematic diagram of an electronic device in the present application.
Detailed Description
The technical solution of the present application is further described in detail with reference to the drawings and specific embodiments of the specification.
As shown in fig. 1, the present embodiment provides a charging method, including:
step 101, if a charging device is currently in a first charging mode, sending a trigger signal to the charging device so that the charging device performs circuit reset based on the trigger signal;
step 102, based on executing the circuit reset, the charging device switches from the first charging mode to a second charging mode, wherein the charging power in the second charging mode is greater than that in the first charging mode;
step 103, receiving the electric energy provided by the charging device in the second charging mode.
In the present application, the charging method may be applied to various electronic devices supporting a fast charging protocol, for example, the electronic device may be a mobile phone, a tablet computer, a mobile phone, a headset, a personal media player, and the like. When the electronic equipment is connected with charging equipment supporting the same rapid charging protocol for charging, the electronic equipment can judge whether the current charging mode of the charging equipment is the rapid charging mode by monitoring the voltage signal changes on a D + signal line and a D-signal line, and if the charging mode of the current charging equipment is determined to be not the rapid charging mode, the charging state of the current charging equipment is determined to be abnormal, and the charging equipment is triggered to execute a restarting process.
In one implementation, if the electronic device supports a Quick Charge (QC) 3.0+ charging protocol provided by the kowtthrough company, in a case where the electronic device is connected to a charging device that also supports the QC3.0+ charging protocol, the electronic device may send a first voltage timing signal to the charging device and receive a first voltage parameter returned by the charging device based on the first voltage timing signal, determine that the charging device is currently in a first charging mode (such as a charging mode of the QC3.0 charging protocol) if the first voltage parameter is outside a first preset voltage parameter range, at which time the electronic device may send a trigger signal to the charging device to cause the charging device to perform a circuit reset based on the trigger signal and perform the circuit reset based on the charging device, if the first voltage parameter is within the first preset voltage parameter range, it is determined that the charging device is currently in the second charging mode (QC3.0+ charging mode of the charging protocol). Thereby realizing the purpose that the charging equipment is switched from the first charging mode to the second charging mode.
Here, the first voltage timing signal may refer to a voltage timing signal of the electronic device when recognizing whether the charging device is the QC3.0+ charging protocol. For example, the output voltage of the electronic device when the charging device is in the QC3.0 charging protocol is 5V, if the first voltage parameter indicates that the current output voltage of the electronic device is 6V, it is determined that the charging device is currently in the QC3.0+ mode, and if the current output voltage of the electronic device is less than or equal to 5V, it is determined that the electronic device is currently in a charging mode other than QC3.0+ (such as the QC3.0 mode, the QC2.0 mode, or the BC1.2 mode).
In this application, the charging power in the second charging mode is greater than that in the first charging mode. For example, the first charging mode is a QC3.0 protocol mode, and the second charging mode is a QC3.0+ protocol mode. Wherein QC3.0QC3.0 provides flexible selection of different voltages in increments of 200mV over a voltage range of 3.6V to 20V. The QC3.0+ protocol is upgraded on the basis of QC3.0, so that the equipment cost does not need to be increased.
Here, the output power of the QC3.0 charging protocol may be 15W, 18W, and 20W, and the output power of the QC3.0+ charging protocol is generally greater than or equal to 30W.
In addition, the QC3.0+ charging protocol is forward compatible with all QC charging protocols, for example, the QC3.0+ is forward compatible with the QC3.0 charging protocol, the QC2.0 charging protocol, and the BC1.2 charging protocol. In order to be compatible with all electronic devices supporting the charging protocols, the charging device may sequentially detect whether voltage parameters corresponding to the charging protocols satisfy conditions during a circuit reset process, perform detection of a next charging protocol if the conditions are satisfied, and provide electric energy to the electronic devices according to a current charging protocol if the conditions are not satisfied.
Based on this, the electronic device may also send a second voltage timing signal (such as a QC3.0 charging protocol signal) to the charging device before sending the first voltage timing signal to the charging device to detect whether the charging device currently supports the QC3.0 charging protocol. If a second voltage parameter returned by the charging device based on the second voltage timing signal is received, whether the second voltage parameter is within a second preset voltage parameter range is judged, if the judgment result indicates that the second voltage parameter is within the second preset voltage parameter range, the charging device supports a QC3.0 charging protocol, and then the first voltage timing signal (such as a QC3.0+ charging protocol signal) is sent to the charging device.
In this application, before the electronic device sends the second voltage timing signal to the charging device, the electronic device may also send a third voltage timing signal (for example, a QC2.0 charging protocol signal) to the charging device to detect whether the charging device supports a QC2.0 charging protocol, receive a third voltage parameter returned by the charging device based on the third voltage timing signal, then determine whether the third voltage parameter is within a third preset voltage parameter range, if the determination result indicates that the third voltage parameter is within the third preset voltage parameter range, it indicates that the charging device supports the QC2.0 charging protocol, and then send the second voltage timing signal to the charging device.
Here, the QC2.0 charging protocol usually supports three fixed voltages of 5V, 9V and 12V, and after it is determined that both the mobile phone terminal and the charger terminal support the QC2.0 charging protocol, the input voltage is directly jumped from 5V to 9V or 12V and rushes to the total electric quantity, thereby causing very serious power consumption of the mobile phone. And QC3.0 supports the fluctuation voltage of 3.6V-12V, allows the input voltage to start from 3.6V, takes 0.2V as the unit, combines factors such as real-time battery temperature, conversion efficiency, electric quantity and the like to carry out fine adjustment, and gradually increases or decreases in the allowed input voltage range (9V or 12V). Thereby reducing the power consumption of the mobile phone.
In this application, before sending the third voltage timing signal to the Charging device, the electronic device may also send a fourth voltage timing signal (such as a Battery Charging (BC) 1.2 signal) to the Charging device to detect whether the Charging device supports a BC1.2 Charging protocol; if the electronic equipment receives a fourth voltage parameter returned by the charging equipment based on the fourth voltage time sequence signal, judging whether the fourth voltage parameter is within a fourth preset voltage parameter range; if the judgment result indicates that the fourth voltage parameter is within a fourth preset voltage parameter range, determining that the charging equipment supports a BC1.2 charging protocol; and then the electronic equipment sends the third voltage timing signal to the charging equipment.
Here, the BC1.2 charging protocol is used to specify the requirements for battery charging, typically with an output power of 7.5W, and the BC1.2 charging protocol mainly includes several USB port types: a Standard Downlink Port (SDP), a Dedicated Charging Port (DCP), and a Downlink Charging Port (CDP). The SDP only supports a data protocol and does not support a charging protocol (such as a common USB data transmission interface); the DCP supports only the charging protocol, does not support the data protocol (such as a wall charger and a vehicle charger), and the CDP supports both the data protocol and the charging protocol (such as a computer interface). And QC2.0, QC3.0, and QC3.0+ continue to perform detection if the charging device is a DCP-type charging port.
In this application, if the second voltage parameter is outside the second preset voltage parameter range, the electronic device determines that the charging device is currently in a third charging mode (for example, QC2.0 mode), and receives the electric energy provided by the charging device in the third charging mode. If the second voltage parameter is within the second preset voltage parameter range, but if the third voltage parameter is outside the third preset voltage parameter range, the electronic device determines that the charging device is currently in a fourth charging mode (such as a DCP mode); and receiving the electric energy provided by the charging device in the fourth charging mode. If the third voltage parameter is within the third predetermined voltage parameter range, but if the fourth voltage parameter is outside the fourth predetermined voltage parameter range, the electronic device determines that the charging device is currently in a fifth charging mode (such as a CDP mode or an SDP mode), and receives the capability provided by the charging device in the fifth charging mode.
Next, the identification process of each charging mode is described:
fig. 2 is a schematic diagram of the identification process of the BC1.2 charging protocol, as shown in fig. 2:
firstly, taking a mobile phone as an example, a voltage of 0.6V is applied to a D + signal line, and if the mobile phone detects that the voltage on the D-signal line is 0V, it indicates that the D-signal line and the D + signal line are not connected, so that the voltage on the D + signal line cannot be transmitted to the D-signal line, at this time, it is determined that a USB2.0 interface currently connected to the mobile phone is an SDP type port, for example, a USB interface capable of only transmitting data is currently connected to the mobile phone. If the handset detects a voltage of 0.6V on the D-signal line, it will assume that it is connected to a CDP (high power charge + communication port, such as a computer) or DCP (dedicated charge port, such as a wall charge), since the D + signal line and the D-signal line are connected. The handset continues to apply a voltage of 0.6V to D-, if the handset detects that the voltage at D + is 0.6V, it is determined that the USB interface to which the handset is currently connected is a DCP type port, i.e., the USB interface to which the handset is connected is a dedicated charger, and then continues to pull up D + to 3V or 0.6V. If the mobile phone detects that the voltage on the D + is 0V, the USB interface which is currently connected with the mobile phone is determined to be a CDP type port with high current and charging capability, for example, the USB interface connected with the mobile phone is a computer, and then the voltages on the D-and the D + on the mobile phone are released.
Fig. 3 is a schematic diagram of the identification process of the QC2.0 charging protocol, as shown in fig. 3:
here, since QC2.0 is based on the BC1.2 charging protocol and is forward compatible with the BC1.2 charging protocol, the mobile phone, in case that it is determined that the currently connected USB interface is a DCP type port, pulls up the D + signal line to 3V or 6V, then controls the DCP port to disconnect the D-signal line and the D + signal line after 1.25S, then detects whether the voltage on the D-signal line drops, and if it is detected that the voltage on the D-signal line drops, determines that the currently connected USB interface is a QC type charger.
In the application, the QC3.0 charging protocol is compatible with the QC2.0 charging protocol, so that on the basis of the flow of the QC2.0 charging protocol, the mobile phone terminal controls the D + signal line and the D-signal line to enable the charging head of the QC charger to boost voltage firstly and then reduce the voltage to a default output voltage (for example, 5V) at a pace of 200 mv. In this process, if the charging head can complete the voltage-up and voltage-down at a step of 200mv, it is determined that the current charger is of type QC3.0, otherwise, it is of type QC 2.0.
For example, the following may be: the voltage is increased by 3.2V, the voltage is reduced by 3.2V after the duration of 0.1 second, and if the default voltage of 5V can be output at the moment, the charger is a QC3.0 type charger.
In the application, because the QC3.0+ charging protocol is based on the improvement of the QC3.0 charging protocol, on the basis of the flow of the QC3.0 charging protocol, if the charging head is of the QC3.0+ type, the charging head can output higher voltage to the mobile phone terminal, otherwise, the charging head is not of the QC3.0+ type, but is of the QC3.0 type.
For example, on the basis of the flow of the QC3.0 charging protocol, the mobile phone terminal continues to detect the output voltage of the charging head, and if it is detected that the charging head outputs a 6V voltage (for example, the default voltage 5V is output under the QC3.0 charging protocol), the charging head is of a QC3.0+ type.
In this application, the electronic device may further mark the current charging mode of the charging device when it is determined that the charging device is currently in the first charging mode, and receive the electric energy provided by the charging device in the first charging mode if the mark meets a parameter condition after the charging device performs circuit reset.
Here, the marking satisfies the parameter condition, and includes at least one of the following methods:
determining that the flag satisfies a condition if the number of flags of the charging device as the first mode is greater than or equal to a number threshold;
if the charging device flag is in the first mode for a flag time period greater than or equal to a time period threshold, then it is determined that the flag satisfies a condition.
For example, after the charging device performs circuit reset, the electronic device obtains the marked number "2" of the charging device, compares the marked number with the number threshold "2", determines that the marked number "2" is equal to the number threshold "2" according to the comparison result, determines that the mark meets the condition, and receives the power provided by the charging device in the first charging mode.
For another example, after the charging device performs circuit reset, the electronic device obtains a marked time duration "30 seconds" of the charging device, compares the marked time duration with a time duration threshold "20 seconds", determines that the marked time duration "30 seconds is greater than the time duration threshold" 20 seconds "according to a comparison result, determines that the mark meets a condition, and receives the electric energy provided by the charging device in the first charging mode.
In this application, if the electronic device determines that the charging device is currently in the second charging mode (e.g., QC3.0+ charging mode), the flag of the current charging mode of the charging device may also be cleared.
According to the charging method, whether the charging equipment is in the rapid charging mode or not can be automatically judged through the output voltage of the current charging equipment, when the charging equipment is determined to be in the non-rapid charging mode, the charging abnormality of the charging equipment is indicated, and the circuit of the charging equipment can be reset under the condition that the charging equipment is abnormally charged, so that the charging equipment is switched to the rapid charging mode to continuously charge the target terminal.
Fig. 4 is a schematic flow chart of a charging method in the present application, as shown in fig. 4, including:
step 401, detecting a BC1.2 charging protocol performed on a charging device;
here, the electronic device detects BC1.2 after detecting that the charger plug is inserted into the electronic device.
Step 402, judging whether the current charging equipment is a charging port of a DCP type; if the charging port is a DCP type charging port, go to step 403; if not, go to step 409;
here, if it is detected that the current charger is the DCP type, QC2.0 type detection is continued.
Step 403, judging whether the current charging equipment works in the QC2.0 mode; if the operation is in the QC2.0 mode, execute step 404; if the operation is not in the QC2.0 mode, executing a step 409;
here, if it is detected that the current charger is of the QC2.0 type, the QC3.0 type detection is continued;
step 404, judging whether the current charging equipment works in a QC3.0 mode; if the operation is in the QC3.0 mode, execute step 405; if the operation is not in the QC3.0 mode, executing a step 409;
here, if the current charger is of the QC3.0 type, the QC3.0+ type detection is performed;
step 405, detecting a QC3.0+ charging protocol performed on the charging device;
step 406, judging whether the current charging equipment works in a QC3.0+ mode; if the operation is in the QC3.0+ mode, execute step 407; if not, executing step 410;
here, if the current charger is detected to be of a QC3.0+ type, entering a QC3.0+ fast charging mode, and clearing a charging flag; and if the current charger is detected not to be of the QC3.0+ type, resetting the circuit of the charger.
Step 407, clearing the charging flag;
and step 408, entering a QC3.0+ fast charge mode to provide electric energy for the electronic equipment in the QC3.0+ fast charge mode.
And step 409, entering a normal charging mode to provide electric energy for the electronic equipment in the normal charging mode.
Here, the normal charging mode represents a non-fast charging mode. For example, the normal charging mode may be a QC2.0 mode, a DCP type BC1.2 mode, a CDP type BC1.2 mode, or an SDP type BC1.2 mode. And specifically determining the current common charging mode according to the currently detected charging protocol type. If the charging device is currently detected by the QC2.0 charging protocol, and the detection result indicates that the current charging device does not support the QC2.0 charging protocol, the charging device outputs the electric energy in the previous charging mode of the QC2.0 charging protocol, for example, if the previous charging mode of the QC2.0 charging protocol is detected by the DCP type, the charging device outputs the electric energy in the DCP type. And if the DCP type detection is currently performed on the charging equipment, and the detection result indicates that the current charging equipment does not support the DCP type, outputting the electric energy in the CDP type or outputting the electric energy in the SDP type.
Here, in the non-fast charging mode, the charging process taking the mobile phone as an example is as follows: the voltage of 220V mains supply is reduced to 5V through a charging head, the voltage of 5V is reduced by 4.2V through an internal circuit of the mobile phone, then electric quantity is transmitted to a battery, and heat energy can be generated in the whole voltage reduction process. In the fast charging mode, a chip of a power management part is arranged in a mobile phone, the power management chip manages and monitors the whole charging process of the lithium battery and comprises a complex processing algorithm, the lithium battery charging comprises a plurality of stages, namely a pre-charging stage, a constant-current charging stage, a constant-voltage charging stage and a trickle charging stage, the charging management chip generates an instruction to the charger according to the electrical characteristics of each stage of the lithium battery charging process and informs the charger to change charging voltage and current, the charger receives the requirement from a charging management system, the output parameters of the charger are adjusted in real time, and the fast charging is realized by matching with the charging management system.
Step 410, judging whether a charging mark exists at present; if the charging flag exists, executing step 411, if the charging flag does not exist, executing step 412;
in step 411, the QC3.0 charging mode is entered to provide power to the electronic device in the QC3.0 charging mode.
In step 412, a charge flag is set, and step 401 is executed.
Here, the reporting of the charger type change information is shielded in the process of the circuit reset executed by the charging equipment, and the charging mark is cleared until the process of executing the circuit reset is completed.
The electronic device triggers the forced execution circuit of the charging device to reset when the charging device is in a non-QC 3.0+ quick charging mode, detects BC1.2, QC2.0, QC3.0 and QC3.0+ processes, and enters the QC3.0+ charging mode if the detection result is that a QC3.0+ charging instrument enters the QC3.0+ charging mode at the moment, so that the forced execution circuit can reset when the charging head supporting the QC3.0+ charging protocol charges the electronic device supporting the QC3.0+ charging protocol and the charging device works under the non-QC 3.0+ charging instrument, so that the charging device can be recovered to a normal working state from an abnormal working state.
Fig. 5 is a schematic structural diagram of an electronic device in the present application, as shown in fig. 5, including:
a sending unit 501, configured to send a trigger signal to a charging device if the charging device is currently in a first charging mode, so that the charging device performs circuit reset on the charging device based on the trigger signal;
a switching unit 502, configured to cause the charging device to switch from the first charging mode to a second charging mode based on performing the circuit reset, where a charging power in the second charging mode is greater than that in the first charging mode;
a receiving unit 503, configured to receive the power provided by the charging device in the second charging mode.
In a preferred embodiment, the electronic device further includes: a determination unit 504;
specifically, the transmitting unit 501 is further configured to transmit a first voltage timing signal to the charging device;
the receiving unit 503 is further configured to receive a first voltage parameter returned by the charging device based on the first voltage timing signal;
a determining unit 504, configured to determine that the charging device is currently in the second charging mode if the first voltage parameter is within a first preset voltage parameter range.
In a preferred embodiment, the sending unit 501 is further configured to send a second voltage timing signal to the charging device before sending the first voltage timing signal to the charging device;
the receiving unit 503 is further configured to receive a second voltage parameter returned by the charging device based on the second voltage timing signal;
the sending unit 501 is specifically configured to send the first voltage timing signal to the charging device if the second voltage parameter is within a second preset voltage parameter range.
In a preferred embodiment, before the sending unit 501 sends the second voltage timing signal to the charging device, it is further configured to send a third voltage timing signal to the charging device;
the receiving unit 503 is further configured to receive a third voltage parameter returned by the charging device based on the third voltage timing signal;
the sending unit 501 is specifically configured to send the second voltage timing signal to the charging device if the third voltage parameter is within a third preset voltage parameter range.
In a preferred embodiment, before sending the third voltage timing signal to the charging device, the sending unit 501 is further configured to send a fourth voltage timing signal to the charging device;
the receiving unit 503 is further configured to receive a fourth voltage parameter returned by the charging device based on the fourth voltage timing signal;
the sending unit 501 is specifically configured to send the third voltage timing signal to the charging device if the fourth voltage parameter is within a fourth preset voltage parameter range.
In a preferred embodiment, if the second voltage parameter is outside the second preset voltage parameter range, the determining unit 504 determines that the charging device is currently in the third charging mode;
the receiving unit 503 is further configured to receive the power provided by the charging device in the third charging mode;
or, if the third voltage parameter is outside the third preset voltage parameter range, the determining unit 504 determines that the charging device is currently in a fourth charging mode;
the receiving unit 503 is further configured to receive the power provided by the charging device in the fourth charging mode;
or, if the fourth voltage parameter is out of the fourth preset voltage parameter range, the determining unit 504 determines that the charging device is currently in a fifth charging mode;
the receiving unit 503 is further configured to receive the capability provided by the charging device in the fifth charging mode.
In a preferred embodiment, the electronic device further includes: a marking unit 505;
specifically, before the sending unit 501 sends the trigger signal to the charging device, the marking unit 505 is further configured to mark the current charging mode of the charging device;
the receiving unit 503 is further configured to receive, according to the flag, after the charging device performs circuit reset, the power provided by the charging device in the first charging mode if the flag satisfies a parameter condition.
In a preferred embodiment, the electronic device further includes: a clearing unit 506;
specifically, the determining unit 504 triggers the clearing unit 506 to clear the flag of the current charging mode of the charging device when determining that the charging device is currently in the second charging mode.
In a preferred embodiment, the determining unit 504 is specifically configured to determine that the charging device is currently in the first charging mode if the first voltage parameter is outside the first preset voltage parameter range.
It should be noted that: in the electronic device provided in the above embodiment, only the division of the program modules is exemplified when charging is performed, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the electronic device provided by the above embodiment and the embodiment of the electricity recording method belong to the same concept, and the specific implementation process thereof is described in the embodiment of the method for details, which is not described herein again.
An embodiment of the present application further provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute any one of the steps of the charging method when the computer program is executed.
Fig. 6 is a schematic structural component diagram of an electronic device 600 in the present application, which may be a mobile phone, a watch, a personal media player, an information transceiver device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like. The electronic device 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and a user interface 603. The various components in the electronic device 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in FIG. 6.
The user interface 603 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 602 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 602 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 602 in the embodiments of the present application is used to store various types of data to support the operation of the electronic device 600. Examples of such data include: any computer programs for operating on the electronic device 600, such as an operating system 6021 and application programs 6022; contact data; telephone book data; a message; a picture; video, etc. The operating system 6021 includes various system programs such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application program 6022 may include various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services. A program that implements the methods of the embodiments of the present application can be included in the application program 6022.
The method disclosed in the embodiments of the present application may be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 601 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 602, and the processor 601 reads the information in the memory 602 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the electronic Device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
In an exemplary embodiment, the present application further provides a computer readable storage medium, such as a memory 602 including a computer program, which can be executed by a processor 601 of the electronic device 600 to perform the steps of the foregoing method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out any of the steps of the charging method described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
The features disclosed in the several product embodiments presented in this application can be combined arbitrarily, without conflict, to arrive at new product embodiments.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of charging, the method comprising:
if the charging equipment is currently in a first charging mode, sending a trigger signal to the charging equipment so that the charging equipment executes circuit resetting based on the trigger signal;
based on performing the circuit reset, the charging device switches from the first charging mode to a second charging mode, wherein a charging power in the second charging mode is greater than the first charging mode;
and receiving the electric energy provided by the charging equipment in the second charging mode.
2. The method of claim 1, wherein switching the charging device from the first charging mode to a second charging mode based on performing the circuit reset comprises:
transmitting a first voltage timing signal to the charging device;
receiving a first voltage parameter returned by the charging device based on the first voltage timing signal;
and if the first voltage parameter is within a first preset voltage parameter range, determining that the charging equipment is currently in a second charging mode.
3. The method of claim 2, wherein prior to the transmitting a first voltage timing signal to the charging device, the method further comprises:
transmitting a second voltage timing signal to the charging device;
receiving a second voltage parameter returned by the charging device based on the second voltage timing signal;
and if the second voltage parameter is within a second preset voltage parameter range, sending the first voltage timing sequence signal to the charging equipment.
4. The method of claim 3, wherein prior to transmitting the second voltage timing signal to the charging device, the method further comprises;
transmitting a third voltage timing signal to the charging device;
receiving a third voltage parameter returned by the charging device based on the third voltage timing signal;
and if the third voltage parameter is within a third preset voltage parameter range, sending the second voltage timing signal to the charging equipment.
5. The method of claim 4, wherein prior to transmitting a third voltage timing signal to the charging device, the method further comprises;
transmitting a fourth voltage timing signal to the charging device;
receiving a fourth voltage parameter returned by the charging device based on the fourth voltage timing signal;
and if the fourth voltage parameter is within a fourth preset voltage parameter range, sending the third voltage timing sequence signal to the charging equipment.
6. The method of any of claims 3 to 5, wherein the method further comprises:
if the second voltage parameter is out of the second preset voltage parameter range, determining that the charging equipment is currently in a third charging mode;
receiving the electric energy provided by the charging equipment in the third charging mode;
or if the third voltage parameter is out of the third preset voltage parameter range, determining that the charging equipment is currently in a fourth charging mode;
receiving the electric energy provided by the charging equipment in the fourth charging mode;
or, if the fourth voltage parameter is out of the fourth preset voltage parameter range, determining that the charging device is currently in a fifth charging mode;
receiving the capability provided by the charging device in the fifth charging mode.
7. The method of claim 1, prior to sending a trigger signal to the charging device, the method further comprising:
marking a current charging mode of the charging device;
and receiving the electric energy provided by the charging equipment in the first charging mode if the mark meets a parameter condition after the charging equipment performs circuit reset according to the mark.
8. The method of claim 7, further comprising:
in an instance in which it is determined that the charging device is currently in a second charging mode, clearing the flag for the current charging mode of the charging device.
9. The method of claim 2, the determining that the charging device is currently in a first charging mode, comprising:
and if the first voltage parameter is out of the first preset voltage parameter range, determining that the charging equipment is currently in the first charging mode.
10. An electronic device, the electronic device comprising:
the charging device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a trigger signal to the charging device if the charging device is currently in a first charging mode so that the charging device executes circuit resetting on the charging device based on the trigger signal;
a switching unit configured to cause the charging device to switch from the first charging mode to a second charging mode based on execution of the circuit reset, wherein a charging power in the second charging mode is greater than that in the first charging mode;
and the receiving unit is used for receiving the electric energy provided by the charging equipment in the second charging mode.
CN202210188068.1A 2022-02-28 2022-02-28 Charging method and electronic equipment Pending CN114744693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210188068.1A CN114744693A (en) 2022-02-28 2022-02-28 Charging method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210188068.1A CN114744693A (en) 2022-02-28 2022-02-28 Charging method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114744693A true CN114744693A (en) 2022-07-12

Family

ID=82276059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210188068.1A Pending CN114744693A (en) 2022-02-28 2022-02-28 Charging method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114744693A (en)

Similar Documents

Publication Publication Date Title
US11368039B2 (en) Battery charging method and electronic device
KR102542279B1 (en) Spectacles having wireless charging receiver circuit, spectacle case for spectacles, and system
US20150145468A1 (en) Device and chip for controlling charging, and user terminal
WO2021035736A1 (en) Charging control method and apparatus, charging test method and system, and electronic device
US20100060233A1 (en) Charger with USB detection
JP7121865B2 (en) Reverse charging device, method and device for adjusting reverse charging current
EP3193179B1 (en) Electric quantity detection method and apparatus, terminal and storage medium
CN105262155A (en) Charging method and device
KR102052443B1 (en) System for performing charging and data communication
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
CN111433999A (en) Electronic device including battery and method of controlling charging thereof
EP4191823A1 (en) Battery charging method and electronic device
CN105576753A (en) Information processing method and electronic equipment
US20130193906A1 (en) Terminals, terminal systems and charging/discharging methods thereof
US11165269B2 (en) Electronic apparatus, charging method, and non-transitory computer readable recording medium
CN109256825B (en) Charging method and electronic device
CN111464671A (en) Electronic equipment and charging method thereof
US20200249735A1 (en) Charge control apparatus and charge control system
CN113572210A (en) Charging method, device, equipment and storage medium
CN114744693A (en) Charging method and electronic equipment
CN117081185A (en) Charging control method, device, equipment and storage medium
CN115954965A (en) Charging control method, charging system, charging device, electronic device, and storage medium
US9134781B2 (en) Inquiry system of power bank
CN111049217A (en) Chargeable intelligent terminal, charging control method and storage medium
US20130221904A1 (en) Terminal and method for charging battery of sub terminal connected to main 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