Wiki source code of 2. Installation and connection

Version 49.2 by Admin on 2024/12/11 11:21

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