Wiki source code of 3.3 Input and output signals

Version 11.3 by Admin on 2024/11/21 16:04

Hide last authors
Admin 3.3 1 == 3.3.1 Input signals ==
Admin 1.1 2
Admin 4.7 3 The BMS Main 2.x board has 4 discrete inputs of the "dry contact" type. For each discrete input, its purpose and the inversion requirement are specified. The following discrete input assignment options are supported:
Admin 2.2 4
Admin 3.3 5 * no signal;
6 * signal from battery cover;
7 * charger connected;
8 * power up/down request;
9 * inhibit charging;
10 * inhibit discharging;
11 * CH contactor feedback;
12 * DCH contactor feedback;
13 * Insulation status;
14 * Charge request;
15 * Precharge request;
16 * Discharge request;
17 * PCH contactor feedback;
18 * CH/DCH contactor feedback;
19 * Main contactor feedback.
Admin 2.2 20
Admin 3.4 21 If the "Signal from the battery cover" assignment is selected, the discrete input is used to monitor the state of the battery cover (see section Battery cover protection).
Admin 2.2 22
Admin 3.4 23 if the "Charger connected" assignment is selected, the discrete input is involved in the algorithms of charge and discharge control (see sections Charge control and Discharge control).
Admin 2.2 24
Admin 3.4 25 If the "Power up/down request" assignment is selected, the discrete input is involved in the algorithms of opening the charging and discharging relays and sending acknowledgment of power down to the external equipment (see sections Charge control and Discharge control).
Admin 3.3 26
Admin 3.4 27 If the “Inhibit charging” assignment is selected, the discrete input is used to open the charging relay.
Admin 3.3 28
Admin 3.4 29 If the “Inhibit discharging” assignment is selected, the discrete input is used to open the discharging relay.
Admin 3.3 30
31 If the “CH contactor feedback”, “DCH contactor feedback”, “PCH contactor feedback”, “CH/DCH contactor feedback” or “Main contactor feedback” assignment is selected, the discrete input is involved in monitoring the corresponding contactor’s feedback signal (see section Contactor feedback check).
32
33 If the “Charge request”, “Precharge request” or “Discharge request” assignment is selected, the discrete input is used to control opening the corresponding contactor (see sections Charge control and Discharge control).
34
35 If the “Insulation status” assignment is selected, the discrete input is used to monitor a signal from an external insulation monitoring device (see section Insulation monitoring).
36
Admin 11.2 37
Admin 3.3 38 BMS Main 2.x board has 4 analog inputs for connecting current, temperature and humidity sensors. **Assignment of analog inputs must be selected as follows**:
39
Admin 6.2 40 * Analog Input #1 – Current sensor;
Admin 4.7 41 * Analog Input #2 – No input / Current sensor reference line / Current sensor (2nd range) (see note);
42 * Analog Input #3 – No input / Temperature sensor / Current sensor (AUX);
43 * Analog Input #4 – No input / Humidity sensor / Current reference line (AUX) / Current sensor (2nd range) (AUX).
Admin 3.3 44
45 (% class="box warningmessage" %)
46 (((
47 **Important**: the connection of an additional current sensor (AUX) is possible for special hardware revision of the BMS Main 2.x board. Using an additional current sensor is possible in the configuration when BMS Main serves two galvanically isolated cell series (see section Series balancing).
48 )))
49
50 (% class="box warningmessage" %)
51 (((
Admin 3.4 52 **Warning: **reassignment of analog inputs is **unacceptable.**
Admin 3.3 53 )))
54
Admin 3.4 55 (% class="box infomessage" %)
56 (((
Admin 4.3 57 **Note:** The default setting for Analog input #2 is "No signal". If it is necessary to use a current sensor with an additional zero level signal, set the "Current sensor reference line" assignment.
Admin 3.4 58 )))
59
60 To configure the input discrete and analog signals, select the menu "Signals → Input signals":
Admin 4.2 61
62 [[Input signals section>>image:1732201986070-992.png||data-xwiki-image-style-alignment="center" height="290" width="272"]]
63
Admin 4.3 64 The order of the numbering of the discrete and analog inputs corresponds to the order of the numbering on the board.
Admin 4.2 65
66 In this section:
67
68 * Discrete inputs:
69 ** No input;
70 ** Battery cover – a signal from the battery cover trailer;
71 ** Charger connected – a signal from the charger connector;
72 ** Power up/down request – a signal from the external power monitor which is used for proper powering BMS up or down;
73 ** Inhibit charging – a command to open the charging relay;
74 ** Inhibit discharging – a command to open the discharging relay;
75 ** CH contactor feedback – a feedback signal from the charging contactor;
76 ** DCH contactor feedback – a feedback signal from the discharging contactor;
77 ** Insulation status – a signal from an external insulation monitoring device;
78 ** Charge request – a request for closing the charging contactor;
79 ** Precharge request – a request for closing the precharging contactor;
80 ** Discharge request – a request for closing the discharging contactor;
81 ** PCH contactor feedback – a feedback signal from the precharging contactor;
82 ** CH/DCH contactor feedback – a feedback signal from the charging/discharging contactor;
83 ** Main contactor feedback – a feedback signal from the main contactor.
84 * Analog inputs:
85 ** No input;
86 ** Current sensor;
87 ** Current zero level;
88 ** Temperature sensor;
89 ** Humidity sensor;
90 ** Current sensor (AUX) – additional current sensor for measuring current in a series of cells;
91 ** Current zero level (AUX) – zero level bus for additional current sensor.
92
Admin 4.3 93 === 3.3.2 Current sensor ===
Admin 4.2 94
95 After selecting the assignment of the analog inputs, you need to configure the parameters of the sensors connected to the board.
Admin 4.3 96
97 To configure the current sensor parameters, select the menu "Signals → Current sensor":
Admin 6.2 98
99 [[Current sensor settings>>image:1732202357233-620.png||data-xwiki-image-style-alignment="center" height="453" width="284"]]
100
101
102 In the «Primary sensor» и «Auxiliary sensor» sections:
103
104 * Sensor type – drop-down menu with supported sensor types;
105 * Nominal current – rated current of the sensor according to the datasheet, А;
106 * Sensitivity – sensitivity of the current sensor according to the datasheet, V / I,,nominal.,,;
107 * Zero level – level "0A" of the current sensor, V;
108 * Multiply the charging current (experimental) – experimental flag for scaling the charging current by given multiplier;
109 * Multiplier – charging current multiplier;
110
111 In the «Options» section:
112
113 * Calibrate sensor on startup – calibration flag (zero level setting) of the current sensor when the board is started;
114 * Calibration time – calibration time of the current sensor, second;
115 * System consumption (current offset) – consumption of the BMS system from the battery, A; This setting is used to adjust the current sensor;
116 * Set sensor zero level – command set the zero level of the current sensor (used for service purposes).
117
Admin 7.2 118 (% class="box infomessage" %)
119 (((
Admin 7.4 120 If the "Sensor type" is selected, the “Nominal current” and “Sensitivity” fields are automatically filled.
121 If the "Sensor type" has no necessary preset, the “Nominal current” and “Sensitivity” parameters must be **manually **entered.
Admin 7.2 122 )))
Admin 6.2 123
Admin 8.2 124 Calibration of the current sensor (“Calibrate sensor on startup” flag) is necessary if the sensor does not have a reference line (zero level signal).
125
126 === 3.3.3 Current shunt sensor ===
127
128 To configure the shunt current sensor parameters, select the menu "Signals → Current shunt sensor":
129
Admin 8.3 130 [[Shunt sensor settings>>image:1732202640889-562.png||data-xwiki-image-style-alignment="center" height="342" width="265"]]
131
132 In this section:
133
134 * Settings:
135 * Enable – a flag to start interaction with BMS Current Sensor (if interaction is enabled then BMS doesn’t use Hall-Effect current sensor which settings are described in the menu "Signals → Current sensor");
136 * Node ID – an address of BMS Current Sensor in CANopen network;
137 * Dispatch timeout – timeout of dispatching packages from BMS Current Sensor (if no data is being received from current sensor during this time, the “Shunt offline” flag is set), millisecond;
138 * Zero level threshold – T,,0,, level, A (if module of instantaneous current (I,,I,,) which is received from shunt sensor is lower than T,,0,,, BMS will assume that current flowing through the battery is zero);
139 * Mean level threshold – TM level, A (if module of instantaneous current (I,,I,,) which is received from shunt sensor is between T,,M,, and T,,0,,, BMS will use mean value of current I,,M,,; if I,,I,, is greater than T,,M,,, BMS will use instantaneous value of current I,,I,,);
140 * Invert – a flag to invert current values;
141 * Sensor state:
142 ** Online – a flag showing that the communication with the BMS Current Sensor is established;
143 ** Errors – a list of internal errors of the shunt sensor;
144 ** Current – an instantaneous value of current measured by the BMS Current Sensor, A (measuring frequency is 50 Hz);
145 ** Current (mean) – a mean value of current measured by the BMS Current Sensor, A (the value is calculated as an average of 100 consistent measurements);
146 ** Temperature – a temperature of the shunt sensor, °C.
147
Admin 8.5 148 === 3.3.4 Temperature sensor ===
149
150 To configure the temperature sensor parameters, select the menu "Signals → Temperature sensor":
Admin 9.2 151
152 [[Temperature sensors settings>>image:1732204766138-628.png||data-xwiki-image-style-alignment="center" height="112" width="256"]]
153
154
155 In this section:
156
157 * Type – type of temperature sensors.
158 * Mask -
159
160 (% class="box infomessage" %)
161 (((
162 **Note:** Temperature sensors connected to the BMS Main 2.x and BMS Logic boards must be the same type.
163 )))
Admin 10.2 164
Admin 10.3 165 === 3.3.5 Humidity sensor ===
Admin 10.2 166
167 To set the humidity sensor parameters, select the menu "Signals → Humidity sensor":
168
Admin 10.3 169 [[Humidity sensor settings>>image:1732204899160-307.png||data-xwiki-image-style-alignment="center" height="120" width="195"]]
170
171 In this section:
172
173 * Type – type of the humidity sensor.
174
175 === 3.3.6 Output signals ===
Admin 11.2 176
177 The BMS Main 2.x board has 4 discrete outputs. For each discrete output, its purpose and inversion requirement are specified. The following discrete output assignment options are supported:
178
179 * No output;
180 * Low SOC;
181 * Hgh battery charge current;
182 * Cooler;
183 * Heater;
184 * Allow charging;
185 * Precharging;
186 * Acknowledgement of power down;
187 * Power up.
188
189 If the "Low SOC" assignment is selected, the output indicates the low battery charge level (see section Low SOC signal).
190
191 If the "High battery charge current" assignment is selected, the output indicates that the charging current exceeds the predefined value (see section High charging current signal).
192
193 If the "Cooler" assignment is selected, the output indicates the overheating of the battery (see section Temperature protection).
194
195 If the "Heater" assignment is selected, the output indicates the low battery temperature signal (see section Temperature protection).
196
197 If the "Allow charging" assignment is selected, the output is used to give the charger the allowance to charge the battery (see section Charge control).
198
199 If the "Precharging" assignment is selected, the output is used to charge the capacitive load (see section Discharge control).
200
201 If the "Acknowledgement of power down" assignment is selected, the output is used to acknowledge power down of the BMS. Acknowledgement is outputted when the charge and discharge relays have been opened on power down request (see sections Charge control and Discharge control).
202
203 If the "Power up" assignment is selected, the output is used to indicate the power status of BMS (see section Power down control).
204
205
206 The BMS Main 2.x board has 4 solid-state relays (#1 and #2 of them are bipolar, and the #3 and #4 are unipolar). For each relay, its purpose and inversion requirement are specified. The following relay assignment options are supported:
207
208 * No relay;
209 * Charging;
210 * Discharging;
211 * Allow charging;
212 * Cooler;
213 * Heater;
214 * Precharging;
215 * Balancing series 1;
216 * Balancing series 2;
217 * Discharging (AUX);
218 * Main contactor;
219 * Power up.
220
221 If the "Charging" assignment is selected, the relay is used to charge the battery (see section Charge control).
222
223 If the "Discharging" assignment is selected, the relay is used to connect battery to the load (see section Discharge control).
224
225 If the "Allow charging" assignment is selected, the relay is used to give the charger an allowance to charge the battery (see section Charge control).
226
227 If the "Cooler" assignment is selected, the relay receives a signal indicating overheating of the battery (see section Temperature protection) or the signal "Cooler" (see section Cooler control).
228
229 If the "Heater" assignment is selected, a low battery temperature signal is outputted to the relay (see section Temperature protection) or a signal "Heater" (see section Heater control).
230
231 If the "Precharging" assignment is selected, the relay is used to charge the capacitive load (see section Discharge control).
232
233 If the "Balancing series 1" assignment is selected, the relay is used to connect a balancing resistor to the cell series 1 (see section Series balancing).
234
235 If the "Balancing series 2" assignment is selected, the relay is used to connect a balancing resistor to the cell series 2 (see section Series balancing).
236
237 If the "Discharging (AUX)" assignment is selected, the relay is used to power external equipment (see section Powering external equipment).
238
239 If the "Main contactor" assignment is selected, the relay is used to close the main contactor in the common (minus) power bus.
240
241 If the "Power up" assignment is selected, the relay is used to close the contactor in the BMS Main power bus.
242
243 To configure output discrete signals and relays, select the menu "Signals → Output signals":
244
Admin 11.3 245 [[Output >>image:1732205046156-597.png||data-xwiki-image-style-alignment="center" height="346" width="295"]]