Actions

KAmod Motor Driver

Description

The KAmod Motor Driver is an electric motor controller for DC voltages up to 30 V. It allows the selection of the motor's direction of rotation and the adjustment of its power in the range 0...100%, which in practice is used for speed control. The control signal can be a voltage signal falling within one of 3 ranges: 0...3.3 V, 0...5 V or 0...10 V, or a PWM signal with an amplitude of 3.3 V, 5 V or 10 V. Such signals can be easily obtained from Raspberry, Arduino, Nucleo boards or from a simple potentiometer. The power stage is built with MOSFET transistors connected in an H-bridge arrangement, which ensures high output power and high efficiency of the controller.

KAmod Motor Driver f1.jpg
Basic features and parameters
  • Regulates motor power using PWM method
  • Allows motor operation in both directions
  • Motor power can be controlled by analogue or digital signal.
  • Analogue control signal can be in one of 3 ranges: 0...3.3 V, 0...5 V or 0...10 V
  • A digital control signal in the form of a PWM waveform should have a frequency in the range of 200 Hz... 50 kHz and an amplitude of 3.3 V, 5 V or 10 V.
  • Separate digital input to control the direction of motor rotation.
  • Soft start and soft stop function.
  • Stop function with limit sensor signal
  • Stop function with or without blocking of the motor shaft
  • Output frequency of PW signal
  • PWM output signal frequency: 750 Hz.
  • Overload protection (output current limitation).
  • Protection against overheating
  • DC voltage supply in the range 6...30 V
  • Maximum continuous motor current: 15 A
  • Buttons for quick testing
  • LEDs to indicate the operating status of the unit
Standard equipment
Code Description
KAmod Motor Driver Assembled and launched module
Electrical schematics
Sch motor uc.jpg
Sch motor drv.jpg
Sch motor vreg.jpg
Output power control
Connector Function
ADJ IN

Goldpin pins 3x1, 2,54 mm

  • Analog or digital control signal input
  • An analog signal is a voltage with an appropriate range of changes
  • The digital signal is a PWM signal with adjustable duty cycle
  • The connector has a voltage of 3.3 V

The ADJ IN connector pins perform the following functions:

  • V (pin 1, right) – 3.3 V voltage output that can be loaded with a current of up to 10 mA;
  • S (pin 2, middle) – analog or digital signal input, the maximum input voltage cannot exceed 16V;
  • G (pin 3, left) –ground of the system, the ground of the control signal should be connected.

The supplied analog signal must be in one of the 3 control ranges: 0...3.3 V; 0...5 V or 0...10 V. The output power of the motor controller will be proportional to the voltage applied to the S contact and depends on the selected control range. You can connect an ordinary potentiometer to the V, S, G contacts of the connector and thus regulate the output power.

Digital signal - PWM can have a frequency ranging from 200 Hz to 50 kHz, a duty cycle ranging from 0 to 100% and an amplitude of 3.3 V, 5 V or 10 V. The output power of the motor controller will be proportional to the duty cycle of the PWM signal .

The control range for both analog and digital signals is selected using the IN.RNG connector.

ADJ IN.jpg
Selection of the control signal amplitude range
Connector Function
IN.RNG

Goldpin pins 4x1, 2.54 mm

  • Setting the voltage range for analog and digital control signals

The control signal fed to the ADJ IN connector may come from various systems, development boards and SBC computers. The two most popular standards for the voltage level of digital systems are 3.3 V and 5 V. The analog signal used in home and industrial automation systems is a signal in the range of 0...10 V. In order for the KAmod Motor Driver to work properly with various systems, it must be set the correct voltage range for the control signal. The IN.RNG (input range) connector is used for this purpose.

Setting the jumper in one of 3 positions allows you to select 1 of 3 ranges:

  • valve on pins 1-2: voltage range for the control signal is 10 V;
  • valve on pins 2-3: voltage range for the control signal is 5 V;
  • valve on pins 3-4: voltage range for the control signal is 3.3 V.

The jumper position and corresponding voltage ranges are clearly marked on the motor controller board.

IN RNG.jpg
Output polarity control (direction of motor rotation)
Connector Function
DIR

Goldpin pins 3x1, 2.54 mm

  • Selection of the polarization of the output voltage, i.e. the direction of motor rotation

The direction of rotation of a typical DC motor depends on the polarity of the voltage supplying the motor. By reversing the polarity of the voltage, you can reverse the direction of motor rotation. The KAmod Motor Driver allows you to select the direction of motor rotation using the state on the DIR connector.

Setting the jumper in one of two positions allows you to select one of two directions - the polarity of the output voltage:

  • valve on pins 1-2 (on the right side): there will be a positive potential at the OUT 1 output, and a power supply ground at the OUT 2 output;
  • valve on pins 2-3 (on the left): the OUT 1 output will have a power supply ground, and the OUT 2 output will have a positive potential.

The DIR connector pins perform the following functions:

  • pin 1 (right) – 3.3 V voltage output, which can be loaded with a current of up to 10 mA;
  • pin 2 (middle) – input of a digital signal determining the direction;
  • pin 3 (left) – ground of the system, connect the ground of the control signal.

The DIR input is normally pulled up to 3.3V (pull-up). The state will change after applying ground to pin 2 or shorting pins 2-3. Voltage up to 6 V can be supplied to the input.



DIR.jpg
Forcing the engine to stop
Connector Function
LIMIT

Goldpin pins 3x1, 2.54 mm

  • Immediate engine stop
  • Setting the output power to 0%

