3.2 Входы и выходы

Редактировал(а) Admin 2025/01/28 14:31

Settings

Inputs and outputs

Дискретные входы

Устройство BMS Mini имеет 4 дискретных входа типа «сухой контакт». Для каждого дискретного входа задаётся его назначение и требование инверсии.

Назначения дискретных входов настраиваются в разделе «Signals → Input discrete signals → Assignments»:

1733743676787-110.png

Устройство поддерживает следующие назначения дискретных входов:

  • No input – вход не используется;
  • Battery cover – сигнал от крышки батареи;
  • Charger connected – сигнал о подключении разъёма зарядного устройства;
  • Power up/down request – запрос на включение/отключение питания BMS;
  • Inhibit charging – сигнал запрета заряда батареи;
  • Inhibit discharging – сигнал запрета включения нагрузки;
  • Insulation status – сигнал с внешнего устройства измерения изоляции;
  • Charge request – запрос на включение контактора заряда;
  • Precharge request – запрос на включение контактора предзаряда;
  • Discharge request – запрос на включение контактора разряда.

Требования инверсии для дискретных входов настраивается в разделе «Signals → Input discrete signals → Inversion»:

1733743676791-123.png

Датчик тока

Устройство BMS Mini имеет возможность измерять ток батареи с помощью внешнего датчика на эффекте Холла.

Настройки датчика тока находятся в разделе «Signals → Current sensor»:

1733743676792-692.png

В этом разделе:

  • Nominal current – номинальный ток Iном. датчика по паспорту, А;
  • Sensitivity – чувствительность датчика тока по паспорту, В/Iном.;
  • Invert – флаг инвертирования показаний датчика тока;
  • Calibrate – флаг калибровки (установки уровня «0») датчика тока при запуске устройства;
  • Calibration time – время калибровки датчика тока, с;
  • Recalibrate current sensor – команда для калибровки датчика тока;
  • Multiply the charging current (experimental) – экспериментальная настройка по умножению зарядного тока на заданный коэффициент;
  • Multiplier for charging current – коэффициент умножения зарядного тока;
  • Auxiliary line – дополнительная аналоговая линия:
    • Not connected – не используется
    • Current sensor reference line – к дополнительной линии подключен сигнал уровня нуля датчика тока;
    • AUX current sensor signal (in series) – к дополнительной линии подключен второй выход двухдиапазонного датчика серии DHAB;
    • AUX current sensor signal (parallel) – к дополнительной линии подключен второй датчик тока, установленный параллельно основному;
  • Nominal current (AUX) – номинальный ток Iном. дополнительного датчика по паспорту, А;
  • Sensitivity (AUX) – чувствительность дополнительного датчика тока по паспорту, В/Iном.;
  • Threshold (AUX) – пороговое значение тока, при котором устройство использует показания основного датчика тока (активирован режим «AUX current sensor signal (in series)»);
  • Invert (AUX) – флаг инверсии значения тока, измеренного дополнительным датчиком;
  • Multiply AUX charging current (experimental) – экспериментальная настройка по умножению зарядного тока, измеренного дополнительным датчиком, на заданный коэффициент;
  • Multiplier for AUX charging current – коэффициент умножения зарядного тока, измеренного дополнительным датчиком.

Shunt sensor (CAN bus)

The BMS Mini device has an ability to measure battery current via shunt sensor, connected to CAN bus.

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

1733743676793-251.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 CANopen network;
  • Invert – a flag to invert current values;
  • Receive timeout – a timeout for receiving messages from 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 sensor

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

1733743676794-795.png

In this section:

  • Type – a type of temperature sensors.

Output discrete signals

The BMS Mini device has four +5V digital 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:

1733743676795-962.png

The device supports the following digital output assignments:

  • No output – output is not used.
  • Cooler – a command to turn on a cooler;
  • Heater – a command to turn on a heater;
  • Allow charging – a signal for a charger to start charging;
  • Precharging – a signal to charge the capacitive load;
  • 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;
  • Power up – an indication of BMS power status.

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

1733743676796-673.png

MOSFETs

The BMS Mini device has four MOSFET switches to drive contactors. For each switch, its assignment and inversion flag are set.

Assignments of MOSFETs are configured in the "Signals → MOSFETs → Assignments" section:

1733743676797-285.png

The device supports the following switch assignments:

  • No output – switch is not used;
  • Charging – charging contactor;
  • Discharging – discharging contactor;
  • Heater – heater contactor;
  • Allow charging – a signal for a charger to start charging;
  • Precharging – precharge contactor;
  • Cooler – cooler contactor;
  • Discharging (AUX) – auxiliary discharging contactor;
  • Main contactor – main contactor;
  • Charging/Discharging – charging/discharging contactor;
  • Power up – power up contactor.

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

1733743676798-103.png

Feedback flags for contactors are configured in the “Signals → MOSFETs → Contactors feedback” section:

1733743676799-349.png

Wire resistance compensation

The BMS Mini is powered directly from the battery. This causes the voltages of the first and last battery cells to be measured with an error, the magnitude of which is proportional to the current drawn by the BMS and the resistance of the wires connecting these cells to the BMS. To compensate for the cell voltage measurement error, the BMS Mini provides a wire resistance setting.

Setting the resistance of the wires connecting the first and last cells of the battery with the BMS is performed in the “Signals → Wire resistance compensation” section:

1733743676800-295.png

In this section:

  • Wire resistance (Cell 0) – resistance of the wire connecting the “minus” of the first cell with the BMS Mini’s “ground”;
  • Wire resistance (Cell X) – resistance of the wire connecting the “plus” of the last cell with the BMS Mini power supply “plus”.