Wiki source code of 2. Connection procedure

Version 20.3 by Admin on 2024/11/13 17:38

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