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: SVM/SVM.h
- Revision:
- 20:bf9ea5125d52
- Parent:
- 19:bd10a04eedc2
- Child:
- 21:7d1f0a206668
--- a/SVM/SVM.h Tue Feb 14 03:28:16 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-#ifndef SVM_H
-#define SVM_H
-#include "Inverter.h"
-
-class SVM{
-public:
- //virtual void Update_DTC(float V_Alpha, float V_Beta) = 0;
- virtual void Update_DTC(float V_A, float V_B, float V_C) = 0;
-private:
- float _V_Bus;
-protected:
- Inverter* _inverter;
- };
-
-
-class SPWM: public SVM{ //Sinusoidal PWM
-public:
- SPWM(Inverter *inverter, float V_Bus);
- //virtual void Update_DTC(float V_Alpha, float V_Beta);
- virtual void Update_DTC(float V_A, float V_B, float V_C);
-private:
- float _V_Bus;
-protected:
- Inverter* _inverter;
- };
-
-
-class SVPWM: public SVM{ //SVM
-public:
- SVPWM(Inverter *inverter, float V_Bus);
- //virtual void Update_DTC(float V_Alpha, float V_Beta);
- virtual void Update_DTC(float V_A, float V_B, float V_C);
-
-private:
- float _V_Bus;
-protected:
- Inverter* _inverter;
- };
-
-
-#endif
\ No newline at end of file