Torqeedo Electric Motors

../_images/torqeedo.jpg

Rover-4.2.0 (and higher) support controlling a single Torqeedo 1103 electric motor (and probably other torqeedo motors) using its custom serial RS485 protocol

Warning

The torqeedo driver is a work-in-progress and the parameters and interface may change. Currently only one motor can be controlled although this will likely be resolved before the official release.

Some images from this page are courtesy of torqeedo.com

What to Buy

AutoPilot connection

The autopilot can be connected to either the battery’s tiller connector or to the motor connector. If the torqeedo’s built-in battery will be used then the autopilot should be connected to the tiller connector. If instead a separate battery will be used then the autopilot should be connected to the motor connector (and the built-in battery can be removed)

../_images/torqeedo-connector-options.png

An interface board should be assembled using the parts mentioned above and connected as shown below. The image on the left shows the wiring if the tiller connector is used, the image on the right is for use of the motor connector

../_images/torqeedo-autopilot-connection.png

Warning

If the motor connector method is used with non-torqeedo batteries, be sure to use batteries with built-in short circuit protection. During early development and testing of this interface we managed to burn out a motor which resulted in a short circuit within the motor. A short circuit especially with large batteries could lead to a fire and serious injury.

Below are pictures of the modified motor extension cable and Running Electronics RS483-to-TTL converter board

../_images/torqeedo-motor-cable-small-annotated.jpg ../_images/torqeedo-running-electronics-adapter-small.jpg

Configuration

Please set the following parameters

  • TRQD_TYPE = 1 (Tiller) if the autopilot will be connected to the tiller connector or 2 (Motor) if connected to the motor connector
  • SERIAL1_PROTOCOL = 39 (Torqeedo) if the Torqeedo is connected to serial port 1. If another serial port is used please set the appropriate SERIALx_PROTOCOL parameter
  • SERIAL1_BAUD = 19 (19200 bps) if using serial port 1. If another serial port is used please set the appropriate SERIALx_BAUD parameter instead

If a serial port with flow control pins (clear-to-send and ready-to-send) is used no further parameter settings are required. If serial port without flow-control is used then please set

  • TRQD_ONOFF_PIN = 54 (AUX5) and connect the autopilot’s AUX5 pin to the interface’s board’s MOSFET
  • TRQD_DE_PIN = 55 (AUX6) and connect the autopilot’s AUX6 pin to the RS485<->TTL converter’s DE and RE pins

Logging and Reporting

By default “TRQD” messages are written to the onboard log every 5 seconds including

  • Health : whether the autopilot is successfully controlling the motor
  • MotSpeed : the last desired speed sent to the motor as a number from -1000 to +1000
  • SuccCnt : the number of messages successfully consumed from the motor (this should rise steadily)
  • ErrCnt : the number of bytes or messages that were corrupted or could not be processed (this should be a relatively low number)

This same information can be sent to the ground station by setting TRQD_OPTIONS = 3

Introduction Video