bldc driver firmware based on hobbyking cheetah compact
Dependencies: BLDC_V2 mbed-dev-f303 FastPWM3
Diff: Calibration/calibration.cpp
- Revision:
- 48:a74e401a6d84
- Parent:
- 47:f4ecf3e0576a
--- a/Calibration/calibration.cpp Wed May 13 09:53:27 2020 +0000 +++ b/Calibration/calibration.cpp Wed Apr 07 10:12:43 2021 +0000 @@ -19,6 +19,7 @@ float theta_ref = 0; float theta_actual = 0; float v_d = .15f; //Put all volts on the D-Axis + // float v_d = .08f; float v_q = 0.0f; float v_u, v_v, v_w = 0; float dtc_u, dtc_v, dtc_w = .5f; @@ -90,7 +91,8 @@ int raw_b[n] = {0}; float theta_ref = 0; float theta_actual = 0; - float v_d = .15f; // Put volts on the D-Axis + float v_d = .25f; // Put volts on the D-Axis + // float v_d = .08f; float v_q = 0.0f; float v_u, v_v, v_w = 0; float dtc_u, dtc_v, dtc_w = .5f;