Communication network system
The communication network system addresses excessive load by allocating separate bandwidths for static and dynamic messages, setting transmission limits, and deleting old messages, thereby maintaining communication quality.
Patent Information
- Application Number
- JP2024090125
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2026-11-11
- Estimated Expiration
- 2044-06-03
AI Technical Summary
The increase in dynamic messages due to software updates or additions in subscriber stations leads to excessive communication load, potentially deteriorating communication quality in existing communication network systems.
A communication network system with electronic control devices that allocate separate bandwidths for static and dynamic messages, set an upper limit on dynamic messages, and adjust transmission to prevent overload, while allowing for dynamic message deletion under certain conditions.
This approach maintains communication quality by managing bandwidth allocation and message transmission, preventing excessive load and ensuring the transmission of both static and dynamic messages effectively.
Smart Images

Figure 0007948282000001 
Figure 0007948282000002 
Figure 0007948282000003
Abstract
Description
Technical Field
[0001] The present invention relates to a communication network system including a plurality of electronic control devices.
Background Art
[0002] The system disclosed in Patent Document 1 includes a plurality of subscriber stations and communication connections. Each of the plurality of subscriber stations can transmit and receive not only static messages but also dynamic messages via the communication connection. As a result, the system can also perform communications that were not assumed at the system design stage.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of Invention
Problems to be Solved by the Invention
[0004] When the software of a subscriber station is updated, or new software is added to a subscriber station, the number of dynamic messages that the subscriber station transmits to the communication connection per unit time may increase. In the system as described above, the greater the number of dynamic messages transmitted from a plurality of subscriber stations to the communication connection per unit time, the higher the communication load of the system. If the communication load of the system becomes excessive, the communication quality of the system may deteriorate.
Means for Solving the Problems
[0005] A communication network system for solving the above problems is a system comprising a plurality of electronic control devices configured to send and receive static and dynamic messages via a communication bus. In this communication network system, the sum of the data lengths of the static messages transmitted to the communication bus per unit time does not exceed a first bandwidth of the communication bus's bandwidth, and the second bandwidth of the communication bus, excluding the first bandwidth, is allocated to the plurality of electronic control devices as bandwidth for the communication of dynamic messages. Each of the plurality of electronic control devices performs the following: setting an upper limit on the number of dynamic messages to be transmitted to the communication bus per unit time to the number of dynamic messages that can be transmitted using its allocated amount of the second bandwidth, and adjusting the transmission of dynamic messages to the communication bus so that the number of dynamic messages transmitted to the communication bus per unit time does not exceed the upper limit. [Effects of the Invention]
[0006] To suppress the deterioration of communication quality even when the number of dynamic messages to be sent and received between multiple electronic control devices increases. [Brief explanation of the drawing]
[0007] [Figure 1] Figure 1 is a block diagram showing a communication network system according to the first embodiment. [Figure 2] Figure 2 is a schematic diagram showing the data structure of a static message. [Figure 3] Figure 3 is a schematic diagram showing the data structure of a dynamic message. [Figure 4] Figure 4 is a schematic diagram showing the bandwidth allocation of the communication bus that constitutes the communication network system in Figure 1. [Figure 5] Figure 5 is a flowchart showing a series of processes performed by the electronic control unit when transmitting a message to the communication bus in the communication network system of the first embodiment. [Figure 6]Figure 6 is a sequence diagram showing the processing flow when setting an upper limit on the number of dynamic messages to be transmitted to the communication bus per unit time in the communication network system of the first embodiment. [Figure 7] Figure 7 is a flowchart showing a series of processes executed by an electronic control unit to delete a dynamic message for which a predetermined deletion condition has been met in the communication network system of the second embodiment. [Modes for carrying out the invention]
[0008] (First Embodiment) The first embodiment of the communication network system will be described below with reference to Figures 1 to 6. <Configuration of the communication network system> Figure 1 shows a communication network system 10 installed in a vehicle. The communication network system 10 comprises a plurality of electronic control units 20. Each of the plurality of electronic control units 20 is configured to send and receive messages via a communication bus 11. Hereafter, the communication network system 10 will be simply referred to as "system 10". The electronic control units 20 will be referred to as "ECU 20". "ECU" is an abbreviation for "Electronic Control Unit". An example of a communication bus 11 is a CAN bus. "CAN" is an abbreviation for "Control Area Network".
[0009] The multiple ECUs 20 include ECUs that control on-vehicle actuators such as brake systems, and ADAS-ECUs, etc. Each ECU 20 is equipped with a processing circuit 21 and a communication device 25. The ECU 20 can send messages to the communication bus 11 via the communication device 25. The ECU 20 can receive messages from the communication bus 11 via the communication device 25.
[0010] Each of the processing circuits 21 has a CPU 22 and a memory 23. The memory 23 stores various control programs executed by the CPU 22. By executing the control programs in the memory 22, the processing circuits 21 can provide services corresponding to the control programs.
[0011] <Message> Referring to Figures 2 and 3, the messages sent from the ECU 20 to the communication bus 11 will be explained.
[0012] The messages include static messages MG1 and dynamic messages MG2. Static messages MG1 are messages that were expected to be sent from the ECU 20 to the communication bus 11 during the design phase of the system 10. Dynamic messages MG2 are messages that were not expected to be sent from the ECU 20 to the communication bus 11 during the design phase of the system 10. For example, if the control program of memory 23 is updated, the content of the services that the system 10 can provide may change. When the content of the services changes, the number of messages sent from the ECU 20 to the communication bus 11 may increase. Also, for example, if a new control program is added to memory 23, the number of services that the system 10 can provide may increase. When the number of services increases, the number of messages sent from the ECU 20 to the communication bus 11 may increase. Messages that increase due to changes in the content of services or an increase in the number of services correspond to dynamic messages.
[0013] Figure 2 shows the data structure of static message MG1. The data length of static message MG1 is fixed at a specified data length. Static message MG1 includes a header area HD1 and a data area DT1. The header area HD1 contains information indicating the CAN-ID. The CAN-ID is an ID used to identify the content of the message and the ECU to which it is sent. The data area DT1 contains at least one piece of data that should be communicated to other ECUs 20 by sending static message MG1.
[0014] Figure 3 shows the data configuration of the dynamic message MG2. The data length of the dynamic message MG2 is equal to that of the static message MG1. The dynamic message MG2 includes a header area HD2 and a data area DT2. The header area HD2 includes information indicating a CAN-ID.
[0015] The data area DT2 includes at least one piece of data that should be transmitted to another ECU 20 by sending the dynamic message MG2. The data area DT2 includes a data ID. The data ID is, for example, an ID for identifying the type of the dynamic message or identifying the destination ECU of the dynamic message.
[0016] <Communication Using Communication Bus> Figure 4 shows the bandwidth RA of the communication bus 11. The bandwidth RA of the communication bus 11 is the maximum value of the data volume that can be transmitted over the communication bus 11 per unit time. The bandwidth RA includes a first bandwidth RA1 and a second bandwidth RA2. The magnitudes of the first bandwidth RA1 and the second bandwidth RA2 are determined at the setting stage of the system 10.
[0017] The first bandwidth RA1 is a data volume reserved for transmission of the static message MG1. The first bandwidth RA1 is set such that the sum of the data lengths of the static messages MG1 transmitted to the communication bus 11 per unit time does not exceed the first bandwidth RA1.
[0018] The second bandwidth RA2 is a data volume reserved for transmission of the dynamic message MG2. Of the bandwidth RA of the communication bus 11, the bandwidth excluding the first bandwidth RA1 is the second bandwidth RA2. As described above, the data length of the dynamic message MG2 is determined in advance. Further, the second bandwidth RA2 is also determined in advance. Therefore, it can be said that the upper limit of the number of dynamic messages MG2 that can be transmitted to the communication bus 11 per unit time is determined.
[0019] For example, as shown in Figure 4, the second bandwidth RA2 is allocated to multiple ECUs 20. When the control program is updated or an additional control program is added to at least one of the multiple ECUs 20, the amount of the second bandwidth RA2 allocated to the multiple ECUs 20 is changed.
[0020] <Message sending process> Referring to Figure 5, a series of processes performed by the CPU 22 to send messages MG1 and MG2 to the communication bus 11 will be described. The CPU 22 repeatedly performs this series of processes at predetermined control cycles.
[0021] In step S11, the CPU 22 determines whether or not there is a message sending request. If there is a message sending request (S11: YES), the CPU 22 proceeds to step S13. If there is no message sending request (S11: NO), the CPU 22 terminates the series of processes.
[0022] In step S13, the CPU 22 determines whether the message to be sent contains the dynamic message MG2. If the message to be sent contains the dynamic message MG2 (S13: YES), the CPU 22 proceeds to step S15. If the message to be sent does not contain the dynamic message MG2 (S13: NO), the CPU 22 proceeds to step S23.
[0023] In step S15, the CPU 22 assigns a data ID to the generated dynamic message MG2. For example, the CPU 22 adds information indicating the data ID to the data area DT2 of the generated dynamic message MG2.
[0024] In the following step S17, the CPU 22 obtains the number of unsent dynamic messages MG2 that have been generated but have not yet been sent to the communication bus 11, which is the number of unsent messages N. The CPU 22 then determines whether the number of unsent messages N is greater than the upper limit NL.
[0025] The "Upper Limit NL" referred to here is the upper limit on the number of dynamic messages MG2 sent per unit time, set for the ECU20 on which the series of processes shown in Figure 5 are executed. The data length of dynamic messages MG2 is fixed. Therefore, the larger the bandwidth allocated to the ECU20 from the second bandwidth RA2, the larger the value set for Upper Limit NL.
[0026] If the number of unsent messages N is greater than the upper limit NL (S17: YES), the CPU 22 proceeds to step S19. If the number of unsent messages N is less than or equal to the upper limit NL (S17: NO), the CPU 22 proceeds to step S23.
[0027] In step S19, the CPU 22 adjusts the number of dynamic messages MG2 to send to the communication bus 11 per unit time. Specifically, the CPU 22 selects a number of dynamic messages MG2 equal to the upper limit NL from among several unsent dynamic messages MG2. In the next step S21, the CPU 22 adds an unsent flag to the dynamic messages MG2 that it has decided to send. The unsent flag is an example of information indicating that there are dynamic messages MG2 that have not yet been sent. For example, the CPU 22 sets the unsent flag in the data area DT2 of the dynamic messages MG2 that it has decided to send. Then, the CPU 22 moves on to step S23.
[0028] In step S23, the CPU 22 sends the message to be sent to the communication bus 11. That is, by executing the processes in steps S19 and S23, the CPU 22 can adjust the transmission of dynamic messages MG2 to the communication bus 11 so that the number of dynamic messages MG2 sent per unit time does not exceed the upper limit NL. Once the transmission of the message is complete, the CPU 22 terminates the series of processes.
[0029] <Setting the above upper limit NL> Referring to Figure 6, the process flow for setting the upper limit NL will be explained. One of the multiple ECUs 20 functions as the master ECU 20A. The other ECUs among the multiple ECUs 20 function as slave ECUs 20B. The master ECU 20A has the function of distributing the second bandwidth RA2 to the multiple ECUs 20, while the slave ECUs 20B do not have this function. For the sake of clarity, only one of the multiple slave ECUs 20B is shown in Figure 6.
[0030] When the control program is updated or an additional control program is added to at least one of the multiple ECUs 20, the process shown in Figure 6 is initiated. First, in step ST101, the CPU 22 in the master ECU 20A analyzes the updated or added services. Specifically, the CPU 22 checks whether the types of dynamic messages MG2 sent from the ECU 20 to the communication bus 11 have increased.
[0031] In the next step, ST103, the CPU 22 in the master ECU 20A performs the allocation process of the second bandwidth RA2 based on the analysis results in step ST101. For example, the CPU 22 allocates the second bandwidth RA2 to multiple ECUs 20 such that the allocation to ECUs 20 with an increased number of dynamic message types MG2 to be sent to the communication bus 11 increases.
[0032] Then, in step ST105, the CPU22 in the master ECU20A notifies the slave ECU20B of the bandwidth allocated to the slave ECU20B from the second bandwidth RA2.
[0033] In the subsequent step ST107, the CPU 22 in both the master ECU 20A and the slave ECU 20B sets an upper limit NL according to its allocation of the second bandwidth RA2. Specifically, the CPU 22 increases the upper limit NL the larger its allocation of the second bandwidth RA2.
[0034] <Operation and Effects of This Embodiment> (1-1) Each of the multiple ECUs 20 sets the upper limit NL for the number of dynamic messages MG2 to be sent to the communication bus 11 per unit time to the number of dynamic messages MG2 that can be sent using the amount of the second bandwidth RA2 allocated to itself. Then, each of the multiple ECUs 20 adjusts the transmission of dynamic messages MG2 to the communication bus 11 so that the number of dynamic messages MG2 sent to the communication bus 11 per unit time does not exceed the upper limit NL.
[0035] This prevents a number of messages exceeding the bandwidth RA of the communication bus 11 from being sent from multiple ECUs 20 to the communication bus 11. This prevents the communication load on system 10 from becoming excessive. In addition, system 10 reserves a first bandwidth RA1 for sending static messages MG1. Therefore, even if the number of types of dynamic messages MG2 to be sent increases, it is still possible to send and receive static messages MG1 between multiple ECUs 20. Thus, system 10 can prevent a decrease in communication quality even if the number of types of dynamic messages MG2 to be sent and received between multiple ECUs 20 increases.
[0036] (1-2) When each of the multiple ECUs 20 has generated dynamic messages MG2 and the number of unsent dynamic messages MG2 is greater than the upper limit NL, and it is sending some of the unsent dynamic messages MG2 to the communication bus 11, it adds an unsent flag to the dynamic messages MG2 to be sent. Then, each of the multiple ECUs 20 sends the dynamic messages MG2 with the unsent flag added to the communication bus.
[0037] This allows ECU20, upon receiving dynamic message MG2, to recognize that there are other dynamic messages MG2 that have not yet been sent. In other words, ECU20 can recognize that the content of the dynamic message MG2 it has just received may not be the most up-to-date.
[0038] (Second Embodiment) A second embodiment of the communication network system will be described with reference to Figure 7. Note that the second embodiment differs from the first embodiment in that it allows for the deletion of some unsent dynamic messages. In the following description, the differences from the first embodiment will be primarily explained, and the same reference numerals will be used for components identical to those in the first embodiment to avoid redundant explanations.
[0039] In each of the multiple ECUs 20 of the system 10 in this embodiment, dynamic messages MG2 that have not been transmitted and that meet predetermined deletion conditions are deleted. That is, dynamic messages MG2 that meet the predetermined deletion conditions are deleted from the ECU 20 without being transmitted to the communication bus 11.
[0040] <Processing to delete dynamic messages> Referring to Figure 7, a series of processes performed by the CPU 22 to delete the dynamic message MG2 will be described. The CPU 22 repeatedly performs this series of processes at predetermined control cycles.
[0041] In step S31, the CPU 22 determines whether there are any dynamic messages MG2 that have not been sent and whose elapsed time TM from the time of generation exceeds a predetermined time TMth. The longer the elapsed time TM, the older the content of the dynamic message MG2 is considered to be. Therefore, a predetermined time TMth is set as a criterion for determining whether the content of a dynamic message MG2 is old or not.
[0042] If there is a dynamic message MG2 whose elapsed time TM exceeds a predetermined time TMth (S31:YES), the CPU 22 proceeds to step S33. If there is no dynamic message MG2 whose elapsed time TM exceeds a predetermined time TMth (S31:NO), the CPU 22 terminates the series of processes.
[0043] In step S33, the CPU 22 deletes the dynamic message MG2 whose elapsed time TM exceeds a predetermined time TMth. Then, the CPU 22 terminates the series of processes. <Operation and Effects of This Embodiment> In the system 10 of this embodiment, in addition to the effects of the first embodiment described above, the following further effects can be obtained.
[0044] (2-1) Each of the multiple ECUs 20 deletes a dynamic message MG2 that has not been sent to the communication bus 11 even though the elapsed time TM since its creation has exceeded a predetermined time TMth. This prevents the old dynamic message MG2 from being sent to other ECUs 20 in the system 10.
[0045] (Example of change) The above embodiments can be implemented with the following modifications. The above embodiments and the following modifications can be combined with each other to the extent that they do not contradict each other technically.
[0046] In the above embodiments, the CPU 22 does not need to add an unsent flag to the dynamic message MG2 that is sent to the communication bus 11. The number of ECUs that make up system 10 may be two or more, or even three or more.
[0047] The ECU20 is not limited to one that includes a CPU and ROM and performs software processing. In other words, the ECU20 may have any of the following configurations: (a), (b), and (c).
[0048] (a) The ECU20 comprises one or more processors that perform various processes according to a computer program. The processors include a CPU and memory such as RAM and ROM. The memory stores program code or instructions configured to cause the CPU to perform processes. The memory, i.e., computer-readable media, includes any available media that can be accessed by a general-purpose or dedicated computer.
[0049] (b) The ECU20 is equipped with one or more dedicated hardware circuits that perform various processes. Examples of dedicated hardware circuits include application-specific integrated circuits, i.e., ASICs or FPGAs. ASIC is an abbreviation for "Application Specific Integrated Circuit," and FPGA is an abbreviation for "Field Programmable Gate Array."
[0050] (c) The ECU20 comprises one or more processors that execute a portion of various processes according to a computer program, and one or more dedicated hardware circuits that execute the remaining processes of the various processes.
[0051] In this specification, the expression "at least one" means "one or more" of the desired options. For example, if there are two options, the expression "at least one" means "only one option" or "both of the two options." As another example, if there are three or more options, the expression "at least one" means "only one option" or "a combination of two or more arbitrary options." [Explanation of Symbols]
[0052] 10...Communication network system (system), 11...Communication bus, 20...Electronic control unit (ECU), 21...Processing circuit.
Claims
1. A communication network system comprising a plurality of electronic control units configured to send and receive static and dynamic messages via a communication bus, The sum of the data lengths of the static messages transmitted to the communication bus per unit time does not exceed a first bandwidth of the communication bus's bandwidth. The second bandwidth of the communication bus, excluding the first bandwidth, is allocated to the multiple electronic control devices as bandwidth for the communication of the dynamic message. Each of the aforementioned plurality of electronic control devices is The upper limit of the number of dynamic messages to be transmitted to the communication bus per unit time is set to the number of dynamic messages that can be transmitted using the amount of the second bandwidth allocated to itself, To adjust the transmission of the dynamic messages to the communication bus so that the number of dynamic messages transmitted per unit time to the communication bus does not exceed the upper limit, and to perform the following: Communication network system.
2. Each of the aforementioned plurality of electronic control devices is When the number of dynamic messages generated that have not yet been sent to the communication bus exceeds the upper limit, and some of the unsent dynamic messages are to be sent to the communication bus, the dynamic messages to be sent are sent to the communication bus with information indicating that there are dynamic messages that have not yet been sent added to them. The communication network system according to claim 1.
3. Each of the aforementioned electronic control devices deletes the dynamic message that has not been transmitted to the communication bus even after a predetermined time has elapsed since its generation. A communication network system according to claim 1 or claim 2.
Citation Information
Patent Citations
Method and system for transmitting cyclic and aperiodic data over critical avionics databuses
JP2003500960A
Bus systems, subscriber stations for bus systems, how to configure static bus systems for dynamic communication
JP2018522487A
Intelligent controller and sensor network bus, system and method including a dynamic bandwidth allocation mechanism
US20210034557A1
Transmitting / receiving system, node and communication method
WO2008041271A1
