Network routing device and method

By using the ID field of the CAN network frame in the CAN network to specify the routing target network and perform frame conversion, the problem of message processing difficulties and protocol incompatibility caused by the increase in the number of nodes in the CAN network is solved, and message transmission and network expansion across protocol networks are realized.

CN115552847BActive Publication Date: 2025-03-25LG ENERGY SOLUTION LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202180034596.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-29
Filing Date
2021-06-24
Publication Date
2025-03-25
Estimated Expiration
2041-06-24

AI Technical Summary

Technical Problem

In a CAN network, since each node is connected to a shared bus, unnecessary messages must be processed continuously, and the network cannot be accurately classified according to device characteristics, and as the number of nodes increases, the bus connection limits network expansion. In addition, the frame structures of CAN 2.0b and CAN 2.0a are incompatible, resulting in difficulty in transmitting across protocol networks.

Method used

Message transmission across protocol networks is realized by using the ID field of the CAN network frame as the routing target network specification in the routing processing unit and converting the frame into a protocol compatible with the target network in the frame conversion unit.

Benefits of technology

It implements multiple nodes to transmit messages simultaneously in a physically separated network and allows reuse of message IDs, solving the problems of network extension and protocol compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115552847B_ABST
    Figure CN115552847B_ABST
Patent Text Reader

Abstract

The present invention provides a battery management system for wireless charging. The battery management system includes a communication unit and a control unit. The communication unit receives information about a first state of charge (SOC) of a first battery module, a second SOC of a second battery module, and a third SOC of a third battery module. For the balance between the first SOC, the second SOC, and the third SOC, the control unit controls a first wireless charging between the first battery module and the second battery module and a second wireless charging between the second battery module and the third battery module. The first wireless charging is used to wirelessly transmit power from one of the first battery module and the second battery module to the other battery module. The second wireless charging is used to wirelessly transmit power from one of the second battery module and the third battery module to the other battery module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the priority of Korean Patent Application No. 10-2020-0079600 filed on June 29, 2020, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference. Technical Field

[0004] The present invention relates to a device and a method for routing using an extended ID field in a CAN network. Background Art

[0005] Typically, in the case of a controller area network (CAN) network, communication can be prioritized by occupying a communication bus using an ID field of a frame. Nodes included in such a CAN network and sharing one bus classify messages they need to receive by filtering through the ID field.

[0006] However, because each node of the CAN network is connected to a CAN communication bus, unnecessary messages must be processed continuously. Therefore, it is impossible to accurately classify the network according to the characteristics or functions of each device. In addition, limitations arise as the number of nodes increases because the bus for CAN communication must be connected continuously.

[0007] Meanwhile, in the case of CAN 2.0b, which is one of the communication protocols of the CAN network, more messages can be registered and used through an extended ID field of a frame. However, CAN 2.0b and the existing CAN 2.0a have different frame structures and are therefore incompatible with each other. Summary of the invention

[0008] [Technical issues]

[0009] The present invention has been conceived to solve the above-mentioned problems, and an object of the present invention is to provide a network routing device and method, in which by using the ID field of the CAN network frame as a routing target network designation, multiple nodes can simultaneously transmit messages and routing target messages in physically separated networks, and the message ID can be reused.

[0010] [Technical solution]

[0011] A network routing device according to an embodiment of the present invention, as a routing device for transmitting frames between nodes connected to different communication networks among a plurality of communication networks, includes: a routing processing unit, which is configured to: determine a second network as a routing target among a plurality of communication networks based on frame information received from a first network of a transmission frame among the plurality of communication networks; and a frame conversion unit, which is configured to convert the frame into a frame compatible with the second network.

[0012] A communication node according to an embodiment of the present invention, as a communication node configured to be connectable to multiple communication networks and configured to transmit frames between nodes connected to different communication networks among the multiple communication networks, includes: a network routing device, which is configured to: determine a second network as a routing target among the multiple communication networks based on information of a frame received from a first network that transmits the frame among the multiple communication networks, and convert the frame to be compatible with the second network; a first communication module, which is configured to: support a communication protocol used in the first network and receive frames from nodes connected to the first network; and a second communication module, which is configured to: support a communication protocol used in the second network and transmit the frames received from the first network to the second network.

