Last modified by Admin on 2025/07/15 17:33

From version 25.5
edited by Admin
on 2024/11/21 14:11
Change comment: There is no comment for this version
To version 20.2
edited by Admin
on 2024/11/13 17:33
Change comment: Update document after refactoring.

Summary

Details

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