Cytron Technologies SmartDriveDuo-30 User manual

SmartDriveDuo-30
MDDS30
User’s Manual
Rev 1.11
July 2019
Informaon contained in this publicaon regarding device applicaons and the like is intended through
suggeson only and may be superseded by updates. It is your responsibility to ensure that your applicaon
meets with your specificaons. No representaon or warranty is given and no liability is assumed by Cytron
Technologies Incorporated with respect to the accuracy or use of such informaon or infringement of
patents or other intellectual property rights arising from such use or otherwise. Use of Cytron Technologies’s
products as crical components in life support system is not authorized except with express wrien approval
by Cytron Technologies. No licenses are conveyed, implicitly or otherwise, under any intellectual property
rights.

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
INDEX
1. INTRODUCTION
2. PACKINGLIST
3. PRODUCTSPECIFICATIONS
4. BOARDLAYOUT
5. POWERSUPPLY
6. MOTORCONNECTION
7. SAFETYFEATURES
8. INPUTMODES
8.1. RC (Radio Control)
8.2. Microcontroller Analog/PWM
8.3. Serial Simpliied
8.4. Serial Packetized
9. WARRANTY
PAGES
2
3
4
6
8
9
10
11
13
15
17
19
21
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 1

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
1. INTRODUCTION
SmartDriveDuo-30 is one of the latest smart series motor drivers designed to drive medium
power brushed DC motor with current capacity up to 80A peak (few seconds) and 30A
connuously, each channel. This driver is designed specially for controlling differenal drive
mobile robot using RC controller. Nevertheless, MDDS30 also can be controlled using analog
joysck or microcontroller (PWM, Serial). MOSFETs are switched at 18 KHz to ensure quiet
operaon and no annoying whining sound. Besides, it also equipped with a microcontroller
unit to provide smart features such as mulple input mode and thermal protecon.
“SmartDriveDuo-30’s feature makes driving a robot with
differential drive a truly plug and play experience”
Some of the features for SmartDriveDuo-30 are summarized as below:
● Bi-direconal control for dual brushed DC motor.
● Support motor voltage from 7V to 35V.
● Maximum current up to 80A peak (1 second), 30A connuously, each channel.
● On board MOSFETs are switched at 18 KHz for quiet operaon.
● Baery low voltage indicator.
● Baery over voltage indicator.
● Thermal protecon.
● Current limit protecon.
● Mulple input modes: RC, Analog/PWM, Serial Simplified and Serial Packezed.
● On board push buons for fast test and manual operaon.
● NO POLARITY PROTECTION FOR V MOTOR.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 2

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
2. PACKING LIST
Please check the parts and components according to the packing list. If there are any parts
missing, please contact us at [email protected] immediately.
No
ITEMS
QUANTITY
1
SmartDriveDuo-30 (Code: MDDS30 )
1
2
Grove 4 Pin Buckled 20cm Cable (Code: WR-EX-GROVE )
2
3
2561 3 Ways Connector Extension Wire (Code: WR-EX-2561-03 )
2
Oponal External Fan (Not included):
No
ITEMS
QUANTITY
1
DC5V Brushless Fan 40 x 40 x 20mm (Code: FAN-05-040040020 )
1
2
PCB Stand (Screw & Screw) 30mm (Code: SD-SS-30 )
4
3
Bolt M3 x 25mm (Code: HD-PM-M3-25 )
4
4
M3 Nut (Code: HD-PM-M3-NUT )
4
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 3

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
MDDS30 boom cover:
Absolute Maximum Rang of SmartDriveDuo-30:
No
PARAMETERS
Min
Typ
Max
Unit
1
Input Voltage (Motor Supply Voltage)
7
–
35
V
2
I
MAX (Max Connuous Motor Current) *
–
–
30
A
3
I
PEAK (Peak Motor Current) **
–
–
80
A
4
V
IOH (Logic Input – HIGH Level)
1.3
–
5
V
5
V
IOL (Logic Input – LOW Level)
0
–
0.7
V
* Depends on the room temperature.
**Must not exceed 1 second.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 5

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
4. BOARD LAYOUT
LABEL
FUNCTION
A
MOTOR RIGHT LED INDICATOR
Indicaon for current flow and direcon for motor RIGHT. If LED MRA turns on, means current
flows from output MRA to MRB. Vice versa.
B
MOTOR RIGHT TERMINAL BLOCK
Connect to motor RIGHT at your mobile robot. User can screw to lock the wire to the terminal
block. Please use wire with proper thickness to support the expected current.
C
POWER SUPPLY TERMINAL BLOCK
Connect to baery power source. User can screw to lock the wire to the terminal block. NO
POLARITY PROTECTION , please double check the connecon before power up. Please use wire
with proper thickness to support the expected current.
D
MOTOR LEFT TERMINAL BLOCK
Connect to motor LEFT at your mobile robot. User can screw to lock the wire to the terminal
block or solder the wire directly to the pad at the boom layer. Please use wire with proper
thickness to support the expected current.
E
MOTOR LEFT LED INDICATOR
Indicaon for current flow and direcon for motor LEFT. If LED MLA turns on, means current
flows from output MLA to MLB. Vice versa.
F
COOLING FAN CONNECTOR
Oponal cooling fan (not included) can be connected here and mounted at the boom PCB. Pin
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 6

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
arrangement from le to right are as follows: NC, +ve (5V), -ve. The fan will be automacally ON
when the board’s temperature exceeds 50°C.
G
HEAT SINK
This area might be hot, please be careful.
H
RIGHT CHANNEL LED INDICATOR
RUN - Turns on when motor RIGHT is running. If signal error received for motor RIGHT, it will
blink.
ERR - Blinks at specific count if there have an error.
OC - Light up if overcurrent happened.
I
LEFT CHANNEL LED INDICATOR
RUN - Turns on when motor LEFT is running. If signal error received for motor LEFT, it will blink.
ERR - Blinks at specific count if there have an error.
OC - Light up if overcurrent happened.
J
POWER LED INDICATOR
Indicaon for board’s power.
K
MOTOR LEFT TEST BUTTON
Fast test to check driver funconality for motor LEFT. If MLA is pressed, current flows from
output MLA to MLB. Vice Versa.
L
MOTOR RIGHT TEST BUTTON
Fast test to check driver funconality for motor RIGHT. If MRA is pressed, current flows from
output MRA to MRB. Vice Versa.
M
RC INPUT PIN
This pins specially for RC receiver input wire. RC1 for forward/reverse and RC2 for steering.
N
ANALOG/PWM INPUT PIN (GROVE)
AN1 - Analog/PWM signal for motor LEFT.
AN2 - Analog/PWM signal for motor RIGHT.
NC - Not Connected
O
DIGITAL/SERIAL INPUT PIN (GROVE)
IN1 - Digital signal (direcon) for motor LEFT, or can be used for Serial mode.
IN2 - Digital signal (direcon) for motor RIGHT.
NC - Not Connected
P
MODE SELECTION DIP SWITCH
User can select different input mode by seng the DIP switch.
Q
RESET BUTTON
Press this buon will restart the system. This is useful if you want to change mode without
recycle power (turn off and on).
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 7

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
5. POWER SUPPLY
SmartDriveDuo-30 supports baery with input voltage ranges from 7V to 35V. The
recommended power sources are:
● 6 – 18 cells NiMH or NiCd baery.
● 3 – 6 cells LiPo or Li-Ion baery.
● 7V – 35V sealed lead acid baery.
● 7V – 35V power supply. MUST BE IN PARALLEL WITH A BATTERY WITH SAME VOLTAGE
The power source can be connected to SmartDriveDuo-30 either via the terminal block, or
soldered directly to the pad at the boom layer. THERE IS NO POLARITY PROTECTION ON
MDDS30, PLEASE DOUBLE CHECK THE CONNECTION BEFORE CONNECTING TO THE
BATTERY.
NOTE
If a power supply that cannot sink current is being used (example: bench top and AC to DC
switching power supply), the input voltage will rise when the driver is regenerang (motor
is slowing down, or being pushed by external force). Thus, it is important to connect a
baery with same voltage in parallel with the power supply to absorb the current
generated by the motor. Else, the input voltage might rise to a level where
SmartDriveDuo-30 can’t handle and it will be destroyed permanently or the power supply
trigger protecon mode.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 8

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
6. MOTOR CONNECTION
Similar to the power supply, connecon to the motor can be made either via the terminal
block, or it can be soldered directly to the boom layer pad.
For MIXED mode, especially for RC input mode , each terminal block must be connected to
the same side of the motor. For example, le terminal block connected to motor LEFT and
right terminal block connected to motor RIGHT. User can further test it by controlling the
motor by using RC controller. If the motor give wrong direcon, reverse the polarity of the
motor connecon at the terminal block.
WARNING!
IF YOU’RE DEVELOPING A MOBILE ROBOT, PLEASE TAKE NOTE ON THIS:
Pushing the robot without connecng the baeries to the driver is very risky and might
burn the motor driver. When the robot is being pushed, power will be generated by the
motor. If the baery is connected, the generated power will flow to the baery and charge
it. If the baery is not connected, the generated power has nowhere to go and the
voltage will rise. If the generated voltage is higher than what the motor driver can
handle, components may burn!
This condion is categorized under misuse, and
DAMAGED CAUSED BY MISUSE IS NOT COVERED UNDER WARRANTY
What you can do to move your robot from one place to another?
1. If you plan to push/pull the robot, please make sure the baeries is connected to the
motor driver* or
2. disconnect the motor from the motor driver.
3. Use trolley to carry your robot. (Recommended)
* You will feel difficult to push the robot, because the motor driver is in brake state.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 9

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
7. SAFETY FEATURES
SmartDriveDuo-30 incorporates some safety features which make it robust and reliable
motor driver. Below are the detailed descripons for each feature.
1. InputError ( ErrorLED blinks 2 times)
Every me SmartDriveDuo-30 is power up, the input data must be ‘stop’ (for RC, Analog,
PWM input mode). This feature prevent the driver from sudden run, especially when the
driver accidently reset.
2. UnderVoltageWarning ( ErrorLED blinks 3 times)
Upon power on, SmartDriveDuo-30 will automacally detect the number of cells for the
baery. If it is set to LiPo, when the input voltage falls below 3.0V per cell during
operaon, the error LED will blink to warn the user. However, the power to the motor
will be maintained and will not be cut out. Thus, it is user’s responsibility to stop the
motor driving and replace baery to avoid further damage to the baery. If other types
of baery is used to power the board (e.g NiMH, NiCD, SLA), the under voltage warning
will sll be shown. In this case, user may ignore the warning and he/she needs to
esmate when to replace the baery by him/herself.
3. OverVoltageProtection ( ErrorLED blinks 4 times)
If over voltage is detected (> 35V), SmartDriveDuo-30 will not operate.
4. OverTemperatureProtection ( ErrorLED blinks 5 times)
SmartDriveDuo-30 is equipped with a temperature sensor to monitor its operang
temperature. It will gradually lower down the duty cycle percentage base on the
temperature as shown below:
TEMPERATURE(°C)
MAXCURRENT(A)
< 50
80
50 - 70
50
70 - 100
40
> 100
30
WARNING!
MDDS30 does not come with REVERSE POLARITY PROTECTION, please double check the
connecon before powering up.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 10

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
8. INPUT MODES
When the SmartDriveDuo-30 is powered up, RUN (Le), ERR (Le), RUN (Right) and ERR
(Right) LEDs will running once. Aer that, the input mode will be read from the DIP switch
and retained as long as the driver is powered. If you wish to change the input mode, you will
need to change the seng on the DIP switch and press the RESET buon , or power cycle the
driver (turn it off and turn it on again).
NOTE
In Jan 2019 , MDDS30 is released as Rev1.10 . The firmware is updated. Please check
secon 8.1 RC (Radio Controlled) for the detailed update. There is Revision scker on
MDDS30 Rev1.10 as shown below.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 11

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
SmartDriveDuo-30 supports four different types of input mode:
1. RC (Radio Control).
2. Microcontroller Analog/PWM.
3. Serial Simplified.
4. Serial Packezed.
The DIP switch sengs for each mode and the funcon for input pin are summarized on the
table below.
DIP Switch
1
2
3
4
5
6
RC
0
0
CHANNEL
00 - Mixed
01 - Independent Right
10 - Independent Le
11 - Independent Both
0 - Linear
1 - Exponenal
0 - RC
1 - MCU
Analog
0
1
0 - Locked An-Phase
1 - Signed Magnitude
PWM
1
0
Serial
Simpliied
1
1
0
BAUDRATE
000 - 1200
001 - 2400
010 - 4800
011 - 9600
100 - 19200
101 - 38400
110 - 57600
111 - 115200
Serial
Packetized
1
1
1
ADDRESS
Start from 000 (Decimal: 0) to 111 (Decimal: 7)
DIP Switch
7
8
RC
BATTERY MONITOR
00 - LiPo (Lithium Polymer)
01 - NiMH (Nickel-Metal Hydride)
10 - SLA (Sealed Lead Acid)
11 - Off
Analog
PWM
SerialSimpliied
SerialPacketized
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 12

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
8.1 RC (Radio Controlled)
In RC input mode, the speed and direcon of the motor is controlled by the signal from the
standard hobby radio control transmier and receiver, or a microcontroller generang the
similar signal.
NOTE
The RC transmier must be ON before power up the SmartDriveDuo-30.
RC Input mode is selected by seng the SW1 & SW2 to 0 (Down). SW3 – SW6 can be
configured depending on the requirement of the user.
InputMode
SW1:SW2
00
RC INPUT MODE
Singleor
MixedMode
SW3:SW4
00
01
10
11
MIXED
The motor speed is controlled by channel RC1 and direcon is controlled
by channel RC2. Recommended this mode if controlled using RC
transmier/receiver.
INDEPENDENT RIGHT
Only motor Right will acve, motor Le will inacve. Motor Right is
controlled by channel RC2.
INDEPENDENT LEFT
Only motor Le will acve, motor Right will inacve. Motor Le is
controlled by channel RC1.
INDEPENDENT BOTH
Both motor is acve and can be controlled individually through channel
RC1 and RC2. Recommended this mode if controlled using
Microcontroller.
Exponential
Mode
SW5
0
1
OFF
The speed is linear with the input signal. This is for low to medium speed
motor.
ON
The response to input is exponenal and thus soen the control around
the center zero speed point. This is suitable for high speed and very
sensive motor.
MCUMode
(Rev 1.00)
SW6
0
OFF
The center point will be calibrated upon power up. Timeout occurs aer
lost of signal for 100ms and the motor will be stopped for safety
purpose.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 13

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
1
ON
The center point is fixed at 1.5ms and the meout feature is disabled.
Motor will connue to run with previous speed if new signal is not
detected. This is useful when a microcontroller is used to control the
motor. The microcontroller does not need to send the pulse connuously
to the SmartDriveDuo-30. Instead, it only needs to send a single pulse
when the speed or direcon of the motor needs to be changed.
FullRange
Mode
(Rev1.10)
Replacing
MCUmodein
Rev1.00
SW6
0
1
OFF
The max speed of the motor will be reached at around half of the
throle. Let say the center of throle is 1.5ms, and max for both sides
are 1ms and 2ms. The max speed can be achieved at 1.25ms and 1.75ms
respecvely. This will provide faster response to motor in combat game
and it is the default mode in Rev1.00.
ON
The max speed of the motor will be reached at full of throle. Let say
the center of throle is 1.5ms, and max for both sides are 1ms and 2ms.
The max speed can be achieved at 1ms and 2ms respecvely. This is
addional mode (replacing MCU mode) in revision 1.10 .
0 - OFF 1 - ON X - Don’t care
Common DIP switch sengs for RC input mode
● RC Mode with RC transmier/receiver (Mixed)
ON
1
2
3
4
5
6
7
8
*Sample connecon for MDDS30 with RC receiver. The channels on RC receiver is depend on
your RC controller’s seng.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 14

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
8.2 Microcontroller Analog/PWM
In Analog/PWM input mode, the speed and direcon 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 Specificaons ).
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 unl the correct (stop) signal is
available.
Stop signal for Analog
Sign-Magnitude - 0V
Locked An-Phase - 2.5V
Stop signal for PWM
Sign-Magnitude - 0% duty cycle
Locked An-Phase - 50% duty cycle
Analog input mode is selected by seng SW1 to 0 (Down) and SW2 to 1 (Up). PWM input
mode is selected by seng SW1 to 1 (Up) and SW2 to 0 (Down). SW3 – SW6 can be
configured depending on the requirement of the user.
InputMode
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.
Singleor
MixedMode
SW3:SW4
00
01
10
11
MIXED
The motor speed is controlled by channel AN1 and direcon is controlled
by channel AN2.
INDEPENDENT RIGHT
Only motor Right will acve, motor Le will inacve. Motor Right is
controlled by channel IN2 and AN2.
INDEPENDENT LEFT
Only motor Le will acve, motor Right will inacve. Motor Le is
controlled by channel IN1 and AN1.
INDEPENDENT BOTH
Both motor is acve and can be controlled individually through channel
IN1 & AN1 for motor Le, and IN2 & AN2 for motor Right.
*28/10/21, we noced that this mode has bugs. The output
for both channels is different (opposite) even though we
provide the same input. Any update we will menon here.
Sorry for the inconvenience caused.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 15

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
Exponential
Mode
SW5
0
1
OFF
The speed is linear with the input signal. This is for low to medium speed
motor.
ON
The response to input is exponenal and thus soen the control around
the center zero speed point. This is suitable for high speed and very
sensive motor.
MCUMode
SW6
0
1
LOCKED ANTI-PHASE
Motor stops when the input signal is 2.5V. Motor moves in one direcon
when the input is < 2.5V (0 - 2.5V) and in another direcon when the
input is > 2.5V (2.5 - 5V).
SIGNED MAGNITUDE
AN1 and AN2 controls the speed of the motor. Motor stops when the
input is 0V and run at full speed when the input is 5V. IN1 and IN2 is
digital inputs and it controls the direcon of the motor respecvely.
0 - OFF 1 - ON X - Don’t care
Common DIP switch sengs for PWM input mode
● PWM input mode with microcontroller (Independent Both)
ON
1
2
3
4
5
6
7
8
*Sample connecon for MDDS30 with CT UNO (or Arduino/Genuino Uno ) and Base Shield
V2 . This connecon is recommended for beginner.
** Arduino Uno library and sample code is provided at the following link - GitHub .
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 16

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
8.3 Serial Simplified
In Serial Simplified mode, SmartDriveDuo-30 is controlled by using the UART interface. IN1
pin is connected to the UART receive pin. IN2, AN1 and AN2 pins are not used in this mode.
Serial Simplified mode is selected by seng SW1, SW2 to 1 (Up) and SW3 to 0 (Down). SW4
– SW6 can be configured depending on the requirement of the user.
InputMode
SW1-SW3
110
SERIAL SIMPLIFIED MODE
UART
Baudrate
SW4-SW6
000
001
010
011
100
101
110
111
1200
2400
4800
9600
19200
38400
57600
115200
0 - OFF 1 - ON X - Don’t care
A single byte of data is all you need to control the speed and direcon for each motor. First
MSB bit is to select which motor to control, and the rest bits is to control.
BIT
7
MSB
6
5
4
3
2
1
0
LSB
FUNCTION
Channel
Direcon
Speed
Bit 7 (Channel):
● 0 for selecng motor LEFT.
● 1 for selecng motor RIGHT.
Bit 6 (Direcon):
● 0 to set motor direcon to CW.
● 1 to set motor direcon to CCW.
Bit 0 - 5 (Speed):
● 0b 000000 or 0 (decimal) to stop.
● 0b 111111 or 63 (decimal) to full speed.
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 18

