Wiki source code of 2. Installation and connection

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

Hide last authors
Admin 26.2 1 == 2.1 Installation procedure ==
Admin 25.4 2
Admin 45.1 3 Overall and mounting dimensions of the BMS Main 2.1 are shown below.
Admin 26.2 4
Admin 44.1 5 [[image:1732198397369-222.png||data-xwiki-image-style-alignment="center" height="393" width="556"]]
Admin 26.2 6
Admin 26.3 7 |**Parameter**|**Value**
Admin 46.1 8 |Overall dimensions (length × width × height), mm|120 × 120 × 32
Admin 26.3 9 |Mounting dimensions (length × width), mm|114 × 114
10 |Mounting holes|M3
Admin 26.2 11
12 == 2.2 Connection procedure ==
13
Admin 20.3 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.
Admin 1.2 15
Admin 20.3 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
Admin 26.3 21 == 2.3 ​​​​Headers description ==
Admin 20.3 22
Admin 1.2 23 The BMS Main 2.1 headers are shown in figure below.
24
Admin 44.1 25 [[image:1731516393377-928.jpeg||alt="1731517946345-632.png" data-xwiki-image-style-alignment="center" height="417" width="451"]]
Admin 1.2 26
Admin 48.1 27 (% class="box warningmessage" %)
28 (((
29 **Attention!**
30 All headers are shown from the device side!
31 )))
Admin 20.3 32
Admin 26.3 33 === 2.3.1 P1 – header for power supply ===
Admin 2.2 34
Admin 47.1 35 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
Admin 2.2 36
Admin 46.1 37 |**Pin**|**Name**|**Description**
38 |**1**|**GND**|Ground
39 |**2**|**V+**|Supply voltage 9-30V
Admin 4.2 40
Admin 26.3 41 === 2.3.2 P15 – header for BMS Logic ===
Admin 4.2 42
Admin 47.1 43 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
Admin 4.2 44
Admin 46.1 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
Admin 44.1 50
Admin 26.3 51 === 2.3.3 P12 – header for current sensor ===
Admin 5.2 52
Admin 47.1 53 [[image:1732198890482-787.png||data-xwiki-image-style-alignment="center" height="77" width="71"]]
Admin 5.3 54
Admin 46.1 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)
Admin 5.3 60
Admin 26.3 61 === 2.3.4 P13 – header for humidity sensor ===
Admin 5.3 62
Admin 47.1 63 [[image:1732198896526-660.png||data-xwiki-image-style-alignment="center" height="70" width="64"]]
Admin 6.2 64
Admin 46.1 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)
Admin 6.2 70
Admin 26.3 71 === 2.3.5 P8 – header of relay 1 ===
Admin 6.2 72
Admin 47.1 73 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
Admin 6.2 74
75 By default, relay 1 is used to control the discharging contactor.
76
Admin 46.1 77 |**Pin**|**Name**|**Description**
78 |**1**|**V+**|Switching voltage (up to 55V, max 2A)
79 |**2**|**NO**|Normally open contact
Admin 6.2 80
Admin 26.3 81 === 2.3.6 P9 – header of relay 2 ===
Admin 11.2 82
Admin 47.1 83 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
Admin 11.2 84
85 By default, relay 2 is used to output the “Allow charging” signal.
86
Admin 46.1 87 |**Pin**|**Name**|**Description**
88 |**1**|**V+**|Switching voltage (up to 55V, max 2A)
89 |**2**|**NO**|Normally open contact
Admin 6.2 90
Admin 26.3 91 === 2.3.7 P6 – header of relay 3 ===
Admin 6.2 92
Admin 47.1 93 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
Admin 6.2 94
Admin 11.2 95 By default, relay 3 is used to control the charging contactor.
Admin 6.2 96
Admin 46.1 97 |**Pin**|**Name**|**Description**
98 |**1**|**V+**|Switching voltage (up to 55V, max 8A)
99 |**2**|**NO**|Normally open contact
Admin 6.2 100
Admin 26.3 101 === 2.3.8 P7 – header of relay 4 ===
Admin 6.2 102
Admin 47.1 103 [[image:1732198827034-560.png||data-xwiki-image-style-alignment="center" height="78" width="41"]]
Admin 11.2 104
105 By default, relay 4 is used to control the heater.
106
Admin 46.1 107 |**Pin**|**Name**|**Description**
108 |**1**|**V+**|Switching voltage (up to 55V, max 8A)
109 |**2**|**NO**|Normally open contact
Admin 6.2 110
Admin 26.3 111 === 2.3.9 P14 – header for CAN and RS-485 interfaces ===
Admin 6.2 112
Admin 47.1 113 [[image:1731517180930-597.png||data-xwiki-image-style-alignment="center" height="81" width="113"]]
Admin 6.2 114
Admin 21.3 115 (% style="width:641px" %)
Admin 46.1 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
Admin 11.2 123
Admin 26.3 124 === 2.3.10 P21 – CAN termination resistor jumper ===
Admin 11.2 125
Admin 47.1 126 [[image:1731517188900-976.png||data-xwiki-image-style-alignment="center" height="78" width="149"]]
Admin 11.2 127
128 To connect the termination resistor between the lines **CAN_H** and **CAN_L**, install a jumper, according to the P21 pinout:
129
Admin 46.1 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
Admin 11.2 133
Admin 26.3 134 === 2.3.11 P22 - RS-485 termination resistor jumper ===
Admin 11.2 135
Admin 47.1 136 [[image:1731517195672-298.png||data-xwiki-image-style-alignment="center" height="81" width="155"]]
Admin 11.2 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
Admin 46.1 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
Admin 11.2 143
Admin 26.3 144 === 2.3.12 P11 – header for discrete inputs/outputs ===
Admin 11.2 145
Admin 47.1 146 [[image:1732198937514-731.png||data-xwiki-image-style-alignment="center" height="85" width="272"]]
Admin 11.2 147
Admin 46.1 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)
Admin 11.2 165
Admin 26.3 166 = 2.4 Indicators =
Admin 11.2 167
Admin 26.3 168 === 2.4.1 DS1 – power indicator ===
Admin 13.1 169
Admin 46.1 170 |**State**|**Description**
171 |**Lights red**|The device is powered
172 |**Off**|The device is not powered
Admin 11.2 173
Admin 26.3 174 === 2.4.2 DS2 – operation indicator ===
Admin 11.2 175
Admin 46.1 176 |**State**|**Description**
177 |**Blinking green**|The BMS firmware is running
178 |**Off**|The BMS firmware is not running
Admin 11.2 179
Admin 26.3 180 === 2.4.3 DS3 – communication indicator ===
Admin 11.2 181
Admin 46.1 182 |**State**|**Description**
183 |**Blinking yellow (2Hz)**|Initializing communication with BMS Logic boards
184 |**Blinking yellow (25Hz)**|Communication with BMS Logic is established
Admin 11.2 185
Admin 26.3 186 === 2.4.4 DS4 – error indicator ===
Admin 11.2 187
188
Admin 46.1 189 |(**State**|**Description**
190 |(**Blinking red**|Errors in communication with BMS Logic
191
Admin 26.3 192 === 2.4.5 DS7 – relay 1 indicator ===
Admin 11.2 193
Admin 46.1 194 |**State**|**Description**
195 |**Lights green**|Relay #1 is closed
196 |**Off**|Relay #1 is opened
Admin 11.2 197
Admin 26.3 198 === 2.4.6 DS8 – relay 2 indicator ===
Admin 11.2 199
Admin 46.1 200 |**State**|**Description**
201 |**Lights green**|Relay #2 is closed
202 |**Off**|Relay #2 is opened
Admin 19.1 203
Admin 26.3 204 === 2.4.7 DS5 – relay 3 indicator ===
Admin 11.2 205
Admin 46.1 206 |**State**|**Description**
207 |**Lights green**|Relay #3 is closed
208 |**Off**|Relay #3 is opened
Admin 11.2 209
Admin 26.3 210 === 2.4.8 DS6 – relay 4 indicator ===
Admin 11.2 211
Admin 46.1 212 |**State**|**Description**
213 |**Lights green**|Relay #4 is closed
214 |**Off**|Relay #4 is opened
Admin 11.2 215
Admin 5.3 216