UVW 3 phases Brushless DC motor control
Dependencies: QEI mbed-rtos mbed
Fork of BLDCmotor by
Diff: main.cpp
- Revision:
- 17:1ac855d69c78
- Parent:
- 15:427f5ae8e957
--- a/main.cpp Thu Sep 05 09:36:57 2013 +0000 +++ b/main.cpp Sat Sep 07 02:47:09 2013 +0000 @@ -80,10 +80,10 @@ // 指令速度 // float w_ref_req[2] = {20* 2*PI, 40* 2*PI}; // [rad/s](第2要素は指令速度急変後の指令速度) - float w_ref_req[2] = {10* 2*PI, 10* 2*PI}; // [rad/s](第2要素は指令速度急変後の指令速度) + float w_ref_req[2] = {5* 2*PI, 10* 2*PI}; // [rad/s](第2要素は指令速度急変後の指令速度) // 指令dq電流位相 // float beta_ref = 30*PI/180; // [rad], 電流位相指令βを30度に - float beta_ref = 85*PI/180; // [rad], 電流位相指令βを30度に + float beta_ref = 35*PI/180; // [rad], 電流位相指令βを30度に float tan_beta_ref1; float tan_beta_ref2,tan_beta_ref; float t; // current time