Motor driver: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Motor driver assembly (dual MC33926))
Zeile 7: Zeile 7:
  
 
= Voltages =
 
= Voltages =
As in all modern systems, the Ardumower uses 24V motors.
+
As in all modern systems, Ardumower uses 24V motors.
  
= Wheel motors =
+
= Wheel motors wiring =
 
<gallery>
 
<gallery>
 
   File: ardumower_motor.jpg | Ardumower gear motor with encoder (8mm diameter, 5900 rpm motor, 0.055 Nm, gear ratio 1/212, output torque 2.45Nm, output rpm 31)
 
   File: ardumower_motor.jpg | Ardumower gear motor with encoder (8mm diameter, 5900 rpm motor, 0.055 Nm, gear ratio 1/212, output torque 2.45Nm, output rpm 31)
 
   File: magnetic_encoder.PNG | Motor wiring
 
   File: magnetic_encoder.PNG | Motor wiring
 
   File: wheel_motor_diagram.png | Ardumower gear motor curve (motor only)
 
   File: wheel_motor_diagram.png | Ardumower gear motor curve (motor only)
  File:decrease_motor_noise.png | Decrease motor noise
 
 
   File: ardumower_odometry_encoder.jpg | Encoder signal
 
   File: ardumower_odometry_encoder.jpg | Encoder signal
 
</gallery>
 
</gallery>
Zeile 27: Zeile 26:
 
* Integrated encoders, so it can measure the rotation speed and the distance
 
* Integrated encoders, so it can measure the rotation speed and the distance
 
* 24V  (load current ~1A)
 
* 24V  (load current ~1A)
 +
 +
Motor wiring (left motor):
 +
Motor (black)  ==== MC33926 M1OUT1
 +
Motor (red)    ==== MC33926 M1OUT2
 +
 +
For right motor, use MC33926 M2OUT(1,2) accordingly.
 +
 +
= Motor decrease noise =
 +
<gallery>
 +
  File:decrease_motor_noise.png | Decrease motor noise
 +
</gallery>
  
 
= Motor driver assembly (dual MC33926) =
 
= Motor driver assembly (dual MC33926) =
Zeile 47: Zeile 57:
 
* [https://www.youtube.com/watch?feature=player_embedded&v=DokrJiVzX2I Building video: Dual MC33926]
 
* [https://www.youtube.com/watch?feature=player_embedded&v=DokrJiVzX2I Building video: Dual MC33926]
 
* also see: Documentation in [https://github.com/Ardumower/ardumower/tree/master/Dokumentation Github]
 
* also see: Documentation in [https://github.com/Ardumower/ardumower/tree/master/Dokumentation Github]
 
Motor wiring (left motor):
 
Motor (black)  ==== MC33926 M1OUT1
 
Motor (red)    ==== MC33926 M1OUT2
 
 
For right motor, use MC33926 M2OUT(1,2) accordingly.
 
  
 
= Odometry wiring =
 
= Odometry wiring =
 +
<gallery>
 +
  File: magnetic_encoder.PNG | Motor wiring
 +
  File: ardumower_odometry_encoder.jpg | Encoder signal
 +
</gallery>
 +
 
Motor odometry wiring (left motor):
 
Motor odometry wiring (left motor):
 
  brown  ---- PCB VCC
 
  brown  ---- PCB VCC
Zeile 68: Zeile 77:
 
  odometry(4) --- 4.7k --- 5v
 
  odometry(4) --- 4.7k --- 5v
  
= Mower motor =
+
= Mower motor wiring =
 
<gallery>
 
<gallery>
 
File: ardumower_mower_motor.jpg | Ardumower mower motor
 
File: ardumower_mower_motor.jpg | Ardumower mower motor

Version vom 30. Mai 2016, 17:30 Uhr

Abstract

Ardumower uses two different types of motors (all motors can be purchased via the shop Shopping.png):

  • Two motors (with integrated gearing) for driving (wheel motors) with integrated encoders (for distance and speed control)
  • One motor (with high rotation speed) for mowing (mower motor)

To control the motors, it requires motor drivers. In addition, the motor driver measures the motor current, and allows us to detect obstacles as motor current increases at obstacles. Ardumower uses two dual MC33926 motor drivers, so two channels for left and right motor and two dual channels (connected in parallel) for the mowing motor.

Voltages

As in all modern systems, Ardumower uses 24V motors.

Wheel motors wiring

The two left and right gear motors are controlled independently (aka 'differential driving') to:

  • drive the robot forward/backward
  • steer the robot left/right

The Ardumower wheel motor features:

  • A rotation speed up to 31 rpm allows to move the robot at sufficient speed (at up to meter/sec = 31rpm/60 * PI * 0.25m = 0.4m/sec using 250mm diameter wheels)
  • A high torque (2.45Nm) guarantees that the robot can climb small hills as well (with 2 motors, 0.125 radius wheel, 31rpm = 0.4m/s, acceleration = 0.2 ( 1/2 of nomeinal speed) up to 14 degree) see calculator
  • Integrated encoders, so it can measure the rotation speed and the distance
  • 24V (load current ~1A)

Motor wiring (left motor):

Motor (black)  ==== MC33926 M1OUT1
Motor (red)    ==== MC33926 M1OUT2

For right motor, use MC33926 M2OUT(1,2) accordingly.

Motor decrease noise

Motor driver assembly (dual MC33926)

Features: up to 3A with integrated current sensor and thermal shut-down protection

Warning.pngProtector board is adviced to be used between controller and motor

Odometry wiring

Motor odometry wiring (left motor):

brown  ---- PCB VCC
green  ---- PCB GND
blue   ---- PCB OdometryLeft (3)
purple ---- PCB OdometryLeft (4)

For right motor, use PCB OdometryRight accordingly.

IMPORTANT: PCB v0.5/1.2 are missing pull-ups! You need to add them yourself:

odometry(3) --- 4.7k --- 5v
odometry(4) --- 4.7k --- 5v

Mower motor wiring

The Ardumower mower motor features:

  • Fast enough to cut the lawn (3150 rpm)
  • Enough torque (140 mNm / 46 W)
  • Quiet mowing (you cannot hear it)
  • 24V, load current ~1.0A (L=2.8mH, R=1.9ohm)

Warning.pngSecurity note: For security reasons, always remove mower blades in your first tests!


Motor wiring (mower motor):

black  ==== MC33926 M1OUT1
red    ==== MC33926 M1OUT2


Motor controller (PID)

The speed of the motors is controlled by a software PID controller. You can monitor the quality of the motor speed control via pfodApp (Plot->Motor control):