ROBOT.HEAD to TOE
Product User’s Manual - MDDS30
Example Serial Simplified data:
Binary bits
Decimal
7
6
5
4
3
2
1
0
1.
0
0
0
0
0
0
0
0
0
motor LEFT stop.
2.
0
0
1
1
1
1
1
1
63
motor LEFT full speed CW.
3.
0
1
0
0
0
0
0
0
64
motor LEFT stop.
4.
0
1
1
1
1
1
1
1
127
motor LEFT full speed CCW.
5.
1
0
0
0
0
0
0
0
128
motor RIGHT stop.
6.
1
0
1
1
1
1
1
1
191
motor RIGHT full speed CW.
7.
1
1
0
0
0
0
0
0
192
motor RIGHT stop.
8.
1
1
1
1
1
1
1
1
255
motor RIGHT full speed CCW.
Common DIP switch sengs for Serial Simplified mode
● Serial Simplified mode with microcontroller (Baudrate: 9600bps)
ON
1
2
3
4
5
6
7
8
*Sample connecon for MDDS30 with CT UNO (or Arduino/Genuino Uno ) and Base Shield
V2 . This connecon is recommended for beginner.
** Arduino Uno sample code is provided at the following link - GitHub .
Created by CytronTechnologiesSdnBhd – All Rights Reserved
Back to INDEX 19
This manual suits for next models
1
Table of contents
Other Cytron Technologies DC Drive manuals