The invention discloses a novel adaptive
terminal sliding mode reaching law-based
sliding mode control method for a grid-forming
inverter, and the method comprises the steps: 1, collecting
inverter side current and
voltage and grid side current, and calculating the dq-axis components of the
inverter side current and
voltage and the grid side current through coordinate transformation; 2, calculating active power P and reactive power Q output by the inverter and active power Pf and reactive power Qf after filtering by using the dq-axis components uod and uoq of the inverter-side
voltage and the dq-axis components iod and ioq of the grid-side current; 3, calculating a coordinate transformation angle theta and voltage command values uodref and uoqref of the dq axis of the
voltage loop; 4, calculating dq-axis current instruction values idref and iqref of a
current loop according to the uodref, the uoqref and a
voltage loop sliding mode controller; and 5, according to the idref, the iqref and the
current loop sliding mode controller, calculating d-axis and q-axis voltage wave sending instructions udref and uqref, and generating an inverter driving
signal through modulation. According to the invention, the
harmonic distortion rate of the grid-connected current of the inverter can be reduced, and the dynamic response speed and the anti-interference performance of the grid-forming inverter can be improved.