The embodiment of the invention relates to the technical field of
wireless power supply, in particular to a
voltage compensation method. The method comprises the steps of obtaining a
target line resistance value and a target
temperature coefficient, determining a calibration current which is obtained by calibrating an output current sampled by the
wireless power supply
system, determining a loss compensation value based on the
target line resistance value and the calibration current, compensating the loss compensation value based on the target
temperature coefficient, and outputting the compensated loss compensation value. Obtaining a
voltage compensation value, determining a target
voltage based on the
voltage compensation value and a preset voltage value, and controlling the
wireless power supply
system based on the target voltage. According to the embodiment of the invention, the loss compensation value can be obtained according to the calibration current and the
line resistance value to compensate the output voltage of the
wireless power supply system, and the loss compensation value is corrected through the
temperature coefficient to obtain a more accurate
voltage compensation value, so that the output voltage of the system is more accurate, and the operation reliability and safety of equipment are improved.