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.
Diff: Calibration/calibration.cpp
- Revision:
- 49:9d762c5d05c3
- Parent:
- 45:aadebe074af6
--- a/Calibration/calibration.cpp Thu Jan 09 01:42:00 2020 +0000
+++ b/Calibration/calibration.cpp Mon Mar 29 07:08:14 2021 +0000
@@ -16,7 +16,8 @@
printf("\n\r Checking phase ordering\n\r");
float theta_ref = 0;
float theta_actual = 0;
- float v_d = .15f; //Put all volts on the D-Axis
+ //float v_d = .45f;
+ float v_d = .10f; //Put all volts on the D-Axis
float v_q = 0.0f;
float v_u, v_v, v_w = 0;
float dtc_u, dtc_v, dtc_w = .5f;
@@ -88,7 +89,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 = .45f;
+ float v_d = .10f; // Put volts on the D-Axis
float v_q = 0.0f;
float v_u, v_v, v_w = 0;
float dtc_u, dtc_v, dtc_w = .5f;