Skip to content

haodongnj/Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Controller

Introduction

This repository contains implementation of 3 types of controllers:

  1. proportional-integral controller: derivative component is not considered yet.
  2. proportional-resonant controller
  3. repetitive controller
    1. a baseline implementation
    2. FIR filter based frequency adaptive RC
    3. phase weighting repetitive control

Every controller contains an examples folder for validation.

The code is very simple, so detailed explanation is only written for PR controller.

I implemented the controllers for control of LCL grid-connected inverters at college for experiments. Feel free to use the code for your own specific application at your own risk.

Implementation

PR

Second order generalized integrator is used to implement resonant part. It is designed to be frequency-adaptive.

RC

Contribution

Just fork and post pull request.