Engine operation can be interrupted at any time. The output power is then set to 0% regardless of the control signal supplied to the ADJ IN input. After stopping using the LIMIT connector, restarting the engine is possible when one of 2 conditions is met:

  • the direction of rotation will be changed by changing the state on the DIR connector. The motor will start running in the opposite direction even if the LIMIT signal remains active when the direction is reversed.
  • the control signal on the ADJ IN connector will reach zero and the signal on the LIMIT connector will become inactive. After increasing the signal at the ADJ IN connector again, the motor will start running in any direction you set.

The state on the LIMIT connector is:

  • active when pins 2-3 (left side) are shorted;
  • inactive when pins 1-2 (right side) are shorted, or no pins are shorted.

The LIMIT connector pins perform the following functions:

  • pin 1 (right) – 3.3 V voltage output, which can be loaded with a current of up to 10 mA;
  • pin 2 (middle) – digital signal input activating the stop function;
  • pin 3 (left) – ground of the system, connect the ground of the control signal.

The LIMIT input is normally pulled up to 3.3V (pull-up). The active state will occur after applying ground to pin 2 or shorting pins 2-3. Voltage up to 6 V can be supplied to the input.



LIMIT.jpg
BRK/FRE – Wybór sposobu zatrzymania
Connector Function
BRK/FRE

Goldpin pins 3x1, 2.54 mm

  • Choice of stopping method – with or without braking

Stopping the engine using the LIMIT connector can be done in two ways:

  • freely,
  • with braking.

The BRK/FRE connector status allows you to select one of these options:

  • free stop - shorted pins 1-2 (right side). Power to the motor is disconnected and the motor decelerates to a stop;
  • stop with braking - pins 2-3 shorted (on the left). The motor's power is disconnected and its power terminals are shorted to ground, causing the motor to suddenly decelerate.


The activated stop function with braking means that when there is a zero control signal on the ADJ IN connector, the motor is also blocked - its power terminals are shorted to ground, which makes it much more difficult to rotate it using an external force.



BRK.jpg
Quick test buttons
Type Function
TEST

Microswitch buttons

  • Setting the output power to 100%, regardless of the signal level on the ADJ IN connector
  • Changing the direction of rotation when the DIR connector is not driven

The KAmod Motor Driver can be easily tested without applying control signals, using two miniature buttons located on the board:

  • TEST RUN – pressing the button sets the output power to 100%, regardless of the signal level on the ADJ IN connector;
  • TEST DIR – pressing the button changes the direction of rotation if the DIR connector is not controlled by an external signal.



TEST.jpg
Potentiometers for adjusting operating parameters
Type Function
SOFT START
CURR LIMIT

Miniature potentiometers

  • Set the speed of the soft start and soft deceleration functions
  • Setting the threshold for overload protection

The KAmod Motor Driver implements the SOFT START function, which includes:

  • soft start,
  • gentle speed increase,
  • gentle reduction of speed,
  • smooth change of the direction of rotation (with stages of gentle braking, stopping and gentle starting).

The operation of these solutions allows to reduce the load on the power source and limit the mechanical overload of the engine and mechanical elements connected to the engine. The intensity of the above functions is determined by the position of the potentiometer marked SOFT START. In the range from MIN to MAX, the startup time from 0% to 100% is adjustable from 1 to 4 seconds.

The KAmod Motor Driver implements the CURRENT LIMIT overload protection function, which protects the controller and the motor against too high current flow (the function does not guarantee protection against short circuit at the controller output). The current limit level is determined by the position of the potentiometer marked CURR LIMIT. In the range from MIN to MAX, the current value is adjusted from approx. 2 A to approx. 15 A. The limitation operation is indicated by the flashing of the red FLT LED.

SOFT CURR.jpg
Operating status indication
Type Function
OUT
FLT
STA

LEDs

  • OUT – signaling the presence of voltage at the output
  • STA – signaling of normal operation or active LIMIT function
  • FLT – overload or overheating signaling

OUT (Output) - The output voltage is signaled using two LEDs marked as OUT on the controller board. Each diode corresponds to one direction of rotation, but in the case of high-power motors, the energy induced in the motor during PWM control will cause both diodes to light up simultaneously. The diodes will glow brighter, the greater the output drive level.

STA (Status) - During normal controller operation, the green STA LED lights continuously. When the engine is forced to stop by a signal on the LIMIT connector, the STA LED will glow with short pulses, thus signaling that one of the stop state termination conditions must be met in order to start the engine.

FLT (Fault) - During normal operation, the red FLT LED is off. Lighting of the diode with short pulses means that the CURRENT LIMIT overload protection is working, i.e. limiting the current supplying the motor. When the FLT LED is lit continuously, the controller is turned off due to overload and/or overheating.

LED.jpg
Power and load
Connector Function
POW
OUT

DG35 screw connector, M3 22...12AWG

  • POW – connector for connecting power supply
  • OUT – connector for connecting a load

POW - The supply voltage connected to the POW connector must be in the range of 6...30 V. It is used to power the engine controller and the load connected to its output, e.g. a motor. For high-power loads, a power source with adequate capacity must be provided. The connector is equipped with M3 screws.

OUT - Connector enabling connection of a load, e.g. a DC electric motor, etc. The rated voltage of the motor must correspond to the voltage supplying the controller. The rated current of the motor should not exceed 15 A. The connector is equipped with M3 screws.

In the case of high-power loads, ensure that the diameter of the connection cables is large enough and the length of the connection cables is as short as possible.

POW OUT.jpg
Dimensions

The KAmod Motor Driver board has dimensions of 65x56 mm and a height of approx. 21 mm. The location of the mounting holes is shown in the drawing.

WYMIARY.jpg
External links