UVW 3 phases Brushless DC motor control
Dependencies: QEI mbed-rtos mbed
Fork of BLDCmotor by
Revision 17:1ac855d69c78, committed 2013-09-07
- Comitter:
- kosakaLab
- Date:
- Sat Sep 07 02:47:09 2013 +0000
- Parent:
- 16:d05404eef8ee
- Commit message:
- for TBLM-01 18T and OME-360-2MCA
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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