Control method and device, electronic equipment and storage medium
By detecting changes in the charging scenario and switching to a matching discharge circuit, and adjusting the voltage using a preset resistor, the problem of voltage overshoot in wireless charging is solved, achieving a safe and reliable charging process.
Patent Information
- Application Number
- CN202411366529.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2026-03-31
AI Technical Summary
In wireless charging technology, the slow voltage regulation speed can lead to instantaneous voltage overshoot, posing a safety hazard.
By detecting changes in the charging scenario, the wireless charging receiver module is controlled to switch to a matching discharge circuit in the target scenario, and a preset resistor is used to adjust the voltage to suppress voltage overshoot.
Suppress voltage overshoot in the target scenario to ensure charging safety and avoid overheating issues.
Smart Images

Figure CN121770193A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of charging technology, and more particularly to a control method, apparatus, electronic device, and storage medium. Background Technology
[0002] Some electronic devices are equipped with wireless charging capabilities, allowing for convenient and quick wireless charging by simply placing the device on a wireless charging pad.
[0003] Currently, wireless charging technology has made significant progress, with charging power reaching up to 50W. However, because wireless charging uses the principle of electromagnetic induction, its voltage regulation speed is slower compared to wired charging. This can lead to momentary voltage overshoot in some scenarios, posing a significant safety hazard. Summary of the Invention
[0004] This disclosure provides a control method, apparatus, electronic device, and storage medium to solve the above-mentioned technical problems.
[0005] According to a first aspect of this disclosure, a control method is provided, adapted for an electronic device that supports wireless charging, the electronic device including a wireless charging receiver module; the method includes:
[0006] In response to detecting that the current charging scenario of the electronic device is the target scenario, before switching to charging the charging circuit corresponding to the target scenario, the wireless charging receiving module is controlled to switch to the discharge circuit that matches the target scenario; the discharge circuit includes a preset resistor; the target scenario refers to a power supply scenario in which the user's load changes abruptly.
[0007] In response to detecting that the shutdown conditions required for the target scenario are met, the wireless charging receiving module is controlled to switch to the charging circuit corresponding to the target scenario.
[0008] Optionally, detecting that the current charging scenario of the electronic device is the target scenario includes:
[0009] Obtain the charging current of electronic devices;
[0010] In response to detecting that the change in charging current within a detection cycle is greater than or equal to a first preset change threshold, the current charging scenario is determined to be a first target scenario, where the first target scenario refers to a scenario where the charging load needs to switch from heavy load to light load.
[0011] In response to detecting that the charging current switches from less than a first preset current to greater than the first preset current within a detection cycle, the current charging scenario is determined to be a second target scenario, where the second target scenario refers to a scenario where the power management chip is preparing to switch to charge pump power supply.
[0012] In response to detecting that the charging current switches from greater than a first preset current to less than the first preset current within a detection cycle, the current charging scenario is determined to be a third target scenario, which refers to a scenario where the charging current is switched from being powered by a charge pump to being powered by a power management chip.
[0013] Optionally, controlling the wireless charging receiver module to switch to a discharge circuit that matches the target scenario includes:
[0014] Generate the first control command corresponding to the target scene;
[0015] The first control command is sent to the wireless charging receiving module; the first control command is used to instruct the wireless charging receiving module to switch to the discharge circuit and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage and PWM duty cycle required by the discharge circuit.
[0016] Optionally, when the current charging scenario is the first target scenario, the target voltage required by the discharge circuit is a first preset voltage and the PWM duty cycle of the wireless charging transmitter module is a first preset ratio;
[0017] When the current charging scenario is the second target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio;
[0018] When the current charging scenario is the third target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio.
[0019] Optionally, detecting the shutdown conditions required for the target scenario includes:
[0020] The charging voltage and charging current of the electronic device are obtained, as well as the switching time for switching to the discharge circuit are obtained;
[0021] When the charging current is detected to be greater than or equal to the second preset current or the switching duration is greater than or equal to the preset duration, it is determined that the shutdown condition required for the first target scenario is met.
[0022] When the charging voltage is detected to be greater than or equal to the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, it is determined that the shutdown conditions required for the second target scenario are met.
[0023] When the charging voltage is detected to be less than the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, it is determined that the shutdown conditions required for the third target scenario are met.
[0024] Optionally, controlling the wireless charging receiver module to switch to the charging circuit corresponding to the target scenario includes:
[0025] Generate the second control command corresponding to the target scene;
[0026] The second control command is sent to the wireless charging transmitter module; the second control command is used to instruct the wireless charging receiver module to switch to the charging circuit corresponding to the target scenario, and to instruct the wireless charging receiver module to send a voltage adjustment request to the wireless charging transmitter module; the voltage adjustment request includes the target voltage required by the charging circuit.
[0027] According to a second aspect of this disclosure, a control device is provided, adapted to an electronic device for wireless charging, the electronic device including a wireless charging receiver module; the device includes:
[0028] A discharge circuit switching module is used to control the wireless charging receiving module to switch to a discharge circuit that matches the target scenario before switching to charging the charging circuit corresponding to the target scenario, in response to detecting that the current charging scenario of the electronic device is the target scenario; the discharge circuit includes a preset resistor; the target scenario refers to a power supply scenario in which the user's load changes abruptly.
[0029] The charging circuit switching module is used to control the wireless charging receiving module to switch to the charging circuit corresponding to the target scenario in response to detecting that the shutdown conditions required by the target scenario are met.
[0030] Optionally, the discharge circuit switching module includes:
[0031] The charging current acquisition submodule is used to acquire the charging current of the electronic device.
[0032] The first target scenario determination submodule is used to determine the current charging scenario as the first target scenario in response to the detection that the change in charging current within a detection cycle is greater than or equal to a first preset change threshold. The first target scenario refers to the scenario in which the charging load needs to switch from heavy load to light load.
[0033] The second target scenario determination submodule is used to determine the current charging scenario as the second target scenario in response to detecting that the charging current switches from less than the first preset current to greater than the first preset current within a detection cycle. The second target scenario refers to the scenario in which the power management chip is preparing to switch to charge pump power supply.
[0034] The third target scenario determination submodule is used to determine the current charging scenario as the third target scenario in response to detecting that the charging current switches from greater than the first preset current to less than the first preset current within a detection cycle. The third target scenario refers to the scenario where the charging current is switched from being powered by the charge pump to being powered by the power management chip.
[0035] Optionally, the discharge circuit switching module includes:
[0036] The first control command generation module is used to generate the first control command corresponding to the target scene;
[0037] The first control command sending module is used to send the first control command to the wireless charging receiving module; the first control command is used to instruct the wireless charging receiving module to switch to the discharge circuit and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage and PWM duty cycle required by the discharge circuit.
[0038] Optionally, when the current charging scenario is the first target scenario, the target voltage required by the discharge circuit is a first preset voltage and the PWM duty cycle of the wireless charging transmitter module is a first preset ratio;
[0039] When the current charging scenario is the second target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio;
[0040] When the current charging scenario is the third target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio.
[0041] Optionally, the charging circuit switching module includes:
[0042] The voltage and current acquisition submodule is used to acquire the charging voltage and charging current of the electronic device.
[0043] The switching duration acquisition submodule is used to acquire the switching duration when switching to the discharge circuit;
[0044] The first condition determination submodule is used to determine that the shutdown condition required for the first target scenario is met when the charging current is detected to be greater than or equal to the second preset current or the switching duration is greater than or equal to the preset duration.
[0045] The second condition determination submodule is used to determine that the shutdown condition required for the second target scenario is met when the charging voltage is detected to be greater than or equal to the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration.
[0046] The third condition determination submodule is used to determine that the shutdown conditions required for the third target scenario are met when the charging voltage is detected to be less than the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration.
[0047] Optionally, the charging circuit switching module includes:
[0048] The second control command generation module is used to generate the second control command corresponding to the target scene;
[0049] The second control command sending module is used to send the second control command to the wireless charging transmitting module; the second control command is used to instruct the wireless charging receiving module to switch to the charging circuit corresponding to the target scenario, and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage required by the charging circuit.
[0050] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0051] Wireless charging receiver module;
[0052] Processor and memory;
[0053] The memory is used to store computer programs that can be executed by the processor;
[0054] The processor is configured to execute a computer program in the memory to implement the method as described in any of the first aspects.
[0055] Optionally, the electronic device further includes: a wireless receiving coil, a rectifier circuit, and a resistor branch; the rectifier circuit is electrically connected to the wireless receiving coil and the resistor branch respectively;
[0056] The wireless receiving coil is used to output AC power to the rectifier circuit;
[0057] The rectifier circuit is used to convert the AC voltage into DC voltage;
[0058] The resistor branch is used to be connected in parallel to the rectifier circuit when a closed signal is received from the wireless charging receiver module, and to be disconnected from the rectifier circuit when an open signal is received from the wireless charging receiver module.
[0059] The wireless receiving coil, the rectifier circuit, and the resistor branch constitute a discharge circuit; the wireless receiving coil, the rectifier circuit, and the load constitute a charging circuit.
[0060] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided, which, when an executable computer program in the storage medium is executed by a processor, enables the implementation of the method as described in any of the first aspects.
[0061] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0062] The control method provided in this embodiment can, upon detecting that the current charging scenario of the electronic device is the target scenario, control the wireless charging receiving module to switch to a discharge circuit matching the target scenario before switching to charging the circuit corresponding to the target scenario. The discharge circuit includes a preset resistor. The target scenario refers to a power supply scenario where the user load experiences a sudden change. Then, when the shutdown conditions required for the target scenario are detected, the wireless charging receiving module is controlled to switch to the charging circuit corresponding to the target scenario. Thus, by setting a discharge circuit and adjusting the preset resistance of the discharge circuit to maintain a smooth transition of the electrical load, this embodiment achieves the effect of suppressing voltage overshoot under the target scenario, which is beneficial for ensuring charging safety.
[0063] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0064] Figure 1 This is a block diagram of an electronic device according to an embodiment of the present disclosure.
[0065] Figure 2 This is a circuit diagram of a charging circuit according to an embodiment of the present disclosure.
[0066] Figure 3 This is a flowchart of a control method according to an embodiment of the present disclosure.
[0067] Figure 4 This is a flowchart of a control method according to an embodiment of the present disclosure.
[0068] Figure 5 This is a schematic diagram of a charging voltage according to an embodiment of the present disclosure.
[0069] Figure 6 This is a schematic diagram of a charging voltage according to an embodiment of the present disclosure.
[0070] Figure 7 This is a block diagram of a control device according to an embodiment of the present disclosure.
[0071] Figure 8 This is a block diagram of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.
[0073] This disclosure provides a control method, apparatus, electronic device, and storage medium. The control method is applicable to electronic devices with wireless charging capabilities. In one embodiment, see [link to embodiment]. Figure 1 The electronic device includes a wireless charging receiver module 12, a processor 11, a wireless receiving coil 13, a rectifier circuit 14, and a resistor branch 15. The processor 11 is electrically connected to the wireless charging receiver module 12, and the rectifier circuit 14 is electrically connected to both the wireless receiving coil 13 and the resistor branch 15.
[0074] The wireless receiving coil 13 is used to sense the electromagnetic signal output by the wireless transmitting coil and output AC power to the rectifier circuit 14; the rectifier circuit 14 is used to convert AC voltage into DC voltage.
[0075] The resistor branch 15 is used to form a discharge circuit by being connected in parallel to the rectifier circuit 14 when a closed signal is received from the wireless charging receiver module 12; and to form a charging circuit by being disconnected from the rectifier circuit 14 when an open signal is received from the wireless charging receiver module 12.
[0076] Understandably, the wireless receiving coil 13, the rectifier circuit 14, and the resistor branch 15 form a discharge circuit, where the electrical energy received by the wireless receiving coil 13 is used to power the resistance of the resistor branch 15. The wireless receiving coil 13, the rectifier circuit 14, and the load form a charging circuit, where the electrical energy received by the wireless receiving coil 13 is used to power the load.
[0077] In one embodiment, see Figure 2 The rectifier circuit 14 can be implemented using a half-bridge circuit or a full-bridge circuit. As long as it can convert AC to DC, the corresponding rectifier circuit falls within the protection scope of this disclosure. The resistor branch 15 includes a switching device K and a resistor R. The first terminal of the switching device K is electrically connected to the first output terminal of the rectifier circuit 14, the second terminal of the switching device K is electrically connected to the first terminal of the resistor R, the second terminal of the resistor R is electrically connected to the second output terminal of the rectifier circuit 14, and the control terminal of the switching device K is electrically connected to the wireless charging receiver module 12.
[0078] The wireless charging receiver module 12 can generate a closed signal or an open signal and send it to the switching device K. Upon receiving a closed signal, the switching device K can connect the resistor branch 15 in parallel to the rectifier circuit 14. At this time, the wireless receiving coil 13, the rectifier circuit 14, and the resistor branch 15 constitute a discharge circuit. Upon receiving an open signal, the switching device K can disconnect the resistor branch 15 from the rectifier circuit 14. At this time, the wireless receiving coil 13, the rectifier circuit 14, and the load constitute a charging circuit.
[0079] A control method is provided for the aforementioned electronic device, see [link to relevant documentation]. Figure 3 The control method includes steps 31 and 32.
[0080] In step 31, in response to detecting that the current charging scenario of the electronic device is the target scenario, before switching to charging the charging circuit corresponding to the target scenario, the wireless charging receiving module is controlled to switch to a discharge circuit that matches the target scenario; the discharge circuit includes a preset resistor.
[0081] In this embodiment, the processor can detect whether the current charging scenario of the electronic device is the target scenario; the target scenario refers to a power supply scenario in which the user load changes abruptly.
[0082] For example, the processor can acquire the charging current of the electronic device in real time or according to a preset period. The processor can acquire the change in charging current within a detection period. The detection period can include at least one preset period, such as a preset period of 20ms, and the detection period can be 20–100ms. The change in current can be the difference between the charging current detected for the first time and the charging current detected for the last time within that detection period.
[0083] When the current change within a detection cycle is greater than or equal to a first preset change threshold, the processor can determine that the current charging scenario is a first target scenario. This first target scenario refers to a scenario where the charging load needs to switch from heavy load to light load. The aforementioned first preset change threshold can be set according to the specific scenario. For example, in this example, the first preset change threshold is set to -4A, which means that the current decreases by 4A. When it is possible to determine whether it is a heavy load (i.e., a large load) or a light load (i.e., a small load), the corresponding value falls within the protection scope of this disclosure.
[0084] In another example, the processor can determine whether the charging current switches from being greater than a first preset current to being less than a first preset current within a detection cycle. The first preset current can be set according to the specific scenario, such as 2A, and the corresponding value falls within the protection scope of this disclosure.
[0085] When the processor detects that the charging current changes from less than a first preset current to greater than a first preset current within a detection cycle, it can determine that the current charging scenario is the second target scenario. The second target scenario refers to the scenario in which the charging is being prepared to switch from charging by the power management chip (PMIC) to charging by the charge pump.
[0086] When the processor detects that the charging current changes from greater than the first preset current to less than the first preset current within a detection cycle, it can determine that the current charging scenario is the third target scenario. The third target scenario refers to the scenario in which the charging pump is preparing to switch to the power management chip.
[0087] Considering that voltage overshoot may occur during the implementation of the first, second, and third target scenarios, leading to safety issues or severe overheating, in this embodiment, the processor can control the wireless charging receiver module 12 to switch to a discharge circuit that matches the target scenario.
[0088] In one example, the wireless charging receiver module 12 can be electrically connected to a designated pin of the processor, and the processor can output high and low levels to the wireless charging receiver module 12 through the designated pin. After receiving the high and low levels, the wireless charging receiver module 12 can switch to a discharge circuit that matches the target scenario and request voltage adjustment from the wireless charging transmitter module at the other end.
[0089] In another example, a first control command can be preset, with the format defined as: cmd+len+state. For example, when the first control command is 0xB8 0x01 0x01, it represents the first target scenario; when the first control command is 0xB8 0x01 0x02, it represents the second target scenario; and when the first control command is 0xB8 0x01 0x03, it represents the third target scenario. This first control command can instruct the wireless charging receiver module 12 to switch to the discharge circuit and instruct the wireless charging receiver module 12 to send a voltage adjustment request to the wireless charging transmitter module; the voltage adjustment request includes the target voltage required for the discharge circuit and the suggested PWM duty cycle for the wireless charging transmitter module.
[0090] In this example, after determining the target scene, the processor 11 can generate a first control command and send the first control command to the wireless charging receiver module 12.
[0091] After receiving the first control command, the wireless charging receiver module 12 can output a closed signal to the switching device K. At this time, the switching device K switches to the on state, that is, the resistor branch 15 is connected in parallel to the rectifier circuit 14, so as to achieve the effect of switching to the discharge circuit.
[0092] Furthermore, the wireless charging receiver module 12 is aware of the target voltage required for the target scenario and the PWM duty cycle of the wireless charging transmitter module. For example, when the current charging scenario is the first target scenario, the target voltage required for the discharge circuit is a first preset voltage (e.g., 11V) and the PWM duty cycle of the wireless charging transmitter module is a first preset percentage (e.g., 40%). Similarly, when the current charging scenario is the second target scenario, the target voltage required for the discharge circuit is a first preset voltage (e.g., 2 or 4 times the battery voltage) and the PWM duty cycle of the wireless charging transmitter module is a first preset percentage (e.g., 70%). And again, when the current charging scenario is the third target scenario, the target voltage required for the discharge circuit is a first preset voltage (e.g., 11V) and the PWM duty cycle of the wireless charging transmitter module is a first preset percentage (e.g., 60%).
[0093] The wireless charging receiver module 12 can generate a voltage adjustment request based on the target voltage and PWM duty cycle, and send it to the wireless charging transmitter module. This voltage adjustment request may include the target voltage required for the discharge circuit and a suggested PWM duty cycle for the wireless charging transmitter module.
[0094] It should be noted that the wireless charging receiver module 12 and the wireless charging transmitter module can communicate using a preset communication protocol. The preset communication protocol may include the Qi protocol, PMA protocol, etc. If the voltage adjustment request can be transmitted, the corresponding solution falls within the protection scope of this disclosure.
[0095] Upon receiving a voltage adjustment request, the wireless charging transmitter module can adjust its output voltage and, based on the suggested PWM duty cycle, adjust the input voltage of the electronic device, thereby ensuring that the charging voltage of the electronic device's discharge circuit reaches the target voltage. Alternatively, the electronic device may perform switching operations according to its configuration in the target scenario, such as switching from heavy load to light load, or from PMIC to charge pump, or vice versa. Considering that the wireless charging process continues during the target scenario switching, the discharge circuit consumes electrical energy.
[0096] In step 32, in response to detecting that the shutdown condition required for the target scenario is met, the wireless charging receiver module 12 is controlled to switch to the charging circuit.
[0097] In this embodiment, the processor 11 determines whether the shutdown conditions required for the target scenario are met. For example, the processor 11 can obtain the charging voltage and charging current of the electronic device, as well as the switching duration for switching to the discharge circuit. The switching duration can be started by the processor 11 sending a first control command to the wireless charging receiver module 12, or by detecting the presence of charging current in the resistor branch 15. It can be set according to the specific scenario, and the corresponding scheme falls within the protection scope of this disclosure.
[0098] In this embodiment, the processor 11 can compare the charging voltage with the first preset voltage, the charging current with the second preset current, and the switching time with the preset time to obtain their respective magnitude relationships.
[0099] For example, the processor 11 determines whether the shutdown conditions required for the target scenario are met based on the aforementioned size relationship. For example, when the charging current is detected to be greater than or equal to the second preset current or the switching duration is greater than or equal to the preset duration (e.g., 6 seconds, adjustable), the processor 11 can determine that the shutdown conditions required for the first target scenario are met.
[0100] For example, when the charging voltage is detected to be greater than or equal to the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, the processor 11 can determine that the shutdown conditions required for the second target scenario are met.
[0101] For example, when the charging voltage is detected to be less than the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, the processor 11 can determine that the shutdown conditions required for the third target scenario are met.
[0102] In this embodiment, after determining that the shutdown conditions required for the target scenario are met, the processor 11 can generate a second control instruction corresponding to the target scenario. This second control instruction is used to instruct the wireless charging receiving module 12 to switch to the charging circuit and to instruct the wireless charging receiving module 12 to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage required for the charging circuit. Then, the processor 11 can send the second control instruction to the wireless charging receiving module 12. It is understood that the second control instruction can be implemented with reference to the format of the first control instruction.
[0103] In this embodiment, after receiving the second control command, the wireless charging receiver module 12 can generate a disconnect signal and send it to the switching device K, causing the switching device K to switch to the disconnected state. At this time, the resistor branch 15 is cut off from the rectifier circuit 14, achieving the effect of forming a charging circuit. Furthermore, the wireless charging receiver module 12 can send a voltage adjustment request to the wireless charging transmitter module, whereby the voltage adjustment request includes the target voltage required for the charging circuit.
[0104] Thus, by setting up a discharge circuit in this embodiment, during the switching process of the target scenario, such as switching from heavy load to light load, from PMIC to charge pump, or from charge pump to PMIC, the system can switch to the discharge circuit to consume electrical energy, thereby achieving the effect of suppressing voltage overshoot under the target scenario and helping to ensure charging safety.
[0105] Based on the aforementioned electronic device and control method, this disclosure provides a specific example of the control method, see [link to example]. Figure 4,include:
[0106] S41, Wireless charging is enabled when the electronic device is placed on the wireless charging dock.
[0107] S42, the LDO power of the electronic device is turned on, wireless encryption authentication is successful, and fast charging authentication is successful. It is understood that this step can be adjusted according to the wireless communication configuration and does not constitute a limitation of the disclosed solution.
[0108] S43, the processor 11 can sense the current charging scenario and determine that the current charging scenario is a target scenario. The target scenario includes a first target scenario, a second target scenario, and a third target scenario.
[0109] For the first target scenario
[0110] S431, First target scenario detected: heavy load to light load switch. S441, Control command xB80x010x01 can be sent. S451, Discharge circuit activated, duty cycle set to 40%, request voltage reduction. S461, Switch to S48 if charging current exceeds the second preset current (e.g., 300mA), otherwise switch to S47.
[0111] For the second target scenario
[0112] S432, Second target scenario detected: PMIC power supply switched to charge pump power supply. S442, Control command xB8 0x01 0x02 can be sent. S452, Discharge circuit activated, duty cycle set to 70%, request voltage increase. S462, If the charging voltage is detected to be greater than the first preset voltage (e.g., 14V) and the charging current is detected to be greater than the second preset current (e.g., 300mA), switch to S48; otherwise, switch to S47.
[0113] For the third target scenario
[0114] S433, Detected third target scenario: Charge pump power supply switched to PMIC power supply. S443, Can send control command xB8 0x01 0x03. S453, Open discharge circuit, set duty cycle to 60%, request voltage reduction. S463, If the charging voltage is detected to be lower than the first preset voltage (e.g., 14V) and the charging current is detected to be greater than the second preset current (e.g., 300mA), switch to S48; otherwise, switch to S47.
[0115] If the switching time from PWM load to discharge circuit exceeds (greater than or equal to) the preset time (e.g., 6s), then switch to S48; otherwise switch to S49.
[0116] S48, exit the discharge circuit and return to the charging circuit.
[0117] S49, continue charging until charging is complete.
[0118] Based on the above analysis, the voltage waveform of the electronic device before adopting the above control method is as follows: Figure 5 As shown. See also Figure 5 During the switching of the target scenario, the charging voltage overshoot occurred. After adopting the above control method, the voltage waveform of the electronic device is as follows: Figure 6 As shown. See also Figure 6 During the switching of the target scenario, the charging voltage did not overshoot because it switched to the discharge circuit.
[0119] In this embodiment, the processor 11 can sense target scenarios such as PMIC switching to charge pump, charge pump switching to PMIC, and heavy load switching to light load. It can then notify the wireless charging receiver module 12 via control commands that it is about to switch to a voltage overshoot risk scenario, effectively suppressing the voltage overshoot problem. Furthermore, this embodiment can also request voltage adjustment from the wireless charging transmitter module to adjust the charging voltage for different target scenarios, thereby avoiding excessive charging circuit losses and overheating.
[0120] Based on the control method provided in the embodiments of this disclosure, the embodiments of this disclosure also provide a control device adapted to a wireless charging electronic device, the electronic device including a wireless charging receiver module 12; see also Figure 7 The device includes
[0121] The discharge circuit switching module 71 is used to control the wireless charging receiving module to switch to a discharge circuit that matches the target scenario before switching to charging the charging circuit corresponding to the target scenario in response to detecting that the current charging scenario of the electronic device is the target scenario; the discharge circuit includes a preset resistor; the target scenario refers to a power supply scenario in which the user load changes abruptly.
[0122] The charging circuit switching module 72 is used to control the wireless charging receiving module to switch to the charging circuit corresponding to the target scenario in response to detecting that the shutdown conditions required by the target scenario are met.
[0123] In one embodiment, the discharge circuit switching module includes:
[0124] The charging current acquisition submodule is used to acquire the charging current of the electronic device.
[0125] The first target scenario determination submodule is used to determine the current charging scenario as the first target scenario in response to the detection that the change in charging current within a detection cycle is greater than or equal to a first preset change threshold. The first target scenario refers to the scenario in which the charging load needs to switch from heavy load to light load.
[0126] The second target scenario determination submodule is used to determine the current charging scenario as the second target scenario in response to detecting that the charging current switches from less than the first preset current to greater than the first preset current within a detection cycle. The second target scenario refers to the scenario in which the power management chip is preparing to switch to charge pump power supply.
[0127] The third target scenario determination submodule is used to determine the current charging scenario as the third target scenario in response to detecting that the charging current switches from greater than the first preset current to less than the first preset current within a detection cycle. The third target scenario refers to the scenario where the charging current is switched from being powered by the charge pump to being powered by the power management chip.
[0128] In one embodiment, the discharge circuit switching module includes:
[0129] The first control command generation module is used to generate the first control command corresponding to the target scene;
[0130] The first control command sending module is used to send the first control command to the wireless charging receiving module; the first control command is used to instruct the wireless charging receiving module to switch to the discharge circuit and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage and PWM duty cycle required by the discharge circuit.
[0131] In one embodiment, when the current charging scenario is the first target scenario, the target voltage required by the discharge circuit is a first preset voltage and the PWM duty cycle of the wireless charging transmitter module is a first preset ratio;
[0132] When the current charging scenario is the second target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio;
[0133] When the current charging scenario is the third target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio.
[0134] In one embodiment, the charging circuit switching module includes:
[0135] The voltage and current acquisition submodule is used to acquire the charging voltage and charging current of the electronic device.
[0136] The switching duration acquisition submodule is used to acquire the switching duration when switching to the discharge circuit;
[0137] The first condition determination submodule is used to determine that the shutdown condition required for the first target scenario is met when the charging current is detected to be greater than or equal to the second preset current or the switching duration is greater than or equal to the preset duration.
[0138] The second condition determination submodule is used to determine that the shutdown condition required for the second target scenario is met when the charging voltage is detected to be greater than or equal to the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration.
[0139] The third condition determination submodule is used to determine that the shutdown conditions required for the third target scenario are met when the charging voltage is detected to be less than the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration.
[0140] In one embodiment, the charging circuit switching module includes:
[0141] The second control command generation module is used to generate the second control command corresponding to the target scene;
[0142] The second control command sending module is used to send the second control command to the wireless charging transmitting module; the second control command is used to instruct the wireless charging receiving module to switch to the charging circuit corresponding to the target scenario, and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage required by the charging circuit.
[0143] It should be noted that the solutions of the device embodiments of this disclosure have been described in the description of the method embodiments, and the specific details can be found in the above embodiments, which will not be repeated here.
[0144] exist Figure 1 Based on the electronic device shown, refer to Figure 8 The electronic device 800 may include one or more of the following components: memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, communication component 816, and image acquisition component 818.
[0145] Processor 11 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. There may be one or more processors 11 for executing computer programs. Furthermore, processor 11 may include one or more modules to facilitate interaction with other components. In one example, processor 11 is used to execute the control methods described above.
[0146] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of such data include computer programs for any application or method operating on electronic device 800, contact data, phone book data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0147] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0148] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touchscreen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation.
[0149] Audio component 810 is configured to output and / or input audio file information. For example, audio component 810 includes a microphone (MIC) configured to receive external audio file information when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio file information may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio file information.
[0150] I / O interface 812 provides an interface between processor 11 and peripheral interface modules, such as keyboards, click wheels, buttons, etc.
[0151] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components (e.g., the display screen and keypad of electronic device 800), changes in position of electronic device 800 or a component, the presence or absence of a target object in contact with electronic device 800, the orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. In this example, sensor assembly 814 may include magnetic sensors, gyroscopes, and magnetic field sensors, and may also include inertial sensors, image sensors, etc., wherein the magnetic field sensor includes at least one of the following: a Hall sensor, a thin-film magnetoresistive sensor, and a magnetic fluid accelerometer.
[0152] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies. In one example, communication component 816 includes the aforementioned antenna module.
[0153] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital information processors (DSPs), digital information processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0154] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and the practices disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0155] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A control method, characterized in that, An electronic device adapted for wireless charging, the electronic device including a wireless charging receiver module; the method includes: In response to detecting that the current charging scenario of the electronic device is the target scenario, before switching to charging the charging circuit corresponding to the target scenario, the wireless charging receiving module is controlled to switch to the discharge circuit that matches the target scenario; the discharge circuit includes a preset resistor; the target scenario refers to a power supply scenario in which the user's load changes abruptly. In response to detecting that the shutdown conditions required for the target scenario are met, the wireless charging receiving module is controlled to switch to the charging circuit corresponding to the target scenario.
2. The control method according to claim 1, characterized in that, The current charging scenario of the electronic device is detected as the target scenario, including: Obtain the charging current of electronic devices; In response to detecting that the change in charging current within a detection cycle is greater than or equal to a first preset change threshold, the current charging scenario is determined to be a first target scenario, where the first target scenario refers to a scenario where the charging load needs to switch from heavy load to light load. In response to detecting that the charging current switches from less than a first preset current to greater than the first preset current within a detection cycle, the current charging scenario is determined to be a second target scenario, where the second target scenario refers to a scenario where the power management chip is preparing to switch to charge pump power supply. In response to detecting that the charging current switches from greater than a first preset current to less than the first preset current within a detection cycle, the current charging scenario is determined to be a third target scenario, which refers to a scenario where the charging current is switched from being powered by a charge pump to being powered by a power management chip.
3. The control method according to claim 1, characterized in that, Controlling the wireless charging receiver module to switch to a discharge circuit that matches the target scenario includes: Generate the first control command corresponding to the target scene; The first control command is sent to the wireless charging receiving module; the first control command is used to instruct the wireless charging receiving module to switch to the discharge circuit and to instruct the wireless charging receiving module to send a voltage adjustment request to the wireless charging transmitting module; the voltage adjustment request includes the target voltage and PWM duty cycle required by the discharge circuit.
4. The control method according to claim 3, characterized in that, When the current charging scenario is the first target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio; When the current charging scenario is the second target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio; When the current charging scenario is the third target scenario, the target voltage required by the discharge circuit is the first preset voltage and the PWM duty cycle of the wireless charging transmitter module is the first preset ratio.
5. The control method according to claim 1, characterized in that, The detection of the shutdown conditions required for the target scenario includes: The charging voltage and charging current of the electronic device are obtained, as well as the switching time for switching to the discharge circuit are obtained; When the charging current is detected to be greater than or equal to the second preset current or the switching duration is greater than or equal to the preset duration, it is determined that the shutdown condition required for the first target scenario is met. When the charging voltage is detected to be greater than or equal to the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, it is determined that the shutdown conditions required for the second target scenario are met. When the charging voltage is detected to be less than the first preset voltage and the charging current is greater than or equal to the second preset current, or when the switching duration is detected to be greater than or equal to the preset duration, it is determined that the shutdown conditions required for the third target scenario are met.
6. The control method according to claim 1, characterized in that, Controlling the wireless charging receiver module to switch to the charging circuit corresponding to the target scenario includes: Generate the second control command corresponding to the target scene; The second control command is sent to the wireless charging transmitter module; the second control command is used to instruct the wireless charging receiver module to switch to the charging circuit corresponding to the target scenario, and to instruct the wireless charging receiver module to send a voltage adjustment request to the wireless charging transmitter module; the voltage adjustment request includes the target voltage required by the charging circuit.
7. A control device, characterized in that, An electronic device adapted for wireless charging, the electronic device including a wireless charging receiver module; the device includes: A discharge circuit switching module is used to control the wireless charging receiving module to switch to a discharge circuit that matches the target scenario before switching to charging the charging circuit corresponding to the target scenario, in response to detecting that the current charging scenario of the electronic device is the target scenario; the discharge circuit includes a preset resistor; the target scenario refers to a power supply scenario in which the user's load changes abruptly. The charging circuit switching module is used to control the wireless charging receiving module to switch to the charging circuit corresponding to the target scenario in response to detecting that the shutdown conditions required by the target scenario are met.
8. An electronic device, characterized in that, include: Wireless charging receiver module; Processor and memory; The memory is used to store computer programs that can be executed by the processor; The processor is configured to execute a computer program in the memory to implement the method as described in any one of claims 1 to 6.
9. The electronic device according to claim 8, characterized in that, Also includes: Wireless receiving coil, rectifier circuit, and resistor branch; The rectifier circuit is electrically connected to the wireless receiving coil and the resistor branch, respectively. The wireless receiving coil is used to output AC power to the rectifier circuit; The rectifier circuit is used to convert the AC voltage into DC voltage; The resistor branch is used to be connected in parallel to the rectifier circuit when a closed signal is received from the wireless charging receiver module, and to be disconnected from the rectifier circuit when an open signal is received from the wireless charging receiver module. The wireless receiving coil, the rectifier circuit, and the resistor branch constitute a discharge circuit; the wireless receiving coil, the rectifier circuit, and the load constitute a charging circuit.
10. A non-transitory computer-readable storage medium, characterized in that, When the executable computer program in the storage medium is executed by a processor, it can implement the method as described in any one of claims 1 to 6.