[0013] According to an embodiment of the present invention, a network routing method, as a routing method for transmitting frames between nodes connected to different communication networks among a plurality of communication networks, includes: determining a second network as a routing target among a plurality of communication networks based on frame information received from a first network of a transmission frame among a plurality of communication networks; and converting the frame to be compatible with the second network.

[0014] [Effects of the Invention]

[0015] According to the network routing device and method of the present invention, by utilizing specific fields of the CAN network frame as routing target network designation and routing target message, multiple nodes can simultaneously transmit messages in physically separated networks and message IDs can be reused. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a block diagram showing the configuration of a general battery control system.

[0017] Figure 2 is a block diagram showing a configuration of a network routing device according to an embodiment of the present invention.

[0018] Figure 3 is a block diagram showing a configuration of a communication node according to an embodiment of the present invention.

[0019] Figure 4a is a schematic diagram illustrating the operation of a network routing device according to an embodiment of the present invention.

[0020] Figure 4b is a schematic diagram showing the structure of a frame used in a network routing device according to an embodiment of the present invention.

[0021] Figure 5 is a flow chart illustrating a network routing method according to an embodiment of the present invention.

[0022] Figure 6 is a schematic diagram showing a hardware configuration of a network routing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] Hereinafter, various embodiments of the present invention will be described in detail with reference to the accompanying drawings. Herein, the same reference numerals are used for the same components in the accompanying drawings, and repeated description of the same components is omitted.

[0024] For the various embodiments of the present invention disclosed herein, the purpose of illustrating specific structures or functional descriptions is merely to describe the embodiments of the present invention, and the various embodiments of the present invention may be implemented in various forms and should not be interpreted as being limited to the embodiments described herein.

[0025] Expressions such as "1st", "2nd", "first" or "second" used in various embodiments may modify various elements regardless of their order and / or importance, and do not limit the corresponding elements. For example, a first component may be referred to as a second component without departing from the scope of the present invention, and similarly, a second component may be renamed and referred to as a first component.

[0026] The terms used herein are used to describe specific embodiments only and are not intended to limit the scope of other embodiments. Unless otherwise specified, terms in the singular may include plural forms.

[0027] All terms used herein, including technical or scientific terms, may have the same meaning as those generally understood by those skilled in the art. Terms defined in commonly used dictionaries may be interpreted as having the same or similar meaning as those in the context of the relevant technology, and unless clearly defined herein, are not interpreted as ideal or overly formal meanings. In some cases, even terms defined herein cannot be interpreted as excluding embodiments of the present invention.

[0028] Figure 1 is a block diagram showing the configuration of a general battery control system.

[0029] Reference Figure 1 , which schematically shows a battery control system including a battery pack 1 and an upper-level controller 2 included in an upper-level system according to an embodiment of the present invention.

[0030] like Figure 1As shown, the battery pack 1 includes a battery module 10 composed of one or more battery cells and capable of charging and discharging; a switch unit 14 connected in series to the + terminal side or the - terminal side of the battery module 10 to control the flow of charging / discharging current of the battery module 10; and a battery management system 20 for controlling and managing the voltage, current, temperature, etc. of the battery pack 1 to prevent overcharging and overdischarging.

[0031] Here, the switch unit 14 is a semiconductor switching element that controls the flow of current for charging or discharging the battery module 10 , and is, for example, at least one MOSFET, or a relay, a magnetic contactor, etc. may be used according to the specifications of the battery pack 1 .

[0032] In addition, in order to monitor the voltage, current, temperature, etc. of the battery pack 1, the BMS 20 can measure or calculate the voltage and current of the gate, source, and drain of the semiconductor switching device. In addition, the BMS 20 can use the sensor 12 provided adjacent to the semiconductor switching element to measure the current, voltage, temperature, etc. of the battery pack. The BMS 20 is an interface for receiving values ​​obtained by measuring the above-mentioned various parameters, and may include a plurality of terminals and circuits connected to these terminals to process input values.

