Wiki source code of 2. Installation and connection

Version 49.3 by Admin on 2025/02/06 11:26

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