Summary
In the distribution power system, voltage sag and swell are the critical issues. The impact of this issue creates major economic loss and power loss in the distribution system. There are several detection methods available, mainly, connecting the FACTS devices such as Static Compensator (STATCOM), Unified Power Quality Conditioner (UPQC), and dynamic voltage restorer (DVR) at the point of sag or swell. DVR is one of the custom power devices to mitigate the voltage sag and swell. Sliding mode controller (SMC) is proposed in the paper, which is used to regulate the DVR to mitigate the voltage sag issue. Particle swarm optimization (PSO) algorithm is utilized in this work to find the optimum value of SMC parameters, namely, Kp and Ki, with the objective of minimizing the integral square error (ISE). A simple two feeder distribution network with DVR is developed in MATLAB‐SIMULINK to assess the performance of DVR under various faults and disturbed situations. The mitigation level and THD values of PSO‐optimized SMC‐based DVR results are compared with the PI controller–based DVR, PSO‐optimized PI controller DVR, and SMC‐based DVR. At last, in the proposed method, the trial is taken by adding a renewable energy resource, that is, PV farm at 400‐kW power rating. The solar energy is integrated with the existing distribution system, and the results are incorporated. Simulation results show that the PSO‐optimized SMC‐based DVR can compensate the voltage sag and swell and also reduce the load voltages efficiently.