[0033] In addition, the BMS 20 may control on / off of the switching unit 14 , such as a MOSFET, and may be connected to the battery module 10 to monitor a state of the battery module 10 .

[0034] The upper controller 2 may transmit a control signal for the battery module to the BMS 20. Therefore, the operation of the BMS 20 may be controlled based on the signal applied from the upper controller. The battery cell of the present invention may be included in a battery pack for an energy storage system (ESS) or a vehicle. And in this case, the upper controller 2 may be an ESS controller or a vehicle controller. However, the battery pack 1 is not limited to such use.

[0035] Since the configurations of the battery pack 1 and the BMS 20 are well-known configurations, a more detailed description is omitted.

[0036] Figure 2 is a block diagram showing a configuration of a network routing device according to an embodiment of the present invention.

[0037] Reference Figure 2 , the network routing device 200 according to the embodiment of the present invention may include a routing processing unit 210 and a frame conversion unit 220 .

[0038] The network routing device 200 according to an embodiment of the present invention may be a device for routing multiple communication networks to transmit and receive frames, the frame having a structure including a first part and a second part, the first part including information for defining a routing target network, and the second part including a routing target message between each node. That is, in the network routing device according to an embodiment of the present invention, the extended ID field of the CAN frame may be divided into subfields to be used as routing target network designation and routing target messages.

[0039] In addition, multiple communication networks that communicate through the network routing device 200 according to an embodiment of the present invention can be physically separated from each other, and each communication network can use the CAN protocol. In this case, the multiple communication networks can be any one of the CAN 2.0a or CAN 2.0b buses. In this way, because the multiple communication networks are physically separated in the form of a CAN bus, multiple nodes connected to different communication networks can transmit messages simultaneously within the network. In addition, because the networks are separated, the message ID can be used as it is.

[0040] The routing processing unit 210 may determine a communication network (second network) as a routing target among multiple communication networks based on information of a frame received from a communication network (first network) transmitting the frame. In this case, the routing processing unit 210 may determine a routing target network among multiple communication networks based on information of the above-mentioned first part of the CAN frame. In addition, the first part and the second part of the CAN frame may be included in an extended ID (EID) field or a standard ID (SID) field of the frame, and each of the first part and the second part may have a preset number of bits.

[0041] Meanwhile, the reserved field of the CAN frame used in the routing processing unit 210 may include information indicating whether to route to one of the plurality of communication networks. For example, if the received frame indicates a routing target, the reserved field may be 1, and if the routing target is not indicated, it may be 0. The routing processing unit 210 may determine whether to route the frame to another network based on the reserved field of the frame.

[0042] When the communication protocols of the frame transmission network and the routing target network are different from each other, the frame conversion unit 220 may convert the frame to be compatible with the routing target network. For example, when the communication protocol of the frame transmission network is CAN 2.0b and the communication protocol of the routing target network is CAN 2.0a, the frame conversion unit 220 may copy and transfer at least a portion of the extended ID field of the frame (e.g., routing target message) to the standard ID field of the CAN 2.0a frame of the routing target network.

[0043] At the same time, although Figure 2Not shown, the network routing device 200 according to an embodiment of the present invention may include a storage unit. Since the storage unit can store routing target network information, routing target messages, routing designator information, etc. of received or transmitted frames, it allows the user to check frame information or history as needed. In addition, the storage unit may not be included in the routing device 200, but may be included in the communication node 300 to be described below.

[0044] Figure 3 is a block diagram showing a configuration of a communication node according to an embodiment of the present invention.

[0045] Reference Figure 3 , the communication node 300 according to an embodiment of the present invention is used to transmit and receive frames between each node through multiple communication networks, and may include a network routing device 310, a first communication module 320 and a second communication module 330.

[0046] The network routing device 310 can determine a communication network as a routing target among multiple communication networks based on the frame information received from the communication network transmitting the frame, and convert the frame into a communication network compatible with the routing target network. Figure 2 The network routing device 200 is substantially the same, so a detailed description thereof is omitted.

