Wireless charging control method and wireless charging system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN GREEN CONNECTION TECH CO LTD
- Filing Date
- 2026-03-16
- Publication Date
- 2026-07-10
Smart Images

Figure CN122371386A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless charging technology, and in particular to a wireless charging control method and a wireless charging system. Background Technology
[0002] Current wireless charging technologies for simultaneous charging and discharging revolve around a "wired or slow charging priority" strategy and basic power allocation. They primarily avoid conflicts by disabling wireless charging when wired access is available, or by allocating fixed power to the battery and wireless load. However, existing technologies have significant drawbacks: First, they lack voltage and load coordination logic, leading to unreasonable power supply in low-voltage scenarios and an inability to dynamically adjust power allocation, resulting in low efficiency and resource waste. Second, multi-path power supply conflicts and safety risks are prominent; the "wired priority" approach sacrifices simultaneous charging and discharging functionality, and dual-path power supply is prone to overload issues due to failure to recognize adapter power. Third, they suffer from low charging efficiency, poor user experience, energy loss, and limited wireless charging locations.
[0003] In summary, existing technologies cannot meet the demands of smart terminals for high performance and high security during charging and discharging, and there is an urgent need for a wireless charging control method and wireless charging system that can solve the above-mentioned defects. Summary of the Invention
[0004] This invention provides a wireless charging control method and a wireless charging system to solve the problem that existing technologies cannot meet the high performance and high security requirements of smart terminals for simultaneous charging and discharging.
[0005] This invention discloses a wireless charging control method, which is applied to a wireless charging system with a built-in USB-C port and the ability to charge and discharge simultaneously. The wireless charging system has a built-in battery, and the wireless charging control method includes the following steps:
[0006] Preset the input voltage threshold for Port C; Obtain the connection status of port C, the maximum output power of the adapter, and the input voltage value of port C; When a USB-C port is detected, the input voltage value of the USB-C port is compared with the preset USB-C port input voltage threshold, and the power supply source of the wireless charging load is switched according to the comparison result. When the power source is an adapter, the required power of the wireless charging load is detected, and the power allocation ratio is dynamically adjusted and the charging current limit value of the battery is calculated based on the maximum output power of the adapter and the required power of the wireless charging load. Power is supplied to the battery and wireless charging load based on power allocation ratio and charging current limit value.
[0007] Optionally, the following steps are also included: When the input voltage value of Port C is greater than or equal to the preset input voltage threshold of Port C, the power source of the wireless charging load will be switched to the adapter; When the input voltage of the USB-C port is less than the preset input voltage threshold of the USB-C port, the power source of the wireless charging load is switched to the battery, and the USB-C port charges the battery in full.
[0008] Optionally, the preset C-port input voltage threshold is 7V.
[0009] Optionally, when the power source is an adapter, the dynamic calculation and adjustment of the power allocation ratio and charging current limit value includes the following steps: Real-time determination of the matching relationship between the power required by the wireless charging load and the maximum output power of the adapter; When the power required by the wireless charging load does not exceed the maximum output power of the adapter, calculate the power difference between the maximum output power of the adapter and the power required by the wireless charging load; The power difference is used as the remaining allocated power and dynamically adjusted for distribution to the battery. The charging current limit of the battery is calculated based on the power difference, and the battery is charged according to the charging current limit.
[0010] Optionally, the dynamic calculation and adjustment of the power allocation ratio and charging current limit value further includes the following steps: When the power required by the wireless charging load exceeds the adapter's maximum output power, the built-in battery is temporarily replenished, while the output power of the wireless charging load is limited to the adapter's redundant power range.
[0011] Optionally, the USB-C interface of the wireless charging system integrates a PD protocol chip, and obtaining the maximum output power of the adapter includes the following steps: The PD protocol chip negotiates power with the connected adapter, reads and parses the PDO descriptor provided by the adapter to obtain the adapter's rated output power, and uses it as the adapter's maximum output power.
[0012] Optionally, the following steps are also included: Set a preset temperature threshold and monitor battery temperature in real time; When the battery temperature is detected to reach a preset temperature threshold, the output power of the wireless charging load is reduced, and the charging current allocated to the battery is decreased.
[0013] Optionally, the temperature threshold is 45°C, and the method further includes the following steps: When the built-in battery temperature is ≥45℃, the output power of the wireless charging load will be reduced to 7.5W, and the charging current limit of the battery will be reduced by 50%.
[0014] Optionally, the wireless charger is compatible with the Qi wireless charging standard and supports dynamic power adjustment from 5W to 25W.
[0015] To address the problems existing in the prior art, the present invention also provides a wireless charging system, comprising an MCU, a battery, a protocol identification module, a wireless charging control module, and a battery management module; the protocol identification module integrates a PD protocol chip for real-time reading of adapter PDO information, USB-C input voltage, and USB-C input current; the wireless charging control module is equipped with a wireless charging control chip for calculating and adjusting the power distribution ratio and charging current limit value; the battery management module monitors the battery voltage, temperature, and charging / discharging current; and the MCU is connected to the battery, the protocol identification module, the wireless charging control module, and the battery management module to implement the wireless charging control method described above.
[0016] The beneficial effects of the wireless charging control method provided in this invention are as follows: By coordinating the logic of preset voltage threshold, data acquisition, power supply switching, power adjustment, and load power supply, the method achieves coordinated power supply control between the wireless charging load and the built-in battery, solving the problems of chaotic charging and discharging logic and unstable power supply in the prior art; at the same time, by dynamically adjusting the power allocation ratio and charging current limit value, the method achieves efficient utilization of adapter power and avoids resource waste caused by fixed power allocation; this wireless charging control method is suitable for core scenarios with built-in USB-C charging and discharging, with clear control logic and strong operability, requiring no additional complex hardware, reducing system implementation costs, and improving the operational stability and user experience of the wireless charging system. Attached Figure Description
[0017] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 1 ; Figure 2 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 2 ; Figure 3 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 3 ; Figure 4 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 4 ; Figure 5 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 5 ; Figure 6 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 6 ; Figure 7 This is a flowchart of the wireless charging control method in an embodiment of the present invention. Figure 7 ; Figure 8 This is a schematic diagram of a wireless charging system according to an embodiment of the present invention.
[0018] The labels for the attached figures are as follows: 1. MCU; 2. Battery; 3. Protocol identification module; 4. Wireless charging control module; 5. Battery management module. Detailed Implementation
[0019] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0020] like Figures 1 to 7 As shown, this invention provides a specific embodiment of a wireless charging control method.
[0021] A wireless charging control method, reference Figure 1 This wireless charging control method is applied to a wireless charging system with a built-in USB-C port that allows charging and discharging simultaneously, and the wireless charging system has a built-in battery. The wireless charging control method includes the following steps: S1, Preset C-port input voltage threshold; S2. Obtain the connection status of port C, the maximum output power of the adapter, and the input voltage value of port C; S3. When the C port is detected to be connected, the input voltage value of the C port is compared with the preset C port input voltage threshold, and the power supply source of the wireless charging load is switched according to the comparison result. S4. When the power source is an adapter, detect the power required by the wireless charging load, dynamically adjust the power allocation ratio and calculate the charging current limit value of the battery based on the adapter's maximum output power and the power required by the wireless charging load. S5 supplies power to the battery and wireless charging load based on power allocation ratio and charging current limit value.
[0022] It should be noted that in this embodiment, the C port refers to a C interface or a C cable.
[0023] Step 1: Through the control unit of the wireless charging system, a USB-C input voltage threshold is preset. This threshold can be flexibly configured according to the hardware configuration of the wireless charging system, charging efficiency requirements and the type of adapter to determine the power supply switching conditions of the wireless charging load.
[0024] Step two: Through the USB-C interface of the wireless charging system and its corresponding detection module, the connection status (connected / not connected), the maximum output power of the adapter, and the input voltage value of the USB-C interface are obtained in real time. All the obtained data is transmitted to the MCU of the wireless charging system in real time to provide data support for subsequent control logic.
[0025] Step 3: The MCU of the wireless charging system determines the access status of the C port in real time. When the C port is detected to be connected, the obtained C port input voltage value is compared with the preset C port input voltage threshold. Based on the comparison result (i.e., the C port input voltage value is greater than or equal to the C port input voltage threshold, or the C port input voltage value is less than the C port input voltage threshold), the power supply source of the wireless charging load (adapter or built-in battery) is switched.
[0026] Step four: The load detection module of the wireless charging system detects the power required by the wireless charging load in real time and transmits the power required by the load to the MCU. The MCU combines the obtained maximum output power of the adapter with the detected power required by the wireless charging load to dynamically calculate the power allocation ratio and adjust the charging current limit value to ensure reasonable power allocation and stable power supply.
[0027] Step 5: Based on the calculated power allocation ratio and charging current limit value, the MCU controls the corresponding power supply circuit to be turned on and provides stable power to the wireless charging load, realizing the built-in USB-C port charging and discharging function.
[0028] This embodiment clarifies the complete control flow of a wireless charging system with a built-in USB-C port in a charging-while-discharging scenario. Through a series of steps including preset voltage thresholds, data acquisition, power supply switching, power adjustment, and load power supply, it achieves coordinated power supply control between the wireless charging load and the built-in battery, solving the problems of chaotic charging-while-discharging logic and unstable power supply in existing technologies. Simultaneously, by dynamically adjusting the power allocation ratio and charging current limit, it achieves efficient utilization of the adapter power, avoiding resource waste caused by fixed power allocation. This wireless charging control method is suitable for core scenarios of charging-while-discharging with a built-in USB-C port, with clear control logic and strong operability. It requires no additional complex hardware, reducing system implementation costs while improving the operational stability of the wireless charging system and the user experience.
[0029] In one embodiment, reference Figure 2 The wireless charging control method also includes the following steps: S31. When the input voltage value of port C is greater than or equal to the preset input voltage threshold of port C, switch the power source of the wireless charging load to the adapter. S32. When the input voltage value of port C is less than the preset input voltage threshold of port C, the power source of the wireless charging load is switched to the battery, and port C fully charges the battery.
[0030] Specifically, when the C port is detected to be connected and the input voltage value of the C port is greater than or equal to the preset C port input voltage threshold, the MCU issues a corresponding control command to switch the power source of the wireless charging load to the adapter, and controls the adapter to directly supply power to the wireless charging load through the preset power supply channel, so as to ensure stable and efficient power supply to the load.
[0031] Furthermore, when it is detected that the USB-C port is connected, but the input voltage value of the USB-C port is less than the preset USB-C port input voltage threshold, the MCU issues a corresponding control command to switch the power source of the wireless charging load to the system's built-in battery, which then powers the wireless charging load. At the same time, the USB-C port fully charges the battery to ensure that the low power input from the adapter is used entirely to replenish the battery power, without diverting power to the load, thus improving charging efficiency.
[0032] This embodiment clarifies the power source switching logic under different practical conditions. By comparing the input voltage threshold of the USB-C port, it accurately switches the power supply priority between the adapter and the built-in battery, solving the defects of existing technologies such as the lack of clear standards for power source switching and low power supply efficiency in low-voltage scenarios. When the input voltage of the USB-C port is insufficient, it adopts a design of "full charging of the battery through the USB-C port and battery powering the load." The advantages are: avoiding the problems of low charging efficiency and unstable power supply caused by the adapter power being dispersed (charging the battery and powering the load) in low-voltage scenarios, ensuring that all the power input from the adapter is used for battery charging, and improving battery charging efficiency; having the battery power the load, avoiding the load power supply voltage fluctuation caused by the low-voltage adapter directly powering the load, and ensuring the stability of load charging; realizing the core function of "charging and discharging simultaneously" in low-voltage scenarios, which does not interrupt the power supply to the load, but can continuously replenish the battery, avoid battery depletion, and extend battery life.
[0033] In one embodiment, the preset input voltage threshold for Port C is 7V. When Port C is connected, if the input voltage value of Port C is detected to be ≥7V, the power supply source of the wireless charging load is switched to the adapter according to the power supply switching logic. If the input voltage value of Port C is detected to be <7V, the power supply source of the wireless charging load is switched to the built-in battery, and battery charging is paused. This 7V threshold setting is compatible with the power supply voltage range of existing mainstream adapters, taking into account both power supply efficiency and system safety. It can effectively distinguish between scenarios where the adapter provides high-efficiency power supply and scenarios where it provides low-efficiency power supply, ensuring the rationality of power supply switching.
[0034] This embodiment clarifies the specific value of the input voltage threshold of the USB-C port, making the logic of power source switching more concrete and practical, and avoiding problems such as inaccurate switching timing and unstable power supply caused by ambiguous thresholds. The 7V threshold setting is compatible with the hardware parameters and adapter power supply characteristics of existing mainstream wireless charging devices with built-in USB-C ports. It can fully utilize the adapter power when the adapter provides efficient power supply (≥7V), and protect the battery and ensure stable power supply to the load when the adapter provides inefficient power supply (<7V). At the same time, the clear threshold setting reduces the complexity of system control, facilitates standardized configuration during mass production, and improves the system's compatibility and scalability.
[0035] In one embodiment, reference Figure 3When the power source is an adapter, dynamically calculating and adjusting the power allocation ratio and charging current limit value includes the following steps: S41. Real-time determination of the matching relationship between the power required by the wireless charging load and the maximum output power of the adapter; S42. When the power required by the wireless charging load does not exceed the maximum output power of the adapter, calculate the power difference between the maximum output power of the adapter and the power required by the wireless charging load. S43. Use this power difference as the remaining allocated power and dynamically adjust its allocation to the battery; S44. Calculate the charging current limit value of the battery based on the power difference, and charge the battery according to the charging current limit value.
[0036] Specifically, the system acquires the adapter's maximum output power and the power required by the wireless charging load in real time, and determines their matching relationship, i.e., whether the power required by the wireless charging load exceeds the adapter's maximum output power. When the power required by the wireless charging load does not exceed the adapter's maximum output power, the system calculates the power difference between the adapter's maximum output power and the power required by the wireless charging load. This power difference is the remaining power that can be allocated to the built-in battery. Then, the system uses the calculated power difference as the remaining allocated power and dynamically adjusts the power allocation ratio, ensuring that the adapter prioritizes providing the required power to the wireless charging load, and allocating all remaining power to the battery to ensure reasonable power allocation. When allocating the remaining power to charge the battery, the system calculates the battery's charging current limit value based on the battery's charging characteristics, and controls the battery charging circuit to charge the battery according to this current limit value to avoid excessive charging current damaging the battery, while ensuring charging efficiency.
[0037] The formula for calculating the battery charging current limit is as follows: I represents the battery's charging current limit value. This is the adapter's maximum output power. U represents the power required for the wireless charging load, and U is the battery voltage.
[0038] This embodiment refines the power allocation logic in adapter-powered scenarios. By calculating the power difference, it achieves a reasonable allocation of remaining power, solving the problems of fixed power allocation ratios and resource waste in existing technologies. Based on the power difference, it calculates the battery charging current limit value, ensuring battery charging safety, avoiding overcurrent damage to the battery, and improving battery charging efficiency. It realizes coordinated control of "adapter power supply, load power consumption, and battery charging". The entire power allocation process is dynamically adjusted to adapt to the real-time changes in the power required by the wireless charging load, ensuring that the adapter power is fully utilized, while ensuring battery charging safety, and further optimizing the user experience of charging and discharging simultaneously.
[0039] In one embodiment, reference Figure 4Dynamically calculating and adjusting the power allocation ratio and charging current limit also includes the following steps: S45. When the power required by the wireless charging load exceeds the maximum output power of the adapter, the built-in battery is temporarily charged, and the output power of the wireless charging load is limited to the adapter's redundant power range.
[0040] Specifically, when a sudden increase in the power required by the wireless charging load is detected, exceeding the adapter's maximum output power, the control unit immediately triggers the built-in battery temporary power replenishment mechanism, controls the built-in battery to release power, and makes up for the gap between the adapter's output power and the power required by the load, ensuring that the power supply to the wireless charging load is uninterrupted. At the same time, the control unit issues a control command to limit the output power of the wireless charging load and adjust it to the adapter's redundant power range, avoiding problems such as adapter overload, increased device overheating, restart, or even damage caused by load power overflow, and ensuring the safe operation of the system.
[0041] This embodiment adds power overflow protection logic, which solves the safety hazards such as adapter overload and system failure caused by sudden power surges in wireless charging loads in the prior art, and improves the safety and stability of system operation. By triggering temporary battery replenishment, it ensures uninterrupted power supply to the load, avoids the problem of load charging interruption caused by power overflow, and improves the user experience. At the same time, it limits the load power to the adapter's redundancy range, which protects the adapter and wireless charging system, avoids excessive battery discharge, and extends battery life, achieving a dual improvement in safety and user experience.
[0042] In one embodiment, reference Figure 5 The USB-C port of the wireless charging system integrates a PD protocol chip. Obtaining the adapter's maximum output power involves the following steps: S21. Through the PD protocol chip, perform power negotiation with the connected adapter, read and parse the PDO descriptor provided by the adapter to obtain the rated output power of the adapter, and use it as the maximum output power of the adapter.
[0043] Specifically, when the adapter is connected to the C port, the PD protocol chip integrated in the C port interface establishes a communication connection with the connected adapter, initiates the power negotiation process, and performs data interaction according to the PD protocol specification. The PD protocol chip reads the PDO (Programmable Power Object) descriptor provided by the adapter, parses the descriptor, extracts the rated output power parameter of the adapter, and uses the parsed rated output power of the adapter as the maximum output power of the adapter, which is then transmitted to the system control unit to provide accurate data support for subsequent power allocation and current limiting adjustment.
[0044] This embodiment refines the method for obtaining the adapter's maximum output power. Through power negotiation between the PD protocol chip and the adapter, the rated output power of the adapter can be accurately read, solving the problem of inaccurate adapter power identification and unreasonable power allocation in the prior art. This also enables the wireless charging system to be compatible with PD adapters of different brands and specifications, broadening the system's adaptability. At the same time, accurate power data acquisition provides a reliable basis for subsequent dynamic power allocation and current limiting adjustment, ensuring the rationality of power allocation and the stability of system operation, and further reducing the probability of system failure.
[0045] In one embodiment, reference Figure 6 It also includes the following steps: S51, preset temperature threshold and monitor battery temperature in real time; S52. When the battery temperature is detected to reach the preset temperature threshold, reduce the output power of the wireless charging load and reduce the charging current allocated to the battery.
[0046] Specifically, the system has a preset temperature threshold, which is configured according to the characteristics of the built-in battery and the system safety requirements to determine whether the battery is in an overheated state. The system monitors the battery temperature in real time and compares the detected real-time battery temperature with the preset temperature threshold. When the battery temperature reaches the preset temperature threshold, a control command is issued to reduce the output power of the wireless charging load to reduce system heat generation and to reduce the charging current allocated to the battery to reduce battery charging heat generation and prevent battery overheating.
[0047] This embodiment adds a temperature protection mechanism, which solves the safety hazards of battery overheating, capacity decay, bulging, or even fire in the scenario of charging and discharging in the prior art, and improves the safety of the system. By reducing the load power and battery charging current, the system effectively controls the heat generation of the system and extends the service life of the built-in battery. The temperature protection steps are simple in logic and respond quickly. They can detect and adjust in real time to ensure that the battery is always within the safe operating temperature range, while ensuring the normal power supply of the wireless charging load, thus balancing safety and user experience.
[0048] In one embodiment, reference Figure 7 The temperature threshold is 45°C, and the following steps are also included: S53. When the built-in battery temperature is ≥45℃, the output power of the wireless charging load is reduced to 7.5W, and the charging current limit of the battery is reduced by 50%.
[0049] Specifically, the temperature threshold is 45°C. This temperature threshold is compatible with the safe operating temperature range of mainstream batteries on the market, balancing safety and charging efficiency. When the built-in battery temperature is detected to be ≥45°C, the system performs temperature protection adjustment. On the one hand, the output power of the wireless charging load is reduced to the preset safe power, that is, the output power of the wireless charger is reduced to 7.5W. On the other hand, the charging current limit of the built-in battery is reduced by 50%. Through dual adjustment, the heat generation of the system and the battery is quickly reduced. Until the real-time temperature of the battery is detected to drop below 45°C, the output power of the wireless charging load and the current limit of the battery charging are gradually restored to ensure that the system returns to normal operation.
[0050] This embodiment clarifies the specific value of the temperature threshold and the adjustment parameters during temperature protection, making the temperature protection mechanism more specific and practical. It avoids the problems of poor protection effect caused by vague temperature protection logic and lack of adjustment standards. The 45°C temperature threshold setting accurately matches the safety characteristics of mainstream built-in batteries, effectively preventing battery overheating without excessively limiting charging efficiency. The specific adjustment parameters of load power and charging current ensure that the temperature protection response is rapid and effective, quickly reducing heat generation and protecting battery and system safety. At the same time, it avoids excessive impact of temperature protection on the user experience, achieving a balance between safety and user experience.
[0051] In one embodiment, the wireless charger is compatible with the Qi wireless charging standard and supports dynamic power adjustment from 5W to 25W. That is, the system detects the type and power required by the wireless charging load in real time, and dynamically adjusts the output power within the range of 5W to 25W according to the load demand to adapt to the charging needs of different loads and ensure efficient and stable charging of the load.
[0052] This embodiment clarifies the compatibility standards and power adjustment range of the wireless charging system, broadening its adaptability and enabling it to be compatible with most Qi-standard wireless charging loads on the market, thus improving the system's versatility. The dynamic power adjustment from 5W to 25W accurately matches the power according to load requirements, avoiding both excessive power leading to overheating and increased energy consumption, and insufficient power leading to low charging efficiency. Simultaneously, it adapts to the charging needs of different loads, improving user convenience and solving the inconvenience caused by poor compatibility and fixed power in existing wireless charging technologies.
[0053] like Figure 8 As shown, the present invention also provides a specific embodiment of a wireless charging system.
[0054] A wireless charging system, reference Figure 8The wireless charging system includes an MCU1, a battery 2, a protocol identification module 3, a wireless charging control module 4, and a battery management module 5. The protocol identification module 3 integrates a PD protocol chip to read the adapter PDO information, the USB-C input voltage, and the USB-C input current in real time. The wireless charging control module 4 is equipped with a wireless charging control chip to calculate and adjust the power distribution ratio and the charging current limit value. The battery management module 5 is used to detect the voltage, temperature, and charging / discharging current of the battery 2. The MCU1 is connected to the battery 2, the protocol identification module 3, the wireless charging control module 4, and the battery management module 5 to implement the wireless charging control method described above.
[0055] Specifically, MCU1, as the core control unit of the entire system, establishes bidirectional electrical connections with battery 2, protocol identification module 3, wireless charging control module 4, and battery management module 5 respectively, in order to receive data transmitted by each module, execute preset control algorithms, and output control commands, thereby realizing all the steps of the above wireless charging control method.
[0056] Furthermore, the protocol identification module 3 integrates a PD protocol chip, which is integrated with the C port interface of the wireless charging system. It is used to read the PDO information of the adapter in real time, and at the same time collect the input voltage data and input current data of the C port. All the collected data are transmitted to the MCU1 in real time, providing data support for the MCU1 to perform control logic such as power distribution and power supply switching.
[0057] Furthermore, the wireless charging control module 4 is equipped with a wireless charging control chip, which is used to detect the power required by the wireless charging load in real time. Based on the power adjustment command received from the MCU1, it calculates and adjusts the power distribution ratio and charging current limit value to control the power supply of the wireless charging load, ensuring stable power supply to the load. At the same time, it works with the MCU1 to switch the power source.
[0058] Furthermore, the battery management module 5 is electrically connected to the battery 2 and is used to detect the voltage, temperature and charging / discharging current of the battery 2 in real time. It also transmits the detected battery 2 status data to the MCU1 in real time, providing a basis for the MCU1 to perform safety protection (such as temperature protection and overcurrent protection). At the same time, according to the control instructions received from the MCU1, it controls the conduction and disconnection of the charging circuit of the battery 2 to realize the charging and discharging protection of the battery 2.
[0059] The overall workflow of the above system is as follows: When the wireless charging system is started, the protocol identification module 3 obtains the USB-C port access status, adapter PDO information, and USB-C port input voltage and current data, and transmits each data to MCU1; MCU1 has a preset USB-C port input voltage threshold. When MCU1 receives each data, it compares the USB-C port input voltage with the USB-C port input voltage threshold to control the switching of power sources; the wireless charging control module 4 detects the power required by the load and transmits it to MCU1; MCU1 combines the adapter power and the load power to dynamically adjust the power allocation ratio and current limiting value, and controls the wireless charging control module 4 to supply power to the load; at the same time, the battery management module 5 detects the status of battery 2 in real time, and MCU1 executes safety protection strategies according to the status of battery 2.
[0060] This embodiment, through the coordinated operation of MCU1, protocol identification module 3, wireless charging control module 4, battery management module 5, and battery 2, can stably and reliably implement the steps of the aforementioned wireless charging control method, solving the problems of unreasonable structure, chaotic control logic, and insufficient security in existing wireless charging systems. Furthermore, each module has a clear division of labor and smooth data interaction. Protocol identification module 3 ensures accurate acquisition of adapter power data, wireless charging control module 4 ensures stable adjustment of load power supply, battery management module 5 ensures safe detection and protection of battery 2, and MCU1 performs data processing and software control, improving the system's operational stability and reliability. This wireless charging system has a simple structure and reasonable layout, requiring no additional complex hardware, reducing system production costs and failure rates. Simultaneously, this wireless charging system is compatible with charging and discharging scenarios with a built-in USB-C port, and can be compatible with different adapters and wireless charging loads, broadening the system's application scope, improving the user experience, and effectively extending the battery 2's lifespan, ensuring long-term safe operation of the system.
[0061] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Those skilled in the art can modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features; and all such modifications and substitutions should fall within the protection scope of the appended claims of the present invention.
Claims
1. A wireless charging control method, characterized in that, A wireless charging system with a built-in USB-C port that allows for simultaneous charging and discharging, wherein the wireless charging system has a built-in battery, and the wireless charging control method includes the following steps: Preset the input voltage threshold for Port C; Obtain the connection status of port C, the maximum output power of the adapter, and the input voltage value of port C; When a USB-C port is detected, the input voltage value of the USB-C port is compared with the preset USB-C port input voltage threshold, and the power supply source of the wireless charging load is switched according to the comparison result. When the power source is an adapter, the required power of the wireless charging load is detected, and the power allocation ratio is dynamically adjusted and the charging current limit value of the battery is calculated based on the maximum output power of the adapter and the required power of the wireless charging load. Power is supplied to the battery and wireless charging load based on power allocation ratio and charging current limit value.
2. The wireless charging control method according to claim 1, characterized in that, It also includes the following steps: When the input voltage value of Port C is greater than or equal to the preset input voltage threshold of Port C, the power source of the wireless charging load will be switched to the adapter; When the input voltage of the USB-C port is less than the preset input voltage threshold of the USB-C port, the power source of the wireless charging load is switched to the battery, and the USB-C port charges the battery in full.
3. The wireless charging control method according to claim 1 or 2, characterized in that, The preset input voltage threshold for Port C is 7V.
4. The wireless charging control method according to claim 2, characterized in that, When the power source is an adapter, the dynamic calculation and adjustment of the power allocation ratio and charging current limit value includes the following steps: Real-time determination of the matching relationship between the power required by the wireless charging load and the maximum output power of the adapter; When the power required by the wireless charging load does not exceed the maximum output power of the adapter, calculate the power difference between the maximum output power of the adapter and the power required by the wireless charging load; The power difference is used as the remaining allocated power and dynamically adjusted for distribution to the battery. The charging current limit of the battery is calculated based on the power difference, and the battery is charged according to the charging current limit.
5. The wireless charging control method according to claim 2, characterized in that, The dynamic calculation and adjustment of the power allocation ratio and charging current limit value also includes the following steps: When the power required by the wireless charging load exceeds the adapter's maximum output power, the built-in battery is temporarily replenished, while the output power of the wireless charging load is limited to the adapter's redundant power range.
6. The wireless charging control method according to claim 1, characterized in that, The USB-C interface of the wireless charging system integrates a PD protocol chip, and obtaining the maximum output power of the adapter includes the following steps: The PD protocol chip negotiates power with the connected adapter, reads and parses the PDO descriptor provided by the adapter to obtain the adapter's rated output power, and uses it as the adapter's maximum output power.
7. The wireless charging control method according to claim 1, characterized in that, It also includes the following steps: Set a preset temperature threshold and monitor battery temperature in real time; When the battery temperature is detected to reach a preset temperature threshold, the output power of the wireless charging load is reduced, and the charging current allocated to the battery is decreased.
8. The wireless charging control method according to claim 7, characterized in that, The temperature threshold is 45°C, and the method further includes the following steps: When the built-in battery temperature is ≥45℃, the output power of the wireless charging load will be reduced to 7.5W, and the charging current limit of the battery will be reduced by 50%.
9. The wireless charging control method according to claim 1, characterized in that, The wireless charger is compatible with the Qi wireless charging standard and supports dynamic power adjustment from 5W to 25W.
10. A wireless charging system, characterized in that, The device includes an MCU, a battery, a protocol identification module, a wireless charging control module, and a battery management module. The protocol identification module integrates a PD protocol chip for real-time reading of adapter PDO information, USB-C input voltage, and USB-C input current. The wireless charging control module is equipped with a wireless charging control chip for calculating and adjusting the power distribution ratio and charging current limit. The battery management module monitors the battery voltage, temperature, and charging / discharging current. The MCU is connected to the battery, the protocol identification module, the wireless charging control module, and the battery management module to implement the wireless charging control method as described in any one of claims 1-9.