Wiki source code of 2. Installation and connection

Version 48.1 by Admin on 2024/12/04 11:27

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