[0047] The first communication module 320 can receive frames from the frame transmission network. The first communication module 320 communicates with multiple nodes connected to the first network. The first communication module 320 can support a first communication protocol used in the first network. For example, the first communication module 320 can support the CAN protocol and transmit / receive frames in the corresponding network through multiple data lines constituting the CAN bus.

[0048] The first communication module 320 transmits the frame received from the first network to the network routing device 310 based on the information about the field indicating whether to perform routing in the received frame. For example, information indicating whether to route to one of the multiple communication networks may be included in the reserved field of the received frame. In addition, the first communication module 320 may transmit the received frame to the network routing device 310 based on the information of the reserved field, or transmit the received frame to the control unit (not shown) of the communication node 300 to process the frame, or ignore the received frame.

[0049] The second communication module 330 can transmit the frame received from the frame transmission network to the routing target network. The second communication module 330 communicates with multiple nodes connected to the second network. The second communication module 330 can support the second communication protocol used in the second network. For example, the second communication module 330 can support the CAN protocol and transmit / receive frames in the corresponding network through multiple data lines constituting the CAN bus.

[0050] The frame transmitted to the second network through the second communication module 330 includes the routing target message included in the frame when transmitted from the first network, and based on this, the node corresponding to the message in the second network can receive the frame.

[0051] Figure 4a is a schematic diagram showing the operation of a network routing device according to an embodiment of the present invention. Figure 4b Schematic diagram showing the structure of a frame used in a network routing device according to an embodiment of the present invention. Figure 4b , the left side shows the frame structure of CAN 2.0b as a frame transmission network, and the right side shows the frame structure of CAN 2.0a as a routing target network.

[0052] Reference Figure 4a , networks No.1 to No.4 transmit and receive frames through the network routing device of the present invention. Figure 4a As shown, network No. 1 is the battery BMS node of the CAN network, network No. 2 is the power motor AUX node, and networks No. 3 and No. 4 are control ECU_SUB nodes.

[0053] exist Figure 4a In , if a frame is transmitted from network No.1 as CAN 2.0b bus to network No.2 as CAN 2.0a bus, the network routing device first checks the reserved field in the CAN frame. Figure 4b In the left frame structure of , when the information included in the reserved frame R0 is 1, the frame including the extended ID field EID as the routing target frame is transmitted to the routing processing unit 210. At this time, the information included in the reserved frame R0 is not limited to Figure 4b 1 or 0 as shown, and can be expressed in various ways.

[0054] Next, the routing processing unit 210 refers to the extended ID field of the received frame to select a routing target network. In this case, the routing target network can be determined based on a predetermined number of bits (e.g., upper 6 bits) of the extended ID field. For example, when network No. 2 is the routing target network, the upper 6 bits of the extended ID field can be expressed as [000010], such as Figure 4b shown.

[0055] After determining the routing target network in the routing processing unit 210, the network routing device transmits the message to the routing target network. In this case, the transmitted message may be the remaining part (second part) of the extended ID field of the frame except for the target network specified part (first part). Figure 4bAs shown, the message of the transmitted frame can be expressed by an 11-bit number [11010101001] and can be used to identify the message and indicate the priority.

[0056] However, in the present invention, the number of bits used to specify a routing target network and the number of bits used to route a target message are not limited thereto and can be arbitrarily set by the user as needed.

[0057] If network No. 2 is CAN 2.0a, the frame conversion unit 220 converts the frame to be compatible with CAN 2.0a. For example, Figure 4b The routing target message part (11 bits) of the CAN 2.0b frame can be copied and transmitted to the standard ID field of the CAN 2.0a frame as the routing target network. On the other hand, if the frame transmission network is CAN 2.0a and the routing target network is CAN 2.0b, the message of the standard ID field of the CAN 2.0a frame can be copied and transmitted to the standard ID field or extended ID field of the CAN 2.0b frame.

[0058] In this way, according to the network routing device according to an embodiment of the present invention, even in the case where the frame structures are different from each other due to different communication protocols (e.g., CAN 2.0a and CAN 2.0b), frames can be transmitted without a separate device or application by utilizing the ID field of the frame structure.

