3.2 Inputs and outputs

Version 5.1 by Admin on 2024/12/24 15:25

Configuration

Inputs and outputs

​​​​​​Discrete inputs

The BMS Main 3 device has 6 discrete inputs that detect signal line closing to the virtual ground, and 2 inputs that detect 9-32V input voltage. For each discrete input, its assignment and inversion flag are set.

Also, BMS has two additional configurable inputs named “KEYRUN” and “CHARGE_ON”, each serves 9-32V input voltage. Those inputs serve as power buttons with additional functions that can be set.

Assignments of discrete inputs are configured in the "Signals → Input discrete signals → Assignments" section:

1733320685766-185.png

The device supports the following assignments for discrete inputs:

  • No input – input is not used;
  • Battery cover – a signal from the battery cover;
  • Charger connected – a signal indicating that charger is connected;
  • Power up/down request – a request to power down the device;
  • Inhibit charging – a command to open the charging contactor;
  • Inhibit discharging – a command to open the discharging contactor;
  • CH contactor feedback – a signal from charging contactor feedback loop;
  • DCH contactor feedback – a signal from discharging contactor feedback loop;
  • Insulation status – a signal from an insulation monitoring device;
  • Charge request – a request to close the charging contactor;
  • Precharge request – a request to close the precharging contactor;
  • Discharge request – a request to close the discharging contactor;
  • PCH contactor feedback – a signal from precharging contactor feedback loop;
  • CH/DCH contactor feedback – a signal from charging/discharging contactor feedback loop;
  • Main contactor feedback – a signal from main contactor feedback loop;
  • Interlock – a signal from interlock loop;
  • Fuse 1, Fuse 2, Fuse 3 – signals from fuses;
  • Circuit breaker status – status of protection disconnector;
  • Balancing request – a request to balance the cells;
  • Close Main contactor – a request to close the main contactor.

Inversion flags for discrete inputs are configured in the "Signals → Input discrete signals → Inversion" section:

1733320685770-300.png

The behavior of “KEYRUN” signal can be configured in the "Signals → Input discrete signals → KEYRUN mode" section:

1733320685772-445.png

The behavior of “CHARGE_ON” signal can be configured in the "Signals → Input discrete signals → CHARGE_ON mode" section:

1733320685772-786.png

In both “KEYRUN mode” and “CHARGE_ON mode“ sections:

  • Do nothing – power on device and do nothing;
  • Set “Discharge request” – power on device and set “Discharge request” signal immediately;
  • Set “Charge request” – power on device and set “Charge request” signal immediately.

Current sensor

The BMS Main 3 device has an ability to measure battery current by 3 external Hall-Effect current sensors.

Current sensor settings are configured in the "Signals → Current sensor" section:

1733320685773-566.png

