![DFRobot Veyron Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/dfrobot/veyron/veyron_manual_2491527011.webp)
11
the maximum permissible peak current limit, the maximum allowable temperature and voltage.
Please refer to instruction set, set those depending on the configuration needs, when the
configuration is completed, you can send directives to control the motor.
Close-loop control mode
Connect the cable, as shown in the figure (Connect one circle if you only control one motor):
In PPM close loop control mode, the parameters associated with the actual control are as follows:
encoder lines, gear ratio, direction mode, PWM signal generating method, Starting zero signal
detection, PPM extreme value, control signal mode, Discontinuous mode time limit, PID parameters
the maximum permissible continuous current, the maximum permissible peak current limit, the
maximum allowable temperature and voltage.
1 Configure Encoder lines, gear ratio and other parameters with UART interface.
2 Press KEY button on the side to enter the SET mode(“SET” indicator led lights up), the led Status1
blinks, then, it’s the led Status2. (about how to set PPM limit value, it’s already in the start part of the
PPM interface).
3 M1 began rotating (Note: we regard this motor rotating direction as the Positive, if Direction mode
is bi-directional mode, when the PPM signal is in S_Middle~S_Max, motor is running positively,
when PPM signal is in S_Min~S_Middle motor runs in the opposite direction), when drive detect
coding device signal, A/B phase sequence of coding device will adapted automatically, then PID
auto-tuning will start on M1, M1 gradually runs from oscillation State to steady-state, then it
completes PID parameter auto-tuning of M1. After that, it’s the PID parameter auto-tuning of M2.
4 Drive automatically reset, enter the default UART mode, then turn to PPM mode by KEY button.
Finally, confirm all the parameters are set, you can send permitted PWM to control the motor.