Wiki source code of 2. Connection procedure

Version 21.2 by Admin on 2024/11/19 07:55

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