Wiki source code of 2. Installation and connection

Version 47.1 by Admin on 2024/12/02 05:49

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