[0059] Figure 5 is a flow chart illustrating a network routing method according to an embodiment of the present invention.

[0060] Reference Figure 5 , first, check the reserved field of the frame received from the network routing device (S110). In this case, the reserved field of the CAN frame may include information indicating whether to route to the target network. For example, if the received frame is a routing target, the reserved field may indicate 1, and if it is not a routing target, it may indicate 0. Therefore, the network routing device of the present invention can determine whether to route the frame to another network based on the reserved field of the frame.

[0061] Then, it is determined whether the frame received by the network routing device is a routing target (S120). If the received frame is not a routing target (No), it is processed in the same manner as the frame transmission network (S130).

[0062] On the other hand, if the received frame is a routing target (yes), the routing target network is determined by checking the extended ID field of the frame (S140). In this case, the routing target network information of the extended ID field can be indicated by a preset number of high bits (e.g., 6 bits).

[0063] Next, it is determined whether the communication protocols of the frame transmission network and the routing target network are the same (S150). If the communication protocols of the frame transmission network and the routing target network are the same, the frame is transmitted to the routing target network as it is (S170).

[0064] On the other hand, when the communication protocols of the frame transmission network and the routing target network are different (No), the frame is converted to be compatible with the routing target network (S160). For example, if the routing target network is CAN 2.0a and the frame transmission network is CAN2.0b, the routing target message in the extended ID field of the frame can be copied to the standard ID field of the CAN 2.0a frame of the routing target network. Then, the converted frame is transmitted to the routing target network (S170).

[0065] In this way, according to the network routing method of the embodiment of the present invention, by using the ID field of the CAN network frame as the routing target network designation and routing target message, multiple nodes can transmit messages simultaneously in physically separated networks, and the message ID can be reused.

[0066] Figure 6 is a schematic diagram showing a hardware configuration of a network routing device according to an embodiment of the present invention.

[0067] Reference Figure 6 , the battery management system 600 may include a microcontroller (MCU) 610 for controlling various processes and each configuration; a memory 620 on which an operating system program and various programs (e.g., a routing target network calculation program, a frame conversion program, etc.) are recorded; an input interface between battery cell modules and / or semiconductor switching elements; an input / output interface 630 that provides an output interface; and a communication interface 640 that can communicate with the outside through a wired / wireless communication network. In this way, the computer program according to the present invention can be recorded in the memory 620 and processed by the microcontroller 610, and, for example, it can be implemented as an execution Figure 2 Modules for each functional block are shown.

[0068] In the above, even if all components constituting the embodiments of the present invention are described as being combined into one or operating in combination, the present invention is not necessarily limited to these embodiments. That is, within the scope of the purpose of the present invention, all constituent elements can be selectively combined and operated in one or more.

[0069] In addition, unless otherwise specified, the above terms such as "including", "consisting of" or "having" indicate that the corresponding component may exist, and should be understood to further include other components rather than exclude other components. Unless otherwise defined, all terms, including technical or scientific terms, have the same meanings as those generally understood by those skilled in the art. Common terms such as terms defined in dictionaries should be understood to be consistent with the meanings in the context of the relevant technology, and unless clearly defined in the present invention, they are not interpreted as ideal or overly formal meanings.

[0070] The above description is merely an explanation of the technical concept of the present invention, and those skilled in the art can make various modifications and changes without departing from the essential features of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical concept of the present invention, but are used for explanation, and the scope of the technical concept of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted by the attached claims, and all technical concepts within their equivalent scope should be interpreted as included within the scope of the present invention.

Claims

