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 SX controller (24kxa1040-C00_00XTG-000BM), together with the description of the main components.

SX typical wiring schemeImage generated by Eeschema-SVGGNDIOUART COMCOMRXD32COMTXD33on / off switchphase_AAphase_BBphase_CCGNDIOGPIOsGPIO_GNDIO113IO+10V_OUT14IO+5V_OUT15GPIO121GPIO322IO+5V_OUT23GPIO029GPIO230GPIO431GPIO_GNDIO25GPIO_GNDIO363 hall sensorsVCCHALLUHALLVHALLWGNDCANGNDIOCANH16CANL24COMM_GNDIO3422k / 500mWON buttonGNDUART EXTEXT_GND1+5V_EXT10EXTTXD18EXTRXD26OFF buttonContactorGNDCONT-7CONT+8GNDPoweringKEY17POWER25POWER_GND9throttle single wayVCCOUT1GNDbatteryPLUSMINUSGNDPowerstagebatt++batt--phase_AAphase_BBphase_CCheatsinkhGNDMotor sensorTEMP11MSENS4(DIN1)12MSENS5(DIN2)19TEMP_GND2MSENS3(HALLW)20MSENS1(HALLU)27MSENS2(HALLV)28MSENS_GND3+5V_MSENS4note: two buttons can be replaced bySPDT switch or siliXcon VDS1 displayfuse insidethe controllernote: resistor preventsshortcut for simultaneouspush of both buttonsnote: 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: CAN terminator notconnected by default.It may be enabled by jumperunder the USB cover.controller HWID: esc5-sx1e_24kxa1040-C00_00XTG_000BMSX controllercontroller powering: flip-flopvehicleCAN networkEXT_GND1+5V_EXT10EXTTXD18EXTRXD26COMRXD32COMTXD33GPIO_GNDIO113IO+10V_OUT14IO+5V_OUT15GPIO121GPIO322IO+5V_OUT23GPIO029GPIO230GPIO431GPIO_GNDIO25GPIO_GNDIO36CANH16CANL24COMM_GNDIO34CONT-7CONT+8KEY17POWER25POWER_GND9TEMP11MSENS4(DIN1)12MSENS5(DIN2)19TEMP_GND2MSENS3(HALLW)20MSENS1(HALLU)27MSENS2(HALLV)28MSENS_GND3+5V_MSENS4batt++batt--phase_AAphase_BBphase_CCheatsinkh

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 analogue throttles which provide output signal in the range of 0 - 5 V. It can be a potentiometer, hall type or just an analogue 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.