zy5636100 / Controller_PR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:C 97.2%Language:CMake 2.8%