Adaptive PSO MPPT for Solar PV System
- lms editor
- 25 minutes ago
- 6 min read
Adaptive PSO MPPT for Solar PV System
𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧
Solar photovoltaic systems often experience changes in output power because of varying irradiance and partial shading. Under partial shading, the PV power curve may contain several local maximum power points, making conventional tracking methods less effective.
Adaptive PSO MPPT for Solar PV System

This MATLAB/Simulink model uses an 𝗔𝗱𝗮𝗽𝘁𝗶𝘃𝗲 𝗣𝗮𝗿𝘁𝗶𝗰𝗹𝗲 𝗦𝘄𝗮𝗿𝗺 𝗢𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 MPPT algorithm to identify the global maximum power point and generate the optimum duty cycle for a boost converter.
The model demonstrates operation under:
Uniform solar irradiance
Partial shading conditions
Sudden irradiance variations
Dynamic operating conditions
𝐖𝐡𝐚𝐭 𝐈𝐬 𝐀𝐝𝐚𝐩𝐭𝐢𝐯𝐞 𝐏𝐒𝐎 𝐌𝐏𝐏𝐓?
Particle Swarm Optimization is a population-based optimization technique inspired by the coordinated movement of birds and animals.
In solar MPPT applications, each particle represents a possible converter duty cycle. The algorithm tests different duty-cycle values and determines which value produces the maximum PV power.
In conventional PSO, the inertia weight and learning coefficients are normally fixed. In 𝗔𝗱𝗮𝗽𝘁𝗶𝘃𝗲 𝗣𝗦𝗢, these parameters are adjusted according to the fitness values and iteration count.
This adaptive behaviour helps the controller:
Improve global power-point detection
Reduce unnecessary particle movement
Balance exploration and exploitation
Respond effectively to irradiance changes
Track the optimum duty cycle more accurately
𝐂𝐨𝐧𝐯𝐞𝐧𝐭𝐢𝐨𝐧𝐚𝐥 𝐏𝐒𝐎 𝐯𝐬. 𝐀𝐝𝐚𝐩𝐭𝐢𝐯𝐞 𝐏𝐒𝐎
Parameter | Conventional PSO | Adaptive PSO |
Inertia weight | Fixed | Adjusted using fitness information |
Personal learning coefficient | Constant | Updated with iteration count |
Global learning coefficient | Constant | Updated with iteration count |
Search behaviour | Same throughout operation | Changes according to operating conditions |
Response to partial shading | May settle at a local peak | Searches for the global peak |
Convergence | Depends strongly on fixed parameters | Improved through adaptive parameters |
MPPT flexibility | Limited | High |
𝐒𝐲𝐬𝐭𝐞𝐦 𝐎𝐯𝐞𝐫𝐯𝐢𝐞𝐰
The MATLAB/Simulink system consists of the following main components:
Series-connected PV sections
Irradiance inputs for individual PV sections
PV voltage and current measurement blocks
Adaptive PSO MPPT controller
PWM generator
DC–DC boost converter
Output load
Voltage, current, power and duty-cycle scopes
The PV array voltage and current are continuously measured and supplied to the Adaptive PSO controller. The controller calculates the PV power and searches for the duty cycle that provides the highest power output.
𝐌𝐚𝐢𝐧 𝐒𝐲𝐬𝐭𝐞𝐦 𝐏𝐚𝐫𝐚𝐦𝐞𝐭𝐞𝐫𝐬
Parameter | Value |
Number of PV sections | 4 |
Approximate power per section | 62.46 W |
Total rated PV power | Approximately 250 W |
PV voltage at maximum power | 30.96 V |
Approximate voltage per section | 7.74 V |
PV current at maximum power | 8.07 A |
Uniform irradiance | 1000 W/m² |
Partial-shading irradiance | 800 W/m² |
Number of PSO iterations considered | 4 |
Converter type | Boost converter |
𝐂𝐨𝐧𝐭𝐫𝐨𝐥 𝐒𝐭𝐫𝐚𝐭𝐞𝐠𝐲
The Adaptive PSO MPPT controller uses three important parameters:
𝗜𝗻𝗲𝗿𝘁𝗶𝗮 𝘄𝗲𝗶𝗴𝗵𝘁
𝗣𝗲𝗿𝘀𝗼𝗻𝗮𝗹 𝗹𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗰𝗼𝗲𝗳𝗳𝗶𝗰𝗶𝗲𝗻𝘁
𝗚𝗹𝗼𝗯𝗮𝗹 𝗹𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗰𝗼𝗲𝗳𝗳𝗶𝗰𝗶𝗲𝗻𝘁
Adaptive inertia adjustment
The inertia weight is selected according to the relationship between:
Particle-best fitness
Average population fitness
Minimum fitness of the current iteration
A larger inertia value supports wider exploration of the duty-cycle range. A smaller inertia value supports accurate searching near the best operating point.
Adaptive learning coefficients
The personal and global learning coefficients are modified according to the current iteration.
This enables the particles to gradually change their search behaviour:
Early iterations explore a wider duty-cycle range.
Later iterations focus more closely on the best solution.
The controller avoids using the same search behaviour throughout the process.
𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐏𝐫𝐨𝐜𝐞𝐬𝐬
The controller generates a set of initial duty-cycle particles.
Each duty cycle is applied to the boost converter.
The PV voltage and current are measured.
The corresponding PV power is calculated.
The best power obtained by each particle is stored as its personal best.
The highest power among all particles is stored as the global best.
The inertia weight and learning coefficients are updated.
Particle velocities and duty-cycle positions are revised.
The process continues for the selected number of iterations.
The final global-best duty cycle is supplied to the PWM generator.
The boost converter operates the PV array near its global maximum power point.
𝐏𝐖𝐌 𝐚𝐧𝐝 𝐁𝐨𝐨𝐬𝐭 𝐂𝐨𝐧𝐯𝐞𝐫𝐭𝐞𝐫 𝐎𝐩𝐞𝐫𝐚𝐭𝐢𝐨𝐧
The optimum duty cycle generated by the Adaptive PSO controller is limited to the permitted operating range and supplied to the PWM generator.
The PWM signal controls the semiconductor switch of the boost converter. By changing the converter duty cycle, the effective operating voltage of the PV array is adjusted.
This allows the controller to:
Move the PV operating point
Test different power levels
Identify the global power peak
Increase the output voltage
Transfer the extracted PV power to the load
𝐒𝐢𝐦𝐮𝐥𝐚𝐭𝐢𝐨𝐧 𝐂𝐚𝐬𝐞𝐬
Case 1: Uniform irradiance
All four PV sections are operated at an irradiance of 1000 W/m².
PV Section | Irradiance |
Section 1 | 1000 W/m² |
Section 2 | 1000 W/m² |
Section 3 | 1000 W/m² |
Section 4 | 1000 W/m² |
Under this condition:
The PV array produces close to its rated power.
The Adaptive PSO controller searches for the optimum duty cycle.
Maximum power is reached in approximately 0.4 seconds.
The duty cycle becomes stable after the search process.
PV and load power settle near their expected values.
Case 2: Partial shading
The irradiance of selected PV sections is reduced to 800 W/m².
PV Section | Irradiance |
Section 1 | 1000 W/m² |
Section 2 | 800 W/m² |
Section 3 | 1000 W/m² |
Section 4 | 800 W/m² |
Under partial shading:
The available PV power decreases.
Multiple possible power peaks may appear.
The controller continues searching for the global peak.
The simulated PV output is approximately 205 W.
The duty cycle is adjusted to match the new operating condition.
Case 3: Dynamic irradiance variation
The system initially operates with all sections at 1000 W/m². At 1 second, the irradiance of the second PV section is reduced to 800 W/m².
Time Interval | Section 1 | Section 2 | Section 3 | Section 4 |
Before 1 second | 1000 W/m² | 1000 W/m² | 1000 W/m² | 1000 W/m² |
After 1 second | 1000 W/m² | 800 W/m² | 1000 W/m² | 1000 W/m² |
The controller detects the power change and generates a new optimum duty cycle. The PV voltage, load voltage and output power settle at new operating values after a short transition.
𝐒𝐢𝐦𝐮𝐥𝐚𝐭𝐢𝐨𝐧 𝐑𝐞𝐬𝐮𝐥𝐭𝐬
The following signals are observed through MATLAB/Simulink scopes:
PV and load voltage
PV voltage changes according to the selected duty cycle.
Load voltage is increased through the boost converter.
Both voltages reach stable values after the MPPT search.
Duty cycle
The duty cycle changes rapidly during the initial search.
Oscillations reduce as the particles approach the global best.
A new duty cycle is generated after an irradiance change.
PV and load power
PV power increases as the controller approaches the maximum power point.
Load power follows the extracted PV power.
A reduction in irradiance causes a corresponding reduction in available power.
The controller successfully relocates the optimum operating point.
𝐑𝐞𝐬𝐮𝐥𝐭 𝐒𝐮𝐦𝐦𝐚𝐫𝐲
Operating Condition | Irradiance Pattern | Approximate PV Power | Controller Response |
Uniform irradiance | All sections at 1000 W/m² | Close to 250 W | Tracks the rated maximum-power region |
Partial shading | Selected sections at 800 W/m² | Around 205 W | Identifies the global power peak |
Dynamic variation | One section changes at 1 second | Changes with irradiance | Updates the duty cycle and retracks |
𝐊𝐞𝐲 𝐅𝐞𝐚𝐭𝐮𝐫𝐞𝐬
𝗔𝗱𝗮𝗽𝘁𝗶𝘃𝗲 𝗣𝗦𝗢-based maximum power point tracking
Variable inertia weight
Iteration-dependent learning coefficients
Global maximum power-point detection
Individual irradiance inputs for PV sections
Uniform and partial-shading analysis
Dynamic irradiance testing
PWM-controlled boost converter
PV voltage and current monitoring
Duty-cycle, voltage and power visualization
MATLAB/Simulink-based implementation
Simple structure for understanding PSO-based MPPT
𝐁𝐞𝐧𝐞𝐟𝐢𝐭𝐬 𝐨𝐟 𝐭𝐡𝐞 𝐀𝐝𝐚𝐩𝐭𝐢𝐯𝐞 𝐌𝐞𝐭𝐡𝐨𝐝
Better balance between global exploration and local searching
Improved tracking under partial shading
Reduced dependence on fixed PSO parameters
Faster adjustment during irradiance changes
Effective detection of the global power peak
Suitable for nonlinear PV characteristics
Improved adaptability compared with conventional PSO
𝐀𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬
This simulation concept can be applied to:
Rooftop solar PV systems
Standalone PV power systems
Grid-connected solar systems
Solar battery-charging systems
PV-fed DC microgrids
Solar water-pumping systems
Electric-vehicle solar charging stations
Research on intelligent MPPT techniques
Comparative analysis of optimization algorithms
Power-electronics and renewable-energy education
𝐖𝐡𝐨 𝐂𝐚𝐧 𝐔𝐬𝐞 𝐓𝐡𝐢𝐬 𝐌𝐨𝐝𝐞𝐥?
The model is suitable for:
Students learning solar PV and MPPT control
Researchers studying optimization-based MPPT
Engineers working with PV converters
MATLAB/Simulink learners
Renewable-energy trainers
Power-electronics professionals
𝐂𝐨𝐧𝐜𝐥𝐮𝐬𝐢𝐨𝐧
The 𝗠𝗔𝗧𝗟𝗔𝗕 𝗦𝗶𝗺𝘂𝗹𝗮𝘁𝗶𝗼𝗻 𝗼𝗳 𝗔𝗱𝗮𝗽𝘁𝗶𝘃𝗲 𝗣𝗦𝗢 𝗠𝗣𝗣𝗧 demonstrates an intelligent method for extracting maximum power from a solar PV system.
Unlike conventional PSO, the adaptive method varies the inertia weight and learning coefficients according to the fitness condition and iteration count. This improves the search for the global maximum power point under uniform irradiance, partial shading and sudden irradiance changes.
The model provides a clear understanding of Adaptive PSO control, PWM generation, boost-converter operation and dynamic PV power tracking in MATLAB/Simulink.



Comments