Wiki source code of 3.2 Inputs and outputs
Last modified by Admin on 2025/02/24 11:11
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 | = Settings = | ||
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 Mini device has 4 discrete inputs of the "dry contact" type. For each discrete input, its assignment and inversion flag are set. | ||
10 | |||
11 | Assignments of discrete inputs are configured in the "Signals → Input discrete signals → Assignments" section: | ||
12 | |||
13 | [[image:1733743676787-110.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="173" width="800"]] | ||
14 | |||
15 | (% class="box infomessage" %) | ||
16 | ((( | ||
17 | A list of available discrete input assignments is available in [[Input signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInputsignals"]]. | ||
18 | ))) | ||
19 | |||
20 | Inversion flags for discrete inputs are configured in the "Signals → Input discrete signals → Inversion" section: | ||
21 | |||
22 | [[image:1733743676791-123.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="158" width="800"]] | ||
23 | |||
24 | === Current sensor === | ||
25 | |||
26 | The BMS Mini device has an ability to measure battery current by an external Hall-Effect current sensor. | ||
27 | |||
28 | Current sensor settings are configured in the "Signals → Current sensor" section: | ||
29 | |||
30 | [[image:1733743676792-692.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="230" width="800"]] | ||
31 | |||
32 | The device supports the following current sensor settings: | ||
33 | |||
34 | * Nominal current – rated current of the sensor according to the datasheet, А; | ||
35 | * Sensitivity – sensitivity of the current sensor according to the datasheet, V / I,,nominal.,,; | ||
36 | * Invert – invert the sign of the sensor value; | ||
37 | * Calibrate – a flag to calibrate the current sensor when the device is started; | ||
38 | * Calibration time – calibration time of the current sensor, millisecond; | ||
39 | * Recalibrate current sensor – a command to calibrate the current sensor manually; | ||
40 | * Multiply charging current (experimental) – an experimental flag for scaling the charging current by given multiplier; | ||
41 | * Multiplier for charging current – charging current multiplier; | ||
42 | * Auxiliary line – additional analog line: | ||
43 | ** Not connected; | ||
44 | ** Current sensor reference line; | ||
45 | ** AUX current sensor signal (in series) - a second output of a dual-range sensor (DHAB series) is connected to the auxiliary line; | ||
46 | ** AUX current sensor signal (parallel) - a second current sensor is connected to the auxiliary line, installed parallel to the main one; | ||
47 | * Nominal current (AUX) – rated current of the auxiliary sensor according to the datasheet, А; | ||
48 | * Sensitivity (AUX) – sensitivity of the auxiliary current sensor according to the datasheet, V / I,,nominal.,,; | ||
49 | * Threshold (AUX) – a threshold current value at which the device uses the readings of the main current sensor (the "AUX current sensor signal (in series)" mode is activated); | ||
50 | * Invert (AUX) – invert the sign of auxiliary current sensor value; | ||
51 | * Multiply AUX charging current (experimental) – an experimental flag for scaling the auxiliary charging current by given multiplier; | ||
52 | * Multiplier for AUX charging current – auxiliary charging current multiplier. | ||
53 | |||
54 | === Shunt sensor (CAN bus) === | ||
55 | |||
56 | The BMS Mini device has an ability to measure battery current via shunt sensor, connected to CAN bus. | ||
57 | |||
58 | (% class="box infomessage" %) | ||
59 | ((( | ||
60 | **Note: **The shunt sensor communication protocol can be provided by request. | ||
61 | ))) | ||
62 | |||
63 | Shunt sensor settings are configured in the "Signals → Shunt sensor (CAN bus)" section: | ||
64 | |||
65 | [[image:1733743676793-251.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="158" width="800"]] | ||
66 | |||
67 | The device supports the following shunt sensor settings: | ||
68 | |||
69 | * Enable – a flag to start interaction with the BMS Current Sensor (if interaction is enabled then BMS doesn’t use Hall-Effect current sensor which settings are described in the section "Signals → Current sensor"); | ||
70 | * Node ID – an address of BMS Current Sensor in CANopen network; | ||
71 | * Invert – a flag to invert current values; | ||
72 | * Receive timeout – a timeout for receiving messages from BMS Current Sensor (if no data is being received from the current sensor during this time, the “Shunt offline” flag is set), millisecond; | ||
73 | * Mean value threshold – T,,M,, level, A (if module of instantaneous current (I,,I,,) which is received from the shunt sensor is between T,,M,, and T,,0,,, the BMS will use mean value of current I,,M,,; if I,,I,, is greater than T,,M,,, the BMS will use instantaneous value of current I,,I,,); | ||
74 | * Zero threshold – T,,0,, level, A (if module of instantaneous current (I,,I,,) which is received from the shunt sensor is lower than T,,0,,, the BMS will assume that current flowing through the battery is zero); | ||
75 | |||
76 | === Temperature sensor === | ||
77 | |||
78 | Temperature sensors settings are configured in the "Signals → Temperature sensors" section: | ||
79 | |||
80 | [[image:1733743676794-795.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="101" width="800"]] | ||
81 | |||
82 | In this section: | ||
83 | |||
84 | * Type – a type of temperature sensors. | ||
85 | |||
86 | === Output discrete signals === | ||
87 | |||
88 | The BMS Mini device has four +5V digital outputs. For each discrete output, its assignment and inversion flag are set. | ||
89 | |||
90 | Assignments of discrete outputs are configured in the "Signals → Output discrete signals → Assignments" section: | ||
91 | |||
92 | [[image:1733743676795-962.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="158" width="800"]] | ||
93 | |||
94 | (% class="box infomessage" %) | ||
95 | ((( | ||
96 | A list of available discrete output assignments is available in [[Internal signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInternalsignals"]]. | ||
97 | ))) | ||
98 | |||
99 | Inversion flags for discrete outputs are configured in the "Signals → Output discrete signals → Inversion" section: | ||
100 | |||
101 | [[image:1733743676796-673.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="169" width="800"]] | ||
102 | |||
103 | === MOSFETs === | ||
104 | |||
105 | The BMS Mini device has four MOSFET switches to drive contactors. For each switch, its assignment and inversion flag are set. | ||
106 | |||
107 | Assignments of MOSFETs are configured in the "Signals → MOSFETs → Assignments" section: | ||
108 | |||
109 | [[image:1733743676797-285.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="160" width="800"]] | ||
110 | |||
111 | (% class="box infomessage" %) | ||
112 | ((( | ||
113 | A list of available discrete output assignments is available in [[Internal signals>>doc:Battery management systems.Additional information.1\. Battery controllers\: signals and errors.WebHome||anchor="HInternalsignals"]]. | ||
114 | ))) | ||
115 | |||
116 | Inversion flags for switches are configured in the “Signals → MOSFETs → Inversion” section: | ||
117 | |||
118 | [[image:1733743676798-103.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="157" width="800"]] | ||
119 | |||
120 | Feedback flags for contactors are configured in the “Signals → MOSFETs → Contactors feedback” section: | ||
121 | |||
122 | [[image:1733743676799-349.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="157" width="800"]] | ||
123 | |||
124 | === Wire resistance compensation === | ||
125 | |||
126 | (% class="box warningmessage" %) | ||
127 | ((( | ||
128 | **Warning!** | ||
129 | This section applies only to **BMS Mini S v1.0 **and **BMS Mini v2.0 **(devices without X9 header). | ||
130 | ))) | ||
131 | |||
132 | The BMS Mini is powered directly from the battery. This causes the voltages of the first and the last cells to be measured with an error, the magnitude of which is proportional to the current drawn by the BMS and the resistance of the wires connecting these cells to the BMS. To compensate for the cell voltage measurement error, the BMS Mini provides a wire resistance setting. | ||
133 | |||
134 | Setting the resistance of the wires connecting the first and last cells of the battery with the BMS is performed in the “Signals → Wire resistance compensation” section: | ||
135 | |||
136 | [[image:1733743676800-295.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="102" width="800"]] | ||
137 | |||
138 | In this section: | ||
139 | |||
140 | * Wire resistance (Cell 0) – resistance of the wire connecting the “minus” of the first cell with the BMS Mini’s “ground”; | ||
141 | * Wire resistance (Cell X) – resistance of the wire connecting the “plus” of the last cell with the BMS Mini power supply “plus”. |