3.2 Inputs and outputs

Version 3.1 by Admin on 2025/01/28 16:03

Configuration

Inputs and outputs

Discrete inputs

The BMS Main 3X 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:

1734022225578-818.png

The device supports the following assignments for discrete inputs:

  • No input – input is not used;
  • Battery cover – a signal from the battery cover;
  • 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;
  • Charging contactor feedback – a signal from charging contactor feedback loop;
  • Discharging contactor feedback – a signal from discharging contactor feedback loop;
  • Charging/Discharging contactor feedback – a signal from charging/discharging contactor feedback loop;
  • Insulation status – a signal from an insulation monitoring device;
  • Join to charge – a request to join (connect in parallel) battery modules to charge the battery;
  • Join to discharge – a request to join (connect in parallel) battery modules to discharge the battery;
  • Precharge contactor feedback – a signal from precharging contactor feedback loop;
  • Main contactor feedback – a signal from main contactor feedback loop;
  • Interlock – a signal from interlock loop;
  • Power down request – a request to power down the BMS.

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

1734022225583-740.png

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

1734022225584-474.png

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

1734022225585-775.png

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

  • Do nothing – power on device and do nothing;
  • Set “Join to discharge” – power on device and set “Join to discharge” signal immediately;
  • Set “Join to charge” – power on device and set “Join to charge” signal immediately;
  • 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 3X 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:

1734022225586-287.png

The device supports the following current sensor settings:

  • Calculate the battery current as the sum of battery modules currents – a flag that determines overall current as sum of battery modules currents (if flag is not set, device uses measurements from a physical current sensor);
  • 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, A;
  • 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, A;
  • 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.

Temperature sensors

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

1734022225587-758.png

In this section:

  • Type – a type of temperature sensors.

Output discrete signals

The BMS Main 3X device has 4 open drain 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:

1734022225588-223.png

The device supports the following assignments for discrete outputs:

  • No output – output is not used.
  • Charging – state of the charging contactor;
  • Discharging – state of the discharging contactor;
  • Charging/Discharging - state of the charging/discharging contactor;
  • Precharging – state of the precharging contactor;
  • Heater – a command to turn on a heater;
  • Cooler – a command to turn on a cooler;
  • Main contactor – state of the main contactor;
  • Critical error – a signal indicating there is a Critical error on BMS Main 3X;
  • General error (modules) – a signal indicating there is a General error on one of the modules;

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

1734022225589-659.png

Power switches

The BMS Main 3X 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:

1734022225590-811.png

The device supports the same switch assignments as discrete outputs.

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

1734022225591-262.png