Wiki source code of 2. Installation and connection

Version 61.1 by Admin on 2025/03/10 15:18

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 == Installation procedure ==
5
6 Overall and mounting dimensions of the BMS Main 2.1 are shown below.
7
8 [[image:1732198397369-222.png||data-xwiki-image-style-alignment="center" height="393" width="556"]]
9
10 (% style="width:494px" %)
11 |**Parameter**|(% style="width:178px" %)**Value**
12 |Overall dimensions (length × width × height), mm|(% style="width:178px" %)120 × 120 × 32
13 |Mounting dimensions (length × width), mm|(% style="width:178px" %)114 × 114
14 |Mounting holes|(% style="width:178px" %)M3
15
16 == Connection procedure ==
17
18 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.
19
20 1. Connect the charging and discharging contactors to the P6-P9 headers.
21 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.
22 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.
23 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.
24
25 == ​​​​Headers description ==
26
27 The BMS Main 2.1 headers are shown in figure below.
28
29 [[image:1731516393377-928.jpeg||alt="1731517946345-632.png" data-xwiki-image-style-alignment="center" height="417" width="451"]]
30
31 (% class="box warningmessage" %)
32 (((
33 **Attention!**
34 All headers are shown from the device side!
35 )))
36
37 === P1 – header for power supply ===
38
39 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
40
41 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
42
43 |**Pin**|**Name**|**Description**
44 |**1**|**GND**|Ground
45 |**2**|**V+**|Supply voltage 9-30V
46
47 === P15 – header for BMS Logic ===
48
49 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
50
51 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
52
53 |**Pin**|**Name**|**Description**
54 |**1**|**RS485_A**|RS-485 line A for communication with BMS Logic
55 |**2**|**RS485_B**|RS-485 line B for communication with BMS Logic
56 |**3**|**+5V**|Supply voltage for BMS Logic
57 |**4**|**GND**|Ground
58
59 === P12 – header for current sensor ===
60
61 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
62
63 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
64
65 |**Pin**|**Name**|**Description**
66 |**1**|**+5V**|Supply voltage for the current sensor 5V, max 50 mA
67 |**2**|**GND**|Ground
68 |**3**|**Vcs**|ADC input (current sensor output)
69 |**4**|**Vref**|ADC input (current sensor reference signal)
70
71 === P13 – header for humidity sensor ===
72
73 Receptacle Housing: Molex 430250400. Terminals: Molex 43030
74
75 [[image:1732198896526-660.png||data-xwiki-image-style-alignment="center" height="70" width="64"]]
76
77 |**Pin**|**Name**|**Description**
78 |**1**|**+5V**|Supply voltage 5 V, max 50 mA
79 |**2**|**GND**|Ground
80 |**3**|**Vhs**|ADC input (humidity sensor output)
81 |**4**|**Vts**|ADC input (temperature sensor output)
82
83 === P8 – header of relay 1 ===
84
85 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
86
87 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
88
89 By default, relay 1 is used to control the discharging contactor.
90
91 |**Pin**|**Name**|**Description**
92 |**1**|**V+**|Switching voltage (up to 55V, max 3A)
93 |**2**|**NO**|Normally open contact
94
95 Contactor connection example for all relays:
96
97 [[image:1741619814065-850.png||height="189" width="252"]]
98
99 === P9 – header of relay 2 ===
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 2 is used to output the “Allow charging” signal.
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: see relay 1.
112
113 === P6 – header of relay 3 ===
114
115 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
116
117 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
118
119 By default, relay 3 is used to control the charging contactor.
120
121 |**Pin**|**Name**|**Description**
122 |**1**|**V+**|Switching voltage up to 55V,
123 up to 8A (board rev. 2.1b), up to 3A (board rev. 2.1c)
124 |**2**|**NO**|Normally open contact
125
126 Contactor connection example: see relay 1.
127
128 === P7 – header of relay 4 ===
129
130 Receptacle Housing: Molex 39012020. Terminals: Molex 5556
131
132 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
133
134 By default, relay 4 is used to control the heater.
135
136 |**Pin**|**Name**|**Description**
137 |**1**|**V+**|Switching voltage up to 55V,
138 up to 8A (board rev. 2.1b), up to 3A (board rev. 2.1c)
139 |**2**|**NO**|Normally open contact
140
141 Contactor connection example: see relay 1.
142
143 === P14 – header for CAN and RS-485 interfaces ===
144
145 Receptacle Housing: Molex 430250600. Terminals: Molex 43030
146
147 [[image:1731517180930-597.png||data-xwiki-image-style-alignment="center" height="81" width="113"]]
148
149 (% style="width:641px" %)
150 |**Pin**|**Name**|**Description**
151 |**1**|**EXT_RS485_A**|RS-485 line A for communication with external equipment
152 |**2**|**CAN_H**|CAN H line for communication with external equipment
153 |**3**|**+5V_CAN**|Supply voltage 5V for external devices, max 200 mA
154 |**4**|**EXT_RS485_B**|RS-485 line B for communication with external equipment
155 |**5**|**CAN_L**|CAN L line for communication with external equipment
156 |**6**|**GND_CAN**|Ground
157
158 === P21 – CAN termination resistor jumper ===
159
160 [[image:1731517188900-976.png||data-xwiki-image-style-alignment="center" height="78" width="149"]]
161
162 To connect the termination resistor between the lines **CAN_H** and **CAN_L**, install a jumper, according to the P21 pinout:
163
164 |**Pin**|**Name**|**Description**
165 |**1-2**|**120 Ohm**|Termination resistor 120 Ohm is connected
166 |**2-3**|**-**|Termination resistor 120 Ohm is not connected
167
168 === P22 - RS-485 termination resistor jumper ===
169
170 [[image:1731517195672-298.png||data-xwiki-image-style-alignment="center" height="81" width="155"]]
171
172 To connect the termination resistor between the **EXT_RS485_A** and **EXT_RS485_B** lines, install a jumper according to the P22 pinout:
173
174 |**Pin**|**Name**|**Description**
175 |**1-2**|**120 Ohm**|Terminating resistor 120 Ohm is connected
176 |**2-3**|**-**|Terminating resistor 120 Ohm is not connected
177
178 === P11 – header for discrete inputs/outputs ===
179
180 Receptacle Housing: Molex 430251600. Terminals: Molex 43030
181
182 [[image:1732198937514-731.png||data-xwiki-image-style-alignment="center" height="85" width="272"]]
183
184 |**Pin**|**Name**|**Description**
185 |**16**|**IN_1**|Discrete input #1 “dry contact” (+5V)
186 |**8**|**GND_1**|Discrete input #1 “dry contact” (ground)
187 |**15**|**IN_2**|Discrete input #2 “dry contact” (+5V)
188 |**7**|**GND_2**|Discrete input #2 “dry contact” (ground)
189 |**14**|**IN_3**|Discrete input #3 “dry contact” (+5V)
190 |**6**|**GND_3**|Discrete input #3 “dry contact” (ground)
191 |**13**|**IN_4**|Discrete input #4 “dry contact” (+5V)
192 |**5**|**GND_4**|Discrete input #4 “dry contact” (ground)
193 |**12**|**OUT_4**|Discrete output #4 (+5V, 20mA)
194 |**4**|**GND_OUT_4**|Discrete output #4 (ground)
195 |**11**|**OUT_3**|Discrete output #3 (+5V, 20mA)
196 |**3**|**GND_OUT_3**|Discrete output #3 (ground)
197 |**10**|**OUT_2**|Discrete output #2 (+5V, 20mA)
198 |**2**|**GND_OUT_2**|Discrete output #2 (ground)
199 |**9**|**OUT_1**|Discrete output #1 (+5V, 20mA)
200 |**1**|**GND_OUT_1**|Discrete output #1 (ground)
201
202 == Indicators ==
203
204 === DS1 – power indicator ===
205
206 |**State**|**Description**
207 |**Lights red**|The device is powered
208 |**Off**|The device is not powered
209
210 === DS2 – operation indicator ===
211
212 |**State**|**Description**
213 |**Blinking green**|The BMS firmware is running
214 |**Off**|The BMS firmware is not running
215
216 === DS3 – communication indicator ===
217
218 |**State**|**Description**
219 |**Blinking yellow (2Hz)**|Initializing communication with BMS Logic boards
220 |**Blinking yellow (25Hz)**|Communication with BMS Logic is established
221
222 === DS4 – error indicator ===
223
224
225 |(**State**|**Description**
226 |(**Blinking red**|Errors in communication with BMS Logic
227
228 === DS7 – relay 1 indicator ===
229
230 |**State**|**Description**
231 |**Lights green**|Relay #1 is closed
232 |**Off**|Relay #1 is opened
233
234 === DS8 – relay 2 indicator ===
235
236 |**State**|**Description**
237 |**Lights green**|Relay #2 is closed
238 |**Off**|Relay #2 is opened
239
240 === DS5 – relay 3 indicator ===
241
242 |**State**|**Description**
243 |**Lights green**|Relay #3 is closed
244 |**Off**|Relay #3 is opened
245
246 === DS6 – relay 4 indicator ===
247
248 |**State**|**Description**
249 |**Lights green**|Relay #4 is closed
250 |**Off**|Relay #4 is opened
251
252