Wiki source code of 3.2 Inputs and outputs

Version 3.2 by Admin on 2025/02/11 15:52

Hide last authors
Admin 2.1 1 (% data-numbered-headings-start="3" style="--numbered-headings-start: 2;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
2 = Configuration =
3
4 (% data-numbered-headings-start="2" style="--numbered-headings-start: 1;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %)
5 == Inputs and outputs ==
6
7 === Discrete inputs ===
8
9 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.
10
11 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.
12
13 Assignments of discrete inputs are configured in the "Signals → Input discrete signals → Assignments" section:
14
15 [[image:1734022225578-818.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="153" width="600"]]
16
Admin 3.2 17 A list of available discrete input assignments is available in [[Input signals>>doc:Battery management systems.Additional information.2\. Strings controllers\: signals and errors.WebHome||anchor="HInputsignals"]].
Admin 2.1 18
19 Inversion flags for discrete inputs are configured in the "Signals → Input discrete signals → Inversion" section:
20
21 [[image:1734022225583-740.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="600"]]
22
23 The behavior of “KEYRUN” signal can be configured in the "Signals → Input discrete signals → KEYRUN mode" section:
24
25 [[image:1734022225584-474.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="87" width="600"]]
26
27 The behavior of “CHARGE_ON” signal can be configured in the "Signals → Input discrete signals → CHARGE_ON mode" section:
28
29 [[image:1734022225585-775.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="89" width="600"]]
30
31 In both “KEYRUN mode” and “CHARGE_ON mode” sections:
32
33 * Do nothing – power on device and do nothing;
34 * Set “Join to discharge” – power on device and set “Join to discharge” signal immediately;
35 * Set “Join to charge” – power on device and set “Join to charge” signal immediately;
36 * Set “Discharge request” – power on device and set “Discharge request” signal immediately;
37 * Set “Charge request” – power on device and set “Charge request” signal immediately.
38
39 === Current sensor ===
40
41 The BMS Main 3X device has an ability to measure battery current by **3 external Hall-Effect current sensors**.
42
43 Current sensor settings are configured in the "Signals → Current sensor" section:
44
45 [[image:1734022225586-287.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="178" width="600"]]
46
47 The device supports the following current sensor settings:
48
49 * 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);
50 * Connection – type of multiple sensors connection
51 ** One sensor (#1) – only first sensor is used to measure the battery current;
52 ** Two sensors (#1 and #2) in parallel – sensors are connected in parallel (the total battery current equals the sum of two sensors);
53 ** Two sensors (#1 and #2) in different branches – sensors located in two halves of the battery (used in batteries with a middle point);
54 * Sensor 2, 3: Enable – a flag to enable the second of third current sensor;
55 * Sensor 1, 2, 3: Nominal current – rated current I,,nom,, of the sensor according to the datasheet, A;
56 * Sensor 1, 2, 3: Sensitivity – sensitivity of the current sensor according to the datasheet, V / I,,nom.,,;
57 * Sensor 1, 2, 3: Invert – invert the sign of the measured value;
58 * Sensor 1, 2, 3: Multiply charging current (experimental) – an experimental flag for scaling the charging current by given multiplier;
59 * Sensor 1, 2, 3: Multiplier for charging current – charging current multiplier;
60 * Sensor 1, 2, 3: REF_IN2 mode – mode of additional analog line:
61 ** Not connected;
62 ** Reference line – reference output of the sensor;
63 ** Low range (for the dual range sensor) - a second output of a dual-range sensor (for example, LEM DHAB series);
64 * Sensor 1, 2, 3: Low range nominal current - rated current I,,nom,, of the low current line of dual range sensor according to the datasheet, A;
65 * Sensor 1, 2, 3: Low range sensitivity – sensitivity of the low current line of dual range sensor according to the datasheet, V / I,,nominal.,,;
66 * 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;
67 * Calibrate – a flag to calibrate (find a 0A point) the current sensor when the device is started;
68 * Calibration time – calibration time of the current sensor, millisecond;
69 * Recalibrate current sensor – a command to calibrate the current sensor manually.
70
71 === Temperature sensors ===
72
73 Temperature sensors settings are configured in the "Signals → Temperature sensors" section:
74
75 [[image:1734022225587-758.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="58" width="600"]]
76
77 In this section:
78
79 * Type – a type of temperature sensors.
80
81 === Output discrete signals ===
82
83 The BMS Main 3X device has **4 open drain outputs**. For each discrete output, its assignment and inversion flag are set.
84
85 Assignments of discrete outputs are configured in the "Signals → Output discrete signals → Assignments" section:
86
87 [[image:1734022225588-223.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="131" width="600"]]
88
Admin 3.2 89 A list of available discrete output assignments is available in [[Internal signals>>doc:Battery management systems.Additional information.2\. Strings controllers\: signals and errors.WebHome||anchor="HInternalsignals"]].
Admin 2.1 90
91 Inversion flags for discrete outputs are configured in the "Signals → Output discrete signals → Inversion" section:
92
93 [[image:1734022225589-659.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="118" width="600"]]
94
95
96 === Power switches ===
97
98 The BMS Main 3X device has **6 power switches to drive contactors**. For each switch, its assignment and inversion flag are set.
99
100 Assignments of power switches are configured in the "Signals → Power switches → Assignments" section:
101
102 [[image:1734022225590-811.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="145" width="600"]]
103
104 The device supports the same switch assignments as discrete outputs.
105
106 Inversion flags for switches are configured in the “Signals → Power switches → Inversion” section:
107
108 [[image:1734022225591-262.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="600"]]
109
110