Wiki source code of 2. Installation and connection

Version 43.4 by Admin on 2024/11/29 12:33

Show last authors
1 == 2.1 Installation procedure ==
2
3 Overall and mounting dimensions of the BMS Main 2.1 are shown in Figure 29.
4
5 [[Dimensions of the BMS Main 2.1>>image:1732198397369-222.png||data-xwiki-image-style-alignment="center" height="393" width="556"]]
6
7 |**Parameter**|**Value**
8 |(((
9 Overall dimensions (length × width × height), mm
10 )))|120 × 120 × 32
11 |Mounting dimensions (length × width), mm|114 × 114
12 |Mounting holes|M3
13
14 == 2.2 Connection procedure ==
15
16 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.
17
18 1. Connect the charging and discharging contactors to the P6-P9 headers.
19 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.
20 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.
21 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.
22
23 == 2.3 ​​​​Headers description ==
24
25 The BMS Main 2.1 headers are shown in figure below.
26
27 [[The BMS Main 2.1 headers>>image:1731516393377-928.jpeg||alt="1731517946345-632.png" data-xwiki-image-style-alignment="center" height="417" width="451"]]
28
29 (% class="wikigeneratedid" %)
30 Following chapters describes the BMS Main 2.1 headers pinout.
31
32 === 2.3.1 P1 – header for power supply ===
33
34 [[image:1732198827034-560.png||height="78" width="41"]]
35
36 (% style="width:339px" %)
37 |(% style="width:71px" %)**Pin**|(% style="width:91px" %)**Name**|(% style="width:174px" %)**Description**
38 |(% style="width:71px" %)**1**|(% style="width:91px" %)**GND**|(% style="width:174px" %)Ground
39 |(% style="width:71px" %)**2**|(% style="width:91px" %)**V+**|(% style="width:174px" %)Supply voltage 9-30V
40
41 === 2.3.2 P15 – header for BMS Logic ===
42
43 [[image:1732198849079-697.png||height="77" width="71"]]
44
45 (% style="width:524px" %)
46 |(% style="width:69px" %)**Pin**|(% style="width:97px" %)**Name**|(% style="width:355px" %)**Description**
47 |(% style="width:69px" %)**1**|(% style="width:97px" %)**RS485_A**|(% style="width:355px" %)RS-485 line A for communication with BMS Logic
48 |(% style="width:69px" %)**2**|(% style="width:97px" %)**RS485_B**|(% style="width:355px" %)RS-485 line B for communication with BMS Logic
49 |(% style="width:69px" %)**3**|(% style="width:97px" %)**+5V**|(% style="width:355px" %)Supply voltage for BMS Logic
50 |(% style="width:69px" %)**4**|(% style="width:97px" %)**GND**|(% style="width:355px" %)Ground
51
52 === 2.3.3 P12 – header for current sensor ===
53
54 [[image:1732198890482-787.png||height="77" width="71"]]
55
56 (% style="width:531px" %)
57 |(% style="width:75px" %)**Pin**|(% style="width:93px" %)**Name**|(% style="width:360px" %)**Description**
58 |(% style="width:75px" %)**1**|(% style="width:93px" %)**+5V**|(% style="width:360px" %)Supply voltage for the current sensor 5V, max 50 mA
59 |(% style="width:75px" %)**2**|(% style="width:93px" %)**GND**|(% style="width:360px" %)Ground
60 |(% style="width:75px" %)**3**|(% style="width:93px" %)**Vcs**|(% style="width:360px" %)ADC input (current sensor output)
61 |(% style="width:75px" %)**4**|(% style="width:93px" %)**Vref**|(% style="width:360px" %)ADC input (current sensor reference signal)
62
63 === 2.3.4 P13 – header for humidity sensor ===
64
65 [[image:1732198896526-660.png||height="70" width="64"]]
66
67 (% style="width:531px" %)
68 |(% style="width:77px" %)**Pin**|(% style="width:92px" %)**Name**|(% style="width:359px" %)**Description**
69 |(% style="width:77px" %)**1**|(% style="width:92px" %)**+5V**|(% style="width:359px" %)Supply voltage 5 V, max 50 mA
70 |(% style="width:77px" %)**2**|(% style="width:92px" %)**GND**|(% style="width:359px" %)Ground
71 |(% style="width:77px" %)**3**|(% style="width:92px" %)**Vhs**|(% style="width:359px" %)ADC input (humidity sensor output)
72 |(% style="width:77px" %)**4**|(% style="width:92px" %)**Vts**|(% style="width:359px" %)ADC input (temperature sensor output)
73
74 === 2.3.5 P8 – header of relay 1 ===
75
76 [[image:1732198827034-560.png||height="78" width="41"]]
77
78 By default, relay 1 is used to control the discharging contactor.
79
80 (% style="width:527px" %)
81 |(% style="width:82px" %)**Pin**|(% style="width:91px" %)**Name**|(% style="width:351px" %)**Description**
82 |(% style="width:82px" %)**1**|(% style="width:91px" %)**V+**|(% style="width:351px" %)Switching voltage (up to 55V, max 2A)
83 |(% style="width:82px" %)**2**|(% style="width:91px" %)**NO**|(% style="width:351px" %)Normally open contact
84
85 === 2.3.6 P9 – header of relay 2 ===
86
87 [[image:1732198827034-560.png||height="78" width="41"]]
88
89 By default, relay 2 is used to output the “Allow charging” signal.
90
91 (% style="width:524px" %)
92 |(% style="width:89px" %)**Pin**|(% style="width:91px" %)**Name**|(% style="width:341px" %)**Description**
93 |(% style="width:89px" %)**1**|(% style="width:91px" %)**V+**|(% style="width:341px" %)Switching voltage (up to 55V, max 2A)
94 |(% style="width:89px" %)**2**|(% style="width:91px" %)**NO**|(% style="width:341px" %)Normally open contact
95
96 === 2.3.7 P6 – header of relay 3 ===
97
98 [[image:1732198827034-560.png||height="78" width="41"]]
99
100 By default, relay 3 is used to control the charging contactor.
101
102 (% style="width:524px" %)
103 |(% style="width:101px" %)**Pin**|(% style="width:88px" %)**Name**|(% style="width:332px" %)**Description**
104 |(% style="width:101px" %)**1**|(% style="width:88px" %)**V+**|(% style="width:332px" %)Switching voltage (up to 55V, max 8A)
105 |(% style="width:101px" %)**2**|(% style="width:88px" %)**NO**|(% style="width:332px" %)Normally open contact
106
107 === 2.3.8 P7 – header of relay 4 ===
108
109 [[image:1732198827034-560.png||height="78" width="41"]]
110
111 By default, relay 4 is used to control the heater.
112
113 (% style="width:530px" %)
114 |(% style="width:102px" %)**Pin**|(% style="width:93px" %)**Name**|(% style="width:332px" %)**Description**
115 |(% style="width:102px" %)**1**|(% style="width:93px" %)**V+**|(% style="width:332px" %)Switching voltage (up to 55V, max 8A)
116 |(% style="width:102px" %)**2**|(% style="width:93px" %)**NO**|(% style="width:332px" %)Normally open contact
117
118 === 2.3.9 P14 – header for CAN and RS-485 interfaces ===
119
120 [[image:1731517180930-597.png||height="81" width="113"]]
121
122 (% style="width:641px" %)
123 |(% style="width:107px" %)**Pin**|(% style="width:127px" %)**Name**|(% style="width:404px" %)**Description**
124 |(% style="width:107px" %)**1**|(% style="width:127px" %)**EXT_RS485_A**|(% style="width:404px" %)RS-485 line A for communication with external equipment
125 |(% style="width:107px" %)**2**|(% style="width:127px" %)**CAN_H**|(% style="width:404px" %)CAN H line for communication with external equipment
126 |(% style="width:107px" %)**3**|(% style="width:127px" %)**+5V_CAN**|(% style="width:404px" %)Supply voltage 5V for external devices, max 200 mA
127 |(% style="width:107px" %)**4**|(% style="width:127px" %)**EXT_RS485_B**|(% style="width:404px" %)RS-485 line B for communication with external equipment
128 |(% style="width:107px" %)**5**|(% style="width:127px" %)**CAN_L**|(% style="width:404px" %)CAN L line for communication with external equipment
129 |(% style="width:107px" %)**6**|(% style="width:127px" %)**GND_CAN**|(% style="width:404px" %)Ground
130
131 === 2.3.10 P21 – CAN termination resistor jumper ===
132
133 [[image:1731517188900-976.png||height="78" width="149"]]
134
135 To connect the termination resistor between the lines **CAN_H** and **CAN_L**, install a jumper, according to the P21 pinout:
136
137 (% style="width:643px" %)
138 |**Pin**|(% style="width:122px" %)**Name**|(% style="width:400px" %)**Description**
139 |**1-2**|(% style="width:122px" %)**120 Ohm**|(% style="width:400px" %)Termination resistor 120 Ohm is connected
140 |**2-3**|(% style="width:122px" %)**-**|(% style="width:400px" %)Termination resistor 120 Ohm is not connected
141
142 === 2.3.11 P22 - RS-485 termination resistor jumper ===
143
144 [[image:1731517195672-298.png||height="81" width="155"]]
145
146 To connect the termination resistor between the **EXT_RS485_A** and **EXT_RS485_B** lines, install a jumper according to the P22 pinout:
147
148 (% style="width:644px" %)
149 |**Pin**|(% style="width:121px" %)**Name**|(% style="width:402px" %)**Description**
150 |**1-2**|(% style="width:121px" %)**120 Ohm**|(% style="width:402px" %)Terminating resistor 120 Ohm is connected
151 |**2-3**|(% style="width:121px" %)**-**|(% style="width:402px" %)Terminating resistor 120 Ohm is not connected
152
153 === 2.3.12 P11 – header for discrete inputs/outputs ===
154
155 [[image:1732198937514-731.png||height="85" width="272"]]
156
157 (% style="width:584px" %)
158 |(% style="width:98px" %)**Pin**|(% style="width:157px" %)**Name**|(% style="width:326px" %)**Description**
159 |(% style="width:98px" %)**16**|(% style="width:157px" %)**IN_1**|(% style="width:326px" %)Discrete input #1 “dry contact” (+5V)
160 |(% style="width:98px" %)**8**|(% style="width:157px" %)**GND_1**|(% style="width:326px" %)Discrete input #1 “dry contact” (ground)
161 |(% style="width:98px" %)**15**|(% style="width:157px" %)**IN_2**|(% style="width:326px" %)Discrete input #2 “dry contact” (+5V)
162 |(% style="width:98px" %)**7**|(% style="width:157px" %)**GND_2**|(% style="width:326px" %)Discrete input #2 “dry contact” (ground)
163 |(% style="width:98px" %)**14**|(% style="width:157px" %)**IN_3**|(% style="width:326px" %)Discrete input #3 “dry contact” (+5V)
164 |(% style="width:98px" %)**6**|(% style="width:157px" %)**GND_3**|(% style="width:326px" %)Discrete input #3 “dry contact” (ground)
165 |(% style="width:98px" %)**13**|(% style="width:157px" %)**IN_4**|(% style="width:326px" %)Discrete input #4 “dry contact” (+5V)
166 |(% style="width:98px" %)**5**|(% style="width:157px" %)**GND_4**|(% style="width:326px" %)Discrete input #4 “dry contact” (ground)
167 |(% style="width:98px" %)**12**|(% style="width:157px" %)**OUT_4**|(% style="width:326px" %)Discrete output #4 (+5V, 20mA)
168 |(% style="width:98px" %)**4**|(% style="width:157px" %)**GND_OUT_4**|(% style="width:326px" %)Discrete output #4 (ground)
169 |(% style="width:98px" %)**11**|(% style="width:157px" %)**OUT_3**|(% style="width:326px" %)Discrete output #3 (+5V, 20mA)
170 |(% style="width:98px" %)**3**|(% style="width:157px" %)**GND_OUT_3**|(% style="width:326px" %)Discrete output #3 (ground)
171 |(% style="width:98px" %)**10**|(% style="width:157px" %)**OUT_2**|(% style="width:326px" %)Discrete output #2 (+5V, 20mA)
172 |(% style="width:98px" %)**2**|(% style="width:157px" %)**GND_OUT_2**|(% style="width:326px" %)Discrete output #2 (ground)
173 |(% style="width:98px" %)**9**|(% style="width:157px" %)**OUT_1**|(% style="width:326px" %)Discrete output #1 (+5V, 20mA)
174 |(% style="width:98px" %)**1**|(% style="width:157px" %)**GND_OUT_1**|(% style="width:326px" %)Discrete output #1 (ground)
175
176 = 2.4 Indicators =
177
178 === 2.4.1 DS1 – power indicator ===
179
180 (% style="width:442px" %)
181 |(% style="width:138px" %)**State**|(% style="width:301px" %)**Description**
182 |(% style="width:138px" %)**Lights red**|(% style="width:301px" %)The device is powered
183 |(% style="width:138px" %)**Off**|(% style="width:301px" %)The device is not powered
184
185 === 2.4.2 DS2 – operation indicator ===
186
187 (% style="width:442px" %)
188 |(% style="width:137px" %)**State**|(% style="width:302px" %)**Description**
189 |(% style="width:137px" %)**Blinking green**|(% style="width:302px" %)The BMS firmware is running
190 |(% style="width:137px" %)**Off**|(% style="width:302px" %)The BMS firmware is not running
191
192 === 2.4.3 DS3 – communication indicator ===
193
194 (% style="width:539px" %)
195 |(% style="width:175px" %)**State**|(% style="width:361px" %)**Description**
196 |(% style="width:175px" %)**Blinking yellow (2Hz)**|(% style="width:361px" %)Initializing communication with BMS Logic boards
197 |(% style="width:175px" %)**Blinking yellow (25Hz)**|(% style="width:361px" %)Communication with BMS Logic is established
198
199 === 2.4.4 DS4 – error indicator ===
200
201 (% style="width:539px" %)
202 |(% style="width:176px" %)**State**|(% style="width:360px" %)**Description**
203 |(% style="width:176px" %)**Blinking red**|(% style="width:360px" %)Errors in communication with BMS Logic
204
205 === 2.4.5 DS7 – relay 1 indicator ===
206
207 (% style="width:541px" %)
208 |(% style="width:179px" %)**State**|(% style="width:359px" %)**Description**
209 |(% style="width:179px" %)**Lights green**|(% style="width:359px" %)Relay #1 is closed
210 |(% style="width:179px" %)**Off**|(% style="width:359px" %)Relay #1 is opened
211
212 === 2.4.6 DS8 – relay 2 indicator ===
213
214 (% style="width:542px" %)
215 |(% style="width:180px" %)**State**|(% style="width:359px" %)**Description**
216 |(% style="width:180px" %)**Lights green**|(% style="width:359px" %)Relay #2 is closed
217 |(% style="width:180px" %)**Off**|(% style="width:359px" %)Relay #2 is opened
218
219 === 2.4.7 DS5 – relay 3 indicator ===
220
221 (% style="width:542px" %)
222 |(% style="width:183px" %)**State**|(% style="width:356px" %)**Description**
223 |(% style="width:183px" %)**Lights green**|(% style="width:356px" %)Relay #3 is closed
224 |(% style="width:183px" %)**Off**|(% style="width:356px" %)Relay #3 is opened
225
226 === 2.4.8 DS6 – relay 4 indicator ===
227
228 (% style="width:542px" %)
229 |(% style="width:187px" %)**State**|(% style="width:352px" %)**Description**
230 |(% style="width:187px" %)**Lights green**|(% style="width:352px" %)Relay #4 is closed
231 |(% style="width:187px" %)**Off**|(% style="width:352px" %)Relay #4 is opened
232
233