GRT_FS2019_VoiceCoil / Mbed 2 deprecated Cube_Mini_Template

Dependencies:   mbed QEI MPU6050_2 BLE_API nRF51822 MCP4725 eMPL_MPU6050

Committer:
BoulusAJ
Date:
Fri May 29 15:41:58 2020 +0000
Revision:
16:762867ba6aaa
Parent:
0:8e87cdf07037
Version May 29, 2020

Who changed what in which revision?

UserRevisionLine numberNew contents of line
BoulusAJ 0:8e87cdf07037 1 /*
BoulusAJ 0:8e87cdf07037 2 PI Controller class with anti windup reset in biquad transposed direct form 2
BoulusAJ 0:8e87cdf07037 3 see e.g.: https://www.dsprelated.com/freebooks/filters/Four_Direct_Forms.html
BoulusAJ 0:8e87cdf07037 4 everything is calculated in double
BoulusAJ 0:8e87cdf07037 5
BoulusAJ 0:8e87cdf07037 6 Tn*s + 1
BoulusAJ 0:8e87cdf07037 7 G(s) = Kp ------------- with s ~ (1 - z^-1)/Ts
BoulusAJ 16:762867ba6aaa 8 Ts*s
BoulusAJ 0:8e87cdf07037 9 */
BoulusAJ 0:8e87cdf07037 10
BoulusAJ 0:8e87cdf07037 11 #include "PID_Cntrl.h"
BoulusAJ 16:762867ba6aaa 12
BoulusAJ 0:8e87cdf07037 13 using namespace std;