Fault recording system
By using an N-level dual-port main control module cascade structure, the problem of local area network communication limited by switches is solved, enabling local area network expansion without switches and improving the expansion convenience and fault handling efficiency of the battery management system.
Patent Information
- Application Number
- CN202423183178.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2034-12-23
AI Technical Summary
In the existing technology, the local area network communication between the battery control module and the energy storage management unit relies on a switch, which results in a limited number of switch ports. When adding equipment, the number of switches needs to be increased, which increases costs and wiring complexity.
The system adopts an N-level dual-port cascaded main control module structure. Communication between the main control module and the slave control module, display control module and data traceability monitoring module is realized through the local area network bus of the first controller and the local area network bus of the second controller, thus avoiding the use of a switch.
It enables LAN expansion without the need for a switch, reducing costs, improving expansion convenience and fault handling efficiency, and ensuring the security of the battery management system.
Smart Images

Figure CN223742691U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery management, in particular to a fault recording system. BACKGROUND
[0002] In a battery management system (Battery Management System, referred to as BCM for short) and an energy storage management unit (Energy Storage Management Unit, referred to as ESMU for short) local area network (Local Area Network, referred to as LAN for short) communication interaction, a switch (SWITCH) is usually used for interaction, and devices under the same gateway are connected to the same switch for LAN communication.
[0003] Local area network expansion between different switches will occupy the ports of the switches, resulting in a decrease in the number of devices that can be connected to each switch, which indirectly increases the cost of the switches. If the number of connected devices is increased under the condition that the ports are fully configured, the number of switches needs to be increased or the original wiring needs to be changed, which increases the time cost and labor cost.
[0004] Therefore, the BCM and the ESMU in the prior art use a switch for LAN communication, which has certain limitations. UTILITY MODEL CONTENT
[0005] The present application aims to solve the problem of the limitations of the BCM and the ESMU in the prior art using a switch for LAN communication.
[0006] To achieve the above-mentioned purpose, the technical solutions adopted by the embodiments of the present application are as follows:
[0007] In a first aspect, the embodiments of the present application provide a fault recording system, which comprises a display control module, a data traceability monitoring module, a master control module, and at least one slave control module corresponding to the master control module.
[0008] The master control module is an N-level dual-network-port master control module, and each level of the dual-network-port master control module is connected in cascade.
[0009] The first controller local area network interface of each level of the dual-network-port master control module is connected to the slave control module corresponding to each level of the dual-network-port master control module through a first controller local area network bus, and the second controller local area network interface of each level of the dual-network-port master control module is connected to the controller local area network interface of the display control module and the controller local area network communication interface of the data traceability monitoring module through a second controller local area network bus.
[0010] The LAN port of the display control module is connected with the first LAN port of the first double LAN port master module, and the LAN communication interface of the data traceability monitoring module is connected with the second LAN port of the Nth double LAN port master module.
[0011] Each of the slave control modules is configured to collect battery pack data under the control of the corresponding master module and send the battery pack data to the corresponding master module through the first controller LAN bus.
[0012] The master module is configured to send the battery pack data to the display control module and the data traceability monitoring module.
[0013] The display control module is configured to store and display the battery pack data, and the data traceability monitoring module is configured to trace and monitor the battery pack data.
[0014] As an optional implementation, the first LAN port of the first double LAN port master module is connected with the LAN port of the display control module, the second LAN port of the first double LAN port master module is connected with the first LAN port of the second double LAN port master module, the first controller LAN interface of the first double LAN port master module is connected with the slave control sub-module corresponding to the first double LAN port master module through the first controller LAN bus, and the second controller LAN port of the first double LAN port master module is connected with the controller LAN interface of the display control module and the controller LAN communication interface of the data traceability monitoring module through the second controller LAN bus.
[0015] As an optional implementation, the first LAN port of the ith double LAN port master module is connected with the second LAN port of the (i-1)th double LAN port master module, the second LAN port of the ith double LAN port master module is connected with the first LAN port of the (i+1)th double LAN port master module, the first controller LAN interface of the ith double LAN port master module is connected with the slave control sub-module corresponding to the ith double LAN port master module through the first controller LAN bus, and the second controller LAN port of the ith double LAN port master module is connected with the controller LAN interface of the display control module and the controller LAN communication interface of the data traceability monitoring module through the second controller LAN bus, i is any integer greater than 1 and less than N.
[0016] As an optional implementation, the first LAN port of the Nth dual-network port master module is connected with the second LAN port of the (N-1)th dual-network port master module, the second LAN port of the Nth dual-network port master module is connected with the LAN communication interface of the data traceability monitoring module, the first controller LAN interface of the Nth dual-network port master module is connected with the corresponding slave sub-module of the Nth dual-network port master module through the first controller LAN bus, and the second controller LAN port of the Nth dual-network port master module is connected with the controller LAN interface of the display and control module and the controller LAN communication interface of the data traceability monitoring module through the second controller LAN bus.
[0017] As an optional implementation, the jth dual-network port master module comprises a switching chip and a micro control unit, wherein j is any integer greater than or equal to 1 and less than or equal to N.
[0018] The first end of the switching chip of the jth dual-network port master module is connected with the first LAN port of the jth dual-network port master module, the second end of the switching chip of the jth dual-network port master module is connected with the second LAN port of the jth dual-network port master module, and the third end of the switching chip of the jth dual-network port master module is connected with the control end of the micro control unit of the jth dual-network port master module.
[0019] As an optional implementation, the first LAN port or the second LAN port of the jth dual-network port master module receives a data frame from an adjacent dual-network port master module and sends the data frame to the switching chip of the jth dual-network port master module.
[0020] The switching chip of the jth dual-network port master module discards or sends the data frame to the micro control unit of the jth dual-network port master module.
[0021] The micro control unit of the jth dual-network port master module saves or sends the data frame to an adjacent dual-network port master module.
[0022] As an optional implementation, the data traceability monitoring module at least comprises a first storage unit, a storage control unit, a traceability master control unit and a communication control unit.
[0023] The traceability master control unit is connected with the storage control unit and the communication control unit respectively.
[0024] The communication control unit is connected with the controller LAN communication interface of the data traceability monitoring module and the LAN communication interface of the data traceability monitoring module, and the storage control unit is connected with the first storage unit.
[0025] The storage control unit is configured to control reading and writing of the first storage unit.
[0026] The communication control unit is configured to control data transmission and reception of the controller area network communication interface of the data traceability monitoring module and the local area network communication interface of the data traceability monitoring module.
[0027] The traceability master control unit is configured to perform traceability monitoring on the battery pack data and send control instructions to the storage control unit and / or the communication control unit accordingly.
[0028] As an optional implementation manner, the data traceability monitoring module further comprises a clock unit, a charging and discharging management unit, and a power supply unit.
[0029] As an optional implementation manner, the traceability master control unit sends a heartbeat message to the master control module through the local area network communication interface of the data traceability monitoring module, and the master control module, as a relay station, forwards the heartbeat message to the display control module.
[0030] As an optional implementation manner, the display control module comprises a second storage unit and a display unit.
[0031] The second storage unit is configured to store the battery pack data.
[0032] The display unit is configured to display the battery pack data.
[0033] The application has the following beneficial effects:
[0034] The application provides a fault recording system, a main control module in the fault recording system is an N-level double-network-port main control module, each level of the double-network-port main control module is cascaded from the first level to the Nth level, and a first controller local area network interface of each level of the double-network-port main control module is connected with a corresponding slave control module through a first controller local area network bus, a second controller local area network interface of each level of the double-network-port main control module is connected with a controller local area network interface of a display control module and a controller local area network communication interface of a data traceability monitoring module through a second controller local area network bus, and controller local area network communication between each level of the double-network-port main control module and the display control module, the data traceability monitoring module and the corresponding slave control module is realized. The local area network interface of the display control module is connected with the first local area network interface of the first level of the double-network-port main control module, and the local area network communication interface of the data traceability monitoring module is connected with the second local area network interface of the Nth level of the double-network-port main control module. The local area network communication between the first level of the double-network-port main control module and the display control module and the local area network communication between the Nth level of the double-network-port main control module and the data traceability monitoring module are realized. The N-level double-network-port main control module and the corresponding slave control module perform controller local area network communication to control the corresponding slave control module to collect and receive battery pack data, and the N-level double-network-port main control module and the display control module and the data traceability monitoring module perform local area network communication and controller local area network communication to send the battery pack data to the display control module and the data traceability monitoring module. Based on the battery pack data sent by the main control module, the data traceability monitoring module can monitor whether the battery management system fails, and perform traceability based on the battery pack data when the battery management system fails, thereby improving fault processing efficiency and ensuring the safety of the battery management system. Through the two local area network interfaces of the double-network-port main control module, the local area network communication between the main control module, the display control module and the data traceability monitoring module can be realized without a switch, and the convenience of local area network expansion is greatly improved through the cascaded network connection topology. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.
[0036] Figure 1 An architecture schematic diagram of the local area network communication between the battery control module, the energy storage management unit and the data traceability monitoring module in the prior art;
[0037] Figure 2 An architecture schematic diagram of the fault recording system provided by the embodiments of the application;
[0038] Figure 3 Another architecture diagram of the fault recording system provided by the embodiment of the present application is shown.
[0039] Icon: display control module: 11; data trace monitoring module: 12; master control module: 13; slave control module: 14; first level double network port master control module: 131; second level double network port master control module: 132; i level double network port master control module: 133; N-1 level double network port master control module: 134; N level double network port master control module: 135; j level double network port master control module: 136; switching chip: 151; micro control unit: 152; first storage unit: 121; storage control unit: 122; trace master control unit: 123; communication control unit: 124; clock unit: 125; charge and discharge management unit: 126; power unit: 127; second storage unit: 111; display unit: 112. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0041] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present application.
[0042] It should be noted that: similar reference numbers and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In the description of the present application, the terms "first", "second", "third" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0043] In the description of the present application, unless otherwise explicitly specified and limited, the terms "set", "connected", "connected" should be understood broadly, for example, it can be fixedly connected, or detachably connected, or integrally connected; it can be mechanically connected, or electrically connected; it can be directly connected, or indirectly connected through an intermediate medium, or the internal communication of two elements. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0044] Figure 1Figure 1 is a schematic diagram of an existing battery control module and energy storage management unit and data traceability monitoring module LAN communication architecture in the prior art, referring to Figure 1 , the BCM and ESMU and data traceability monitoring module (ESEDR) LAN communication using a switch. The LAN ports of the N BCMs, the LAN port of the ESMU, and the LAN communication interface of the ESEDR are connected to the LAN ports of the switch. When the switch is in a full port configuration, if the number of devices connected to the switch needs to be increased to expand the LAN, the number of switches needs to be increased, which may even result in Figure 1 the original wiring changing, and the need for new wiring, wasting manpower and resources.
[0045] Based on the above problems, the embodiments of the present application provide a fault recording system. The multi-level dual-network-port master modules in the fault recording system are sequentially cascaded, the first-level dual-network-port master module is connected with the display and control module in the fault recording system, and the last-level dual-network-port master module is connected with the data traceability monitoring module in the fault recording system, realizing LAN communication between the multi-level dual-network-port master modules, the display and control module, and the data traceability monitoring module in the fault recording system. Through the topology connection of the sequentially cascaded multi-level dual-network-port master modules, when expanding the LAN, no switch is needed. Only the last-level dual-network-port master module needs to be connected with the new level of dual-network-port master module to be expanded, and then the new level of dual-network-port master module needs to be connected with the data traceability monitoring module. This simplifies the LAN expansion process, reduces the LAN expansion cost, and improves the LAN expansion efficiency.
[0046] Figure 2 Figure 1 is a schematic diagram of the fault recording system provided by the embodiments of the present application, as shown in Figure 2 , the fault recording system includes a display and control module 11, a data traceability monitoring module 12, a master module 13, and at least one slave module 14 corresponding to the master module 13.
[0047] Optionally, referring to Figure 2 , the display and control module 11, the data traceability monitoring module 12, the master module 13, and the at least one slave module 14 corresponding to the master module 13 of the fault recording system. For example, the master module 13 can correspond to three slave modules 14, and the number of slave modules 14 corresponding to the master module 13 is not specifically limited in the present application. Figure 2
[0048] The master module 13 is an N-level dual-network-port master module, and the dual-network-port master modules in the N-level dual-network-port master module are sequentially cascaded.
[0049] Optionally, continuing to refer to Figure 2 The master module 13 is an expandable N-stage dual-network-port master module. The N-stage dual-network-port master module includes dual-network-port master modules of stages from the first stage to the Nth stage which are cascaded in sequence. Each dual-network-port master module includes two LAN network ports, namely a first LAN network port IN and a second LAN network port OUT.
[0050] The first controller area network interface of each dual-network-port master module is connected to the corresponding slave module 14 via a first controller area network bus CAN1. The second controller area network interface of each dual-network-port master module is connected to the controller area network interface of the display and control module 11 and the controller area network communication interface of the data traceability monitoring module 12 via a second controller area network bus CAN2.
[0051] Optionally, continuing to refer to Figure 2 Each dual-network-port master module further includes two controller area network (CAN) network ports, namely a first CAN network port 0 and a second CAN network port 1. Each dual-network-port master module is connected to the display and control module 11, the data traceability monitoring module 12 and the corresponding slave module 14 for CAN communication. Specifically, the first CAN network port 0 of each dual-network-port master module is connected to the corresponding slave module 14 via a first CAN bus CAN1. The second CAN network port 1 of each dual-network-port master module is connected to the CAN network port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 via a second CAN bus.
[0052] The LAN network port of the display and control module 11 is connected to the first LAN network port IN of the first-stage dual-network-port master module 131. The LAN communication interface of the data traceability monitoring module 12 is connected to the second LAN network port OUT of the Nth-stage dual-network-port master module 135.
[0053] Optionally, continuing to refer to Figure 2 The LAN network port of the display and control module 11 is connected to the first LAN network port IN of the first-stage dual-network-port master module 131. The second LAN network port OUT of the first-stage dual-network-port master module 131 is connected to the first LAN network port IN of the next-stage dual-network-port master module. The dual-network-port master modules of the intermediate stages are cascaded in sequence until the second OUT network port of the Nth-stage dual-network-port master module 135 is connected to the LAN communication interface of the data traceability monitoring module 12. The LAN communication between the cascaded master module 13 and the display and control module 11 and the data traceability monitoring module 12 is realized through the dual-network-port master modules of the N stages.
[0054] It is worth noting that Figure 3 The architecture of the fault recording system provided in the embodiments of the present application is shown in FIG. 1.Figure 3 As shown, the master module 13 can be a primary dual-network-port master module 13, which corresponds to at least one slave module 14. For example, Figure 3 For example, the primary dual-network-port master module 13 can correspond to 3 slave modules 14. When the master module 13 is a primary dual-network-port master module 13, the first LAN network port of the primary dual-network-port master module 13 is connected with the LAN network port of the display and control module 11, and the second LAN network port of the primary dual-network-port master module 13 is connected with the LAN communication interface of the data traceability monitoring module 12. The first CAN network port of the primary dual-network-port master module 13 is connected with the corresponding slave modules 14 through the first CAN bus CAN1, and the second CAN network port of the primary dual-network-port master module 13 is connected with the CAN network port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus CAN2.
[0055] Specifically, referring to Figure 2 The primary dual-network-port master module 13 performs LAN communication with the display and control module 11 and the data traceability monitoring module 12 through the first LAN network port IN and the second LAN network port OUT, respectively. Specifically, the first LAN network port IN of the primary dual-network-port master module 13 is connected with the No. 2 LAN network port of the display and control module 11, and the second LAN network port OUT of the primary dual-network-port master module 13 is connected with the LAN communication interface of the data traceability monitoring module 12. The primary dual-network-port master module 13 performs CAN communication with the display and control module 11, the data traceability monitoring module 12 and the corresponding slave modules 14 through the first CAN network port 0 and the second CAN network port 1, respectively. Specifically, the first CAN network port 0 of the primary dual-network-port master module 13 is connected with the corresponding slave modules 14 through the first CAN bus CAN1, and the second CAN network port 1 of the primary dual-network-port master module 13 is connected with the CAN network port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus CAN2.
[0056] Each slave module 14 is configured to collect battery pack data under the control of the corresponding master module 13 and send the battery pack data to the corresponding master module 13 through the first CAN bus CAN1.
[0057] Optionally, each slave module 14 collects battery pack data under the control of the corresponding primary dual-network-port master module and sends the battery pack data to the corresponding primary dual-network-port master module through the first CAN bus CAN1. The battery pack data can be single cell extreme value information of the battery pack, such as single cell voltage information and / or State of Charge (SOC) information.
[0058] The master module 13 is configured to send the battery pack data to the display and control module 11 and the data trace monitoring module 12.
[0059] Optionally, the N-level dual-network port master module communicates with the display and control module 11 and the data trace monitoring module 12 through CAN or LAN, and sends the battery pack data to the display and control module 11 and the data trace monitoring module 12.
[0060] The display and control module 11 is configured to store and display the battery pack data, and the data trace monitoring module 12 is configured to trace and monitor the battery pack data.
[0061] Optionally, the display and control module 11 receives and stores the battery pack data sent by the N-level dual-network port master module, processes the battery pack data, and displays the processed battery pack data. The data trace monitoring module 12 receives and stores the battery pack data sent by the N-level dual-network port master module, monitors whether the BMS fails based on the battery pack data, traces the failure based on the stored battery pack data when the BMS fails, and thus improves the failure processing efficiency and ensures the safety of the BMS.
[0062] In the embodiment, the master module in the fault recording system is an N-level double-network-port master module, the double-network-port master modules of each level in the N-level double-network-port master module are cascaded from the first level to the Nth level, the first controller local area network interface of each double-network-port master module is connected with the slave module corresponding to the double-network-port master module through the first controller local area network bus, the second controller local area network interface of each double-network-port master module is connected with the controller local area network interface of the display and control module and the controller local area network communication interface of the data traceability monitoring module through the second controller local area network bus, and the controller local area network communication between the double-network-port master modules of each level and the display and control module, the data traceability monitoring module and the corresponding slave modules is realized. The local area network interface of the display and control module is connected with the first local area network interface of the double-network-port master module of the first level, and the local area network communication interface of the data traceability monitoring module is connected with the second local area network interface of the double-network-port master module of the Nth level. The local area network communication between the double-network-port master module of the first level and the display and control module and the local area network communication between the double-network-port master module of the Nth level and the data traceability monitoring module are realized. The double-network-port master modules of each level perform the controller local area network communication with the corresponding slave modules to control the corresponding slave modules to collect and receive the battery pack data, and the double-network-port master modules of each level perform the local area network communication and the controller local area network communication with the display and control module and the data traceability monitoring module to send the battery pack data to the display and control module and the data traceability monitoring module. Based on the battery pack data sent by the master module, the data traceability monitoring module can monitor whether the battery management system fails and perform traceability based on the battery pack data when the battery management system fails, so as to improve the fault processing efficiency and ensure the safety of the battery management system. Through the two local area network interfaces of the double-network-port master module, the local area network communication between the master module, the display and control module and the data traceability monitoring module can be realized without a switch, and the convenience of local area network expansion is greatly improved through the cascaded network connection topology.
[0063] As an optional implementation, the first local area network interface of the double-network-port master module of the first level 131 is connected with the local area network interface of the display and control module 11, the second local area network interface of the double-network-port master module of the first level 131 is connected with the first local area network interface of the double-network-port master module of the second level 132, the first controller local area network interface of the double-network-port master module of the first level 131 is connected with the slave module 14 corresponding to the double-network-port master module of the first level 131 through the first controller local area network bus CAN1, and the second controller local area network interface of the double-network-port master module of the first level 131 is connected with the controller local area network interface of the display and control module 11 and the controller local area network communication interface of the data traceability monitoring module 12 through the second controller local area network bus CAN2.
[0064] Optionally, continuing to refer to Figure 2, the first LAN port IN of the first double-network master module 131 is connected with the No.2 LAN port of the display control module 11, the second LAN port OUT of the first double-network master module 131 is connected with the first LAN port IN of the second double-network master module 132, and the second LAN port OUT of the second double-network master module 132 is connected with the first LAN port IN of the third double-network master module (not shown) of the next level. Figure 2
[0065] The first CAN port 0 of the first double-network master module 131 is connected with each slave module 14 corresponding to the first double-network master module 131 through the first CAN bus CAN1, and the second CAN port 1 of the first double-network master module 131 is connected with the CAN port of the display control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus.
[0066] In this embodiment, when each double-network master module from the first level to the Nth level in the N-level double-network master module is cascaded in turn, the first LAN port and the second LAN port of the first double-network master module are connected with the LAN port of the display control module and the first LAN port of the second double-network master module, respectively. The first controller LAN interface of the first double-network master module is connected with the slave sub-module corresponding to the first double-network master module through the first controller LAN bus, and the second controller LAN port of the first double-network master module is connected with the controller LAN interface of the display control module and the controller LAN communication interface of the data traceability monitoring module through the second controller LAN bus. The LAN communication between the first double-network master module and the display control module and the second double-network master module is realized, and the controller LAN communication between the first double-network master module and the display control module, the data traceability monitoring module and the slave module corresponding to the first double-network master module is realized.
[0067] As an optional implementation, the first LAN port of the i-level double-network master module 133 is connected with the second LAN port of the i-1-level double-network master module, the second LAN port of the i-level double-network master module 133 is connected with the first LAN port of the i+1-level double-network master module, the first controller LAN interface of the i-level double-network master module 133 is connected with the slave module 14 corresponding to the i-level double-network master module 133 through the first controller LAN bus CAN1, and the second controller LAN port of the i-level double-network master module 133 is connected with the controller LAN interface of the display control module 11 and the controller LAN communication interface of the data traceability monitoring module 12 through the second controller LAN bus CAN2, i being any integer greater than 1 and less than N.
[0068] Optionally, continuing to refer to Figure 2 , i is any integer greater than 1 and less than N, the i-th level dual-network port master module 133 can be any dual-network port master module between the first level dual-network port master module 131 and the N-th level dual-network port master module 135. The first LAN port IN of the i-th level dual-network port master module 133 is connected with the second LAN port OUT of the (i-1)-th level dual-network port master module (not shown in the figure), the second LAN port OUT of the i-th level dual-network port master module 133 is connected with the first LAN port IN of the (i+1)-th level dual-network port master module (not shown in the figure), the second LAN port OUT of the (i+1)-th level dual-network port master module (not shown in the figure) is connected with the first LAN port IN of the (i+2)-th level dual-network port master module (not shown in the figure). Figure 2 Figure 2 Figure 2 Figure 2
[0069] The first CAN port 0 of the i-th level dual-network port master module 133 is connected with each slave module 14 corresponding to the i-th level dual-network port master module 133 through the first CAN bus CAN1, and the second CAN port 1 of the i-th level dual-network port master module 133 is connected with the CAN port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus.
[0070] In the embodiment, the first LAN port and the second LAN port of the i-th level dual-network port master module are connected with the second LAN port of the (i-1)-th level dual-network port master module and the first LAN port of the (i+1)-th level dual-network port master module, respectively. The first CAN port of the i-th level dual-network port master module is connected with each slave module corresponding to the i-th level dual-network port master module through the first CAN bus, and the second CAN port of the i-th level dual-network port master module is connected with the CAN port of the display and control module and the CAN communication interface of the data traceability monitoring module through the second CAN bus. The LAN communication between the i-th level dual-network port master module and the adjacent upper and lower level dual-network port master modules is realized, and the CAN communication between the i-th level dual-network port master module and the display and control module, the data traceability monitoring module and each slave module corresponding to the i-th level dual-network port master module is realized.
[0071] As an optional implementation, the first LAN port of the Nth dual-port master module 135 is connected to the second LAN port of the (N-1)th dual-port master module 134, and the second LAN port of the Nth dual-port master module 135 is connected to the LAN communication interface of the data traceability monitoring module 12. The first CAN port of the Nth dual-port master module 135 is connected to the corresponding slave module 14 of the Nth dual-port master module 135 through the first CAN bus CAN1, and the second CAN port of the Nth dual-port master module 135 is connected to the CAN port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus CAN2.
[0072] Optionally, continuing to refer to Figure 2 , the Nth dual-port master module 135 can be the last dual-port master module of the N-level dual-port master modules. The first LAN port of the Nth dual-port master module 135 is connected to the second LAN port of the (N-1)th dual-port master module 134, and the second LAN port of the Nth dual-port master module 135 is connected to the LAN communication interface of the data traceability monitoring module 12.
[0073] The first CAN port of the Nth dual-port master module 135 is connected to the corresponding slave module 14 of the Nth dual-port master module 135 through the first CAN bus CAN1, and the second CAN port of the Nth dual-port master module 135 is connected to the CAN port of the display and control module 11 and the CAN communication interface of the data traceability monitoring module 12 through the second CAN bus CAN2.
[0074] In this embodiment, the Nth dual-port master module is the last dual-port master module of the N-level dual-port master modules. The first LAN port of the Nth dual-port master module is connected to the second LAN port of the (N-1)th dual-port master module, and the second LAN port of the Nth dual-port master module is connected to the LAN communication interface of the data traceability monitoring module. The first CAN port of the Nth dual-port master module is connected to the corresponding slave module of the Nth dual-port master module through the first CAN bus, and the second CAN port of the Nth dual-port master module is connected to the CAN port of the display and control module and the CAN communication interface of the data traceability monitoring module through the second CAN bus. The LAN communication between the Nth dual-port master module and the (N-1)th dual-port master module and the data traceability monitoring module is realized, and the controller area network communication between the Nth dual-port master module and the display and control module, the data traceability monitoring module and the corresponding slave module of the Nth dual-port master module is realized.
[0075] It is worth mentioning that when the local area network needs to be expanded, the number of double-network-port master modules is increased, and the N-level double-network-port master module is expanded to an N+1-level double-network-port master module, the connection between the second LAN network port OUT of the N-level double-network-port master module 135 and the LAN communication interface of the data traceability monitoring module 12 is disconnected, the second LAN network port OUT of the N-level double-network-port master module 135 is connected with the first LAN network port IN of the N+1-level double-network-port master module, and the second LAN network port OUT of the N+1-level double-network-port master module is connected with the LAN communication interface of the data traceability monitoring module 12, so as to avoid re-wiring and simplify the expansion process of the local area network, thereby realizing efficient expansion of the local area network.
[0076] As an optional implementation, the jth double-network-port master module 136 includes a switching chip 151 and a micro control unit 152, where j is any integer greater than or equal to 1 and less than or equal to N.
[0077] Optionally, continuing to refer to Figure 2 , j is any integer greater than or equal to 1 and less than or equal to N, and the jth double-network-port master module 136 can be any double-network-port master module of the double-network-port master modules of the N-level double-network-port master module that are sequentially cascaded. The jth double-network-port master module 136 includes a switching chip 151 and a micro control unit 152, that is, any double-network-port master module of the double-network-port master modules of the N-level double-network-port master module that are sequentially cascaded includes a switching chip 151 and a micro control unit 152.
[0078] The first end of the switching chip 151 of the jth double-network-port master module 136 is connected with the first LAN network port of the jth double-network-port master module 136, the second end of the switching chip 151 of the jth double-network-port master module 136 is connected with the second LAN network port of the jth double-network-port master module 136, and the third end of the switching chip 151 of the jth double-network-port master module 136 is connected with the control end of the micro control unit 152 of the jth double-network-port master module 136.
[0079] Optionally, continuing to refer to Figure 2 The first end and the second end of the switching chip 151 of the jth double-network-port master module 136 are connected with the first LAN network port IN and the second LAN network port OUT of the jth double-network-port master module 136, respectively, so that the switching chip 151 of the jth double-network-port master module 136 communicates with the first LAN network port IN and the second LAN network port OUT of the jth double-network-port master module 136, respectively. The third end of the switching chip 151 of the jth double-network-port master module 136 is connected with the control end of the micro control unit 152 of the jth double-network-port master module 136, so as to communicate with the micro control unit 152 of the jth double-network-port master module 136.
[0080] In this embodiment, the jth dual-network port master module includes a switching chip and a micro control unit, that is, each of the N dual-network port master modules is provided with a switching chip and a micro control unit. The first end and the second end of the jth dual-network port master module are connected with the first LAN port and the second LAN port of the jth dual-network port master module respectively, and the third end of the jth dual-network port master module is connected with the control end of the micro control unit of the jth dual-network port master module. The switching chip of the jth dual-network port master module is communicated with the first LAN port, the second LAN port and the micro control unit of the jth dual-network port master module.
[0081] As an optional implementation, the first LAN port or the second LAN port of the jth dual-network port master module 136 receives the data frame from the adjacent dual-network port master module and sends the data frame to the switching chip 151 of the jth dual-network port master module 136.
[0082] Optionally, continuing to refer to Figure 2 , the first LAN port IN of the jth dual-network port master module 136 receives the data frame sent by the second LAN port OUT of the upper dual-network port master module, or the second LAN port OUT of the jth dual-network port master module 136 receives the data frame sent by the first LAN port IN of the lower dual-network port master module. The first LAN port IN or the second LAN port OUT of the jth dual-network port master module 136 sends the data frame to the switching chip 151 of the jth dual-network port master module 136.
[0083] The switching chip 151 of the jth dual-network port master module 136 discards or sends the data frame to the micro control unit 152 of the jth dual-network port master module 136.
[0084] Optionally, continuing to refer to Figure 2 , the switching chip 151 of the jth dual-network port master module 136 analyzes the data frame, determines the target MAC address of the data frame, and performs MAC address verification according to the target MAC address, the MAC address of the jth dual-network port master module 136 and the mapping table of the MAC address and the identification of each of the N dual-network port master modules pre-stored in the memory. According to the MAC address verification result, it is determined whether to discard the data frame or send the data frame to the micro control unit 152 of the jth dual-network port master module 136.
[0085] Specifically, if the MAC address of the jth dual-network port master module 136 is consistent with the target MAC address, or the mapping table does not have a dual-network port master module identifier corresponding to the target MAC address, the switching chip 151 of the jth dual-network port master module 136 sends the data frame to the micro control unit 152 of the jth dual-network port master module 136. If the MAC address of the jth dual-network port master module 136 is inconsistent with the target MAC address, and the mapping table has a dual-network port master module identifier corresponding to the target MAC address, the switching chip 151 of the jth dual-network port master module 136 discards the data frame, i.e., continues to forward the data frame to the adjacent dual-network port master module through the first LAN network port IN or the second LAN network port OUT of the jth dual-network port master module 136.
[0086] The micro control unit 152 of the jth dual-network port master module 136 saves or sends the data frame to the adjacent dual-network port master module.
[0087] Optionally, continuing to refer to Figure 2 The micro control unit 152 of the jth dual-network port master module 136 analyzes the data frame, determines the target Internet Protocol (IP) address of the data frame, and performs IP address verification according to the target IP address and the IP address of the jth dual-network port master module 136, and determines to save or send the data frame to the adjacent dual-network port master module according to the IP address verification result.
[0088] Specifically, if the IP address of the jth dual-network port master module 136 is consistent with the target IP address, or the mapping table does not have a dual-network port master module identifier corresponding to the target MAC address, the micro control unit 152 of the jth dual-network port master module 136 saves the data frame and continues to analyze the data frame to execute the instruction corresponding to the data frame. If the IP address of the jth dual-network port master module 136 is inconsistent with the target IP address, the micro control unit 152 of the jth dual-network port master module 136 discards the data frame, i.e., continues to forward the data frame to the adjacent dual-network port master module through the first LAN network port IN or the second LAN network port OUT of the jth dual-network port master module 136, until the data frame is transmitted to the target dual-network port master module corresponding to the dual-network port master module identifier of the target MAC address and the target IP address. If the mapping table does not have a dual-network port master module identifier corresponding to the target MAC address, the target dual-network port master module is each dual-network port master module in the Nth dual-network port master module; if the mapping table has a dual-network port master module identifier corresponding to the target MAC address, the MAC address of the target dual-network port master module is consistent with the target MAC address, and the IP address of the target dual-network port master module is consistent with the target IP address.
[0089] In this embodiment, the first local area network interface or the second local area network interface of the jth dual-network interface master module receives data frames from the adjacent dual-network interface master module, and sends the data frames to the switching chip of the jth dual-network interface master module. The switching chip of the jth dual-network interface master module checks the media access control address, and discards or sends the data frames to the micro control unit of the jth dual-network interface master module. The micro control unit of the jth dual-network interface master module checks the Internet protocol, and saves or sends the data frames to the adjacent dual-network interface master module. Through the sending, receiving and forwarding functions of the jth dual-network interface master module, the data frames are broadcasted or sent directionally, that is, the data frames are sent directionally and non-directionally.
[0090] As an optional implementation, the data traceability monitoring module 12 at least includes a first storage unit 121, a storage control unit 122, a traceability master control unit 123 and a communication control unit 124.
[0091] Optionally, continuing to refer to Figure 2 , the data traceability monitoring module 12 at least includes the first storage unit 121, the storage control unit 122, the traceability master control unit 123 and the communication control unit 124 in addition to the LAN communication interface and the CAN communication interface. The first storage unit 121 can include a non-volatile storage area and a data cache area.
[0092] The traceability master control unit 123 is connected with the storage control unit 122 and the communication control unit 124 respectively.
[0093] Optionally, continuing to refer to Figure 2 , the traceability master control unit 123 is connected with the storage control unit 122 and the communication control unit 124 respectively, and the traceability master control unit 123 can communicate with the storage control unit 122 and the communication control unit 124 respectively.
[0094] The communication control unit 124 is connected with the controller area network communication interface of the data traceability monitoring module 12 and the local area network communication interface of the data traceability monitoring module 12, and the storage control unit 122 is connected with the first storage unit 121.
[0095] Optionally, continuing to refer to Figure 2 , the communication control unit 124 is connected with and communicates with the CAN communication interface and the LAN communication interface of the data traceability monitoring module 12 respectively, and the storage control unit 122 is connected with and communicates with the first storage unit 121.
[0096] The storage control unit 122 is used for controlling the reading and writing of the first storage unit 121.
[0097] Optionally, the storage control unit 122 controls the data reading and data writing of the first storage unit 121 by sending control instructions to the first storage unit 121.
[0098] The communication control unit 124 is configured to control the data sending and receiving of the CAN communication interface and the LAN communication interface of the data traceability monitoring module 12.
[0099] Optionally, the communication control unit 124 controls the data sending and receiving of the CAN communication interface and the LAN communication interface of the data traceability monitoring module 12 by sending control instructions to the CAN communication interface and the LAN communication interface of the data traceability monitoring module 12.
[0100] The traceability master unit 123 is configured to perform traceability monitoring on the battery pack data and send control instructions to the storage control unit 122 and / or the communication control unit 124 accordingly.
[0101] Optionally, the traceability master unit 123 monitors whether the BMS fails based on the battery pack data, and performs traceability based on the stored battery pack data when the BMS fails. During the traceability monitoring, the traceability master unit 123 sends control instructions to the storage control unit 122 and / or the communication control unit 124 to indirectly control the reading and writing of the first storage unit 121 through the storage control unit 122 and indirectly control the data sending and receiving of the CAN communication interface and the LAN communication interface of the data traceability monitoring module 12 through the communication control unit 124.
[0102] In this embodiment, the first storage unit, the storage control unit, the traceability master unit and the communication control unit are arranged in the data traceability monitoring module. The traceability master unit is connected to the storage control unit and the communication control unit. The communication control unit is connected to the CAN communication interface and the LAN communication interface of the data traceability monitoring module. The storage control unit is connected to the first storage unit. During the traceability monitoring, the traceability master unit sends control instructions to the storage control unit and / or the communication control unit to indirectly control the reading and writing of the first storage unit through the storage control unit and indirectly control the data sending and receiving of the CAN communication interface and the LAN communication interface of the data traceability monitoring module through the communication control unit.
[0103] As an optional implementation, the data traceability monitoring module 12 further comprises a clock unit 125, a charge-discharge management unit 126 and a power supply unit 127.
[0104] Optionally, continuing to refer to Figure 2, the data trace monitoring module 12 can further include a clock unit 125, a charge-discharge management unit 126 and a power supply unit 127. The clock unit 125, the charge-discharge management unit 126 and the power supply unit 127 are connected with the trace master control unit 123 respectively. The clock unit 125 can realize the real-time clock function of the data trace monitoring module 12 under the control of the trace master control unit 123. The charge-discharge management unit 126 can realize the charging and discharging function of the data trace monitoring module 12 under the control of the trace master control unit 123. The power supply unit 127 can supply power to the trace master control unit 123 or serve as a backup power supply of the data trace monitoring module 12.
[0105] In the embodiment, by setting the clock unit, the charge-discharge management unit and the power supply unit in the data trace monitoring module, sufficient power is obtained, and the real-time clock function and the charging and discharging function of the data trace monitoring module are realized.
[0106] As an optional implementation, the trace master control unit 123 sends a heartbeat message to the master control module 13 through the LAN communication interface of the data trace monitoring module 12. The master control module 13 serves as a relay station and forwards the heartbeat message to the display control module 11.
[0107] Optionally, continuing to refer to Figure 2 , the trace master control unit 123 sends a heartbeat message to the second LAN network port OUT of the N-level double-network-port master control module 135 through the LAN communication interface of the data trace monitoring module 12 at a preset fixed interval. Each double-network-port master control module in the N-level double-network-port master control module is sequentially cascaded as a relay station, and forwards the heartbeat message to the second LAN network port of the display control module 11, so as to verify whether the LAN communication link of the data trace monitoring module 12, the N-level double-network-port master control module and the display control module 11 is disconnected.
[0108] In the embodiment, the trace master control unit sends a heartbeat message to the second LAN network port of the N-level double-network-port master control module through the LAN communication interface of the data trace monitoring module at a preset fixed interval. Each double-network-port master control module in the N-level double-network-port master control module is sequentially cascaded as a relay station, and forwards the heartbeat message to the LAN network port of the display control module, so as to verify whether the LAN communication link of the data trace monitoring module, the N-level double-network-port master control module and the display control module is disconnected. The safety of the LAN communication is improved.
[0109] As an optional implementation, the display control module 11 includes a second storage unit 111 and a display unit 112.
[0110] Optionally, continuing to refer to The display control module 11 comprises a second storage unit 111 and a display unit 112, wherein the second storage unit 111 and the display unit 112 are connected with the LAN network port No.2 of the display control module 11 to receive the battery pack data sent by the LAN network port No.2 of the display control module 11.
[0111] The second storage unit 111 is configured to store the battery pack data.
[0112] Optionally, the second storage unit 111 receives and stores the battery pack data sent by the LAN network port No.2 of the display control module 11.
[0113] The display unit 112 is configured to display the battery pack data.
[0114] Optionally, the display unit 112 receives the battery pack data sent by the LAN network port No.2 of the display control module 11, processes the battery pack data and displays the processed battery pack data, so as to realize the visualization of the battery pack data.
[0115] In the embodiment, the second storage unit and the display unit are arranged in the display control module, and the LAN network port of the display control module is connected with the second storage unit and the display unit. The second storage unit receives and stores the battery pack data sent by the LAN network port of the display control module, and the display unit displays the processed battery pack data, so as to realize the storage and visualization of the battery pack data.
[0116] It should be emphasized that the cascaded network connection topology of the expandable N-level double-network-port master control module provided by the present application can not only be applied to the fault recording system, but also can be applied to any device capable of communicating with the N-level double-network-port master control module via LAN, and all the devices are within the protection scope of the present application.
[0117] The above merely provides a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all the changes or replacements are included in the protection scope of the present application.
Claims
1. A fault recording system, characterized in that, The application relates to a battery pack data monitoring system, which comprises a display control module, a data traceability monitoring module, a master control module and at least one slave control module corresponding to the master control module. The master control module is an N-stage double-network-port master control module, and each stage double-network-port master control module in the N-stage double-network-port master control module is connected in cascade. A first controller local area network interface of each stage double-network-port master control module is connected with a slave control module corresponding to the stage double-network-port master control module through a first controller local area network bus, and a second controller local area network interface of each stage double-network-port master control module is connected with a controller local area network interface of the display control module and a controller local area network communication interface of the data traceability monitoring module through a second controller local area network bus. A local area network interface of the display control module is connected with a first local area network interface of a first stage double-network-port master control module, and a local area network communication interface of the data traceability monitoring module is connected with a second local area network interface of an N-stage double-network-port master control module. Each slave control module is used for collecting battery pack data under the control of a corresponding master control module and sending the battery pack data to the corresponding master control module through the first controller local area network bus. The master control module is used for sending the battery pack data to the display control module and the data traceability monitoring module. The display control module is used for storing and displaying the battery pack data, and the data traceability monitoring module is used for traceability monitoring of the battery pack data. A first local area network interface of the first stage double-network-port master control module is connected with the local area network interface of the display control module, a second local area network interface of the first stage double-network-port master control module is connected with a first local area network interface of a second stage double-network-port master control module, a first controller local area network interface of the first stage double-network-port master control module is connected with a slave control module corresponding to the first stage double-network-port master control module through the first controller local area network bus, and a second controller local area network interface of the first stage double-network-port master control module is connected with a controller local area network interface of the display control module and a controller local area network communication interface of the data traceability monitoring module through the second controller local area network bus.
2. The system of claim 1, wherein, A first local area network interface of an i-stage double-network-port master control module is connected with a second local area network interface of an i-1-stage double-network-port master control module, a second local area network interface of the i-stage double-network-port master control module is connected with a first local area network interface of an i+1-stage double-network-port master control module, a first controller local area network interface of the i-stage double-network-port master control module is connected with a slave control module corresponding to the i-stage double-network-port master control module through the first controller local area network bus, and a second controller local area network interface of the i-stage double-network-port master control module is connected with a controller local area network interface of the display control module and a controller local area network communication interface of the data traceability monitoring module through the second controller local area network bus, wherein i is any integer greater than 1 and smaller than N.
3. The system of claim 1, wherein, 4. The system of claim 1, wherein, The first LAN port of the Nth dual-network port master module is connected with the second LAN port of the (N-1)th dual-network port master module, the second LAN port of the Nth dual-network port master module is connected with the LAN communication interface of the data traceability monitoring module, the first controller LAN interface of the Nth dual-network port master module is connected with the corresponding slave module of the Nth dual-network port master module through the first controller LAN bus, and the second controller LAN port of the Nth dual-network port master module is connected with the controller LAN interface of the display and control module and the controller LAN communication interface of the data traceability monitoring module through the second controller LAN bus.
5. The system of claim 2, wherein, The jth dual-network port master module comprises a switching chip and a micro control unit, wherein j is any integer greater than or equal to 1 and less than or equal to N; The first end of the switching chip of the jth dual-network port master module is connected with the first LAN port of the jth dual-network port master module, the second end of the switching chip of the jth dual-network port master module is connected with the second LAN port of the jth dual-network port master module, and the third end of the switching chip of the jth dual-network port master module is connected with the control end of the micro control unit of the jth dual-network port master module.
6. The system of claim 5, wherein, The first LAN port or the second LAN port of the jth dual-network port master module receives a data frame from an adjacent dual-network port master module and sends the data frame to the switching chip of the jth dual-network port master module; The switching chip of the jth dual-network port master module discards or sends the data frame to the micro control unit of the jth dual-network port master module; The micro control unit of the jth dual-network port master module saves or sends the data frame to an adjacent dual-network port master module.
7. The system of claim 1, wherein, The data traceability monitoring module comprises at least a first storage unit, a storage control unit, a traceability master control unit and a communication control unit; The traceability master control unit is connected with the storage control unit and the communication control unit respectively; The communication control unit is connected with the controller LAN communication interface of the data traceability monitoring module and the LAN communication interface of the data traceability monitoring module, and the storage control unit is connected with the first storage unit; The storage control unit is configured to control the reading and writing of the first storage unit. The communication control unit is configured to control the data transmission and reception of the controller LAN communication interface of the data traceability monitoring module and the LAN communication interface of the data traceability monitoring module. The traceability master control unit is configured to perform traceability monitoring on the battery pack data and send control instructions to the storage control unit and / or the communication control unit accordingly.
8. The system of claim 7, wherein, The data traceability monitoring module further comprises a clock unit, a charge and discharge management unit and a power supply unit.
9. The system of claim 7, wherein, The traceability master control unit sends a heartbeat message to the master module through the LAN communication interface of the data traceability monitoring module, and the master module serves as a relay station to forward the heartbeat message to the display and control module.
10. The system of claim 1, wherein, The display and control module comprises a second storage unit and a display unit; The second storage unit is configured to store the battery pack data. The display unit is configured to display the battery pack data.