Wiki source code of 3. Configuration

Version 1.1 by Admin on 2024/12/13 15:10

Show last authors
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 = Technical specifications =
3
4 The BMS Display 1.x is configured over the CAN bus (P3, P4 or P5 headers can be used). The device is a slave in the CANopen network.
5
6 The default settings to connect to the BMS Display 1.x are:
7
8 * CAN bus rate, kbps — 250;
9 * CANopen Node ID — 20.
10
11 To change the BMS Display 1.x parameters use the ElectricDeviceMonitor software.
12
13 [[image:1734102385594-603.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="336" width="300"]]
14
15 To confugure the device it is necessary to select the “Tasks – Monitor – BMS Display 1.x” item in the main menu of the ElectricDeviceMonitor. A window with the connection parameters will open:
16
17 [[image:1734102385597-664.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="239" width="450"]]
18
19 Connection to the BMS Display 1.x can be done using the following USB-CAN adapters:
20
21 * Systec USB-CANmodul1
22 * PEAK PCAN-USB
23 * Marathon CAN-bus-USB
24 * BMS USB-CAN
25
26 After setting communication parameters it is necessary to click on the “Launch monitor” button. A window with the device parameters will open.
27
28 [[image:1734102385598-708.png||data-xwiki-image-style-alignment="center" data-xwiki-image-style-border="true" height="586" width="600"]]
29
30
31 The device parameters are divided into the following groups:
32
33 * //Info// – a name and a version of the device, a version of the firmware;
34 * //CAN// – parameters of the CANopen communication;
35 * //Display options// – parameters of the device and errors indication;
36 * //Low battery level signal (single beep)// – parameters for signaling that the battery has a low charge level;
37 * //Battery discharged signal (three beeps)// – parameters for signaling that the battery is empty;
38 * //Charger connected/disconnected signal// – parameters for signaling that the charger is connected or disconnected;
39 * //Commands// – commands to the device.
40
41 **//Info//** group contains the following parameters:
42
43 * Device name – a name of the device in the CANopen network (“BMS Display”);
44 * Hardware version – a version of the board;
45 * Software version – a version of the firmware.
46
47 **//CAN//**// //group contains the following parameters:
48
49 * CANopen Node ID – an identifier of the device in the CANopen network (20 by default);
50 * CAN baud rate – CAN bus speed, kbps;
51 * BMS Main Node ID – an identifier of the BMS controller in the CANopen network (32 by default);
52 * Heartbeat – a flag for sending Heartbeat messages;
53 * Heartbeat period – a period of sending Heartbeat messages, millisecond;
54 * Ignore NMT messages – a flag for ignoring command messages in the CANopen network.
55
56 **//Display options//**// //group contains the following parameters:
57
58 * Disable display – a flag for turning off the LED display;
59 * Backlight always on – a flag for turning on the backlight of the LCD display;
60 * Backlight always off – a flag for turning off the backlight of the LCD display;
61 * Turn off display when idle – a flag for turning off the display after 2 minutes of inactivity (press the button to activate the display);
62 * Disable buzzer – a flag for turning off the buzzer;
63 * Errors filter – a filter of errors that should be output to the display.
64
65 Errors filter is a 32-bit word which is written in the hexadecimal notation. Each bit of the word corresponds to an error. If the bit is set to “1”, the device signals about the error corresponding this bit. The list of bits and errors is in the table below.
66
67 |**Bit number**|**Error**
68 |**0**|Overcurrent
69 |**1**|Undervoltage
70 |**2**|Overvoltage
71 |**3**|Low DCH temperature
72 |**4**|High DCH temperature
73 |**5**|Battery cover is opened
74 |**6**|High humidity
75 |**7**|Water in the battery
76 |**8**|Logic high temperature
77 |**9**|Logic offline
78 |**10**|Critical error
79 |**11**|Crown error
80 |**12**|Cell count error
81 |**13**|HYG offline
82 |**14**|Not used (should be set to 0)
83 |**15**|Combilift offline
84 |**16**|Short circuit
85 |**17**|Contactor high temperature
86 |**18**|Logic count error
87 |**19**|ADC error
88 |**20**|Current sensor error
89 |**21**|CH contactor cycles error
90 |**22**|DCH contactor cycles error
91 |**23**|Shunt offline
92 |**24**|Shunt error
93 |**25**|Settings error
94 |**26**|WDT reset
95 |**27**|No temperature sensors
96 |**28**|Temperature sensor is shorted
97 |**29**|Spirit offline
98 |**30-31**|Not used (should be set to 0)
99
100 For example, it is necessary to signal about the following errors:
101
102 * Low DCH temperature (bit 3);
103 * HYG offline (bit 13);
104 * Contactor high temperature (bit 17).
105
106 In this case //Errors filter// should be equal to the «22008» value. This value is calculated the following way:
107
108 2^^3^^ + 2^^13^^ + 2^^17^^ = 8,,10,, + 8192,,10,, + 131072,,10,, = 139272,,10,, = 22008,,16,,
109
110 If the value is set to the //Errors filter //field, the errors above will be output to the display.
111
112 **//Low battery level signal (single beep)//** group contains the following parameters:
113
114 * SoC minimum value to signal – a charge level of the battery, upon reaching which a sound signal is emitted, %;
115 * Signal period – a period of the sound signal, second;
116 * Loudness – volume of the sound signal (Quiet or Loud).
117
118 **//Battery discharged signal (three beeps)//** group contains the following parameters:
119
120 * SoC minimum value to signal – a charge level of the battery, upon reaching which three sound signals are emitted, %;
121 * Signal period – a period of the sound signals, second;
122 * Loudness – volume of the sound signals (Quiet or Loud).
123
124 **//Charger connected/disconnected signal//** group contains the following parameters:
125
126 * Signal duration on charger connected – duration of the sound signal (one beep) emitting if the charger is connected to the battery, second;
127 * Signal duration on charger disconnected – duration of the sound signal (two beeps) emitting if the charger is disconnected from the battery, second.
128
129 **//Commands//** group contains the following parameters:
130
131 * Test display – a command for testing the display (all symbol segments of the display will be activated);
132 * Test buzzer – a command for testing the buzzer (loud signal, quiet signal and a pause will be emitted alternately);
133 * Reset and start loader – a command to reboot the device and start the bootloader for updating the firmware.