Wireless charging protection method, device, equipment and medium
By collecting reference current values and real-time monitoring of current changes in wireless charging systems, combining communication handshake and identity identification, rapid detection and response to large metal foreign objects is achieved, and the problems of inaccurate detection and safety hazards in the existing technology are solved, and the problems of inaccurate detection and safety hazards are improved. The security and user experience of wireless charging system.
Patent Information
- Application Number
- CN202510031195.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2045-01-09
AI Technical Summary
When existing wireless charging devices detect metal foreign objects, it is difficult to accurately identify the placement of large metal foreign objects, resulting in safety hazards and lack flexible processing for slight abnormalities during charging, affecting the user experience.
By collecting the reference current value in the wireless charging transmitter is turned off, monitoring the current change in real time, calculating the current change rate and comparing it with the preset threshold, quickly determining whether there is an abnormal state caused by large metal foreign matter, and immediately when an abnormality is detected, it is not allowed to be detected. Turn off the charging output. At the same time, communication handshake and identity identification links are introduced to prevent non-standard equipment, and precise identification and dynamic adjustment of charging abnormalities are achieved through hierarchical processing and data cache analysis.
Effectively distinguish between large metal foreign objects and normal charging loads, respond in a timely manner, improve the safety, reliability and compatibility of the wireless charging system, ensure the continuity and security of charging, and improve the user experience.
Smart Images

