Voltage compensation method, controller, wireless power supply system and electronic equipment
By obtaining the target line resistance value and temperature coefficient, calculating the loss compensation value and correcting it, determining the target voltage of the wireless power supply system, the problems of unstable and error of output voltage calibration in the prior art are solved, and more accurate voltage calibration and higher system reliability are achieved.
Patent Information
- Application Number
- CN202510217313.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-06-10
AI Technical Summary
Existing wireless power supply systems have instability and errors in output voltage calibration, resulting in the inability to calibrate the output voltage reliably and accurately.
By obtaining the target line resistance value and the target temperature coefficient, the calibration current is determined, the loss compensation value is calculated based on these parameters, and the loss compensation value is corrected through the temperature coefficient to obtain the voltage compensation value, and finally the target voltage is determined based on the voltage compensation value and the preset voltage value, and the wireless power supply system is controlled.
It realizes more accurate calibration of the output voltage of the wireless power supply system, improves the stability of the system's output voltage, and enhances the operating reliability and safety of the equipment.
Smart Images

Figure CN120122772A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of wireless power supply, and in particular, to a voltage compensation method. Background Art
[0002] A wireless power transfer system (WPTS) is a technology for transmitting electrical energy wirelessly, which can supply power to electrical devices without physical connection. Currently, affected by factors such as line loss, the output voltage of the wireless power supply system is not stable and is prone to deviation. In order to calibrate the output voltage of the wireless power supply, related technologies detect the deviation between the output voltage and the input voltage and compensate the output voltage based on the deviation. However, during actual operation, the output current of the wireless charging system continuously changes dynamically, and the line loss error and the inherent error of the circuit devices themselves accumulate and amplify over time and with the change of the working state, resulting in the inability to reliably and accurately calibrate the output voltage of the wireless power supply system by this method. Summary of the Invention
[0003] An object of the embodiments of the present application is to provide a voltage compensation method to solve the technical problem that related technologies cannot reliably and accurately calibrate the output voltage.
[0004] In a first aspect, the embodiments of the present application provide a voltage compensation method applied to a wireless power supply system, including:
[0005] Obtain a target line resistance value and a target temperature coefficient, where the target line resistance value is used to represent the line resistance of the wireless power supply system, and the target temperature coefficient is used to represent the change rate of the line resistance value of the wireless power supply system with temperature;
[0006] Determine a calibration current, where the calibration current is obtained by calibrating the output current sampled from the wireless power supply system;
[0007] Determine a loss compensation value based on the target line resistance value and the calibration current;
[0008] Compensate the loss compensation value based on the target temperature coefficient to obtain a voltage compensation value;
[0009] Determine a target voltage based on the voltage compensation value and a preset voltage value;
[0010] Control the wireless power supply system based on the target voltage.
[0011] Optionally, the obtaining of the target line resistance value includes:
[0012] Control the wireless power supply system to perform a power supply operation according to a preset measurement voltage, and sample the measurement voltage and measurement current output by the wireless power supply system;
[0013] Obtain the target AD calibration coefficient;
[0014] Calibrate the measured voltage and the measured current respectively based on the target AD calibration coefficient to obtain a first calibrated voltage and a first calibrated current;
[0015] Calculate the difference between the first calibrated voltage and the measured voltage to obtain a pressure difference;
[0016] Divide the pressure difference by the first calibrated current to obtain the target line resistance value.
[0017] Optionally, the obtaining of the target AD calibration coefficient includes:
[0018] Obtain the historical output voltage, the historical true voltage and the historical AD calibration coefficient of the wireless power supply system in the previous power supply operation;
[0019] Calculate a historical calibrated voltage based on the historical AD calibration coefficient and the historical output voltage;
[0020] Determine whether the historical calibrated voltage is consistent with the historical true voltage;
[0021] If they are not consistent, determine the target AD calibration coefficient based on the historical calibrated voltage and the historical true voltage, and update the historical AD calibration coefficient to the target AD calibration coefficient;
[0022] If they are consistent, determine a preset value as the target AD calibration coefficient, and update the historical AD calibration coefficient to the target AD calibration coefficient.
[0023] The embodiments of the present application can calibrate the sampled voltage and the sampled current through the AD calibration coefficient, eliminate device errors and AD conversion errors, ensure the accuracy of the collected data, improve the precision of system control, make the compensation calculation more accurate, and further enhance the stability of the output voltage.
[0024] Optionally, the determining of the target AD calibration coefficient based on the historical calibrated voltage and the historical true voltage includes;
[0025] Divide the historical true voltage by the historical calibrated voltage, and then multiply by the historical AD calibration coefficient to obtain the target AD calibration coefficient.
[0026] Optionally, the obtaining of the target temperature coefficient includes:
[0027] Obtain a preset temperature function, where the preset temperature function is used to represent the relationship between the temperature of the wireless power supply system and the temperature coefficient;
[0028] Obtain the real-time temperature of the wireless power supply system;
[0029] Determine a target temperature coefficient based on the real-time temperature and the preset temperature function.
[0030] During long-term operation or high-power transmission, since temperature changes can cause changes in the target line resistance value, resulting in deviations in the loss compensation value, the embodiments of the present application can perform real-time compensation on the loss compensation value through the temperature coefficient, improving the robustness and long-term stability of the system.
[0031] Optionally, the obtaining of the temperature function includes:
[0032] Obtain a plurality of historical line resistance values and the historical temperatures corresponding to each of the historical line resistance values, where the historical line resistance value is the line resistance value of the wireless power supply system at the historical temperature;
[0033] Generate a temperature function based on the plurality of historical line resistance values and the plurality of historical temperatures.
[0034] Optionally, the compensating the loss compensation value based on the target temperature coefficient to obtain a voltage compensation value includes: multiplying the target temperature coefficient by the loss compensation value to obtain the voltage compensation value.
[0035] In a second aspect, an embodiment of the present application provides a controller, including a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the above voltage compensation method.
[0036] In a third aspect, an embodiment of the present application provides a wireless power supply system, including:
[0037] A receiving resonant circuit;
[0038] A rectifying circuit electrically connected to the receiving resonant circuit;
[0039] A bucking circuit electrically connected to the rectifying circuit;
[0040] The above-mentioned controller electrically connected to the bucking circuit;
[0041] An ADC collector electrically connected to the controller;
[0042] A temperature sensor electrically connected to the controller; and
[0043] A storage module electrically connected to the controller.
[0044] In a fourth aspect, an embodiment of the present application provides an electronic device, including the above-mentioned wireless power supply system.
[0045] The embodiments of the present application can achieve the following technical effects: In the voltage compensation method provided by the embodiments of the present application, the target line resistance value and the target temperature coefficient are obtained, the calibration current is determined, and the calibration current is obtained by calibrating the output current sampled from the wireless power supply system. The loss compensation value is determined based on the target line resistance value and the calibration current, the loss compensation value is compensated based on the target temperature coefficient to obtain the voltage compensation value, the target voltage is determined based on the voltage compensation value and the preset voltage value, and the wireless power supply system is controlled based on the target voltage. The embodiments of the present application can obtain the loss compensation value according to the calibration current and the line resistance value to compensate the output voltage of the wireless power supply system, correct the loss compensation value through the temperature coefficient to obtain a more accurate voltage compensation value, make the output voltage of the system more accurate, and improve the operation reliability and safety of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0047] Figure 1 It is a schematic diagram of the architecture of an implementation environment of a wireless power supply system provided by an embodiment of the present application;
[0048] Figure 2 It is a schematic diagram of the structure of a wireless power supply system provided by an embodiment of the present application;
[0049] Figure 3 It is a schematic flowchart of a voltage compensation method provided by an embodiment of the present application;
[0050] Figure 4 It is a schematic diagram of the structure of a voltage compensation device provided by an embodiment of the present application;
[0051] Figure 5 It is a schematic diagram of the structure of a controller provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE EMBODIMENTS
[0052] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0053] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although functional modules are divided in the device schematic diagram and the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the flowchart. Furthermore, the terms "first", "second", "third", etc. used in the present application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0054] A wireless power supply system, also called a wireless power transmission system, is a system that can achieve the transmission of electrical energy from the power supply end to the electrical device without physical wire connection. The wireless power supply system can achieve energy transmission through electromagnetic induction, magnetic resonance, and radio frequency (RF). According to the energy transmission method, the wireless power supply system can be divided into short-distance wireless power supply, medium and long-distance wireless power supply, and dynamic wireless power supply. Among them, the short-distance wireless power supply supports the shortest transmission distance (from a few millimeters to several meters), but has high efficiency; the medium and long-distance wireless power supply supports a relatively long transmission distance (from several meters to dozens of meters) and has low efficiency; the dynamic wireless power supply supports continuous power supply for mobile devices during movement and is generally applied to fields such as wireless charging of electric vehicles and robot power supply.
[0055] In some embodiments, please refer to Figure 1 , the wireless power supply system implementation environment 100 includes a wireless power supply system 11, a line transmission system 12, and an electrical device 13. Among them, the line transmission system 12, as an intermediate link for energy transmission, not only undertakes the function of electrical energy transmission, but also inevitably introduces line losses and losses at each interface connection. These losses will increase significantly with the increase of the transmission power, resulting in a large voltage difference between the output voltage of the wireless power supply system 11 and the input voltage of the electrical device 13. The existence of this voltage difference will further cause a deviation between the output voltage value detected by the wireless power supply system 11 and the actual input voltage value of the electrical device 13, and may further cause overvoltage or undervoltage problems of the electrical device 13. Overvoltage may cause damage to internal components of the electrical device 13, while undervoltage may cause the device to fail to work properly or even stop.
[0056] Please refer to Figure 2 , Figure 2 is a schematic structural diagram of a wireless power supply system provided by an embodiment of the present application. The wireless power supply system 200 includes a transmitting end 210 and a receiving end 220. The transmitting end 210 includes an inverter circuit 211 and a transmitting resonance circuit 212. The receiving end includes a receiving resonance circuit 221, a rectifier circuit 222, a buck circuit 223, a controller 224, an ADC collector 225, a temperature sensor 226, and a storage module 227.
[0057] The inverter circuit 211 can convert the DC power supply into high-frequency alternating current, providing the required alternating signal for the transmitting resonant circuit 212, enabling the transmitting end 210 to generate an alternating magnetic field, and thus realizing wireless energy transmission. By adjusting its own operating frequency to be consistent with the resonant frequency of the receiving end 220, the system is ensured to be in the best resonant state, improving the energy transmission efficiency.
[0058] The transmitting resonant circuit 212 generates an alternating current with a specific frequency under the drive of the power supply through its own inductance and capacitance elements. The alternating current will generate an alternating magnetic field in the surrounding space, creating the basic conditions for wireless energy transmission. By adjusting the parameters of the transmitting resonant circuit 212 to match the resonant frequency, impedance and other characteristics of the receiving end 220, an efficient electromagnetic coupling channel can be established between the transmitting end 210 and the receiving end 220, allowing energy to be smoothly transmitted from the transmitting end 210 to the receiving end 220.
[0059] The receiving resonant circuit 221 generates resonance by adjusting its own parameters to be in the same frequency as the transmitting resonant circuit 212, efficiently receiving the energy transmitted by the transmitting end 210. It is selective for specific frequencies, can suppress interference signals of other frequencies, ensuring that the received signals are mainly effective signals, guaranteeing stable power supply. It can adjust its own parameters to make the output voltage and current adapt to the requirements of different electrical equipment.
[0060] The rectifier circuit 222 converts the alternating current (AC) output by the receiving resonant circuit 221 into direct current (DC), meeting the requirement that most electronic devices need DC power supply, enabling it to stably supply power to the devices. It can shape the current, filter out some interference components such as harmonics, making the output direct current smoother and purer, improving the power quality, reducing the electromagnetic interference to other circuits and devices, and enhancing the stability and reliability of the entire system.
[0061] The buck circuit 223 reduces the higher input voltage to a lower voltage level suitable for the operation of the electrical equipment, enabling it to smoothly drop from the high voltage to the voltage required by the equipment, ensuring the normal operation of the equipment under the rated voltage. It can effectively suppress voltage fluctuations and provide a stable voltage output for the electrical equipment. Regardless of how the input voltage changes or how the load size changes, the buck circuit can, through means such as feedback control, keep the output voltage within a relatively stable range, guaranteeing the stability and reliability of the equipment operation, and avoiding performance degradation or failures of the equipment caused by voltage fluctuations.
[0062] The ADC collector 225 can collect and quantify the output voltage and current of the wireless power supply system in real time. After the ADC collector 225 converts the analog signal into a digital signal, the system can judge whether there are abnormal conditions such as overvoltage and undervoltage and whether there is a load change based on these data; the ADC collector 225 feeds the collected data back to the controller 224 of the system, and the controller 224 adjusts and optimizes the system according to these feedback messages.
[0063] The temperature sensor 226 can collect temperature data in real time and feed it back to the controller 224. The controller 224 can obtain the temperature coefficient for compensation calculation according to the real-time temperature in combination with the temperature function stored in the storage module 227.
[0064] The storage module 227 can store the data collected by the ADC collector 225 and the temperature sensor 226, as well as other data for compensation calculation. The storage module 227 can be a non-volatile memory such as Flash, EEPROM, MRAM, etc., which is not limited here.
[0065] The controller 224 can control the ADC collector 225 to collect the output voltage and current of the wireless power supply system, control the temperature sensor 226 to collect the temperature of the wireless power supply system, control the storage module 227 to store the data required for compensation calculation, and perform compensation calculation according to these data.
[0066] The embodiment of the present application provides a voltage compensation method, which is applied to a wireless power supply system. Please refer to Figure 3 , and the voltage compensation method includes the following steps:
[0067] S31: Obtain the target line resistance value and the target temperature coefficient. The target line resistance value is used to represent the line resistance of the wireless power supply system, and the target temperature coefficient is used to represent the change rate of the line resistance value of the wireless power supply system with temperature.
[0068] In this step, the target line resistance value is the line resistance of the wireless power supply system, and its size directly affects the power loss and voltage stability during the power transmission process. The target line resistance value can be obtained by detecting the output voltage of the wireless power supply system and the input voltage of the electrical equipment, calculating the difference between the two and dividing it by the output current of the wireless power supply system. In some embodiments, the target line resistance value can be accurately measured for the line of the wireless power supply system through a professional resistance measuring instrument under specific test conditions, so as to obtain the target line resistance value. The line resistance value is not fixed and will be affected by various factors such as line material, cross-sectional area, and environmental temperature. For example, in a high-temperature environment, the line resistance value may increase, which will have an adverse impact on the performance of the wireless power supply system.
[0069] It is understandable that the line resistance value of the wireless power supply system changes with temperature, and the temperature coefficient is used to represent the change of the line resistance value with temperature. In the embodiments of the present application, first, the line resistance values corresponding to multiple different temperatures are detected, and the temperature rise resistance value curve of the wireless power supply system is obtained according to the temperature and the corresponding line resistance value of each group. Secondly, the temperature rise resistance value curve of the wireless power supply system is normalized to construct a temperature function, and other parameters a 0 , a 1 , a 2 , …, a n in the temperature function are calculated. Finally, the other parameters of this temperature function are saved to the storage module of the wireless power supply system. When the temperature coefficient is required to participate in the compensation calculation, the controller can obtain the temperature coefficient corresponding to the current temperature by collecting the real-time temperature of the current wireless power supply system line and combining the other parameters of the saved temperature function.
[0070] In some embodiments, a temperature coefficient can be obtained by using a sensor with temperature-sensitive characteristics, such as a thermistor, a thermocouple, etc., to measure the temperature and resistance changes of the line in real time. The sensor converts the temperature and resistance signals into electrical signals, records these signals through a data acquisition system, and performs analysis and processing to obtain the temperature coefficient. In actual operation, a suitable temperature sensor is selected and closely contacted with the line to be measured to ensure accurate measurement of the line temperature. The controller controls the wireless power supply system to collect temperature and resistance data in real time, processes and analyzes the collected data, and calculates the temperature coefficient.
[0071] S32: Determine the calibration current, which is obtained by calibrating the output current sampled from the wireless power supply system.
[0072] In this step, the calibrated current is the output current obtained after calibrating the sampled current of the wireless power supply system. The sampled current of the wireless power supply system is obtained by using an ADC (Analog-to-Digital Converter) collector to collect the output current of the wireless power supply system. The ADC collector is a device that converts a continuous analog signal into a discrete digital signal. When sampling the output current, the analog signal of the output current is first converted into a digital signal to obtain the AD (analog-digital) value of the output current, and then it is converted into a real value through a conversion parameter to obtain the current value of the sampled current. The conversion parameter is a proportionality coefficient used to convert the AD value into a real physical quantity (i.e., the real value of the output current), which establishes a mathematical relationship between the AD value and the real current value. Many manufacturers will provide the conversion formula or conversion parameter between the AD value and the real value in the product manual, and users can directly perform the conversion according to the information in the manual. In some embodiments, the measurement system has a self-calibration function, and the system will automatically collect standard signals, calculate and update the conversion parameter to improve the measurement accuracy.
[0073] It can be understood that due to device errors, conversion errors, etc. during the AD conversion process, the AD value is prone to inaccuracy, which in turn leads to inaccurate sampled current values of the wireless power supply system. To ensure the accuracy of the sampled current of the wireless power supply system and prevent it from affecting the loss compensation value set due to the lossy line, it is necessary to calibrate the sampled current of the wireless power supply system. In the embodiments of the present application, an AD calibration coefficient is set to correct these errors, so that the sampled current of the wireless power supply system can be calibrated and the AD value can be closer to the real physical quantity value.
[0074] In some embodiments, a dedicated calibration chip can be used, such as an amplifier chip with a calibration function, which can automatically calibrate the input signal and compensate for errors caused by factors such as amplifier offset voltage and gain error. There are also some integrated calibration circuit modules that can achieve precise calibration of the sampled current and provide a more accurate signal for subsequent measurements.
[0075] In some embodiments, an error compensation model can be constructed by means of polynomial fitting or the like according to the error characteristics between the sampled current and the real current. For example, by obtaining the sampled error data at different current values through experiments, fitting the error curve, and then compensating the sampled current in real time according to the curve to improve the measurement accuracy.
[0076] S33: Determine the loss compensation value based on the target line resistance value and the calibrated current.
[0077] In this step, the loss compensation value is a compensation value calculated for the line resistance loss of the wireless power supply system. According to Ohm's law (U = I * R, where U is voltage, I is current, and R is resistance), multiplying the obtained target line resistance value by the calibrated current can obtain the loss compensation value, that is, loss compensation value = target line resistance value * calibrated current. Since there is resistance in the circuit, voltage loss will occur when current passes through, resulting in a voltage difference between the output voltage of the wireless power supply system and the input voltage of the electrical device, which will affect the normal operation of the electrical device. This compensation value can quantify this voltage loss. In subsequent calculations, it is used for relevant compensation calculations with the temperature coefficient and the preset voltage value to jointly obtain the target voltage.
[0078] S34: Compensate the loss compensation value based on the target temperature coefficient to obtain the voltage compensation value.
[0079] In this step, multiplying the obtained target temperature coefficient by the loss compensation value can obtain the voltage compensation value, that is, voltage compensation value = target temperature coefficient * loss compensation value. It can be understood that during the operation of the wireless power supply system, the line resistance value will change with the change of temperature. The loss compensation value obtained by the target line resistance value participating in the calculation in step S33 will have errors. The target line resistance value is the line resistance value obtained at the reference temperature (usually 25°C). When the temperature of the wireless power supply system reaches the target temperature (not 25°C), the line resistance value of the wireless power supply system is obviously no longer the target line resistance value. To improve the accuracy of compensation, the target temperature coefficient needs to be introduced. The target temperature coefficient is a key parameter reflecting the relationship between temperature and line resistance value change obtained after normalizing the line temperature rise resistance curve of the wireless power supply system. At this time, the obtained loss compensation value is compensated by the target temperature coefficient to obtain the voltage compensation value.
[0080] It can be understood that compared with the simple loss compensation value, the voltage compensation value fully considers the influence of temperature on the system during the calculation process. It makes the final voltage compensation closer to the actual situation, effectively reduces the influence of the change in line resistance value caused by temperature change on the compensation result, and further makes the output voltage of the wireless power supply system more stable, improving the performance and reliability of the entire wireless power supply system.
[0081] S35: Determine the target voltage based on the voltage compensation value and the preset voltage value.
[0082] In this step, adding the obtained voltage compensation value to the preset voltage value can obtain the target voltage, that is, target voltage = preset voltage value + voltage compensation value. The preset voltage value is the set value of the output voltage of the wireless power supply system. This value is determined based on the rated voltage requirement of the electrical device and the power supply plan under ideal conditions, that is, the voltage value that the wireless power supply system expects to output assuming no various losses during the intermediate power transmission process.
[0083] It is understandable that during the actual operation of a wireless power supply system, when electric energy is transmitted from the power supply end to the electrical device, transmission losses will inevitably occur due to factors such as line resistance and electromagnetic induction, which will in turn lead to deviations in the output voltage. If the electrical device is powered only based on the preset voltage value, the electrical device may not obtain the stable voltage required for its normal operation, and it is very likely to have the adverse phenomena of under-voltage or over-voltage at the input. Under-voltage may cause the electrical device to fail to start normally or operate unstably, while over-voltage may damage the electronic components of the electrical device and shorten the service life of the device.
[0084] By introducing a voltage compensation value and adjusting the preset voltage value, the finally obtained target voltage fully considers these transmission losses. The voltage compensation value is obtained by comprehensively considering the influence of various factors such as the change of line resistance with temperature and current fluctuation on the line resistance loss. Adding it to the preset voltage value enables the voltage output to the electrical device to be dynamically adjusted according to the actual transmission loss, effectively ensuring the stability and accuracy of the input voltage of the electrical device, avoiding the under-voltage and over-voltage phenomena of the electrical device due to abnormal input voltage, ensuring that the electrical device can operate stably and efficiently under the rated voltage, and greatly improving the reliability and applicability of the wireless power supply system.
[0085] S36: Control the wireless power supply system based on the target voltage.
[0086] In this step, the controller can determine the duty cycle of the PWM (pulse width modulation) signal according to the target voltage. By controlling the on and off time (i.e., the duty cycle) of the switching tube, the magnitude of the output voltage can be adjusted.
[0087] To ensure that the input voltage of the electrical device is not affected by the current change, the ADC collector monitors the input voltage of the electrical device in real time and feeds the signal back to the controller, and the controller obtains a feedback voltage. The controller compares the feedback voltage with the target voltage. If the feedback voltage is lower than the target voltage, it increases the duty cycle of the PWM signal; if it is higher than the target voltage, it decreases the duty cycle. In this way, the system can dynamically adjust the duty cycle of the PWM signal according to the actual input voltage change, stabilize the output voltage, and ensure the stable operation of the electrical device.
[0088] The embodiment of the present application can obtain a loss compensation value according to the calibrated current and the line resistance value to compensate the output voltage of the wireless power supply system, and correct the loss compensation value through the temperature coefficient to obtain a more accurate voltage compensation value, making the output voltage of the system more accurate and improving the operation reliability and safety of the device.
[0089] In some embodiments, obtaining the target line resistance value includes the following steps:
[0090] S311: Control the wireless power supply system to perform a power supply operation according to a preset measurement voltage, and sample the measurement voltage and measurement current output by the wireless power supply system.
[0091] S312: Obtain the target AD calibration coefficient.
[0092] S313: Calibrate the measurement voltage and the measurement current respectively based on the target AD calibration coefficient to obtain a first calibrated voltage and a first calibrated current.
[0093] S314: Calculate the difference between the first calibrated voltage and the preset measurement voltage to obtain a voltage difference.
[0094] S315: Divide the voltage difference by the first calibrated current to obtain the target line resistance value.
[0095] In step S311, the controller controls the buck circuit of the wireless power supply system to output according to the preset measurement voltage, and controls the ADC sampler to sample the output voltage and current of the wireless power supply system to obtain the measurement voltage and measurement current. During the process of the ADC sampler sampling the measurement voltage and measurement current, the analog signals of the output voltage and current of the wireless power supply system will be first converted into digital signals to obtain the AD values of the output voltage and current, and then converted into real values through conversion parameters, so that the measurement voltage and measurement current can be obtained. The preset measurement voltage is the voltage that the wireless power supply system expects to output without considering various losses in the intermediate power transmission process, which is a value in an ideal state. The measurement voltage is the voltage output by the wireless power supply system after various losses in the intermediate transmission process, and there is a voltage difference between it and the preset measurement voltage.
[0096] In step S312, the controller obtains the saved target AD calibration coefficient from the storage module of the wireless power supply system. In the embodiment of the present application, the AD calibration coefficient is updated in real time and saved in the storage module. The target AD calibration coefficient represents the currently saved AD calibration coefficient in the storage module when calculating the line resistance value, and the target AD calibration coefficient is used to calibrate the measurement voltage and the measurement current. Since there may be device errors, conversion errors, etc. during the AD conversion process, resulting in inaccurate AD values, and further resulting in inaccurate measurement voltage and measurement current sampled by the wireless power supply system, an AD calibration coefficient is set to correct these errors, so that the measurement voltage and the measurement current can be calibrated to make the AD values closer to the true physical quantity values.
[0097] In step S313, multiply the target AD calibration coefficient by the measurement voltage and the measurement current respectively to obtain a first calibrated voltage and a first calibrated current. The target AD calibration coefficient can calibrate the measurement voltage and the measurement current so that it does not affect the loss compensation value set due to the lossy line.
[0098] In step S314, subtract the first calibration voltage from the preset measurement voltage to obtain a voltage difference. Since the first calibration voltage is obtained by calibrating the measurement voltage, and there is a voltage difference between the measurement voltage and the preset measurement voltage, there is also a voltage difference between the first calibration voltage and the preset measurement voltage.
[0099] In step S315, according to the principle of Ohm's law (in a section of circuit, the current is directly proportional to the voltage across this section of the circuit and inversely proportional to the resistance of this section of the circuit, the formula is I = U / R, and by transformation, R = U / I), calculate the wire resistance value, that is, divide the voltage difference by the first calibration current to obtain the target wire resistance value. In this way, the actual resistance value of the transmission path can be determined more accurately, providing accurate data support for subsequent voltage compensation and system control.
[0100] In some embodiments, obtaining the target AD calibration coefficient includes the following steps:
[0101] S3121: Obtain the historical output voltage, historical true voltage, and historical AD calibration coefficient of the wireless power supply system in the previous power supply operation.
[0102] S3122: Calculate the historical calibration voltage based on the historical AD calibration coefficient and the historical output voltage.
[0103] S3123: Determine whether the historical calibration voltage is consistent with the historical true voltage.
[0104] S3124: If they are not consistent, then determine the target AD calibration coefficient based on the historical calibration voltage and the historical true voltage, and update the historical AD calibration coefficient to the target AD calibration coefficient.
[0105] S3125: If they are consistent, then determine a preset value as the target AD calibration coefficient, and update the historical AD calibration coefficient to the target AD calibration coefficient.
[0106] In step S3121, the controller obtains the historical output voltage and the historical true voltage in the previous power supply operation, and obtains the historical AD calibration coefficient from the storage module. The historical output voltage represents the output voltage collected by the ADC collector in the previous power supply operation, the historical true voltage represents the output voltage collected by the high-precision detection device in the previous operation, and the historical AD calibration coefficient represents the AD calibration coefficient before the target AD coefficient is updated.
[0107] In step S3122, multiply the historical AD calibration coefficient by the historical output voltage to obtain the historical calibration voltage.
[0108] In step S3123, compare the historical calibration voltage obtained after calibration with the historical output voltage to determine whether they are consistent.
[0109] In step S3124, if they are inconsistent, divide the historical true voltage by the historical calibration voltage, and then multiply by the historical AD calibration coefficient to obtain the target AD calibration coefficient. At this time, update the historical AD calibration coefficient saved in the storage module to the target AD calibration coefficient.
[0110] In step S2125, if they are consistent, use the preset value as the target AD calibration coefficient, and update the historical AD calibration coefficient to the target AD calibration coefficient. The preset value is 1.
[0111] In some embodiments, to determine the target AD calibration coefficient based on the historical calibration voltage and the historical true voltage, the method further includes: dividing the historical true voltage by the historical calibration voltage, and then multiplying by the historical AD calibration coefficient to obtain the target AD calibration coefficient.
[0112] In some embodiments, obtaining the target temperature coefficient includes the following steps:
[0113] S41: Obtain the real-time temperature of the wireless power supply system.
[0114] S42: Determine the target temperature coefficient based on the real-time temperature and the preset temperature function.
[0115] In step S41, the controller controls the ADC collector to obtain the real-time temperature in the temperature sensor. The controller collects data according to a preset sampling period or a specific event trigger. For example, set to sample once every 100 milliseconds. Before sampling, check the status of the ADC collector to ensure it is idle and then send a start conversion instruction. After receiving the instruction, the ADC collector samples and holds the analog voltage signal output by the temperature sensor. This voltage is related to the temperature. The ADC collector samples, quantizes, and encodes the analog signal to convert it into a digital quantity. After the conversion is completed, it sends an interrupt signal to the controller. When the controller receives the interrupt signal, it reads the digital temperature data through interfaces such as SPI and I2C. After reading, preprocessing is performed, such as using a filtering algorithm to remove noise and verify the data to improve the data accuracy. Finally, the controller uses the processed data as the real-time temperature for subsequent calculations and operations.
[0116] In step S42, the controller obtains the real-time temperature and other parameters of the preset temperature function saved in the storage module, and inputs the real-time temperature into the preset temperature function to generate the target temperature coefficient. The preset temperature function is α = f(T), where T is the temperature. This function describes the variation relationship of the temperature coefficient α with the temperature T. By inputting the real-time temperature, the corresponding temperature coefficient can be obtained.
[0117] The embodiments of the present application set a temperature coefficient to enable the system to respond to temperature changes in real time and automatically adjust the compensation strategy. When the ambient temperature rises, the temperature coefficient will be adjusted accordingly to increase the compensation for the voltage loss caused by the increase in line resistance; conversely, when the temperature drops, the compensation amount will be reduced. This adaptive ability ensures that the system can operate stably under different temperature conditions, enhancing the robustness and reliability of the system.
[0118] In some embodiments, obtaining the temperature function includes the following steps:
[0119] S51: Obtain a plurality of historical line resistance values and the historical temperatures corresponding to each historical line resistance value, where the historical line resistance value is the line resistance value of the wireless power supply system at the historical temperature.
[0120] S52: Generate a temperature function based on the plurality of historical line resistance values and the plurality of historical temperatures.
[0121] In step S51, the controller continuously monitors and records the line resistance value of the wireless power supply system and the corresponding ambient temperature. Data acquisition is performed at regular time intervals (such as 1 minute), and the obtained line resistance value is used as the historical line resistance value, and the corresponding temperature is used as the historical temperature. These historical line resistance value and historical temperature data are stored in the storage module (such as Flash memory) of the system to establish a historical data record library. When storing, for convenient subsequent calling and processing, the data is stored in a structured manner, such as in a table form, with each row recording a set of corresponding historical line resistance value and historical temperature, and adding a time stamp to each set of data.
[0122] In step S52, use each set of corresponding historical line resistance value and historical temperature obtained above to construct a temperature-rise resistance value curve of the wireless power supply system, and perform normalization processing on the temperature-rise resistance value curve to obtain the temperature function. Select the normal temperature of 25 °C as the reference temperature T ref , and obtain the line resistance value at this temperature as the reference resistance value R ref . For each set of historical temperature and corresponding historical line resistance value data obtained, calculate according to the normalization formula. Normalization formula:
[0123] where f represents the normalized functional relationship. Through this calculation, the temperature-rise resistance value curves of different devices are all transformed to a unified scale based on the reference temperature and reference resistance value, so that the temperature functions of each set of devices are consistent.
[0124] According to the polynomial function model:
[0125] y = a 0 + a 1 x + a 2 x 2 + … + a n x n
[0126] Among them, x represents the normalized temperature variable, and y represents the normalized change in line resistance value. A temperature function is constructed using this polynomial function model.
[0127] For this temperature function model, the least squares method is used to determine the coefficients a 0 、a 1 、a 2 、…、a n . These parameters are the key parameters of the temperature function, which reflect the quantitative relationship between temperature and the change in line resistance. The calculated temperature function parameters are stored in the Flash memory of the device.
[0128] During the actual operation of the device, when calculating the temperature coefficient, the controller obtains the real-time temperature of the system through the temperature sensor and reads the stored temperature function parameters from the Flash, and then calculates according to the corresponding polynomial formula to obtain the temperature coefficient.
[0129] In the embodiments of the present application, through normalization processing, a unified scale transformation is performed based on the reference temperature and reference resistance value, which can eliminate the differences between these devices, transform the temperature rise resistance curves of all devices to the same standard, and facilitate the centralized management and control of different devices by the system; when generating the temperature function, the normalized data is more regular and easier to process, which makes it easier to select a suitable mathematical model for fitting, and the fitted temperature function has higher generality, enabling the temperature function to better adapt to different devices and different working conditions, and accurately reflecting the relationship between temperature and resistance change on different wireless power supply devices, enhancing the adaptability and reliability of the system.
[0130] In some embodiments, compensating the loss compensation value based on the target temperature coefficient to obtain the voltage compensation value includes: multiplying the target temperature coefficient by the loss compensation value to obtain the voltage compensation value. It can be understood that during the operation of the wireless power supply system, the line resistance value will change with the change of temperature, and there will be an error in the loss compensation value obtained by participating in the calculation with the target line resistance value, because the target line resistance value is the line resistance value obtained at the reference temperature (usually 25 °C). When the temperature of the wireless power supply system reaches the target temperature (not 25 °C), the line resistance value of the wireless power supply system is obviously no longer the target line resistance value. To improve the accuracy of compensation, it is necessary to introduce the target temperature coefficient. The target temperature coefficient is a key parameter that reflects the relationship between temperature and line resistance value change after normalizing the temperature rise resistance curve of the wireless power supply system. At this time, the obtained loss compensation value is compensated by the target temperature coefficient to obtain the voltage compensation value.
[0131] It should be noted that in the above embodiments, there is not necessarily a certain order among the above steps. Those of ordinary skill in the art can understand from the description of the embodiments of the present application that in different embodiments, the above steps can have different execution orders, that is, they can be executed in parallel, or exchanged, etc.
[0132] As another aspect of the embodiments of the present application, the embodiments of the present application provide a voltage compensation device. Among them, the voltage compensation device can be a software module, and the software module includes a number of instructions stored in a memory. The processor can access this memory and call the instructions for execution to complete the voltage compensation method described in the above embodiments.
[0133] Please refer to Figure 4 , the voltage compensation device 400 includes: a temperature-resistance acquisition module 410, a current calibration module 420, a loss calculation module 430, a temperature compensation module 440, a voltage determination module 450, and a control output module 460
[0134] The temperature-resistance acquisition module 410 is used to acquire a target line resistance value and a target temperature coefficient. The target line resistance value is used to represent the line resistance value of the wireless power supply system, and the target temperature coefficient is used to represent the change rate of the line resistance value of the wireless power supply system with temperature. The current calibration module 420 is used to determine a calibration current, and the calibration current is obtained by calibrating the output current sampled from the wireless power supply system. The loss calculation module 430 is used to determine a loss compensation value based on the target line resistance value and the calibration current. The temperature compensation module 440 compensates the loss compensation value based on the target temperature coefficient to obtain a voltage compensation value. The voltage determination module 450 is used to determine a target voltage based on the voltage compensation value and a preset voltage value. The control output module 460 is used to control the wireless power supply system based on the target voltage.
[0135] In some embodiments, the temperature-resistance acquisition module 410 is further specifically used for: controlling the wireless power supply system to perform a power supply operation according to a preset measurement voltage, sampling the measurement voltage and measurement current output by the wireless power supply system, obtaining a target AD calibration coefficient, calibrating the measurement voltage and measurement current respectively based on the target AD calibration coefficient to obtain a first calibrated voltage and a first calibrated current, calculating the difference between the first calibrated voltage and the preset measurement voltage to obtain a voltage difference, and dividing the voltage difference by the first calibrated current to obtain the target line resistance value.
[0136] In some embodiments, the temperature-resistance acquisition module 410 is further specifically used for: acquiring the historical output voltage, historical true voltage, and historical AD calibration coefficient of the wireless power supply system during the previous power supply operation, calculating the historical calibrated voltage based on the historical AD calibration coefficient and the historical output voltage, and determining whether the historical calibrated voltage is consistent with the historical true voltage;
[0137] If they are inconsistent, determine the target AD calibration coefficient based on the historical calibration voltage and the historical true voltage, and update the historical AD calibration coefficient to the target AD calibration coefficient;
[0138] If they are consistent, determine a preset value as the target AD calibration coefficient, and update the historical AD calibration coefficient to the target AD calibration coefficient.
[0139] In some embodiments, the temperature and resistance acquisition module 410 is further specifically configured to: divide the historical true voltage by the historical calibration voltage, and then multiply by the historical AD calibration coefficient to obtain the target AD calibration coefficient.
[0140] In some embodiments, the temperature and resistance acquisition module 410 is further specifically configured to: obtain a preset temperature function, where the preset temperature function is used to represent the relationship between the temperature of the wireless power supply system and the temperature coefficient, obtain the real-time temperature of the wireless power supply system, and determine the target temperature coefficient based on the real-time temperature and the preset temperature function.
[0141] In some embodiments, the temperature compensation module 440 is further specifically configured to: obtain a plurality of historical wire resistances and the historical temperatures corresponding to each historical wire resistance, where the historical wire resistance is the wire resistance of the wireless power supply system at the historical temperature, and generate a temperature function based on the plurality of historical wire resistances and the plurality of historical temperatures.
[0142] In some embodiments, the temperature compensation module 440 is further specifically configured to: multiply the target temperature coefficient by the loss compensation value to obtain the voltage compensation value.
[0143] In some embodiments, the voltage compensation device can also be built by hardware devices. For example, the voltage compensation device can be built by one or more than two chips, and each chip can work in coordination with each other to complete the voltage compensation method described in each of the above embodiments. For another example, the wireless power supply device can also be built by various logic devices, such as built by a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine), or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
[0144] It should be noted that the above voltage compensation device can execute the voltage compensation method provided by the embodiments of the present application, and has the corresponding functional modules and beneficial effects for executing the method. For the technical details not described in detail in the embodiments of the voltage compensation device, reference can be made to the voltage compensation method provided by the embodiments of the present application.
[0145] See Figure 5 , Figure 5It is a schematic structural diagram of a controller provided by an embodiment of the present application. The controller 500 includes one or more processors 51 and a memory 52. The memory 52 is connected to one or more processors 51, for example, connected to the processor 51 through a bus.
[0146] The processor 51 is configured to support the computer device to execute the corresponding functions in the methods in the above method embodiments. The processor may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The above hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0147] The memory 52 is used to store program codes, etc. The memory 52 may include a volatile memory (VM), such as a random access memory (RAM); the memory 52 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); the memory 52 may further include a combination of the above types of memories 52.
[0148] The memory 52 can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as the program instructions / modules corresponding to the voltage compensation method in the embodiments of the present application. The processor 51 executes various functional applications and data processing of the voltage compensation method and the voltage compensation device by running the non-volatile software programs, instructions, and modules stored in the memory, that is, realizes the functions of each module or unit of the voltage compensation method and the voltage compensation device provided in the above method embodiments.
[0149] The memory 52 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the voltage compensation device and the like. In some embodiments, the memory 52 may optionally include a memory 52 remotely provided with respect to the processor 51, and these remote memories may be connected to the voltage compensation device through a network. Examples of the above network include but are not limited to the Internet, intranet, local area network, mobile communication network, and combinations thereof.
[0150] The one or more modules are stored in the memory 52 and, when executed by the one or more processors 51, execute the voltage compensation method in any of the above method embodiments. For example, the method steps described in the above method embodiments are executed to implement the functions of the modules described in the above device embodiments.
[0151] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method as described in the foregoing embodiments.
[0152] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. Among them, the storage medium may be a magnetic disk, an optical disc, a read-only memory (ROM), or a random access memory (RAM), etc.
[0153] The foregoing disclosure is only a preferred embodiment of the present application. Of course, it cannot be used to limit the scope of the rights of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A voltage compensation method, applied to a wireless power supply system, characterized in that: include: Obtaining a target line resistance value and a target temperature coefficient, wherein the target line resistance value is used to represent the line resistance value of the wireless power supply system, and the target temperature coefficient is used to represent the rate of change of the line resistance value of the wireless power supply system with temperature; Determining a calibration current, wherein the calibration current is obtained by calibrating an output current sampled from the wireless power supply system; determining a loss compensation value based on the target line resistance and the calibration current; Compensating the loss compensation value based on the target temperature coefficient to obtain a voltage compensation value; Determining a target voltage based on the voltage compensation value and a preset voltage value; The wireless power supply system is controlled based on the target voltage.
2. The method according to claim 1, characterized in that The obtaining of the target line resistance value comprises: Controlling the wireless power supply system to perform a power supply operation according to a preset measurement voltage, and sampling the measurement voltage and measurement current output by the wireless power supply system; Get the target AD calibration coefficient; Based on the target AD calibration coefficient, the measurement voltage and the measurement current are calibrated respectively to obtain a first calibration voltage and a first calibration current; Calculating a difference between the first calibration voltage and the preset measurement voltage to obtain a voltage difference; The target line resistance is obtained by dividing the voltage difference by the first calibration current.
3. The method according to claim 2, characterized in that The obtaining of the target AD calibration coefficient comprises: Obtaining a historical output voltage, a historical real voltage, and a historical AD calibration coefficient of the wireless power supply system in a previous power supply operation; Calculating a historical calibration voltage based on the historical AD calibration coefficient and the historical output voltage; Determining whether the historical calibration voltage is consistent with the historical real voltage; If they are inconsistent, determining a target AD calibration coefficient based on the historical calibration voltage and the historical real voltage, and updating the historical AD calibration coefficient to the target AD calibration coefficient; If they are consistent, the preset value is determined as the target AD calibration coefficient, and the historical AD calibration coefficient is updated to the target AD calibration coefficient.
4. The method according to claim 3, characterized in that The determining of the target AD calibration coefficient based on the historical calibration voltage and the historical real voltage comprises: The target AD calibration coefficient is obtained by dividing the historical real voltage by the historical calibration voltage and then multiplying the result by the historical AD calibration coefficient.
5. The method according to claim 1, characterized in that: The obtaining of the target temperature coefficient comprises: Acquire a preset temperature function, where the preset temperature function is used to represent the relationship between the temperature and the temperature coefficient of the wireless power supply system; Obtaining the real-time temperature of the wireless power supply system; A target temperature coefficient is determined based on the real-time temperature and the preset temperature function.
6. The method according to claim 5, characterized in that The temperature acquisition function comprises: Acquire a plurality of historical line resistance values and a historical temperature corresponding to each of the historical line resistance values, wherein the historical line resistance value is the line resistance value of the wireless power supply system at the historical temperature; A temperature function is generated based on the plurality of historical wire resistance values and the plurality of historical temperatures.
7. The method according to any one of claims 1 to 5, characterized in that: The compensating the loss compensation value based on the target temperature coefficient to obtain the voltage compensation value includes: multiplying the target temperature coefficient by the loss compensation value to obtain the voltage compensation value.
8. A controller, characterized in that: It includes a memory and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the voltage compensation method as described in any one of claims 1 to 7.
9. A wireless power supply system, characterized in that: include: receiving resonant circuit; A rectifier circuit, electrically connected to the receiving resonant circuit; A step-down circuit, electrically connected to the rectifier circuit; The controller of claim 8, electrically connected to the step-down circuit; An ADC collector, electrically connected to the controller; a temperature sensor, electrically connected to the controller; and The storage module is electrically connected to the controller.
10. An electronic device, characterized in that: Comprising the wireless power supply system as claimed in claim 9.
Citation Information
Cited By
Wireless charging dynamic compensation FOD method and device
CN120979018A