- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working with Kit-037 right now. The example project "Sensorless FOC Motor Control" works correctly.
Now I want to modify it so the position is obtained by an encoder.
If I'm right, the position and speed are now calculated by this function: MotorPll_PostionEstimate(), which I think uses the structure Motor_stcPll as an output.
I already have a quadrature decoder running so I know the angle at any given time.
I have 2 questions:
- If I stop using MotorPll_PostionEstimate(), what variables should I update with my calculated angle and speed? The structure Motor_stcPll has a lot of variables, which one should I modify?
- I have seen that another board has a similar code to control a BLDC using an encoder, but the code I'm interested in is in a .a file. Is there a way for me to see that code so I know what variables should I modify?
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sensorless FOC Motor control project source code is not released to public. So it will be hard to modify the project. You can refer the AN: http://www.cypress.com/file/157806/download
if it will help with your development.
Thanks
Jobin GT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
andresgalu,
Take a look on this video
Very simple way to drive BLDC only with encoder and MCU!!!!!! - YouTube
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, but I am trying to use the same code of the example "Sensorless FOC Motor Control" to have the same control loops and the SVPWM calculations implemented in an efficient way.
Is there a way to modify this code to implement an encoder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sensorless FOC Motor control project source code is not released to public. So it will be hard to modify the project. You can refer the AN: http://www.cypress.com/file/157806/download
if it will help with your development.
Thanks
Jobin GT