Wiki source code of 3.2 Inputs and outputs
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% data-numbered-headings-start="3" style="--numbered-headings-start: 2;font-size: 0px;color: rgba(0, 0, 0, 0.0);margin-bottom: 0px; margin-top: 0px;" %) | ||
2 | = Configuration = | ||
3 | |||
4 | (% 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;" %) | ||
5 | == Inputs and outputs == | ||
6 | |||
7 | === Discrete inputs === | ||
8 | |||
9 | The BMS Main 3X device has **6 discrete inputs** that detect signal line closing to the virtual ground, and **2 inputs** that detect 9-32V input voltage. For each discrete input, its assignment and inversion flag are set. | ||
10 | |||
11 | Also, BMS has two additional configurable inputs named “KEYRUN” and “CHARGE_ON”, each serves 9-32V input voltage. Those inputs serve as power buttons with additional functions that can be set. | ||
12 | |||
13 | Assignments of discrete inputs are configured in the "Signals → Input discrete signals → Assignments" section: | ||
14 | |||
15 | [[image:1734022225578-818.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="153" width="600"]] | ||
16 | |||
17 | The device supports the following assignments for discrete inputs: | ||
18 | |||
19 | * No input – input is not used; | ||
20 | * Battery cover – a signal from the battery cover; | ||
21 | * Charge request – a request to close the charging contactor; | ||
22 | * Precharge request – a request to close the precharging contactor; | ||
23 | * Discharge request – a request to close the discharging contactor; | ||
24 | * Charging contactor feedback – a signal from charging contactor feedback loop; | ||
25 | * Discharging contactor feedback – a signal from discharging contactor feedback loop; | ||
26 | * Charging/Discharging contactor feedback – a signal from charging/discharging contactor feedback loop; | ||
27 | * Insulation status – a signal from an insulation monitoring device; | ||
28 | * Join to charge – a request to join (connect in parallel) battery modules to charge the battery; | ||
29 | * Join to discharge – a request to join (connect in parallel) battery modules to discharge the battery; | ||
30 | * Precharge contactor feedback – a signal from precharging contactor feedback loop; | ||
31 | * Main contactor feedback – a signal from main contactor feedback loop; | ||
32 | * Interlock – a signal from interlock loop; | ||
33 | * Power down request – a request to power down the BMS. | ||
34 | |||
35 | Inversion flags for discrete inputs are configured in the "Signals → Input discrete signals → Inversion" section: | ||
36 | |||
37 | [[image:1734022225583-740.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="600"]] | ||
38 | |||
39 | The behavior of “KEYRUN” signal can be configured in the "Signals → Input discrete signals → KEYRUN mode" section: | ||
40 | |||
41 | [[image:1734022225584-474.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="87" width="600"]] | ||
42 | |||
43 | The behavior of “CHARGE_ON” signal can be configured in the "Signals → Input discrete signals → CHARGE_ON mode" section: | ||
44 | |||
45 | [[image:1734022225585-775.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="89" width="600"]] | ||
46 | |||
47 | In both “KEYRUN mode” and “CHARGE_ON mode” sections: | ||
48 | |||
49 | * Do nothing – power on device and do nothing; | ||
50 | * Set “Join to discharge” – power on device and set “Join to discharge” signal immediately; | ||
51 | * Set “Join to charge” – power on device and set “Join to charge” signal immediately; | ||
52 | * Set “Discharge request” – power on device and set “Discharge request” signal immediately; | ||
53 | * Set “Charge request” – power on device and set “Charge request” signal immediately. | ||
54 | |||
55 | === Current sensor === | ||
56 | |||
57 | The BMS Main 3X device has an ability to measure battery current by **3 external Hall-Effect current sensors**. | ||
58 | |||
59 | Current sensor settings are configured in the "Signals → Current sensor" section: | ||
60 | |||
61 | [[image:1734022225586-287.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="178" width="600"]] | ||
62 | |||
63 | The device supports the following current sensor settings: | ||
64 | |||
65 | * Calculate the battery current as the sum of battery modules currents – a flag that determines overall current as sum of battery modules currents (if flag is not set, device uses measurements from a physical current sensor); | ||
66 | * Connection – type of multiple sensors connection | ||
67 | ** One sensor (#1) – only first sensor is used to measure the battery current; | ||
68 | ** Two sensors (#1 and #2) in parallel – sensors are connected in parallel (the total battery current equals the sum of two sensors); | ||
69 | ** Two sensors (#1 and #2) in different branches – sensors located in two halves of the battery (used in batteries with a middle point); | ||
70 | * Sensor 2, 3: Enable – a flag to enable the second of third current sensor; | ||
71 | * Sensor 1, 2, 3: Nominal current – rated current I,,nom,, of the sensor according to the datasheet, A; | ||
72 | * Sensor 1, 2, 3: Sensitivity – sensitivity of the current sensor according to the datasheet, V / I,,nom.,,; | ||
73 | * Sensor 1, 2, 3: Invert – invert the sign of the measured value; | ||
74 | * Sensor 1, 2, 3: Multiply charging current (experimental) – an experimental flag for scaling the charging current by given multiplier; | ||
75 | * Sensor 1, 2, 3: Multiplier for charging current – charging current multiplier; | ||
76 | * Sensor 1, 2, 3: REF_IN2 mode – mode of additional analog line: | ||
77 | ** Not connected; | ||
78 | ** Reference line – reference output of the sensor; | ||
79 | ** Low range (for the dual range sensor) - a second output of a dual-range sensor (for example, LEM DHAB series); | ||
80 | * Sensor 1, 2, 3: Low range nominal current - rated current I,,nom,, of the low current line of dual range sensor according to the datasheet, A; | ||
81 | * Sensor 1, 2, 3: Low range sensitivity – sensitivity of the low current line of dual range sensor according to the datasheet, V / I,,nominal.,,; | ||
82 | * Sensor 1, 2, 3: Threshold for low range – a threshold current value at which the device uses the readings of the high current sensor instead of low current, A; | ||
83 | * Calibrate – a flag to calibrate (find a 0A point) the current sensor when the device is started; | ||
84 | * Calibration time – calibration time of the current sensor, millisecond; | ||
85 | * Recalibrate current sensor – a command to calibrate the current sensor manually. | ||
86 | |||
87 | === Temperature sensors === | ||
88 | |||
89 | Temperature sensors settings are configured in the "Signals → Temperature sensors" section: | ||
90 | |||
91 | [[image:1734022225587-758.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="58" width="600"]] | ||
92 | |||
93 | In this section: | ||
94 | |||
95 | * Type – a type of temperature sensors. | ||
96 | |||
97 | === Output discrete signals === | ||
98 | |||
99 | The BMS Main 3X device has **4 open drain outputs**. For each discrete output, its assignment and inversion flag are set. | ||
100 | |||
101 | Assignments of discrete outputs are configured in the "Signals → Output discrete signals → Assignments" section: | ||
102 | |||
103 | [[image:1734022225588-223.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="131" width="600"]] | ||
104 | |||
105 | The device supports the following assignments for discrete outputs: | ||
106 | |||
107 | * No output – output is not used. | ||
108 | * Charging – state of the charging contactor; | ||
109 | * Discharging – state of the discharging contactor; | ||
110 | * Charging/Discharging - state of the charging/discharging contactor; | ||
111 | * Precharging – state of the precharging contactor; | ||
112 | * Heater – a command to turn on a heater; | ||
113 | * Cooler – a command to turn on a cooler; | ||
114 | * Main contactor – state of the main contactor. | ||
115 | |||
116 | Inversion flags for discrete outputs are configured in the "Signals → Output discrete signals → Inversion" section: | ||
117 | |||
118 | [[image:1734022225589-659.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="118" width="600"]] | ||
119 | |||
120 | |||
121 | === Power switches === | ||
122 | |||
123 | The BMS Main 3X device has **6 power switches to drive contactors**. For each switch, its assignment and inversion flag are set. | ||
124 | |||
125 | Assignments of power switches are configured in the "Signals → Power switches → Assignments" section: | ||
126 | |||
127 | [[image:1734022225590-811.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="145" width="600"]] | ||
128 | |||
129 | The device supports the same switch assignments as discrete outputs. | ||
130 | |||
131 | Inversion flags for switches are configured in the “Signals → Power switches → Inversion” section: | ||
132 | |||
133 | [[image:1734022225591-262.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="137" width="600"]] | ||
134 | |||
135 |