![DFRobot Veyron Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/dfrobot/veyron/veyron_manual_2491527018.webp)
18
3.13 Set the PWM signal generating method (ID,SPWM,*\r\n)
There are two independent N-MOSFET full bridge drive circuits, MOSFET gate drive signals of
most drives cannot be set by user, in order to meet the needs of some users, we set three modes
which can be selected, corresponding relationship between PWM generation and configuration
parameters are as follows: 0:Hpwm-Lon 1:Hpwm-Lpwm (on-off) 2:Hpwm-Lpwm (on-off-on, the
factory default value)
For example, MOSFET drive signal is set to Hpwm-Lpwm (on-off) (Note: the pattern is completely
complementary mode)
* Send: 1,SPWM,1\r\n
* Returns: none
3.14 Set zero signal detection or not when start (ID,SSD,*\r\n)
Only in the PPM or Analog interface mode, and the direction mode is one-way,the zero signal
detection when start is available to set. For most of one-way control mode applications, there are
more stringent security requirements, such as in PPM or Analog interface mode, because these
modes without acceleration/deceleration feature are servo-controlled, System suddenly reset causes
violent impact to load, when the motor holds dangerous loads, it will be a threat to personal safety. In
this case, you can start the zero signal detection to enhance security. When system suddenly reset
motor at rest, only after the control signals is near to stop before they can engage in normal controls.
Configuration parameter of 0 indicates to disable the zero signal detection, of 1 means enable
zero-signal detection, the factory default value is 0.
For example, to enable zero-signal detection
* Send: 1,SSD,1\r\n
* Returns: none
3.15 Gets the current rotation speed (ID,GVC,*\r\n)
Note: in a closed-loop control mode, return speed value is the current output speed after deceleration,
the unit is r/min; in open loop control mode, the return parameter is the quantification speed set last
time.
For example, to get the M1 current speed
* Send: 1,GVC,1\r\n
* Returns: (current actual output speed)
3.16 Get the maximum rotation speed (ID,GVM,*\r\n)
In closed-loop control mode, the maximum speed of the motor is detected automatically in SET
mode after a deceleration maximum speed, the unit is r/min, when the user configuration speed is
higher than the value, the directive will not respond; in open loop control mode, the maximum speed