https://github.com/williamyang98/3-phase-microinverter-controller
Voltage and power controller for a 3 phase microinverter to perform grid forming and feeding operations
https://github.com/williamyang98/3-phase-microinverter-controller
control-systems inverter microgrid power-electronics three-phase
Last synced: 9 months ago
JSON representation
Voltage and power controller for a 3 phase microinverter to perform grid forming and feeding operations
- Host: GitHub
- URL: https://github.com/williamyang98/3-phase-microinverter-controller
- Owner: williamyang98
- Created: 2022-12-10T08:38:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:38:57.000Z (over 3 years ago)
- Last Synced: 2024-04-22T06:23:21.533Z (about 2 years ago)
- Topics: control-systems, inverter, microgrid, power-electronics, three-phase
- Language: MATLAB
- Homepage:
- Size: 8.56 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
Implementation of a three phase microinverter grid with grid forming or grid feeding.
## Operation modes
1. Grid Forming
- Reference frequency and amplitude are given for grid voltage
- Apply DQ transform to grid voltage reference
- Inverter targets DQ voltage reference using voltage and current controller in a closed loop scheme
2. Grid Feeding
- Reference real and reactive power (PQ) are given for inverter output
- Inverter output is connected to an external grid
- Apply three phase PLL to get frequency relative to 50Hz
- Inverter targets PQ power reference and offset frequency using power and current controller in a closed loop scheme
## Completed microinverter setup
The setup used to test the microinverters in grid forming or feeding mode includes:
- Global grid
- Inverter 1 and three phase load connected to global grid using switch 1
- Inverter 2 connected to inverter 1 microgrid using switch 2
The test configurations include:
- Inverter 1 as grid forming powering three phase load with switch 1 and 2 open
- Inverter 2 as grid feeding connected to inverter 1 grid with switch 2 closed
- Inverter 1 and 2 as grid feeding connected to global grid with switch 1 and 2 closed
## Files
| File | Description |
| --- | --- |
| **completed_microinverter_setup.slx** | **Simulink file containing microinverter block and test grid** |
| **q4.m** | **Script to initialise variables for completed_microinverter_setup.slx simulink file.** This is code for the outstanding requirement. |
| three_phase_inverter_dq_control.slx | Simulink file containing a basic current and voltage controller for an inverter under load |
| three_phase_pll_real.slx | Simulink file containing a three phase PLL |
| q1.m | Code for basic requirements |
| q2.m | Code for satisfactory requirements |
| q3.m | Code for high requirements |
| doc/*.pdf | Background literature for developing three phase inverter controllers in a microgrid |
## Gallery



