{"id":19287459,"url":"https://github.com/williamyang98/3-phase-microinverter-controller","last_synced_at":"2025-09-22T22:14:59.640Z","repository":{"id":129583655,"uuid":"576564041","full_name":"williamyang98/3-phase-microinverter-controller","owner":"williamyang98","description":"Voltage and power controller for a 3 phase microinverter to perform grid forming and feeding operations","archived":false,"fork":false,"pushed_at":"2022-12-10T08:38:57.000Z","size":8973,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-22T06:23:21.533Z","etag":null,"topics":["control-systems","inverter","microgrid","power-electronics","three-phase"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamyang98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-10T08:38:06.000Z","updated_at":"2024-04-15T14:38:50.000Z","dependencies_parsed_at":"2023-06-12T10:15:29.507Z","dependency_job_id":null,"html_url":"https://github.com/williamyang98/3-phase-microinverter-controller","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"0e00e2aaf92d76269b224906ad966e9181b4b045"},"previous_names":["williamyang98/3-phase-microinverter-controller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2F3-phase-microinverter-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2F3-phase-microinverter-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2F3-phase-microinverter-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2F3-phase-microinverter-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamyang98","download_url":"https://codeload.github.com/williamyang98/3-phase-microinverter-controller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223888459,"owners_count":17220083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-systems","inverter","microgrid","power-electronics","three-phase"],"created_at":"2024-11-09T22:06:00.527Z","updated_at":"2025-09-22T22:14:54.543Z","avatar_url":"https://github.com/williamyang98.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\nImplementation of a three phase microinverter grid with grid forming or grid feeding.\n\n## Operation modes\n1. Grid Forming\n- Reference frequency and amplitude are given for grid voltage\n- Apply DQ transform to grid voltage reference\n- Inverter targets DQ voltage reference using voltage and current controller in a closed loop scheme\n\n2. Grid Feeding\n- Reference real and reactive power (PQ) are given for inverter output\n- Inverter output is connected to an external grid\n- Apply three phase PLL to get frequency relative to 50Hz\n- Inverter targets PQ power reference and offset frequency using power and current controller in a closed loop scheme\n\n## Completed microinverter setup\nThe setup used to test the microinverters in grid forming or feeding mode includes:\n- Global grid\n- Inverter 1 and three phase load connected to global grid using switch 1\n- Inverter 2 connected to inverter 1 microgrid using switch 2 \n\nThe test configurations include:\n- Inverter 1 as grid forming powering three phase load with switch 1 and 2 open\n- Inverter 2 as grid feeding connected to inverter 1 grid with switch 2 closed\n- Inverter 1 and 2 as grid feeding connected to global grid with switch 1 and 2 closed\n\n## Files\n| File | Description |\n| --- | --- |\n| **completed_microinverter_setup.slx** | **Simulink file containing microinverter block and test grid** |\n| **q4.m** | **Script to initialise variables for completed_microinverter_setup.slx simulink file.** This is code for the outstanding requirement. |\n| three_phase_inverter_dq_control.slx | Simulink file containing a basic current and voltage controller for an inverter under load |\n| three_phase_pll_real.slx | Simulink file containing a three phase PLL |\n| q1.m | Code for basic requirements |\n| q2.m | Code for satisfactory requirements |\n| q3.m | Code for high requirements |\n| doc/*.pdf | Background literature for developing three phase inverter controllers in a microgrid |\n\n## Gallery\n![Inverter controller](gallery/inverter_grid_forming_feeding_controller.PNG)\n![Inverter schematic](gallery/three_phase_switching_inverter.PNG)\n![Inverter LCL filter](gallery/inverter_lcl_filter.PNG)\n![Inverter DQ reference block](gallery/inverter_grid_forming_feeding_dq_reference.PNG)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamyang98%2F3-phase-microinverter-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamyang98%2F3-phase-microinverter-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamyang98%2F3-phase-microinverter-controller/lists"}