Wiki source code of 2. Installation and connection

Last modified by Admin on 2025/03/18 12:51

Show last authors
1 (% 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;" %)
2 = Installation and connection =
3
4 == Safety rules ==
5
6 To perform the protection functions, the BMS must be able to disconnect the battery from the load and charger. To do this, **at least one contactor** able to break the load and charge circuits must be connected to the BMS.
7
8 Before use, **configure the system**. Proper operation of the BMS is possible only if it is correctly configured.
9
10 (% class="box errormessage" %)
11 (((
12 The BMS can be connected to batteries with life-threatening and health-hazardous voltage levels. When working with high-voltage batteries, observe electrical safety regulations, use safety glasses, protective clothing, insulated tools and appliances. To prevent the damage of device avoid electrostatic discharges while working with the battery.
13 )))
14
15 (% class="box errormessage" %)
16 (((
17 The system is not designed to operate with batteries whose total voltage exceeds 1200 V.
18 )))
19
20 == Installation procedure ==
21
22 Overall and mounting dimensions of the BMS Main 2.1 are shown below.
23
24 [[image:1732198397369-222.png||data-xwiki-image-style-alignment="center" height="393" width="556"]]
25
26 (% style="width:494px" %)
27 |**Parameter**|(% style="width:178px" %)**Value**
28 |Overall dimensions (length × width × height), mm|(% style="width:178px" %)120 × 120 × 32
29 |Mounting dimensions (length × width), mm|(% style="width:178px" %)114 × 114
30 |Mounting holes|(% style="width:178px" %)M3
31
32 == Connection procedure ==
33
34 The mounting area of the BMS Main 2.1 must be protected from mechanical particles (dust, dirt, large objects) and water. The installation site must provide convenient access for subsequent connection to the device’s headers.
35
36 1. Connect the charging and discharging contactors to the P6-P9 headers.
37 1. Connect a current sensor to the P12 header according to its documentation. The positive current direction (indicated by an arrow on the sensor) corresponds to the battery charging. It is recommended to use a shielded cable to connect the current sensor, the shield should be grounded on the side of the current sensor. The cable should be positioned as far as possible from the high current circuits. If the current sensor has a reference voltage line, connect it to pin 4 of the P12 header.
38 1. Connect the BMS Main 2.1 to the on-board CAN network. Observe the rules for connecting CAN devices. If the BMS Main 2.1 is the last device on a bus, close pins 1-2 on the P21 jumper, otherwise leave the jumper on pins 2-3.
39 1. Connect a power supply to the P1 header. It is not recommended to power the BMS Main 2.1 from the battery only, since at a critical discharge of the battery, it is not possible to turn on the BMS and close the charging contactor.
40
41 == ​​​​Headers description ==
42
43 The BMS Main 2.1 headers are shown in figure below.
44
45 [[image:1731516393377-928.jpeg||alt="1731517946345-632.png" data-xwiki-image-style-alignment="center" height="417" width="451"]]
46
47 (% class="box warningmessage" %)
48 (((
49 **Attention!**
50 All headers are shown from the device side!
51 )))
52
53 === P1 – header for power supply ===
54
55 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
56
57 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
58
59 |**Pin**|**Name**|**Description**
60 |**1**|**GND**|Ground
61 |**2**|**V+**|Supply voltage 9-30V
62
63 === P15 – header for BMS Logic ===
64
65 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
66
67 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
68
69 |**Pin**|**Name**|**Description**
70 |**1**|**RS485_A**|RS-485 line A for communication with BMS Logic
71 |**2**|**RS485_B**|RS-485 line B for communication with BMS Logic
72 |**3**|**+5V**|Supply voltage for BMS Logic
73 |**4**|**GND**|Ground
74
75 === P12 – header for current sensor ===
76
77 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
78
79 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
80
81 |**Pin**|**Name**|**Description**
82 |**1**|**+5V**|Supply voltage for the current sensor 5V, max 50 mA
83 |**2**|**GND**|Ground
84 |**3**|**Vcs**|ADC input (current sensor output)
85 |**4**|**Vref**|ADC input (current sensor reference signal)
86
87 === P13 – header for humidity sensor ===
88
89 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
90
91 [[image:1732198896526-660.png||data-xwiki-image-style-alignment="center" height="70" width="64"]]
92
93 |**Pin**|**Name**|**Description**
94 |**1**|**+5V**|Supply voltage 5 V, max 50 mA
95 |**2**|**GND**|Ground
96 |**3**|**Vhs**|ADC input (humidity sensor output)
97 |**4**|**Vts**|ADC input (temperature sensor output)
98
99 === P8 – header of relay 1 ===
100
101 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
102
103 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
104
105 By default, relay 1 is used to control the discharging contactor.
106
107 |**Pin**|**Name**|**Description**
108 |**1**|**V+**|Switching voltage (up to 55V, max 3A)
109 |**2**|**NO**|Normally open contact
110
111 Contactor connection example for all relays:
112
113 [[image:1741619814065-850.png||height="189" width="252"]]
114
115 === P9 – header of relay 2 ===
116
117 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
118
119 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
120
121 By default, relay 2 is used to output the “Allow charging” signal.
122
123 |**Pin**|**Name**|**Description**
124 |**1**|**V+**|Switching voltage (up to 55V, max 3A)
125 |**2**|**NO**|Normally open contact
126
127 Contactor connection example: see relay 1.
128
129 === P6 – header of relay 3 ===
130
131 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
132
133 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
134
135 By default, relay 3 is used to control the charging contactor.
136
137 |**Pin**|**Name**|**Description**
138 |**1**|**V+**|Switching voltage up to 55V,
139 up to 8A (board rev. 2.1b), up to 3A (board rev. 2.1c)
140 |**2**|**NO**|Normally open contact
141
142 Contactor connection example: see relay 1.
143
144 === P7 – header of relay 4 ===
145
146 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
147
148 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
149
150 By default, relay 4 is used to control the heater.
151
152 |**Pin**|**Name**|**Description**
153 |**1**|**V+**|Switching voltage up to 55V,
154 up to 8A (board rev. 2.1b), up to 3A (board rev. 2.1c)
155 |**2**|**NO**|Normally open contact
156
157 Contactor connection example: see relay 1.
158
159 === P14 – header for CAN and RS-485 interfaces ===
160
161 Receptacle Housing: Molex 430250600. Terminals: Molex 43030
162
163 [[image:1731517180930-597.png||data-xwiki-image-style-alignment="center" height="81" width="113"]]
164
165 (% style="width:641px" %)
166 |**Pin**|**Name**|**Description**
167 |**1**|**EXT_RS485_A**|RS-485 line A for communication with external equipment
168 |**2**|**CAN_H**|CAN H line for communication with external equipment
169 |**3**|**+5V_CAN**|Supply voltage 5V for external devices, max 200 mA
170 |**4**|**EXT_RS485_B**|RS-485 line B for communication with external equipment
171 |**5**|**CAN_L**|CAN L line for communication with external equipment
172 |**6**|**GND_CAN**|Ground
173
174 === P21 – CAN termination resistor jumper ===
175
176 [[image:1731517188900-976.png||data-xwiki-image-style-alignment="center" height="78" width="149"]]
177
178 To connect the termination resistor between the lines **CAN_H** and **CAN_L**, install a jumper, according to the P21 pinout:
179
180 |**Pin**|**Name**|**Description**
181 |**1-2**|**120 Ohm**|Termination resistor 120 Ohm is connected
182 |**2-3**|**-**|Termination resistor 120 Ohm is not connected
183
184 === P22 - RS-485 termination resistor jumper ===
185
186 [[image:1731517195672-298.png||data-xwiki-image-style-alignment="center" height="81" width="155"]]
187
188 To connect the termination resistor between the **EXT_RS485_A** and **EXT_RS485_B** lines, install a jumper according to the P22 pinout:
189
190 |**Pin**|**Name**|**Description**
191 |**1-2**|**120 Ohm**|Terminating resistor 120 Ohm is connected
192 |**2-3**|**-**|Terminating resistor 120 Ohm is not connected
193
194 === P11 – header for discrete inputs/outputs ===
195
196 Receptacle Housing: Molex 430251600. Terminals: Molex 43030
197
198 [[image:1732198937514-731.png||data-xwiki-image-style-alignment="center" height="85" width="272"]]
199
200 |**Pin**|**Name**|**Description**
201 |**16**|**IN_1**|Discrete input #1 “dry contact” (+5V)
202 |**8**|**GND_1**|Discrete input #1 “dry contact” (ground)
203 |**15**|**IN_2**|Discrete input #2 “dry contact” (+5V)
204 |**7**|**GND_2**|Discrete input #2 “dry contact” (ground)
205 |**14**|**IN_3**|Discrete input #3 “dry contact” (+5V)
206 |**6**|**GND_3**|Discrete input #3 “dry contact” (ground)
207 |**13**|**IN_4**|Discrete input #4 “dry contact” (+5V)
208 |**5**|**GND_4**|Discrete input #4 “dry contact” (ground)
209 |**12**|**OUT_4**|Discrete output #4 (+5V, 20mA)
210 |**4**|**GND_OUT_4**|Discrete output #4 (ground)
211 |**11**|**OUT_3**|Discrete output #3 (+5V, 20mA)
212 |**3**|**GND_OUT_3**|Discrete output #3 (ground)
213 |**10**|**OUT_2**|Discrete output #2 (+5V, 20mA)
214 |**2**|**GND_OUT_2**|Discrete output #2 (ground)
215 |**9**|**OUT_1**|Discrete output #1 (+5V, 20mA)
216 |**1**|**GND_OUT_1**|Discrete output #1 (ground)
217
218 == Indicators ==
219
220 === DS1 – power indicator ===
221
222 |**State**|**Description**
223 |**Lights red**|The device is powered
224 |**Off**|The device is not powered
225
226 === DS2 – operation indicator ===
227
228 |**State**|**Description**
229 |**Blinking green**|The BMS firmware is running
230 |**Off**|The BMS firmware is not running
231
232 === DS3 – communication indicator ===
233
234 |**State**|**Description**
235 |**Blinking yellow (2Hz)**|Initializing communication with BMS Logic boards
236 |**Blinking yellow (25Hz)**|Communication with BMS Logic is established
237
238 === DS4 – error indicator ===
239
240
241 |(**State**|**Description**
242 |(**Blinking red**|Errors in communication with BMS Logic
243
244 === DS7 – relay 1 indicator ===
245
246 |**State**|**Description**
247 |**Lights green**|Relay #1 is closed
248 |**Off**|Relay #1 is opened
249
250 === DS8 – relay 2 indicator ===
251
252 |**State**|**Description**
253 |**Lights green**|Relay #2 is closed
254 |**Off**|Relay #2 is opened
255
256 === DS5 – relay 3 indicator ===
257
258 |**State**|**Description**
259 |**Lights green**|Relay #3 is closed
260 |**Off**|Relay #3 is opened
261
262 === DS6 – relay 4 indicator ===
263
264 |**State**|**Description**
265 |**Lights green**|Relay #4 is closed
266 |**Off**|Relay #4 is opened
267
268