SOLO Communication Manual - UART and USB
www.solomotorcontrollers.com
September 2021 - Revision V_1.0.1 Copyright © 2021, All right Reversed. SOLO motor controllers.
68
Digital Speed Control of a Brushless motor using Encoders
Before sending the following commands you must do the following steps at least once:
1. Turn ON SOLO
2. Put SOLO in closed-loop (using Piano switch on SOLO UNO or Control Mode Switch on SOLO
MINI)
3. Make sure the motor Identification is done.
As long as the piano switch number 5 is DOWN in SOLO UNO or the Control Mode Switch on
SOLO MINI is on C.L, you can send the following commands in order to control the torque of
your brushless Motor. Also after power recycling you don’t need to repeat this part again, just
leave the configurations as mentioned in closed-loop mode as long as your motor and the system
are the same.
1- Set Motor Type (Normal Brushless, Type 1)
FF FF 00 15 00 00 00 01 00 FE
2- Set control Mode on SPEED
FF FF 00 16 00 00 00 00 00 FE
3- set the speed Kp gain on 0.001 [Sfxt(32-17)]
FF FF 00 0A 00 00 00 83 00 FE
4- Set the speed ki gain on 0.0008 [Sfxt(32-17)]
FF FF 00 0B 00 00 00 68 00 FE
5- Set the Motor No of Poles at 8 (Uint32)
FF FF 00 0F 00 00 00 08 00 FE
6- Set the Speed Control Mode on Encoder
FF FF 00 13 00 00 00 01 00 FE
7- Set the Number of Encoder Lines on 1000 lines (Uint32)
FF FF 00 10 00 00 03 E8 00 FE
8- Go to digital Mode
FF FF 00 02 00 00 00 01 00 FE
9- Set the speed ref at 1000 rpm (Uint32)
FF FF 00 05 00 00 03 E8 00 FE
Notes:
- Using the command set in step 9, you can define any arbitrary speed for your motor to
reach and follow in real-time.
- The commands stored in Memory will be remembered after power recycle, and there is
no need to set them everytime.