The device supports the following current sensor settings:

  • Connection – type of multiple sensors connection
    • One sensor (#1) – only first sensor is used to measure the battery current;
    • Two sensors (#1 and #2) in parallel – sensors are connected in parallel (the total battery current equals the sum of two sensors);
    • Two sensors (#1 and #2) in different branches – sensors located in two halves of the battery (used in batteries with a middle point);
  • Sensor 2, 3: Enable – a flag to enable the second of third current sensor;
  • Sensor 1, 2, 3: Nominal current – rated current Inom of the sensor according to the datasheet, А;
  • Sensor 1, 2, 3: Sensitivity – sensitivity of the current sensor according to the datasheet, V / Inom.;
  • Sensor 1, 2, 3: Invert – invert the sign of the measured value;
  • Sensor 1, 2, 3: Multiply charging current (experimental) – an experimental flag for scaling the charging current by given multiplier;
  • Sensor 1, 2, 3: Multiplier for charging current – charging current multiplier;
  • Sensor 1, 2, 3: REF_IN2 mode – mode of additional analog line:
    • Not connected;
    • Reference line – reference output of the sensor;
    • Low range (for the dual range sensor) - a second output of a dual-range sensor (for example, LEM DHAB series);
  • Sensor 1, 2, 3: Low range nominal current - rated current Inom of the low current line of dual range sensor according to the datasheet, А;
  • Sensor 1, 2, 3: Low range sensitivity – sensitivity of the low current line of dual range sensor according to the datasheet, V / Inominal.;
  • Sensor 1, 2, 3: Threshold for low range – a threshold current value at which the device uses the readings of the high current sensor instead of low current, A;
  • Calibrate – a flag to calibrate (find a 0A point) the current sensor when the device is started;
  • Calibration time – calibration time of the current sensor, millisecond;
  • Recalibrate current sensor – a command to calibrate the current sensor manually.

Shunt sensor (CAN bus)

The BMS Main 3 device has an ability to measure battery current via a shunt sensor, connected to the CAN bus.

Note: The shunt sensor communication protocol can be provided by request.

Shunt sensor settings are configured in the "Signals → Shunt sensor (CAN bus)" section:

1733320685776-802.png

The device supports the following shunt sensor settings:

  • Enable – a flag to start interaction with the BMS Current Sensor (if interaction is enabled, then BMS doesn’t use Hall-Effect current sensor which settings are described in the section "Signals → Current sensor");
  • Node ID – an address of BMS Current Sensor in the CANopen network;
  • Invert – a flag to invert current measurements;
  • Receive timeout – a timeout for receiving messages from the BMS Current Sensor (if no data is being received from the current sensor during this time, the “Shunt offline” flag is set), millisecond;
  • Mean value threshold – TM level, A (if module of instantaneous current (II) which is received from the shunt sensor is between TM and T0, the BMS will use mean value of current IM; if II is greater than TM, the BMS will use instantaneous value of current II);
  • Zero threshold – T0 level, A (if module of instantaneous current (II) which is received from the shunt sensor is lower than T0, the BMS will assume that current flowing through the battery is zero);

Temperature sensors

Temperature sensors settings are configured in the "Signals → Temperature sensors" section:

1733320685777-354.png

In this section:

  • Type – a type of temperature sensors.

Output discrete signals

The BMS Main 3 device has 4 open drain type outputs. For each discrete output, its assignment and inversion flag are set.

Assignments of discrete outputs are configured in the "Signals → Output discrete signals → Assignments" section:

1733320685778-896.png

The device supports the following assignments for discrete outputs:

  • No output – output is not used.
  • Low SOC – a signal corresponding the low SOC of the battery;
  • High charging current – charging current is high;
  • Main contactor – state of the main contactor;
  • Charging – state of the charging contactor;
  • Allow charging – a signal for a charger to start charging;
  • Charging current present – the presence of the charging current;
  • Precharging – state of the precharging contactor;
  • Discharging – state of the discharging contactor;
  • Discharging current present – the presence of the discharging current;
  • Discharging (AUX) – state of the auxiliary discharging contactor;
  • Power down ACK – an acknowledgement of BMS power down. Acknowledgement is outputted when the charge and discharge contactors have been opened on power down request;
  • Charging/discharging - state of the charging/discharging contactor;
  • Heater – a command to turn on a heater;
  • Cooler – a command to turn on a cooler;
  • Balancing 1 – balancing the first series of cells;
  • Balancing 2 – balancing the second series of cells;
  • Ready to charge – the battery is ready to be charged;
  • Ready to discharge – the battery is ready to be discharged;
  • Power up – an indication of BMS power status.
  • General error – state of the configurable (general) error.

Inversion flags for discrete outputs are configured in the "Signals → Output discrete signals → Inversion" section:

1733320685780-193.png

Power switches

The BMS Main 3 device has 6 power switches to drive contactors. For each switch, its assignment and inversion flag are set.

Assignments of power switches are configured in the "Signals → Power switches → Assignments" section:

1733320685782-487.png

The device supports the same switch assignments as discrete outputs.

Inversion flags for switches are configured in the “Signals → Power switches → Inversion” section:

1733320685783-267.png