Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev-f303 FastPWM3
Diff: CurrentRegulator/CurrentRegulator.h
- Revision:
- 5:51c6560bf624
- Parent:
- 4:c023f7b6f462
- Child:
- 6:4ee1cdc43aa8
--- a/CurrentRegulator/CurrentRegulator.h Sat Mar 12 08:04:51 2016 +0000 +++ b/CurrentRegulator/CurrentRegulator.h Sat Mar 12 18:45:22 2016 +0000 @@ -10,7 +10,7 @@ void UpdateRef(float D, float Q); void Commutate(); private: - float IQ_Ref, ID_Ref, V_Q, V_D, V_Alpha, V_Beta, I_Q, I_D, I_A, I_B, I_C, I_Alpha, I_Beta, theta_elec, _Kp, _Ki; + float IQ_Ref, ID_Ref, V_Q, V_D, V_Alpha, V_Beta, V_A, V_B, V_C, I_Q, I_D, I_A, I_B, I_C, I_Alpha, I_Beta, theta_elec, _Kp, _Ki; float Q_Integral, D_Integral, Q_Error, D_Error, Int_Max, DTC_Max; void SampleCurrent(); void SetVoltage();