cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-ESC001V1 and drone motor Compatibility with MC Workbench 6.4.1

santhosh16
Senior

Dear ST Support Team,

I am working with the STEVAL-ESC001V1 evaluation board and a drone motor listed at the following link:
https://www.dys.hk/product/D2826.html RPS for power supply given directly to ESC power pins of 12V and 2A current.

My objective is to run this motor using ST MC Workbench software version 6.4.1. I would like to confirm whether any additional hardware, such as an STM32 development board, is required in order to operate the motor with this setup.

During system configuration in MC Workbench, I created a new project and selected STEVAL-ESC001V1 for the inverter section and Bull Running BR2804-1700KV for the motor section. However, when I later attempted to edit the project, the motor selection options displayed only two types of PMSM motors. Could you please clarify whether MC Workbench supports only PMSM motors? The motor I am using is a BLDC motor, as specified above.

Additionally, I would like to inquire whether an example project for STEVAL-ESC001V1 is available for MC Workbench version 6.4.1. I noticed that such an example is available in version 5.4.8, so I attempted to install that version. However, during installation, I encountered the following error:

“Can't write:
C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl\MotorControl_Configs.xml”

The installer repeatedly attempts to write to the installation directory but fails at this step.

I would appreciate your guidance on these issues.

Thank you for your support.

Kind regards,
Santhosh.

 

20 REPLIES 20

STuser2_0-1766990468054.png

It may be because of above warnings verify the schematic for current sensing section and MCSDK configuration again.

 

Hi,
As per the schematic in the document  UM2197 - User manual 

Screenshot (34).png

 

 The OCP circuit is available in the schematics. But im unable to configure the OCP circuit and the MCSDK software shows the hardware doesn't have the OCP. Kindly help me to find where does the problem arises.

Best Regards,

Santhosh.

Additionally, the .ioc file that I generated does not configure the following pins as per the schematic:

PA7, PB0, PB11 → Vshunt_filtered

PB12, PB13, PB15 → Phase1, Phase2, Phase3 respectively

These pins are not explicitly configured in the CubeMX .ioc file.

Screenshot (33).png

 

Do these pins need to be explicitly configured (analog or digital) in the .ioc file or need not to be?
Best regards,
Santhosh.

Yes you can try.

Hi @STuser2,


@santhosh16 wrote:

Hi @STuser2,
I have generated the code. But the final settings shows danger here due to no ocp or driver protection enabled. 
Screenshot (31).png

 

While I check for the OCP protection, I have came to know that this hardware doesn't have support for OCP protection and I have no idea that where does the driver protection is available.
Screenshot (32).png

 

Kindly help me with this.

Best Regards,
Santhosh.


 

Before making these changes, could the above conditions cause any issues in running the motor using PWM input?
If no, can i try run the motor without making changes. 

Best regards,
Santhosh.  

Hi @STuser2
My question in short is
Screenshot (37).png
whether the above condition actually cause any problem to motor or driver while operating?
Best Regards,
Santhosh

It does not create issues, if you are working under controlled conditions like power source etc only ensure short circuit does not happen which may damage your hardware, but the basic doubt is whether the motor will run without current sensing. You can try and check for pwm and current feedback etc.

Hi,

I have dumped foc algorithm code to the esc. And i have given the pwm pulse of frequency 16Khz and changed the duty cycle from 10 to 90% to the pwm input pins.
Screenshot (38).png

 


But, there is no response from the motor. is calibration is needed for this esc to get input? If yes what is the procedure to calibrate this esc?

Best regards,
Santhosh.

Hi @STuser2,

Could you please help me look into this issue, at least until I am able to run the motor? If you are currently busy with other work, I would appreciate it if someone with relevant experience could be assigned.

Best Regards,
Santhosh

Hello @santhosh16,

Did you attempt to generate a 6-step Driving Algorithm project that is more suitable for drone motors?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA