Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Committer:
austinbrown124
Date:
Thu Oct 11 04:13:45 2018 +0000
Revision:
1:64b881306f6f
Parent:
0:9edd6ec0f56a
DINGBAT

Who changed what in which revision?

UserRevisionLine numberNew contents of line
austinbrown124 0:9edd6ec0f56a 1 #ifndef FOC_H
austinbrown124 0:9edd6ec0f56a 2 #define FOC_H
austinbrown124 0:9edd6ec0f56a 3
austinbrown124 0:9edd6ec0f56a 4 #include "structs.h"
austinbrown124 0:9edd6ec0f56a 5 #include "mbed.h"
austinbrown124 0:9edd6ec0f56a 6 #include "math.h"
austinbrown124 0:9edd6ec0f56a 7 #include "math_ops.h"
austinbrown124 1:64b881306f6f 8 #include "inv_config.h"
austinbrown124 1:64b881306f6f 9 #include "fw_config.h"
austinbrown124 0:9edd6ec0f56a 10
austinbrown124 1:64b881306f6f 11
austinbrown124 0:9edd6ec0f56a 12 void svm(float v_bus, float u, float v, float w, float *dtc_u, float *dtc_v, float *dtc_w);
austinbrown124 1:64b881306f6f 13 void reset_foc(FocStruct *controller);
austinbrown124 1:64b881306f6f 14 void commutate(FocStruct *controller);
austinbrown124 1:64b881306f6f 15 void voltage_mode_commutate(FocStruct *controller);
austinbrown124 1:64b881306f6f 16
austinbrown124 0:9edd6ec0f56a 17 #endif