1. A network routing device for transmitting a frame between nodes connected to different communication networks of a plurality of communication networks, the network routing device being configured to receive the frame from a first network of the plurality of communication networks and to check a reserved field of the frame, the reserved field indicating whether to route the frame to another network of the plurality of communication networks, The network routing device comprises: A routing processing unit, wherein the routing processing unit is configured to: If the reserved field indicates that the frame is not to be routed to the other network, processing the frame in the same manner as the first network, and If the reserved field indicates that the frame is to be routed to the other network, then determining, based on the information in the frame, a second network as a routing target among the plurality of communication networks; determining whether the first network and the second network use the same network protocol; as well as If the first network and the second network use the same network protocol, transmitting the frame to the second network as is; as well as A frame conversion unit, wherein the frame conversion unit is configured to convert the frame to be compatible with the second network if the first network and the second network do not use the same network protocol, wherein when the communication protocol of the first network is CAN 2.0b and the communication protocol of the second network is CAN 2.0a, the frame conversion unit copies and transmits the routing target message included in the extended ID field of the frame to the standard ID field of the frame of the second network.

2. The network routing device according to claim 1, wherein: Any one of a plurality of fields included in the frame has a structure including a first part including information for specifying the second network and a second part including routing target information.

3. The network routing device according to claim 2, wherein: The first part and the second part are included in an extended ID field of the frame.

4. The network routing device according to claim 2, wherein: The first portion and the second portion each have a preset number of bits.

5. The network routing device according to claim 1, wherein: The plurality of communication networks are physically separated from each other.

6. The network routing device according to claim 1, wherein: The routing processing unit receives only a frame including, in a reserved field of the frame, information indicating that the frame is routed to another communication network.

7. A communication node, the communication node being configured to be connectable to a plurality of communication networks and being configured to transmit frames between nodes connected to different communication networks among the plurality of communication networks, the communication node comprising: A network routing device, wherein the network routing device is configured to: receiving the frame from a first network among the plurality of communication networks; checking a reserved field of the frame, the reserved field indicating whether the frame is to be routed to another network of the plurality of communication networks; If the reserved field indicates that the frame is not to be routed to the other network, processing the frame in the same manner as the first network, and if the reserved field indicates that the frame is to be routed to the other network, determining a second network as a routing target among the plurality of communication networks based on information in the frame, determining whether the first network and the second network use the same network protocol; If the first network and the second network use the same network protocol, transmitting the frame to the second network as is; as well as If the first network and the second network do not use the same network protocol, converting the frame to be compatible with the second network; a first communication module, the first communication module being configured to: support a communication protocol used in the first network and receive the frame from a node connected to the first network; as well as a second communication module, the second communication module being configured to support a communication protocol used in the second network and transmit the frame received from the first network or the converted frame to the second network, When the communication protocol of the first network is CAN 2.0b and the communication protocol of the second network is CAN 2.0a, the network routing device copies and transmits the routing target message included in the extended ID field of the frame to the standard ID field of the frame of the second network.

8. A routing method for transmitting frames between nodes connected to different communication networks among a plurality of communication networks, the method comprising: receiving the frame from a first network among the plurality of communication networks; checking a reserved field of the frame, the reserved field indicating whether the frame is to be routed to another network of the plurality of communication networks; If the reserved field indicates that the frame is not to be routed to the other network, processing the frame in the same manner as the first network, and If the reserved field indicates that the frame is to be routed to the other network, then determining, based on the information in the frame, a second network as a routing target among the plurality of communication networks; determining whether the first network and the second network use the same network protocol; If the first network and the second network use the same network protocol, transmitting the frame to the second network as is; as well as If the first network and the second network do not use the same network protocol, converting the frame to be compatible with the second network, When the communication protocol of the first network is CAN 2.0b and the communication protocol of the second network is CAN 2.0a, the routing target message included in the extended ID field of the frame is copied and transmitted to the standard ID field of the frame of the second network.

9. The method according to claim 8, wherein: Any one of a plurality of fields included in the frame has a structure including a first part including information for specifying the second network and a second part including routing target information.

10. The method according to claim 9, wherein: The first part and the second part are included in an extended ID field of the frame.

Citation Information

Patent Citations

  • Patient Monitoring System for Hospital

    KR1020200079600A

  • Communication message conversion apparatus and communication message conversion method

    US20070140294A1

  • Vehicle-mounted control device

    US20160359545A1

  • Apparatus for use in a can system

    US20180295112A1