Figure CN119448505A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless charging, and in particular to a wireless charging protection method, device, equipment and medium. Background Art
[0002] Wireless charging technology achieves power transmission through electromagnetic induction between the transmitting and receiving coils. Due to its convenience, it is widely used in smart phones, smart wearable devices, electric vehicles and other fields. This technology can charge electronic devices without using charging cables, greatly improving the user experience.
[0003] Existing wireless charging devices generally use a protection mechanism based on impedance detection, which monitors the current and voltage parameters in the charging circuit to determine whether there is an abnormality. When an abnormality is detected, the system automatically cuts off the charging output to protect the device.
[0004] However, the existing protection mechanism is mainly aimed at general faults such as circuit short circuit and load abnormality, and lacks a special detection and protection scheme for current abnormality caused by the placement of metal foreign objects. This may cause the overcurrent protection of the lithium battery protection chip to be triggered, causing the mobile power supply to enter a power-off state and require an external adapter to recharge before reactivation, which brings trouble to users. This situation needs to be further improved. Summary of the invention
[0005] In order to solve the problem that the existing protection mechanism lacks special detection for current anomalies caused by the placement of metal foreign objects, the present application provides a wireless charging protection method, device, equipment and medium, which adopts the following technical solutions: In a first aspect, the present application provides a wireless charging protection method, comprising the following steps: Collect current data when wireless charging is turned off to obtain a reference current value; Turn on the wireless charging function and control the transmitting circuit to output an alternating magnetic field signal; Based on the output state of the alternating magnetic field signal, current data during wireless charging operation is collected to obtain a real-time current value; Calculating a current change rate according to the reference current value and the real-time current value; Comparing the current change rate with a preset threshold range to determine whether there is an abnormal state caused by the placement of a metal foreign object; When it is determined that an abnormal state exists, the wireless charging module is controlled to turn off the output.
[0006] By adopting the above technical solution, since the existing wireless charging technology mainly relies on the threshold protection of a single parameter such as temperature or voltage when detecting metal foreign objects, it is difficult to accurately identify the placement of large metal foreign objects. When the user accidentally places large metal objects such as keys and coins in the wireless charging area, although the charging current will rise rapidly, the traditional protection scheme often misjudges it as a normal load change, causing the metal foreign object to continue to heat up, posing a safety hazard; the present application first collects the reference current value when the wireless charging transmitter is turned off to establish a reference standard, and then monitors the current change in real time when the wireless charging transmitter is turned on. By calculating the current change rate and comparing it with the preset threshold, it is quickly determined whether there is an abnormality caused by a large metal foreign object. When an abnormality is detected, the system will immediately shut down the charging output to ensure safety. It can effectively distinguish large metal foreign objects from normal charging loads and respond in a timely manner, thereby improving the safety and reliability of the wireless charging system.
[0007] Optionally, in the process of controlling the transmitting circuit to output the alternating magnetic field signal, the method further includes the following steps: Send communication handshake signals that comply with wireless charging standards; Detecting response information of the communication handshake signal to obtain a communication detection result; According to the communication detection result, determining whether the placed object is a wireless charging device that complies with the standards; If yes, receiving the power requirement information sent by the standard wireless charging device, and adjusting the transmission power according to the power requirement information; If not, the transmitting circuit output is stopped immediately.
[0008] By adopting the above technical solution, the present application first sends a communication handshake signal that complies with the wireless charging standard, and determines the identity of the placed object by detecting the response information. Only when it is confirmed to be a standard charging device will the output power be adjusted according to its power demand information, otherwise the output will be stopped immediately; by introducing the communication handshake and identity recognition links, non-standard devices can be effectively prevented in the early stage of charging, and intelligent power matching with standard devices is realized, with accurate recognition and fast response, which can greatly improve the compatibility and safety of the wireless charging system.
[0009] Optionally, the preset threshold range includes a maximum change rate threshold and a minimum change rate threshold; When the current change rate is greater than the maximum change rate threshold or less than the minimum change rate threshold, it is determined that an abnormal state exists.
[0010] By adopting the above technical solution, the system of the present application calculates the current change rate in real time and compares it with the preset maximum and minimum change rate thresholds in a two-way manner. When the change rate exceeds this safe range, it can be determined that an abnormal state exists; it can not only identify the current surge caused by large metal foreign objects, but also detect the current drop caused by charging abnormalities.
[0011] Optionally, after controlling the wireless charging module to turn off the output, the method further includes the following steps: Starting a timer to count a preset waiting time, wherein the preset waiting time is used to determine the duration of a state where no device is placed; When the placement of the device is not detected within the preset waiting time, the control system enters a shutdown state; When the placement of the device is detected within the preset waiting time, the timer is reset and the step of collecting current data when the wireless charging is turned off is re-executed.
[0012] By adopting the above technical solution, the user experience is affected because the existing wireless charging system often lacks a reasonable recovery mechanism after detecting an abnormality and shutting down the output; the system of the present application starts the timer after detecting that there is no device placed, and presets a reasonable waiting time window. Within this time window, if the device placement is not detected continuously, the system will automatically enter a deep energy-saving shutdown state; if the device placement is detected during this period, the timer is reset in time and the current detection is re-performed to ensure the normal use of the charging function, thereby providing a better user experience through automated management.
[0013] Optionally, the method further comprises the following steps: Detect the power demand information of standard wireless charging devices and establish the normal charging power variation range; Continuously collecting multiple sets of current data at preset time intervals, and calculating whether the current change is within the normal charging power change range; When it is detected that the current variation exceeds the normal charging power variation range, reducing the transmission power; Continue to monitor the current change trend. If the current still exceeds the normal charging power change range after reducing the power, the protection shutdown is triggered.
[0014] By adopting the above technical solution, since the existing wireless charging protection solution strategy is simple and lacks flexible handling of minor anomalies during the charging process, when the charging device causes current fluctuations due to slight position offset or temporary interference, the system may immediately trigger a protection shutdown, which not only affects the charging efficiency but also reduces the user experience; the present application first determines the normal variation range based on the power demand information of the standard charging device, and then collects multiple sets of current data at fixed time intervals for continuous monitoring. When it is found that the current variation exceeds the normal range, a gentle treatment method of reducing power is preferentially adopted. Only when the power cannot be restored to normal after reducing the power, the complete shutdown protection is triggered; the hierarchical processing of charging anomalies is realized, which not only ensures the continuity of charging, but also maintains the necessary safety protection, thereby improving the practicality of the wireless charging system.
[0015] Optionally, when it is detected that the current variation exceeds the normal charging power variation range, after reducing the transmission power, the method further includes the following steps: The continuous current data after power reduction is stored in a buffer area in chronological order, and the change trend of the current data in the buffer area is calculated; Monitor whether the standard wireless charging device sends a new power adjustment request; If there is no power adjustment request and the current change trend is abnormal, the transmit power is further reduced and the sampling interval is shortened.
[0016] By adopting the above technical solution, the existing wireless charging system often cannot accurately judge the effect of power regulation because it lacks the ability to continuously track and intelligently analyze abnormal conditions when performing power regulation. After the power is reduced for the first time, the application stores the continuously collected current data in the cache area for trend analysis, and monitors the power adjustment request of the charging device at the same time. When no device request is found and the current change trend continues to be abnormal, a more aggressive protection strategy is automatically triggered, including further reducing power and increasing the sampling frequency. By introducing data cache analysis and multi-dimensional judgment, accurate identification and dynamic adjustment of charging anomalies are achieved, thereby improving the safety and reliability of the wireless charging system.
[0017] Optionally, after further reducing the transmit power and shortening the sampling interval, the method further includes the following steps: Determine the normal current fluctuation range in the current charging stage based on the power demand information of the standard wireless charging device; Calculate whether the current fluctuation of the high-frequency sampling data is within the normal current fluctuation range; When the current fluctuation continues to exceed the normal current fluctuation range and the accumulated duration reaches a preset value, the charging output is immediately turned off.
[0018] By adopting the above technical solution, the existing wireless charging system lacks an accurate judgment standard for the final abnormal state after multi-level power adjustment, which makes it easy to have the problem of inaccurate protection timing; for example, when the system reduces power many times, it is still difficult to accurately judge whether it is a temporary interference or a continuous abnormality, which may cause the protection action to be too slow or overly sensitive. The present application first establishes the normal fluctuation range standard for the current charging stage based on the device power demand information, and then performs real-time analysis on the current data obtained by high-frequency sampling. When it is found that the current fluctuation continues to exceed the normal range and the duration of the abnormality reaches the preset threshold, the final protection shutdown is triggered; it not only avoids excessive reaction to instantaneous interference, but also can deal with continuous abnormalities in a timely manner, thereby improving the overall protection level of the wireless charging system.
[0019] In a second aspect, the present application provides a wireless charging protection device, comprising: A processor, used to control the working state of the wireless charging device; an analog-to-digital conversion circuit, connected to the processor, and used to collect current data of the wireless charging circuit; A transmitting circuit, connected to the processor, for generating an alternating magnetic field signal; A memory, connected to the processor, for storing a reference current value, a real-time current value, and a preset threshold range; The control circuit is connected to the processor and is used to control the wireless charging module to shut down the output when an abnormal state caused by the placement of a metal foreign object is detected.
[0020] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned wireless charging protection method when executing the computer program.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned wireless charging protection method are implemented.
[0022] In summary, the present application includes at least one of the following beneficial technical effects: This application first collects the reference current value when the wireless charging transmitter is turned off to establish a reference standard, and then monitors the current change in real time when the wireless charging transmitter is turned on. By calculating the current change rate and comparing it with the preset threshold, it is quickly determined whether there is an abnormality caused by a large metal foreign object. When an abnormality is detected, the system will immediately shut down the charging output to ensure safety. It can effectively distinguish large metal foreign objects from normal charging loads and respond in time, thereby improving the safety and reliability of the wireless charging system. This application first sends a communication handshake signal that complies with the wireless charging standard, and determines the identity of the placed object by detecting the response information. Only when it is confirmed to be a standard charging device will the output power be adjusted according to its power demand information, otherwise the output will be stopped immediately; by introducing the communication handshake and identity recognition links, non-standard devices can be effectively prevented in the early stage of charging, and intelligent power matching with standard devices is achieved, with accurate recognition and fast response, which can greatly improve the compatibility and safety of the wireless charging system; Since the existing wireless charging protection scheme has a simple strategy and lacks flexible handling of minor anomalies during the charging process, when the charging device causes current fluctuations due to slight position offset or temporary interference, the system may immediately trigger a protection shutdown, which not only affects the charging efficiency but also reduces the user experience. The present application first determines the normal variation range based on the power demand information of the standard charging device, and then collects multiple sets of current data at fixed time intervals for continuous monitoring. When it is found that the current variation exceeds the normal range, a gentle treatment method of reducing power is preferentially adopted. Only when the power cannot be restored to normal after reducing the power, the complete shutdown protection is triggered. The hierarchical handling of charging anomalies is realized, which not only ensures the continuity of charging, but also maintains the necessary safety protection, thereby improving the practicality of the wireless charging system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of a wireless charging protection method according to an embodiment of the present application; Figure 2 It is a flowchart of step S120 in a wireless charging protection method according to an embodiment of the present application; Figure 3 It is a schematic diagram of a flow chart of timing a preset waiting time in a wireless charging protection method according to an embodiment of the present application; Figure 4 It is a schematic diagram of the process of hierarchical processing in a wireless charging protection method according to an embodiment of the present application; Figure 5 It is a flowchart of data cache analysis in a wireless charging protection method according to an embodiment of the present application; Figure 6 It is a schematic diagram of a flow chart of determining a current fluctuation range in a wireless charging protection method according to an embodiment of the present application; Figure 7 It is a module schematic diagram of a wireless charging protection device according to an embodiment of the present application; Figure 8 It is a diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0025] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0026] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0027] In a first aspect, the present application provides a wireless charging protection method, referring to Figure 1 The wireless charging protection method provided in this application first starts from the power bank shutdown state. The system can be awakened to the working state by pressing a button or touch sensing, and includes the following steps: S110, collecting current data when the wireless charging is turned off to obtain a reference current value.
[0028] The reference current value refers to the static operating current of the system when the wireless charging module is not turned on after the system is awakened from the shutdown state. The reference current value is mainly composed of the operating current of basic circuits such as MCU and communication circuit, and is an important reference for subsequent foreign object detection and judgment.
[0029] In this embodiment, when the system is awakened, a 12-bit ADC is used through a high-precision current sensor to continuously collect 10 sets of current data at intervals of 1 ms. After removing the maximum and minimum values, the system reference current value is averaged. In practice, the reference current value generally fluctuates within the range of 20-60mA. If it exceeds this range, it is considered that the system may be abnormal. The high-precision current sensor can be set at the transmitting end or its periphery to monitor the induced current generated under the alternating magnetic field. It can be understood that the specific sampling frequency and reference current value can be adjusted according to actual conditions.
[0030] S120, turning on the wireless charging function, and controlling the transmitting circuit to output an alternating magnetic field signal.
[0031] Among them, the wireless charging transmitter adopts low-power pre-detection mode to start, and detects whether there are objects in the charging area by emitting a weak alternating magnetic field. This pre-detection mode can effectively avoid the safety hazards caused by high-power startup.
[0032] In this embodiment, the system first limits the transmission power to less than 2W, and generates an alternating magnetic field signal through an LC resonant circuit. The transmission circuit uses PWM modulation to control the output power to ensure the safety and reliability of the detection process.
[0033] S130. Based on the output state of the alternating magnetic field signal, collect current data during wireless charging operation to obtain a real-time current value.
[0034] The real-time current value reflects whether there is an object in the charging area and the nature of the object. By using a high-precision current sensor to monitor the input current changes of the system in real time, different states such as no-load, normal load and foreign object load can be effectively distinguished.
[0035] In this embodiment, the system collects the current data of the transmitting circuit when it is working through the current sensor. The sampling frequency is set to 1kHz, and each acquisition lasts for 2ms. After acquiring 10 sets of data, the real-time current value is obtained through digital filtering. To ensure data reliability, the system will continuously collect 3 sets of real-time current values for comparison and verification.
[0036] S140, calculating the current change rate according to the reference current value and the real-time current value.
[0037] Among them, the current change rate is used to quantify the degree of change in the system load state. By comparing the difference between the real-time current and the reference current, it is possible to quickly determine whether there are foreign objects in the charging area.
[0038] In this embodiment, the system uses the calculation formula of (real-time current value-reference current value) / reference current value to obtain the current change rate. Alternatively, the current change rate may also be directly obtained by using the real-time current value-reference current value.
[0039] S150, comparing the current change rate with a preset threshold range to determine whether there is an abnormal state caused by the placement of a metal foreign object.
[0040] Among them, the preset threshold range includes a maximum change rate threshold and a minimum change rate threshold; when the current change rate is greater than the maximum change rate threshold or less than the minimum change rate threshold, it is determined that an abnormal state exists.
[0041] In this embodiment, the system sets a safe threshold range of the current change rate based on a large amount of experimental data. When the detected current change rate exceeds the preset range, it indicates that there may be metal foreign matter in the charging area, and protective measures need to be taken in time.
[0042] S160: When it is determined that an abnormal state exists, control the wireless charging module to turn off output.
[0043] Once an abnormal state is confirmed, the system needs to quickly cut off power transmission to prevent safety hazards caused by overcurrent. After shutdown, the system will wait for a predetermined time and try to start again to achieve intelligent protection.
[0044] In this embodiment, the system adopts a fast shutdown strategy, first turning off the PWM drive signal, then cutting off the bias power supply of the power tube, ensuring that the charging circuit is completely shut down within 5ms. After shutdown, the system enters a waiting state, and the default waiting time is set to 5s, and then re-enters the detection process.
[0045] In one embodiment, referring to Figure 2 After completing the basic current anomaly detection, this embodiment further improves the accuracy of the detection. In step S120, in the process of controlling the transmitting circuit to output the alternating magnetic field signal, the method further includes the following steps: S210: Send a communication handshake signal that complies with the wireless charging standard.
[0046] In this embodiment, after the transmitting circuit works stably, the system generates digital communication signals by modulating the transmitting power. These signals need to strictly follow the communication specifications of mainstream wireless charging protocols such as Qi, and contain basic information such as device identification code and communication version number.
[0047] Specifically, the resonant circuit at the receiving end generates induced AC, which is then converted into DC through a full bridge to provide power to the receiving end. At the same time, the receiving end can send signals to the transmitting end by changing the load size. Formal devices that support wireless charging, such as mobile phones or headphones, follow specific wireless charging communication protocols (such as the Qi standard) in hardware design.
[0048] S220: Detect response information of the communication handshake signal to obtain a communication detection result.
[0049] In this embodiment, the system continuously monitors the response signal of the device in the charging area through a dedicated demodulation circuit. The standard wireless charging device will return response data containing key parameters such as device type and power level according to the protocol specification.
[0050] In this embodiment, the demodulation circuit uses envelope detection to extract digital signals, and the sampling frequency is set to 40kHz. The system performs digital filtering and Manchester decoding on the sampled data to extract a complete response data packet. For example, each communication process is continuously monitored for 250ms. If no valid data is decoded during this period, it is considered that the communication has failed.
[0051] S230: Determine whether the placed object is a wireless charging device that complies with the standards based on the communication detection result.
[0052] In this embodiment, the system needs to perform protocol analysis and validity verification on the received response data. The system will check whether the key fields such as device identification and protocol version in the response data packet comply with the standard specifications.
[0053] Specifically, the verification process first checks whether the checksum of the data packet is correct, and then verifies whether the device identification code matches the preset valid value range. Furthermore, the system will compare whether the protocol version number is compatible. Only when all verification items pass can it be confirmed as a legitimate charging device. The timeout of the verification process can also be set, for example, the timeout of the verification process can be set to 150ms.
[0054] If yes, execute step S240 to receive power requirement information sent by a standard wireless charging device, and adjust the transmission power according to the power requirement information.
[0055] In this embodiment, after confirming the legitimacy of the device, the system starts to receive charging parameter configuration requests sent by the device. These requests contain the charging voltage and current values expected by the device, and the system needs to dynamically adjust the output power accordingly.
[0056] Specifically, a closed-loop control method is adopted to accurately control the output power by adjusting the duty cycle and switching frequency of the PWM waveform in real time to ensure the stability and safety of the charging process.
[0057] If not, execute step S250 to immediately stop the output of the transmitting circuit.
[0058] In this embodiment, when the system detects that the communication is abnormal or the device is illegal, it is necessary to immediately cut off the energy transmission to prevent safety hazards such as heating of metal foreign objects.
[0059] In one embodiment, referring to Figure 3 After the wireless charging module is controlled to turn off the output in step S160, the method further includes the following steps: S310: Start a timer to count a preset waiting time, where the preset waiting time is used to determine the duration of a state where no device is placed.
[0060] The system configures and starts a low-power timer module to monitor the duration of the no-device state.
[0061] In this embodiment, the system sets the preset waiting time to 5 seconds. During the timing process, the system can use the LED indicator to flash at a low frequency to indicate that it is currently in standby mode, and at the same time put unnecessary peripheral circuits such as high-speed clocks and communication interfaces into sleep mode, so that the system operating current drops below 5mA.
[0062] S320: When the placement of the device is not detected within the preset waiting time, the control system enters a shutdown state.
[0063] In this embodiment, when the timer reaches the preset 5 seconds and the device is not detected during the period, the system will execute the automatic shutdown process, which includes shutting down all non-essential functional modules, configuring wake-up sources, and finally putting the system into deep sleep mode.
[0064] S330: When it is detected that the device is placed within the preset waiting time, the timer is reset, and the step of collecting current data when the wireless charging is turned off is re-executed.
[0065] The system maintains the most basic device detection function during the waiting period. When a possible device placement is detected, the timer count value is immediately reset and the complete device detection process is re-entered to ensure timely response of the charging function.
[0066] In this embodiment, the system monitors the charging area status through a light load detection circuit, and the sampling frequency is set to 10Hz to reduce power consumption. When a load change is detected, the count value of the 5-second timer is first reset to restore the normal working state of the system, including starting the high-speed clock, enabling the ADC module, etc.
[0067] In one embodiment, referring to Figure 4 , the method further comprises the following steps: S410: Detect power requirement information of a standard wireless charging device and establish a normal charging power variation range.
[0068] In this embodiment, the system identifies the device type by detecting the load modulation signal during the wireless charging process. When a standard wireless charging device is detected, the charging capability level of the device is determined based on its characteristic current and power change pattern, and a corresponding power change monitoring range is established.
[0069] Specifically, the system first identifies the device type through a low-power detection signal, then determines its charging power level based on the impedance change characteristics of the device, and sets the corresponding power fluctuation threshold.
[0070] S420, continuously collecting multiple sets of current data at preset time intervals, and calculating whether the current change is within a normal charging power change range.
[0071] In this embodiment, the system adopts a sampling method with fixed time intervals to continuously monitor the current changes during the charging process. By collecting and analyzing multiple sets of continuous data, the abnormal state during the charging process can be accurately identified.
[0072] Specifically, the system samples once every 100ms, collects 10 sets of data each time and calculates the average value, effectively filtering out the interference of instantaneous fluctuations. The collected data is analyzed in real time, and when the calculation results of three consecutive samples are found to exceed the preset power variation range, the power adjustment protection strategy is triggered.
[0073] S430: When it is detected that the current variation exceeds the normal charging power variation range, reduce the transmission power.
[0074] In this embodiment, the system adopts a hierarchical protection strategy, firstly trying to solve the abnormal situation by reducing the transmission power, so as to avoid directly cutting off the output and affecting the user experience.
[0075] Specifically, when a power abnormality is detected, the system will reduce the transmission power to 75% of the current value and re-monitor the status at the new power level. The power adjustment process adopts a gradual method to ensure the smoothness of the charging process and avoid the negative effects that may be caused by sudden changes in power. For example, under normal charging conditions, the power fluctuation range is between 12W and 18W. When a metal foreign body is detected close to the charging area, the actual power may suddenly increase due to the eddy current loss of the metal object. After the system detects this abnormality, it will first reduce the output power. If the metal foreign body is not removed at this time, the actual power measured at the new power level is still beyond the safe range. The system determines that there is a safety hazard and immediately executes a protection shutdown. Through this, the power will not be shut down directly due to temporary interference, which reduces the probability of false protection and allows low-power charging to continue in some minor abnormal conditions.
[0076] S440, continue to monitor the current change trend, if it still exceeds the normal charging power change range after reducing the power, trigger the protection shutdown.
[0077] In this embodiment, the system will continue to monitor the charging state after the power adjustment to evaluate the effect of the power reduction measures. If the abnormal state persists after the power reduction, it is determined to be a serious abnormality and a complete protection shutdown needs to be performed.
[0078] In one embodiment, referring to Figure 5 In step S430, when it is detected that the current variation exceeds the normal charging power variation range, after reducing the transmission power, the method further includes the following steps: S510, storing the continuous current data after power reduction into a buffer area in chronological order, and calculating a change trend of the current data in the buffer area.
[0079] In this embodiment, the system establishes a data buffer area for cyclic storage to record the change of charging state after power adjustment. By performing trend analysis on the buffer data, the effect of power adjustment is evaluated in real time to provide a decision basis for subsequent control strategies.
[0080] Specifically, the system sets up a circular buffer with a capacity of 50 sets of data, each set of data contains a sampling timestamp and the corresponding current value. The least squares method is used to perform linear fitting on the most recent 20 sets of data to calculate the slope of the current change. If the slope exceeds the preset threshold (such as a rate of change of more than 5% per second), it is determined to be an abnormal trend. At the same time, the system also calculates the fluctuation variance of the data to evaluate the stability of the charging state.
[0081] S520: Monitor whether the standard wireless charging device sends a new power adjustment request.
[0082] In this embodiment, the system identifies whether there is a new power demand by monitoring the load modulation signal at the device end. This monitoring mechanism can distinguish whether the power change comes from the normal demand of the device or is caused by an abnormal condition.
[0083] Specifically, the system focuses on the impedance modulation characteristics of the device within 5 seconds after reducing the power. If a power adjustment signal sequence that complies with the standard protocol is detected, it means that the power change is a normal behavior actively requested by the device. At this time, the system will adjust the power appropriately according to the device request. On the contrary, if the standard modulation signal is not detected and the power still changes abnormally, further protection measures are required.
[0084] S530: If there is no power adjustment request and the current change trend is abnormal, further reduce the transmission power and shorten the sampling interval.
[0085] In this embodiment, the system adopts a more aggressive power regulation strategy to quickly respond to potential abnormal conditions by reducing the power level and increasing the monitoring frequency. For example, when the user's key is slowly sliding into the charging area. At this time, the charging anomaly will develop gradually. The traditional solution may have to wait until the power reaches the dangerous threshold before cutting off, which poses a safety hazard. For example, the initial charging power is 15W. As the key gradually approaches, the power begins to rise slowly. When the power rises to 18W, this solution will trigger the first level of protection and drop to 11.25W. The system analyzes the data in the cache area and finds that the current is still rising (the slope is positive and exceeds 5% / s). Since no power adjustment request from the device is received, the system determines it as an abnormal situation, further reduces the power to 6.75W, and encrypts the sampling monitoring. Alternatively, the charging device shakes slightly during the charging process, causing the charging efficiency to fluctuate. The charging was originally stable at 15W, and the power suddenly dropped to 11W due to the shaking. The traditional solution may misjudge the power fluctuation as an abnormality and trigger protection. In this solution, the device will increase the power through load modulation to maintain charging efficiency. The system detects the standard power adjustment request signal, verifies that it is a normal power adjustment requirement, and maintains the normal charging state. Or when the charger is placed in direct sunlight and the ambient temperature gradually rises, misjudgment may occur. This application uses the fluctuation characteristics to predict in advance and achieve preventive protection.
[0086] In one embodiment, referring to Figure 6 In step S530, after further reducing the transmission power and shortening the sampling interval, the method further includes the following steps: S610: Determine a normal current fluctuation range in the current charging phase according to power requirement information of a standard wireless charging device.
[0087] In this embodiment, the system dynamically adjusts the judgment standard of current fluctuation according to the characteristics of different stages of the charging process. Since the current characteristics of different charging stages are significantly different, the use of staged judgment standards can improve the accuracy of abnormality detection.
[0088] S620, calculating whether the current fluctuation of the high-frequency sampling data is within the normal current fluctuation range.
[0089] In this embodiment, the system uses a method combining high-frequency sampling and statistical analysis to monitor the fluctuation of charging current in real time. By statistically processing the sampled data, the influence of random interference can be effectively reduced and the reliability of judgment can be improved.
[0090] S630: When the current fluctuation continues to exceed the normal current fluctuation range and the accumulated duration reaches a preset value, the charging output is immediately turned off.
[0091] In this embodiment, the system determines whether full protection needs to be triggered by accumulating the duration of abnormal fluctuations. This judgment mechanism based on time accumulation can avoid false triggering caused by instantaneous interference, while being able to respond to persistent abnormal conditions in a timely manner.
[0092] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0093] In a second aspect, the present application provides a wireless charging protection device. The wireless charging protection device of the present application is described below in combination with the above-mentioned wireless charging protection method.
[0094] Reference Figure 7 , a wireless charging protection device, comprising: A processor, used to control the working state of the wireless charging device; An analog-to-digital conversion circuit, connected to the processor, for collecting current data of the wireless charging circuit; A transmitting circuit, connected to the processor, for generating an alternating magnetic field signal; A memory, connected to the processor, for storing a reference current value, a real-time current value, and a preset threshold range; The control circuit is connected to the processor and is used to control the wireless charging module to shut down the output when an abnormal state caused by the placement of a metal foreign object is detected.
[0095] In one embodiment, the present application provides an electronic device, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a wireless charging protection method is implemented.
[0096] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0097] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0098] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0099] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A wireless charging protection method, characterized in that: The steps include: Collect current data when wireless charging is turned off to obtain a reference current value; Turn on the wireless charging function and control the transmitting circuit to output an alternating magnetic field signal; Based on the output state of the alternating magnetic field signal, current data during wireless charging operation is collected to obtain a real-time current value; Calculating a current change rate according to the reference current value and the real-time current value; Comparing the current change rate with a preset threshold range to determine whether there is an abnormal state caused by the placement of a metal foreign object; When it is determined that an abnormal state exists, the wireless charging module is controlled to turn off the output.
2. The wireless charging protection method according to claim 1, characterized in that: In the process of controlling the transmitting circuit to output the alternating magnetic field signal, the method further includes the following steps: Send communication handshake signals that comply with wireless charging standards; Detecting response information of the communication handshake signal to obtain a communication detection result; According to the communication detection result, determining whether the placed object is a wireless charging device that complies with the standards; If yes, receiving the power requirement information sent by the standard wireless charging device, and adjusting the transmission power according to the power requirement information; If not, the transmitting circuit output is stopped immediately.
3. The wireless charging protection method according to claim 1, characterized in that: The preset threshold range includes a maximum change rate threshold and a minimum change rate threshold; When the current change rate is greater than the maximum change rate threshold or less than the minimum change rate threshold, it is determined that an abnormal state exists.
4. The wireless charging protection method according to claim 1, characterized in that: After controlling the wireless charging module to turn off the output, the method further includes the following steps: Starting a timer to count a preset waiting time, wherein the preset waiting time is used to determine the duration of a state where no device is placed; When the placement of the device is not detected within the preset waiting time, the control system enters a shutdown state; When the placement of the device is detected within the preset waiting time, the timer is reset and the step of collecting current data when the wireless charging is turned off is re-executed.
5. The wireless charging protection method according to claim 2, characterized in that: The method further comprises the steps of: Detect the power demand information of standard wireless charging devices and establish the normal charging power variation range; Continuously collecting multiple sets of current data at preset time intervals, and calculating whether the current change is within the normal charging power change range; When it is detected that the current variation exceeds the normal charging power variation range, reducing the transmission power; Continue to monitor the current change trend. If the current still exceeds the normal charging power change range after reducing the power, the protection shutdown is triggered.
6. The wireless charging protection method according to claim 5, characterized in that: When it is detected that the current variation exceeds the normal charging power variation range, after reducing the transmission power, the method further includes the following steps: The continuous current data after power reduction is stored in a buffer area in chronological order, and the change trend of the current data in the buffer area is calculated; Monitor whether the standard wireless charging device sends a new power adjustment request; If there is no power adjustment request and the current change trend is abnormal, the transmit power is further reduced and the sampling interval is shortened.
7. The wireless charging protection method according to claim 6, characterized in that: After further reducing the transmission power and shortening the sampling interval, the method further includes the following steps: Determine the normal current fluctuation range in the current charging stage based on the power demand information of the standard wireless charging device; Calculate whether the current fluctuation of the high-frequency sampling data is within the normal current fluctuation range; When the current fluctuation continues to exceed the normal current fluctuation range and the accumulated duration reaches a preset value, the charging output is immediately turned off.
8. A wireless charging protection device, characterized in that: include: A processor, used to control the working state of the wireless charging device; an analog-to-digital conversion circuit, connected to the processor, and used to collect current data of the wireless charging circuit; A transmitting circuit, connected to the processor, for generating an alternating magnetic field signal; A memory, connected to the processor, for storing a reference current value, a real-time current value, and a preset threshold range; The control circuit is connected to the processor and is used to control the wireless charging module to shut down the output when an abnormal state caused by the placement of a metal foreign object is detected.
9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the wireless charging protection method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the wireless charging protection method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Charging apparatus
CN101572423A
Novel wireless charger and method for lowering wireless charging stand-by power consumption of novel wireless charger
CN104467110A
Wireless charging system and metal foreign body detection method thereof
CN105790324A
Method for eliminating foreign matter harm in wireless charging system
CN113346637A
System and method for realizing foreign matter detection in wireless charging
CN115313697A
Cited By
Dynamic management and control system of lithium battery energy storage system
CN121565965A
A dynamic management and control system of a lithium battery energy storage system
CN121565965B