ROBOT.HEAD to TOE
Product User’s Manual -
MDDS30
8.2 Microcontroller Analog/PWM
In Analog/PWM input mode, the speed and direction of the motor is controlled by the
analog voltage or PWM signal. For analog, the valid input range is from 0 to 5V. While for
PWM, it can accept TTL PWM from 1.3 to 5V for HIGH level (refer to
Product Specifications
).
NOTE
The Analog/PWM signal to stop the motor must be available when SmartDriveDuo-30 is
turned on/reset. Else, the driver will show Input Error until the correct (stop) signal is
available.
Stop signal for Analog
Sign-Magnitude -
0V
Locked Anti-Phase -
2.5V
Stop signal for PWM
Sign-Magnitude -
0%
duty cycle
Locked Anti-Phase -
50%
duty cycle
Analog input mode is selected by setting SW1 to 0 (Down) and SW2 to 1 (Up). PWM input
mode is selected by setting SW1 to 1 (Up) and SW2 to 0 (Down). SW3 – SW6 can be
configured depending on the requirement of the user.
Input Mode
SW1:SW2
01
10
ANALOG INPUT MODE
The input is analog signal. The filter capacitor is not connected and the
input signal is not filtered. SW1 is for Input 1 while SW2 is for Input 2.
PWM INPUT MODE
The input is PWM signal. The filter capacitor is connected and the input
signal is low pass filtered to be an analog signal. SW1 is for Input 1 while
SW2 is for Input 2. SW2 must be set to 0 if Sign-Magnitude mode is
turned on.
Single or
Mixed Mode
SW3:SW4
00
01
10
11
MIXED
The motor speed is controlled by channel AN1 and direction is controlled
by channel AN2.
INDEPENDENT RIGHT
Only motor Right will active, motor Left will inactive. Motor Right is
controlled by channel IN2 and AN2.
INDEPENDENT LEFT
Only motor Left will active, motor Right will inactive. Motor Left is
controlled by channel IN1 and AN1.
INDEPENDENT BOTH
Both motor is active and can be controlled individually through channel
IN1 & AN1 for motor Left, and IN2 & AN2 for motor Right.
Exponential
Mode
SW5
0
OFF
The speed is linear with the input signal. This is for low to medium speed
motor.
Created by
Cytron Technologies Sdn Bhd
– All Rights Reserved
Back to
INDEX
15