top of page

PSO tuned PI controller of STATCOM for Voltage Regulation

PSO tuned PI controller of STATCOM for Voltage Regulation


Welcome, viewers, to LMS Solution! In today's discussion, we will delve into the Particle Swarm Optimization (PSO) tuning of AC and DC voltage controllers in the context of state compensation (state comp). The primary goal is to enhance power quality in the power system.

Simulation Model Overview

The simulation model we've developed involves a power system with a 15-kilovolt voltage source. The system includes source resistance, inductance, a 21-kilometer feeder, a two-kilometer feeder, and a load between them. The load consists of a 3-megawatt real power load and a 0.2-megawatt capacity load. Additionally, there's a bus converting the voltage level from 15 kilovolts to 600 volts.

State Comp and Voltage Control

At bus number 33, a state compensator (state comp) is connected to the power system through a parallel transformer, source converter, and a capacitor. The objective is to control the load voltage and maintain it constant regardless of source voltage fluctuations. The State Comp controller is crucial in achieving this objective.

Controllers and PSO Tuning

Inside the State Comp controller, there are AC and DC voltage regulators. The controllers involve measuring DC voltage, state current, and state voltage. PSO is utilized to tune the parameters (such as kp and ka) of the controllers to minimize the absolute error in both AC and DC voltage regulation.

PSO Algorithm Implementation

The PSO algorithm is implemented in a program where variables for tuning (kp and ka) are defined. The algorithm involves generating a population, calculating the cost function, finding local and global best positions, and iterating through the optimization process. The objective function in PSO is to minimize the absolute error in both AC and DC voltage regulation.

Simulation and Results

Upon execution, the simulation runs through iterations, and the optimized values for kp and ka are obtained for the AC and DC voltage regulators. These values are crucial for maintaining the power quality and constant load voltage.

Power Quality Improvement

The simulation results demonstrate the effectiveness of PSO in tuning the AC and DC voltage controllers, mitigating voltage sags, and ensuring a constant load voltage despite fluctuations in the source voltage. This approach contributes to significant improvements in power quality.


In conclusion, the Particle Swarm Optimization method proves to be a valuable tool for optimizing AC and DC voltage controllers in state compensation systems. This optimization contributes to enhanced power quality and stability in the overall power system.

1 view0 comments
bottom of page