2023-10-10 02:40 AM
Hello.
I am testing using MCSDK 6.2.0 on EVSPIN32G4 board.
I've checked the operation of the motor using the start/stop button.
The problem takes approximately 3 seconds or more to stop during operation at a maximum speed of 16000 rpm.
I want to stop urgently, what are the ways?
Regards
Solved! Go to Solution.
2023-10-11 05:15 AM
Hello @Elliot95 ,
Currently there is no ready-made function to make an emergency stop of the motor, because calling stop motor stops the motor but with inertia it continues to run a little if it is started at high speed. A solution that I can suggest to you is to look at the turn on low side switches, which allows when stopping the motor to apply braking due to the short circuit of the motor phases.
On the workbench you can activate overvoltage with the turn on low side switches function, and if you put the board in overvoltage you will see that it stops immediately the motor. You can try to make an API that calls the PWMC_TurnOnLowSides function used in the mc_tasks file to the TSK_SafetyTask_LSON function and then have the same result.
Regards
2023-10-10 06:45 AM
hello @Elliot95 ,
Hello, the stop command MC_StopMotor1 should work in your case, but it all depends on the type of your motor and the desired application, does your motor have a lot of inertia for example?
If you can tell me more about your motor and your application i might be able to help you better.
Regards
2023-10-10 05:57 PM
The application will be used for medical drills.
The type of motor is BLDC motor.
The following are the settings made through the motor pilot.
Regards
2023-10-11 05:15 AM
Hello @Elliot95 ,
Currently there is no ready-made function to make an emergency stop of the motor, because calling stop motor stops the motor but with inertia it continues to run a little if it is started at high speed. A solution that I can suggest to you is to look at the turn on low side switches, which allows when stopping the motor to apply braking due to the short circuit of the motor phases.
On the workbench you can activate overvoltage with the turn on low side switches function, and if you put the board in overvoltage you will see that it stops immediately the motor. You can try to make an API that calls the PWMC_TurnOnLowSides function used in the mc_tasks file to the TSK_SafetyTask_LSON function and then have the same result.
Regards