2024-07-22 08:06 AM
I am unable to create motor control project with FOC algorithm using custom power. It generates an error:
It is not possible to create a motor control project with the FOC algorithm using the selected hardware. No proper path for motor control signals was found for the following mandatory features:
- Current Sensing
For more details, please, look at the following log file in your home directory: .st_workbench/connectAlgo.log
Although I've added current sensing and the report generated is fine.
Not sure what I'm doing wrong. I've also attached the log file.
2024-07-23 05:33 AM
Hello @pranz-24,
Is-it possible to share your power board .json file?
What is your use-case control board?
2024-07-23 12:19 PM
2024-07-24 08:12 AM
Hello @pranz-24,
If you do not intend to use HSO (High Sensitivity Observer) feature speed sensormode, you have to use TwoICSCurrents variant (check "3.1.3.1. Two ICS currents hardware variant" chapter in stwiki page and described in User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab>"Current sampling", "Current sampling in isolated current sensor topology" link.
For HSO purpose, you have to also define PhaseVoltageSensing feature variant in addition of ThreeICSCurrents variant.
2024-07-25 10:29 AM
Thank you!!
I am able to create a project on the MC Workbench by using Two ICS currents hardware variant. .
But now I am unable to use the quadrature encoder.
2024-07-26 12:08 AM
Hello @pranz-24,
In your shared PowerBoardTest file, encoder signals were not present.
You can have a look to STEVAL-CTM009V1.json power board description file as example and "quadrature encoder hardware variant" chapters in wiki page.
2024-07-26 07:05 AM
Hi @GMA ,
Encoder is present in the PowerBoardTest file.
I'll go through the wiki page.
Thanks!!