Skip to main content
FW version: Stable

Typical wiring diagram

warning

Incorrect wiring – risk of malfunction/damage to equipment

This section provides a typical wiring diagram. The integrator can modify the configuration of the diagram according to their needs and requirements. Creating the wiring diagram for the end application is the responsibility of the integrator.

Below is the typical scheme for the standard variant of the SC controller (24dxa1040-C20_JEF21-A10BC), together with the description of the main components.

SC typical wiring schemeImage generated by Eeschema-SVGCAN connectorGNDIOCOMGND1CANH2CANL3phase_AAphase_BBphase_CCGNDUSBUSBDP1USBDM2USBGND3USB+5V43 hall sensorsVCCHALLUHALLVHALLWGNDbatteryPLUSMINUSon / off switch22k / 500mWthrottle single wayVCCOUT1GNDOFF buttonGNDPowerstagebatt++batt--phase_AAphase_BBphase_CCheatsinkhControl I/O 1 connectorGNDIOIOGND1GPIO12GPIO03IO+5V4Control I/O 2 connectorGNDIOIO+10V1GPIO42GPIO33GPIO24IO+3V5IOGND6IOGND7IO+5V8GNDMotor sensor connectorHALLV/SIN1HALLU/COS2HALLW/COM3TEMP4HALL+5V5ENCB/DATA6HALLGND7ENCA8GNDUART EXTEXTGND1EXTTXD2EXTRXD3EXT+10V4Digital OUT1 connectorGNDCONT+1CONT-2GNDIOUART COMCOMGND1COMTXD2COMRXD3COM+5V4GNDPower connectorKEY1POWER2GND3ON buttonnote: order of hall u/v/w is notimportant. It will be detectedautomatically with identrunBattery contains BatteryManagement System withshortcut protection(e.g. fuse or semiconductordisconnect switch)note: two buttons can be replaced bySPDT switch or siliXcon VDS1 displaynote: CAN terminationresistor not presentfuse insidethe controllercontroller HWID: esc3-sc1i_24dxa1040-C20_JEF21-A10BCTODO: grounds really connected?SC controllercontroller powering: flip-flopnote: resistor preventsshortcut for simultaneouspush of both buttonsvehicleCAN networkbatt++batt--phase_AAphase_BBphase_CCheatsinkhIOGND1GPIO12GPIO03IO+5V4IO+10V1GPIO42GPIO33GPIO24IO+3V5IOGND6IOGND7IO+5V8HALLV/SIN1HALLU/COS2HALLW/COM3TEMP4HALL+5V5ENCB/DATA6HALLGND7ENCA8COMGND1CANH2CANL3COMGND1COMTXD2COMRXD3COM+5V4USBDP1USBDM2USBGND3USB+5V4EXTGND1EXTTXD2EXTRXD3EXT+10V4CONT+1CONT-2KEY1POWER2GND3phase_AAphase_BBphase_CC

Main DC fuse

Installing a fuse on the main battery lead is recommended to ensure protection in case of a short circuit on the power circuit. The fuse is typically connected between the battery + terminal and the + lead on the controller side.

The selection of a suitable fuse is the integrator's responsibility. It is recommended that the short-circuit fuse ideally blows within approximately 2 - 3 seconds when the DC current passing through it reaches twice the DC current value for peak power at the specified voltage of the end application.

Main switch

The controller's logic circuit is powered through the KEY pin. In this case, the KEY pin is connected to the battery + through the internal fuse.

The controller is turned ON by rising edge (positive pulse) on the POWER pin and it is turned OFF by falling edge (negative pulse) on the POWER pin. Controller retains its last state due to the flip-flop functionality (it keeps itself ON or OFF even when the POWER pin is disconnected / left floating). Rising and falling edge is generated by momentary connection of the POWER pin to the KEY or GND pins. There are several ways, how to achieve that:

  • use two momentary buttons
  • use one SPDT switch
  • use siliXcon VDS1 display
info

The total length of the wires to the main switch should be shorter than 10m.

Motor

info

A motor with permanent magnets induces voltage (back-EMF) while spinning. This voltage is directly proportional to the motor's revolutions per minute (rpm). When the motor operates beyond its nominal rpm, it is crucial to ensure that the amplitude of the back EMF remains below the non-operational overvoltage limit.

warning

High voltage – risk of personnel injury and/or damage to equipment

In this particular case, the motor is equipped with 3 hall sensors together with the motor winding temperature sensor. The used controller is in the motor sensor variant - 'a'. More technical details can be found in Motor position sensor and Motor temperature sensor chapters.

Throttle

The controller can process a wide range of analog throttles which provide output signal in the range of 0 - 5 V. It can be a potentiometer, hall type or just an analog signal provided by a voltage source.

The controller has also a dedicated +5 V power supply for the throttle. Detailed technical specifications can be found in this chapter.

CAN interface

The controller can be a part of the CAN system. CAN interface can be used for commanding the controller or for data exchange between the nodes.

Detailed technical specifications of the CAN interface can be found in this chapter.