- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
About Single Resistor Sampling FOC. Is there any documentation? Can the program code be made public?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @songzaiwu,
Please refer to section 5.6 of the CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit User Guide. It explains the Single Shunt FOC implementation.
The code example is available under the software tab of the CY8CKIT-037 web page.
Please, let us know if you have further questions.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @songzaiwu,
Please refer to section 5.6 of the CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit User Guide. It explains the Single Shunt FOC implementation.
The code example is available under the software tab of the CY8CKIT-037 web page.
Please, let us know if you have further questions.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What if the sampling time is very close?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @songzaiwu,
As per the CY8CKIT-037 PSoC 4 Motor Control Evaluation Kit User Guide.
The reason to trigger the ADC sampling in the middle of the pulse is to avoid the transient noise caused when the PWM signal changes state. In the middle of the pulse, it will be more stable.
So, it is not recommended to trigger pulse for the sampling other than mentioned in the document.
Please, let us know if you have further questions.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If T1/2 or T2/2 is less than the minimum sampling time, then the sampling is not correct, how does the program handle it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @songzaiwu,
The value of T1/2 and T2/2 are computed every cycle based on previous data values. Hence the particular scenario under consideration may not occur. We would like to know if any specific case is observed during the development stage at your end.
Thank you
Best Regards
Raj Chaudhari