The invention belongs to the technical field of battery charging and discharging, and discloses a bidirectional DC-DC inductive current digital sampling
correction method and
system.The method comprises the steps that electrical parameters of a converter are obtained, input power is calculated, meanwhile, the set working mode of the converter is judged, the working state of the converter is analyzed according to the set working mode, and the output power of the converter is calculated; calculating a duty ratio feed-forward coefficient and an
inductance average current correction coefficient in combination with the electrical parameters; and calculating an inductive current average value based on the inductive
average current correction coefficient and the inductive current sampling value, substituting the inductive current average value and a duty ratio feed-forward coefficient into a loop, calculating an actual duty ratio, and driving a power tube to work. On the basis of classical
voltage and current double-closed-
loop control, a duty ratio feed-forward
control algorithm is added, the response speed of the
system is improved, meanwhile, based on a duty ratio feed-forward coefficient, an inductive current digital sampling
correction method is provided, the sampling accuracy of the inductive
average current is improved, and then the performance of the battery charging and discharging test
system is improved.