Other Parts Discussed in Thread: LAUNCHXL-F28027F, MOTORWARE
Hello,
I am working on the design of an electric drill. I am using the following components:
- BOOSTXL-DRV8301
- LAUNCHXL-F28027F
- Code Compose Studio (v6)
- Motorware - Instaspin-FOC
I am using the Labs as implementation reference.
I could setup the motor (a BLDC motor) correctly (lab2). I could also add an analog input to be used as input, to trigger and set the motor speed.
When I use lab4 (torque control), I cannot use the external input. As soon as the firmware starts, the motor starts to run at its fastest speed. But, when i add load it will "insist" in running, as expected to a drill.
When I use lab10, I can use the external input and control the speed. But, when I add load the motor stops rotating, "not insisting" in running. This is not an expected approach for a drill.
The ideal behavior is to have the lab4 behavior when the drill is set to be used at its maximum speed. How would be the best approach to implement it?
Can I have speed control in lab4? At least at some states based on external input entry ...
Best regards,
Flavio