Wiki source code of 2. Connection procedure

Version 21.3 by Admin on 2024/11/19 07:56

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