Network system, assembly diagnostic method, manager ECU and master ECU

The network system with a manager ECU and master ECUs diagnoses correct assembly of slave ECUs by analyzing switch and identifier relationships, addressing assembly errors and reducing power waste in large-scale systems.

JP2026185214APending Publication Date: 2026-11-27DENSO CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025082171
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In large-scale network systems with multiple sets of master and slave ECUs, there is a risk of incorrect assembly, including connection errors to power supply lines and communication networks, which can lead to inefficiencies and power wastage.

Method used

A network system and diagnostic method that utilizes a manager ECU and master ECUs to collect and analyze list information about the relationship between relay switches and slave ECUs, verifying correct assembly by comparing identifiers and switch connections.

Benefits of technology

Ensures accurate diagnosis of correct assembly of slave ECUs, reducing power consumption by only supplying power when necessary and preventing connection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185214000001_ABST
    Figure 2026185214000001_ABST
Patent Text Reader

Abstract

This invention provides a network system capable of collecting information used to diagnose whether slave ECUs, whose power supply is controlled by a master ECU, are correctly assembled in a large-scale network system. [Solution] In a large-scale network system equipped with multiple sets of slave ECUs 40, 50, and 60 and a master ECU 20, a manager ECU 10 is provided to collect list information from multiple master ECUs that shows the relationship between relay switches 16, 26, and 28 and the identifiers of the slave ECUs. This allows for diagnosis of whether the slave ECUs are correctly assembled to the relay switches based on the collected list information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a network system that transmits and receives messages between a plurality of ECUs, an assembly diagnosis method for diagnosing whether the ECUs are properly assembled in the network system, and a manager ECU and a master ECU used in the network system.

Background Art

[0002] For example, Patent Document 1 discloses a vehicle communication system in which a plurality of control devices mounted on a vehicle are connected via a network for data communication, and each control device is configured to transmit and receive data to and from each other via the network.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of Invention

Problem to be Solved by the Invention

[0004] When constructing a system composed of a plurality of control devices (ECUs) as described in Patent Document 1, it is required to reduce power consumption of the entire system. For this reason, for example, it is conceivable that at least one ECU (master ECU) can control whether power is supplied to at least one ECU (slave ECU). Accordingly, the master ECU can supply power to the slave ECU only when the operation of the slave ECU is required, and can cut off the power supply to the slave ECU when the operation of the slave ECU is unnecessary. As a result, dark current when the operation of the slave ECU is unnecessary can be cut, and further power saving can be achieved as the entire system.

[0005] As mentioned above, when a master ECU is configured to control the supply of power to a slave ECU, the slave ECU intended to be controlled by the master ECU must be correctly assembled, including its connection to the power supply line controlled by the master ECU, and must not be mistaken for another type of slave ECU. However, there is a small possibility that an ECU other than the intended slave ECU may be mistakenly assembled during the ECU assembly process. Furthermore, the assembly process of the slave ECU itself, including the connection to the power supply line, is not always performed correctly. Such assembly errors are more likely to occur in large-scale network systems with multiple sets of master and slave ECUs.

[0006] This disclosure is made in view of the above-mentioned points and aims to provide a network system capable of collecting information used to diagnose whether at least several slave ECUs are correctly assembled in a large-scale network system in which multiple sets of master ECUs and slave ECUs are provided. Furthermore, this disclosure aims to provide an assembly diagnostic method for diagnosing whether at least several slave ECUs are correctly assembled. In addition, this disclosure aims to provide a manager ECU and a master ECU used in a large-scale network system. [Means for solving the problem]

[0007] To achieve the above objectives, the network system described herein is A network system for sending and receiving messages between multiple ECUs (10, 20, 30, 40, 50, 60), Multiple ECUs, When powered on, the slave ECUs (40, 50, 60) send a message containing their own identifier, A master ECU (10, 20) has the function of turning on or off switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, and creates list information showing the relationship between the switches and the identifiers of the slave ECUs based on a message from the slave ECU that includes an identifier received when the switch is turned on, Multiple sets of slave ECUs and master ECUs are provided. It includes a Manager ECU (10) that collects list information from multiple master ECUs, The list information collected by the manager ECU from multiple master ECUs is used to diagnose whether at least multiple slave ECUs are correctly assembled.

[0008] The assembly diagnostic method described herein is: A diagnostic assembly method for a network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), which diagnoses whether at least some of the ECUs are correctly assembled, The multiple ECUs include slave ECUs (40, 50, 60), master ECUs (10, 20), and manager ECU (10). The master ECU turns on the switches (16, 26, 28) located on the power supply line (6) of the slave ECU. The slave ECU is activated by power supplied via a switch and sends a message containing its own identifier. The master ECU creates a list of identifiers between the switch and the slave ECU based on a message from the slave ECU containing an identifier, which the master ECU receives when the switch is turned on. Multiple sets of slave ECUs and master ECUs are provided. The manager ECU collects list information from multiple master ECUs, and The system includes diagnosing whether at least several slave ECUs are correctly assembled based on list information collected from multiple master ECUs.

[0009] The manager ECU described in this disclosure is A manager ECU (10) used in a network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), Multiple ECUs, in addition to the Manager ECU, When powered on, the slave ECUs (40, 50, 60) send a message containing their own identifier, The system includes a master ECU (10, 20) which has the function of turning on or off switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, and which creates list information showing the relationship between the switches and the identifiers of the slave ECUs based on a message from the slave ECU that includes an identifier received when the switch is turned on, Multiple sets of slave ECUs and master ECUs are provided. ManagerECU is, A function to instruct multiple master ECUs to create list information, It has the function of collecting list information from multiple master ECUs, The list information collected by the manager ECU from multiple master ECUs is used to diagnose whether at least multiple slave ECUs are correctly assembled.

[0010] The master ECU in this disclosure is Master ECUs (10, 20) used in a network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), The multiple ECUs include a master ECU, slave ECUs (40, 50, 60), and a manager ECU (10). A slave ECU sends a message containing its own identifier when it starts up. The master ECU is A function to turn on or off switches (16, 26, 28) located on the power supply line (6) of the slave ECU, and a function of generating list information indicating a relationship between the switch and an identifier of the slave ECU based on a message including the identifier from the slave ECU received when the switch is turned on, a plurality of sets of slave ECUs and master ECUs are provided, the manager ECU collects the list information from the plurality of master ECUs, and the list information collected from the plurality of master ECUs by the manager ECU is used to diagnose at least whether the plurality of slave ECUs are correctly assembled.

[0011] According to the network system, the assembly diagnosis method, the manager ECU, and the master ECU described above, in a large-scale network system provided with a plurality of sets of slave ECUs and master ECUs, list information indicating a relationship between a switch and an identifier of a slave ECU can be collected from a plurality of master ECUs. Thus, based on the collected list information, it is possible to diagnose at least whether a plurality of slave ECUs are correctly assembled with respect to each switch. The diagnosis of whether or not the plurality of slave devices are correctly assembled includes, in addition to diagnosis of whether or not the slave ECU is the slave ECU scheduled to be assembled, diagnosis of whether or not connection of the slave ECU to a power supply line and connection to a communication network are correctly performed without any trouble.

[0012] The reference numerals in the parentheses described above merely show an example of a correspondence relationship with a specific configuration in an embodiment to be described later, in order to facilitate understanding of the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0013] Further, technical features described in each claim of the claims other than the features of the present disclosure described above will be clarified from description of an embodiment described later and the accompanying drawings.

[0014] [Figure 1] ​It is a block diagram showing the overall configuration of an assembly diagnosis system including the network system according to the embodiment. [Figure 2] It is a flowchart showing an example of processing executed by the manager ECU to collect list information. [Figure 3] It is a flowchart showing an example of processing executed by the master ECU to create and transmit list information. [Figure 4] It is a diagram showing an example of list information. [Figure 5] It is a flowchart showing an example of the first list creation process in step S220 of the flowchart in FIG. 3. [Figure 6] It is a flowchart showing an example of the second list creation process in step S260 of the flowchart in FIG. 3. [Figure 7] It is a diagram showing an example of a transmission format for list information transmitted from the master ECU to the manager ECU. [Figure 8] It is a flowchart showing an example of processing executed by the slave ECU. [[Modes for carrying out the invention]]

[0015] Hereinafter, embodiments of the network system and assembly diagnosis method according to the present disclosure will be described with reference to the drawings. However, the present disclosure is not limited to the following embodiments, and various modifications described below are also included in the technical scope of the present disclosure. The embodiments and various modifications can be appropriately combined and implemented within a range that does not cause technical contradictions. In the following description, the same or similar configurations may be omitted by assigning the same reference numerals to multiple drawings. Also, when only a part of the configuration is mentioned, the description in other parts can be applied to other parts.

[0016] (First Embodiment) Figure 1 is a configuration diagram showing the overall configuration of the assembly diagnostic system 100 including the network system according to this embodiment. The assembly diagnostic system 100 according to this embodiment can be applied, for example, to an in-vehicle network system in which a plurality of electronic control units (ECUs) are network-connected, which is built inside a vehicle. However, the application examples of the assembly diagnostic system 100 according to this disclosure are not limited to in-vehicle network systems and may be applied to other applications. For example, the assembly diagnostic system 100 according to this disclosure can be applied to network systems of robots or construction machinery, which include a plurality of network-connected ECUs.

[0017] As shown in Figure 1, the assembled diagnostic system 100 according to this embodiment comprises an in-vehicle network system and a diagnostic device 1. The in-vehicle network system comprises a manager ECU 10, a master ECU 20, an ECU 30, and first to third slave ECUs 40, 50, and 60. The manager ECU 10 is configured to perform both the role of a manager ECU and the role of a master ECU. The roles of the manager ECU and the master ECU will be described in detail later. However, the manager ECU and master ECU may be provided separately, without the manager ECU 10 also performing the role of a master ECU. Also, the number of master ECUs 20 and slave ECUs 40, 50, and 60 is not limited to the example shown in Figure 1. For example, multiple master ECUs provided separately from the manager ECU 10 may be connected to the manager ECU 10. Also, one master ECU may be configured to control whether or not power is supplied to three or more slave ECUs.

[0018] The manager ECU 10 has a communication circuit 12 and a first relay circuit 14. The first relay circuit 14 includes a first relay switch 16. The first relay switch 16 is located on a power supply line 6 for supplying power to the first slave ECU 40. The master ECU 20 has a communication circuit 22 and a second relay circuit 24. The second relay circuit 24 includes a second relay switch 26 and a third relay switch 28. The second relay switch 26 is located on a power supply line 6 for supplying power to the second slave ECU 50. The third relay switch 28 is located on a power supply line 6 for supplying power to the third slave ECU 60.

[0019] The power supply line 6 is supplied with the power supply voltage from the vehicle's battery 2 via the power supply circuit 4. The power supply circuit 4 can, if necessary, convert the power supply voltage from the battery 2 to the operating voltage of the manager ECU 10, master ECU 20, ECU 30, and the first to third slave ECUs 40, 50, and 60. The first to third slave ECUs 40, 50, and 60 become operational when the corresponding first to third relay switches 16, 26, and 28 are turned on and power is supplied from the power supply line 6.

[0020] The first to third relay switches 16, 26, and 28 can be composed of semiconductor switches such as MOSFETs and IGBTs. However, the first to third relay switches 16, 26, and 28 may be composed of ordinary mechanical relays instead of semiconductor switches. Furthermore, the first and second relay circuits 14 and 24 may be provided inside the manager ECU 10 and master ECU 20, as shown in Figure 1, or they may be provided outside the manager ECU 10 and master ECU 20.

[0021] The manager ECU 10 and master ECU 20, as part of their roles as master ECUs, have the function of controlling whether or not power is supplied to the first to third slave ECUs 40, 50, and 60. This function may be implemented by software such as a power supply control program, or by hardware. More specifically, the manager ECU 10 and master ECU 20 can determine whether or not the first to third slave ECUs 40, 50, and 60 need to operate based on signals from sensors and switches (not shown) and / or messages from other ECUs. The manager ECU 10 and master ECU 20 then turn on the first to third relay switches 16, 26, and 28 corresponding to the first to third slave ECUs 40, 50, and 60 only when the operation of the first to third slave ECUs 40, 50, and 60 is required. As a result, power is supplied to the first to third slave ECUs 40, 50, and 60 only when their operation is required. Conversely, when the operation of the first to third slave ECUs 40, 50, and 60 is not required, the manager ECU 10 and master ECU 20 turn off the first to third relay switches 16, 26, and 28 corresponding to the first to third slave ECUs 40, 50, and 60. As a result, when the operation of the first to third slave ECUs 40, 50, and 60 is not required, the power supply to the first to third slave ECUs 40, 50, and 60 is cut off. Therefore, the dark current when the operation of the first to third slave ECUs 40, 50, and 60 is not required can be cut off, making it possible to save power for the entire in-vehicle network system.

[0022] The communication circuit 12 of the manager ECU 10 and the communication circuit 22 of the master ECU 20 are connected to communication networks 18, 19, and 29, and are capable of receiving messages transmitted from other ECUs, including ECU 30 and the first to third slave ECUs 40, 50, and 60, and transmitting messages to other ECUs. ECU 30 and the first to third slave ECUs 40, 50, and 60 also have communication circuits 32, 42, 52, and 62, respectively. Communication circuits 32, 42, 52, and 62 have message transmission and reception functions, similar to the communication circuit 12 of the manager ECU 10 and the communication circuit 22 of the master ECU 20. Therefore, ECU 30 and the first to third slave ECUs 40, 50, and 60 can also send and receive various messages with each ECU connected to the communication networks 18, 19, and 29 using communication circuits 32, 42, 52, and 62.

[0023] In communication networks 18, 19, and 29, for example, messages conforming to the CAN (registered trademark, hereinafter the same) protocol may be sent and received. When a message conforming to the CAN protocol is sent and received, communication circuits 12, 22, 32, 42, 52, and 62 perform reception processing when the message is stored in the receive buffer. This reception processing includes determining whether the received message is invalid through form checking, cyclic redundancy checking, and the like. Then, only if the communication circuits 12, 22, 32, 42, 52, and 62 determine that the message is valid, they pass various information, such as data contained in the message, to the processors of the manager ECU 10, master ECU 20, ECU 30, and the first to third slave ECUs 40, 50, and 60.

[0024] Furthermore, when a message to be transmitted is stored in the transmit buffer, communication circuits 12, 22, 32, 42, 52, and 62 perform a transmission process to send the message to communication networks 18, 19, and 29, while mediating with messages transmitted from other ECUs. However, the communication protocol is not limited to the CAN protocol; other communication protocols such as LIN, FlexRay®, and Ethernet® may also be used. In addition, different communication protocols may be used for each communication network 18, 19, and 29.

[0025] Furthermore, the communication circuit 12 of the manager ECU 10 and the communication circuit 22 of the master ECU 20 have a relay function that relays messages between multiple communication networks 18, 19, and 29. When relaying messages between communication networks with different communication protocols, the communication circuits 12 and 22 are configured to have a conversion function that converts the protocol of the message.

[0026] In addition to the manager ECU 10, master ECU 20, ECU 30, and the first to third slave ECUs 40, 50, 60, other ECUs (not shown) may also be connected to the communication networks 18, 19, and 29. The first to third slave ECUs 40, 50, 60 may be connected to the communication networks 19, 29, or to another communication network connected to the communication networks 19, 29 via a relay device (not shown). In either case, the manager ECU 10 and master ECU 20 can send and receive various messages to and from the first to third slave ECUs 40, 50, 60, which are directly or indirectly connected to the communication networks 19, 29, using the communication circuits 12, 22.

[0027] When the first slave ECU 40 is installed in the vehicle, its power port is connected to a power supply line that connects to the first relay switch 16 of the first relay circuit 14. The communication circuit 42 of the first slave ECU 40 is also connected to the communication network 19. When the second slave ECU 50 is installed in the vehicle, its power port is connected to a power supply line that connects to the second relay switch 26 of the second relay circuit 24. The communication circuit 52 of the second slave ECU 50 is also connected to the communication network 29. When the third slave ECU 60 is installed in the vehicle, its power port is connected to a power supply line that connects to the third relay switch 28 of the second relay circuit 24. The communication circuit 62 of the third slave ECU 60 is also connected to the communication network 29.

[0028] The first to third slave ECUs 40, 50, and 60 are for controlling various controllable devices mounted on the vehicle, for example, when certain conditions are met or under certain environmental conditions, and are controlled by the first to third slave ECUs 40, 50, and 60 only. For example, the door lock mechanism is controlled by the door lock control ECU when a user is getting into or out of the vehicle. Similarly, the power window drive motor is controlled by the power window control ECU when the user operates the window up / down switch. The first to third slave ECUs 40, 50, and 60 may also be sensor ECUs that calculate detection results from sensor detection signals only when certain conditions are met or under certain environmental conditions.

[0029] Thus, the first to third slave ECUs 40, 50, and 60 control controlled devices that operate only when certain conditions are met or under specific environmental conditions. Therefore, the manager ECU 10 and master ECU 20, in principle, turn on the first to third relay switches 16, 26, and 28 corresponding to the first to third slave ECUs 40, 50, and 60 when their operation is required, thereby supplying power to the first to third slave ECUs 40, 50, and 60. On the other hand, when the operation of the first to third slave ECUs 40, 50, and 60 is not required, the manager ECU 10 and master ECU 20 turn off the first to third relay switches 16, 26, and 28 corresponding to the first to third slave ECUs 40, 50, and 60, thereby stopping the power supply to the first to third slave ECUs 40, 50, and 60.

[0030] Manager ECU 10 and Master ECU 20, as one of their roles as master ECUs, have the function of controlling whether or not power is supplied to the first to third slave ECUs 40, 50, and 60, as described above. Manager ECU 10 also has the function, as another role of manager ECUs, of collecting list information from multiple master ECUs (e.g., Manager ECU 10 and Master ECU 20) that shows the relationship between the first to third relay switches 16, 26, and 28 and the identifiers of the first to third slave ECUs 40, 50, and 60, which is used to diagnose whether the first to third slave ECUs 40, 50, and 60 are correctly assembled. Manager ECU 10 and Master ECU 20 may also have the role of controlling controlled devices mounted on the vehicle.

[0031] The manager ECU 10, master ECU 20, ECU 30, and the first to third slave ECUs 40, 50, and 60 can be configured as a general-purpose computer. Specifically, the manager ECU 10, master ECU 20, ECU 30, and the first to third slave ECUs 40, 50, and 60 are equipped with a processor such as a CPU or GPU, volatile memory such as RAM, and storage such as a non-volatile storage medium such as ROM or flash memory. Various programs executed by the processor are stored in the storage. For example, the storage of the manager ECU 10 stores a collection program for collecting list information showing the relationship between the first to third relay switches 16, 26, and 28 and the identifiers of the first to third slave ECUs 40, 50, and 60.

[0032] Furthermore, the storage of the manager ECU 10 can store the correct correspondence between the identifiers of the first to third relay switches 16, 26, and 28 and the identifiers of the first to third slave ECUs 40, 50, and 60 for each of the multiple master ECUs. In this case, the manager ECU 10, as a diagnostic unit, can diagnose whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled based on the result of comparing the stored correspondence with the collected list information. However, the manager ECU 10 may not diagnose whether the assembly is correct or not, but instead collect list information from the multiple master ECUs and transmit it to the diagnostic device 1. In this case, the diagnostic device 1, as a diagnostic unit, diagnoses whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled based on the result of comparing the correct correspondence between the identifiers of the first to third relay switches 16, 26, and 28 and the identifiers of the first to third slave ECUs 40, 50, and 60, which it has stored in advance, with the collected list information.

[0033] The diagnostic device 1 is connected to the manager ECU 10 in a communicative manner. The diagnostic device 1 instructs the manager ECU 10 to diagnose whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled, or to collect list information. In response to the instruction from the diagnostic device 1, the manager ECU 10 starts diagnosing whether they are correctly assembled or collecting list information.

[0034] If the manager ECU 10 is instructed to diagnose whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled, the manager ECU 10 performs the diagnosis and outputs the diagnosis results to the diagnostic device 1. The diagnostic device 1 corresponds to the external device in this disclosure. In this case, the manager ECU 10 outputs the diagnosis results to the diagnostic device 1 and may also display the diagnosis results on a multimedia display in the vehicle or the like. If the manager ECU 10 is instructed to collect list information, the manager ECU 10 collects list information from multiple master ECUs and transmits the collected list information to the diagnostic device 1.

[0035] Here, if the types of controlled devices of the first to third slave ECUs 40, 50, and 60, and the types of sensors used to calculate detection results, are different, the timing at which the manager ECU 10 and master ECU 20 start and stop supplying power to each of the first to third slave ECUs 40, 50, and 60 may differ. For this reason, the first to third relay switches 16, 26, and 28 to which each of the first to third slave ECUs 40, 50, and 60 should be connected are predetermined. In the example shown in Figure 1, the first slave ECU 40 is scheduled to be connected to the first relay switch 16 of the first relay circuit 14. The second slave ECU 50 is scheduled to be connected to the second relay switch 26 of the second relay circuit 24. The third slave ECU 60 is scheduled to be connected to the third relay switch 28 of the second relay circuit 24.

[0036] Therefore, the first to third slave ECUs 40, 50, and 60 must each be correctly connected to the power supply lines via the corresponding first to third relay switches 16, 26, and 28, respectively, without being mistaken for other types of slave ECUs. Furthermore, the communication circuits 42, 52, and 62 of the first to third slave ECUs 40, 50, and 60 must also be correctly connected to the communication networks 19 and 29 so that they can communicate with the communication circuit 12 of the manager ECU 10 or the communication circuit 22 of the master ECU 20.

[0037] However, during assembly work such as connecting the first to third slave ECUs 40, 50, and 60 to the power supply lines and communication networks, there is a non-zero possibility that an ECU other than the intended slave ECU may be mistakenly assembled. Furthermore, the assembly work of the first to third slave ECUs 40, 50, and 60 itself is not always performed correctly, and malfunctions may occur during the assembly process. These malfunctions include poor connections to the power supply lines and poor connections to the communication networks 19 and 29.

[0038] Therefore, in this embodiment, as described above, the manager ECU 10 is configured to collect list information from multiple master ECUs that shows the correspondence between the first to third relay switches 16, 26, 28 and the identifiers of the first to third slave ECUs 40, 50, 60. As a result, the manager ECU 10 or the diagnostic device 1 can diagnose, based on the collected list information, whether the first to third slave ECUs 40, 50, 60, which are scheduled to be connected to the first to third relay switches 16, 26, 28, have been correctly assembled.

[0039] Figure 2 is a flowchart illustrating an example of the process performed by the manager ECU 10 to collect list information. Performing the process shown in the flowchart in Figure 2 corresponds to the manager ECU 10 fulfilling its role as a manager ECU. The flowchart in Figure 2 also shows an example in which the manager ECU 10, as a diagnostic unit, performs a process to diagnose whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled.

[0040] In step S100, the manager ECU 10 determines whether to start a diagnosis to determine whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled. In step S100, for example, if the manager ECU 10 receives a diagnostic instruction from the diagnostic device 1, it is determined to be positive, and if it does not receive a diagnostic instruction, it is determined to be negative. If it is determined to be positive, the manager ECU 10 proceeds to the process in step S110.

[0041] In step S110, the manager ECU 10 instructs each master ECU to create list information. The instruction to create list information is sent to the master ECU 20, and also transmitted by the manager ECU 10 to the master ECU function unit that acts as the master ECU. In step S120, the manager ECU 10 determines whether a predetermined time has elapsed in each master ECU necessary for the creation of the list information to be completed after the instruction to create the list information. If it determines that the predetermined time has elapsed, the manager ECU 10 proceeds to step S130. The process of creating list information in each master ECU will be explained in detail later.

[0042] In step S130, the manager ECU 10 instructs each master ECU to send the created list information. Each master ECU contains a master ECU function unit that acts as the master ECU in the manager ECU 10. In response to this instruction, each master ECU sends the created list information to the manager ECU 10. In step S140, the manager ECU 10 receives the list information sent from each master ECU in response to the instruction to send the list information.

[0043] In step S150, the manager ECU 10 compares the correspondence between the identifiers of the first to third relay switches 16, 26, and 28 and the first to third slave ECUs 40, 50, and 60 for each of the multiple master ECUs with the collected list information. In step S160, the manager ECU 10 determines whether the comparison is OK or NG based on the result of the comparison in step S150. If it determines that the comparison is OK, the manager ECU 10 proceeds to step S170. On the other hand, if it determines that the comparison is NG, the manager ECU 10 proceeds to step S180. The process of comparing the correspondence between the identifiers of the first to third relay switches 16, 26, and 28 and the first to third slave ECUs 40, 50, and 60 with the collected list information in the manager ECU 10 will be explained in detail later.

[0044] In step S170, the manager ECU 10 diagnoses that all ECUs have been assembled correctly. On the other hand, the manager ECU 10 diagnoses that at least one of the ECUs, including the first to third slave ECUs 40, 50, and 60, was not assembled correctly. In step S190, the manager ECU 10 transmits the diagnostic results to the diagnostic device 1.

[0045] If the manager ECU 10 does not perform a diagnostic process to determine whether at least the first to third slave ECUs 40, 50, and 60 are correctly assembled, the processes from steps S160 to S180 are omitted. In this case, in step S190, the manager ECU 10 transmits the list information collected from the multiple master ECUs to the diagnostic device 1.

[0046] Next, an example of the process performed by the master ECU 20 to create and transmit list information will be explained with reference to the flowchart in Figure 3. The process shown in the flowchart in Figure 3 is also performed by the master ECU function unit, which acts as the master ECU in the manager ECU 10. In the following, an example of the master ECU 20 performing the process shown in the flowchart in Figure 3 will be explained.

[0047] In step S200, the master ECU 20 determines whether or not it has received a list information creation instruction from the manager ECU 10. If it determines that it has received a list information creation instruction, the master ECU 20 proceeds to step S210. In step S210, the master ECU 20 clears the contents of the list information, for example, as shown in Figure 4. This makes it possible for the master ECU 20 to create new list information.

[0048] The list information created by the master ECU 20, as shown in Figure 4, can include a correspondence between "Relay Out" when both the second and third relay switches 26 and 28 are turned off, and an identifier indicating the sender included in the message received by the master ECU 20. The created list information also includes a correspondence between "Second Relay Switch" when the second relay switch 26 is turned on and the third relay switch 28 is turned off, and an identifier indicating the sender included in the message received by the master ECU 20 that is different from "Relay Out". Furthermore, the created list information includes a correspondence between "Third Relay Switch" when the second relay switch 26 is turned off and the third relay switch 28 is turned on, and an identifier indicating the sender included in the message received by the master ECU 20 that is different from "Relay Out".

[0049] Furthermore, in step S210, the master ECU 20 begins periodically sending WakeUp messages to other ECUs that are connected to it via the communication network 18 or the like. If the other ECUs are configured to switch between sleep and wake states, they enter the wake state upon receiving the WakeUp message. The wake-up ECUs repeatedly send messages containing their own identifier as the sender at predetermined intervals.

[0050] Furthermore, in step S210, the master ECU 20 stores the state (on or off) of the second and third relay switches 26 and 28, and then turns off all of the second and third relay switches 26 and 28. By storing the state (on or off) of the second and third relay switches 26 and 28, the master ECU 20 can create list information and then restore the state of the second and third relay switches 26 and 28 to the stored state. Also, by turning off all of the second and third relay switches 26 and 28, the master ECU 20 can receive messages from other ECUs corresponding to the "outside relay" mentioned above.

[0051] In addition, in step S210, the master ECU 20 stops the relay function of the communication circuit 22. This prevents the master ECU 20 from relaying a message from the second slave ECU 50 to other ECUs, even if it, for example, turns on the second relay switch 26. As a result, it is possible to prevent the message from the second slave ECU 50 from affecting the list creation process in other master ECUs.

[0052] In step S220, the master ECU 20 performs a first list creation process to create a communication node list that shows the correspondence between the aforementioned "outside relay" and the identifiers of other ECUs, based on the received message. An example of the first list creation process is shown in the flowchart of Figure 5. The details of the first list creation process will be explained below with reference to the flowchart of Figure 5.

[0053] In step S400, the master ECU 20 starts a timer. The timer determines the reception period for receiving messages from other ECUs. This reception period is set to be sufficiently longer than the message transmission interval of the other ECUs. As will be described later, when the timer measurement time reaches a predetermined time and times out, the master ECU 20 stops receiving messages. This makes it possible to proceed with the first list creation process even if the master ECU 20 is unable to receive messages from other ECUs, for example, due to a poor connection in the communication circuit of the other ECU.

[0054] In step S410, the master ECU 20 determines whether or not it has received a message from another ECU. If it determines that it has received a message, the master ECU 20 proceeds to step S420. On the other hand, if it determines that it has not received a message, the master ECU 20 proceeds to step S440.

[0055] In step S420, the master ECU 20 obtains an identifier indicating the sender, which is included in the received message. Then, in step S430, the master ECU 20 adds the obtained identifier to the communication node list. The communication node list corresponds to the list in the list information shown in Figure 4, which shows the correspondence between "outside relay" and identifiers of other ECUs.

[0056] In step S440, the master ECU 20 determines whether the timer has timed out. If it determines that the timer has not timed out, the master ECU 20 repeats the process from step S410. On the other hand, if it determines that the timer has timed out, the master ECU 20 terminates the process shown in the flowchart of Figure 5 and proceeds to step S230 in the flowchart of Figure 3.

[0057] In step S230 of the flowchart in Figure 4, the master ECU 20 clears the variable N, which specifies the number of the relay switch to be turned on, to zero. Then, in step S240, the master ECU 20 increments the value of variable N by 1. In step S250, the master ECU 20 turns on the Nth relay switch and turns off the other relay switches. For example, in the example shown in Figure 1, if N is 1, the second relay switch 26 is turned on as the Nth relay switch, and the third relay switch 28 is turned off as the other relay switch. Also, if N is 2, the third relay switch 28 is turned on as the second relay switch, and the second relay switch 26 is turned off as the other relay switch.

[0058] Thus, if the master ECU 20 has the function of turning on or off multiple second and third relay switches 26, 28, the master ECU 20 turns on the multiple second and third relay switches 26, 28 one by one in sequence. This allows the master ECU 20 to supply power to the slave ECUs connected to the turned-on relay switches and start them up. The started-up slave ECUs send messages that include their own identifier as the sender. Therefore, if the slave ECUs are properly assembled, including connections to the power supply line and the communication network, the master ECU 20 can obtain the identifiers of the slave ECUs connected to the turned-on relay switches. Based on the obtained identifiers of the slave ECUs, the master ECU 20 can then create a list showing the correspondence between each relay switch and the identifier of the slave ECU.

[0059] In step S260, the master ECU 20 performs a second list creation process to create a list showing the correspondence between each relay switch and the identifier of the slave ECU. An example of the second list creation process is shown in the flowchart of Figure 6. The details of the second list creation process will be explained below with reference to the flowchart of Figure 6.

[0060] The processes from steps S500 to S520 and step S550 in the flowchart of Figure 6 are the same as the processes from steps S400 to S420 and step S440 in the flowchart of Figure 5, so their explanation is omitted.

[0061] In step S530 of the flowchart in Figure 6, the master ECU 20 determines whether the identifier obtained in step S520 is an identifier that is not present in the communication node list. If the identifier obtained in step S520 is an identifier present in the communication node list, then that identifier is not the identifier of a slave ECU connected to the switched-on relay circuit. Therefore, the master ECU 20 skips the processing in step S540 and proceeds to the processing in step S550. On the other hand, if the identifier obtained in step S520 is an identifier that is not present in the communication node list, then that identifier can be said to be the identifier of a slave ECU connected to the switched-on relay circuit. In this case, the master ECU proceeds to step S540 and adds the obtained identifier to the list corresponding to the switched-on Nth relay switch, as shown in the list information in Figure 4. If multiple slave ECUs are connected to the switched-on Nth relay switch, the list will contain the identifiers of multiple slave ECUs.

[0062] Returning to the flowchart in Figure 3, let's continue the explanation. In step S270, the master ECU 20 determines whether the value of variable N is less than the number of relay switches. If it determines that the value of variable N is less than the number of relay switches, the master ECU 20 returns to step S240 and repeats the process described above. On the other hand, if it determines that the value of variable N has reached the number of relay switches, the master ECU 20 proceeds to step S280. At this point, the master ECU 20 has completed the creation of the list information shown in Figure 4.

[0063] In step S280, the master ECU 20 stops the periodic transmission of WakeUp messages. The master ECU 20 also restores the states of the second and third relay switches 26 and 28 to their stored states. Furthermore, the master ECU 20 releases the deactivation of the relay function of the communication circuit 22 and restores the relay function of the communication circuit 22.

[0064] In step S290, the master ECU 20 determines whether or not it has received a command from the manager ECU 10 to send list information. If it determines that it has received a command to send list information, the master ECU 20 proceeds to step S300. In step S300, the master ECU 20 sends the created list information to the manager ECU 10.

[0065] Figure 7 shows an example of the transmission format for list information sent from the master ECU 20 to the manager ECU 10. The transmission format includes the identifier of the master ECU 20 indicating the source, the number of relay switches plus 1, the size of the identifier data corresponding to "outside relay", the data indicating the identifier corresponding to "outside relay", the size of the identifier data corresponding to the first relay switch, and the data indicating the identifier corresponding to the first relay switch.

[0066] The reason the transmission format includes a value equal to the number of relay switches plus one is to transmit an identifier corresponding to each relay switch, as well as an identifier corresponding to "outside the relay." Furthermore, the reason the transmission format includes the size of the identifier data corresponding to "outside the relay" and the size of the identifier data corresponding to the first relay switch is to allow the data portion indicating the identifier corresponding to "outside the relay" and the data portion indicating the identifier corresponding to the first relay switch to be identified within the transmission format.

[0067] For example, in the transmission format, the data portion indicating the identifier corresponding to an outside relay can include the relay switch number, the number of identifiers, and the acquired identifier, as shown in Figure 7. In Figure 7, the acquired identifiers are indicated by NAD1, NAD2, and NAD3. Also, in the case of an outside relay, the relay switch number will be a specific value indicating an outside relay. The data portion indicating the identifier corresponding to the first relay switch has a similar structure to the data portion indicating the identifier corresponding to an outside relay.

[0068] Here, the verification process performed by the manager ECU 10 or the diagnostic device 1 will be described. As described above, the manager ECU 10 or the diagnostic device 1 stores the correct correspondence between the first to third relay switches 16, 26, and 28 and the identifiers of the first to third slave ECUs 40, 50, and 60 for each of the multiple master ECUs. The list information for each master ECU that the manager ECU 10 collects from the multiple master ECUs includes the correspondence between at least one relay switch and the identifier of the slave ECU connected to that relay switch.

[0069] Therefore, the manager ECU 10 or diagnostic device 1 can compare the identifier of the slave ECU corresponding to the relay switch in the correct correspondence stored for each master ECU with the identifier of the slave ECU corresponding to the relay switch included in the acquired list information. If the identifiers of the slave ECUs corresponding to the relay switches match in this comparison, it can be assumed that the slave ECU intended for connection has been correctly assembled without being mistaken for another type of slave ECU. Thus, according to this embodiment, the manager ECU 10 or diagnostic device 1 can diagnose whether multiple slave ECUs have been correctly assembled based on the list information collected from multiple master ECUs by the manager ECU 10.

[0070] Furthermore, the manager ECU 10 or diagnostic device 1 can also diagnose whether the master ECUs 20 and 30 (other than the slave ECUs) are correctly assembled, based on the list information collected by the manager ECU 10 from multiple master ECUs. The reason for this is explained below.

[0071] When multiple master ECUs send list information to the manager ECU 10, the transmission format includes the identifier of the master ECU that indicates the source. Therefore, the manager ECU 10 or the diagnostic device 1 can diagnose that the master ECU is not properly assembled if the list information obtained from each master ECU includes the identifier of a master ECU that is not scheduled to be connected, or if the identifiers of the master ECUs do not match when comparing the identifiers of the slave ECUs corresponding to the relay switches for each master ECU.

[0072] Furthermore, when multiple master ECUs transmit list information to the manager ECU 10, the transmission format includes the identifier of the ECU corresponding to the non-relay unit. Therefore, the manager ECU 10 or the diagnostic device 1 can diagnose that the non-relay unit is not properly assembled if the identifier of the non-relay unit does not match the identifier of the ECU that is scheduled to be connected non-relay.

[0073] Finally, an example of processing performed by the first to third slave ECUs 40, 50, and 60 will be explained with reference to the flowchart in Figure 8. In the following, an example will be described in which the first slave ECU 40 performs the processing shown in the flowchart in Figure 8.

[0074] In step S600, the first relay switch 16 connected to the first slave ECU 40 is turned on by the manager ECU 10, thereby initiating the supply of power to the first slave ECU 40. In step S610, the first slave ECU 40 performs a startup process. This startup process includes, for example, the initialization of various variables and the start of various programs. Once the startup process is complete, the first slave ECU 40 sends a message containing its identifier in step S620. This message is sent periodically until the first slave ECU 40 determines in step S630 that it has stopped the power supply.

[0075] (modified version) While preferred embodiments of this disclosure have been described above, this disclosure can be implemented in various ways without being limited to the embodiments described above, and without departing from the spirit of this disclosure.

[0076] For example, the manager ECU 10 may send the instruction to each master ECU to create list information simultaneously to all master ECUs, or it may be sent sequentially to each master ECU in a predetermined order. However, even when sending the instruction to each master ECU to create list information sequentially, it is preferable to send the instruction to stop the relay function of the communication circuit in advance. This makes it possible to prevent each master ECU from being affected by messages from slave ECUs when performing the list information creation process.

[0077] Furthermore, the embodiments described above described an example in which the slave ECU starts up in response to the start of power supply. However, the slave ECU may also start up in response to receiving a WakeUp message periodically sent from the master ECU after power supply has started.

[0078] Furthermore, the systems, methods, and ECUs described in this disclosure may be implemented by a dedicated computer comprising a processor programmed to perform one or more functions embodied by a computer program. The systems, methods, and ECUs described in this disclosure may be implemented using dedicated hardware logic circuits. The systems, methods, and ECUs described in this disclosure may be implemented by one or more dedicated computers comprising a combination of a processor that executes a computer program and one or more hardware logic circuits. For example, some or all of the functions of the manager ECU 10 and the master ECU 20 may be implemented as hardware. Embodiments of implementing a certain function as hardware include embodiments using one or more ICs, etc. The processor (arithmetic core) may be a CPU, MPU, GPU, DFP (Data Flow Processor), etc. Some or all of the functions of the manager ECU 10 and the master ECU 20 may be implemented using a system-on-a-chip (SoC), integrated circuit (IC), or field-programmable gate array (FPGA). The concept of IC also includes ASIC (Application Specific Integrated Circuit). Furthermore, a computer program only needs to be stored on a computer-readable non-transitory tangible storage medium as instructions executed by the computer. HDDs (Hard-disk drives), SSDs (Solid State Drives), flash memory, etc., can be used as the recording medium for the program. The scope of this disclosure also includes programs for causing the computer to function as a manager ECU 10 or master ECU 20, and non-transitory tangible recording media such as semiconductor memory on which these programs are stored.

[0079] (Disclosure of technical ideas) Finally, this specification discloses several technical concepts described in the following sections. Some sections may be written in a polynomial form, selectively referencing several preceding sections. Furthermore, some sections may be written in a multiple polynomial form, referencing several sections, including other sections in a polynomial form. These sections written in polynomial and multiple polynomial forms define several technical concepts. Furthermore, the several technical concepts described in the following sections also apply to assembly diagnostic methods, manager ECUs, and master ECUs.

[0080] (Technical thought 1) A network system for sending and receiving messages between multiple ECUs (10, 20, 30, 40, 50, 60), Multiple ECUs, When powered on, the slave ECUs (40, 50, 60) send a message containing their own identifier, A master ECU (10, 20) has the function of turning on or off switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, and creates list information showing the relationship between the switches and the identifiers of the slave ECU based on a message received from the slave ECU that includes an identifier when the switches are turned on, Multiple sets of the aforementioned slave ECUs and master ECUs are provided. The system includes a Manager ECU (10) that collects the list information from a plurality of master ECUs, A network system in which the list information collected by the manager ECU from multiple master ECUs is used to diagnose whether at least multiple slave ECUs are properly assembled.

[0081] (Technical thought 2) The network system according to technical concept 1, wherein the manager ECU diagnoses whether at least several of the slave ECUs are properly assembled.

[0082] (Technical Thought 3) The network system according to technical concept 2, wherein the manager ECU pre-stores the relationship between the identifier of the switch and the identifier of the slave ECU for each of the multiple master ECUs, and diagnoses whether at least multiple slave ECUs are correctly assembled based on the result of comparing the stored relationship with the list information collected from the multiple master ECUs.

[0083] (Technical Thought 4) The manager ECU transmits the diagnostic results to an external device (1), as described in technical concept 2 or 3 of the network system.

[0084] (Technical Thought 5) The network system according to any one of Technical Concepts 1 to 4, wherein the manager ECU instructs a plurality of master ECUs to create the list information.

[0085] (Technical Thought 6) Multiple master ECUs have a message relay function, The network system according to technical concept 5, wherein multiple master ECUs stop their message relay functions in response to being instructed to create the list information.

[0086] (Technical Thought 7) A network system according to technical concept 5 or 6, wherein when a plurality of master ECUs receive an instruction from the manager ECU to create the list information, they store the state of the switch at the time the instruction was received, and after the creation of the list information is completed, they restore the switch to the stored state.

[0087] (Technical Thought 8) A network system according to any one of technical ideas 5 to 7, wherein each of the multiple master ECUs, upon receiving an instruction from the manager ECU to create the list information, turns off the switch and receives a message containing an identifier transmitted from another ECU, and creates a list of identifiers of other ECUs that are connected to it in a communicative manner, other than the slave ECU connected to the power supply line on which the switch is provided.

[0088] (Technical Thought 9) At least one of the multiple master ECUs (20) has the function of turning on or off the multiple switches (26, 28), The network system according to any one of technical ideas 1 to 8, wherein the at least one master ECU obtains the identifier of the slave ECU connected to the power supply line on which the switched-on switch is provided by sequentially turning on the plurality of switches, and creates list information showing the relationship between the plurality of switches and the identifier of the slave ECU. [Explanation of symbols]

[0089] 2: Battery, 4: Power supply circuit, 10: Manager ECU, 12: Communication circuit, 14: First relay circuit, 16: First relay switch, 18: Communication network, 20: Master ECU, 22: Communication circuit, 24: Second relay circuit, 26: Second relay switch, 28: Third relay switch, 40: First slave ECU, 42: Communication circuit, 50: Second slave ECU, 52: Communication circuit, 60: Third slave ECU, 62: Communication circuit, 100: Assembly diagnostic system

Claims

1. A network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), Multiple ECUs, When powered on, the slave ECUs (40, 50, 60) send a message containing their own identifier, A master ECU (10, 20) has the function of turning on or off switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, and creates list information showing the relationship between the switches and the identifiers of the slave ECU based on a message from the slave ECU that includes an identifier received when the switches are turned on, Multiple sets of the aforementioned slave ECU and master ECU are provided. The system includes a manager ECU (10) that collects the list information from a plurality of master ECUs, The list information collected by the manager ECU from multiple master ECUs is used in a network system to diagnose whether at least multiple slave ECUs are properly assembled.

2. The network system according to claim 1, wherein the manager ECU diagnoses whether at least a number of the slave ECUs are properly assembled.

3. The network system according to claim 2, wherein the manager ECU pre-stores a relationship between the identifier of the switch and the slave ECU for each of the multiple master ECUs, and diagnoses whether at least multiple slave ECUs are correctly assembled based on the result of comparing the stored relationship with the list information collected from the multiple master ECUs.

4. The network system according to claim 2 or 3, wherein the manager ECU transmits the diagnostic results to an external device (1).

5. The network system according to any one of claims 1 to 3, wherein the manager ECU instructs a plurality of master ECUs to create the list information.

6. Multiple master ECUs have a message relay function, The network system according to claim 5, wherein the multiple master ECUs stop their message relay function in response to being instructed to create the list information.

7. The network system according to claim 5, wherein when a plurality of master ECUs receive an instruction from the manager ECU to create the list information, they store the state of the switch at the time the instruction was received, and after the creation of the list information is completed, they restore the switch to the stored state.

8. The network system according to claim 5, wherein each of the multiple master ECUs, upon receiving an instruction from the manager ECU to create the list information, turns off the switch and receives a message containing an identifier transmitted from another ECU, and creates a list of identifiers of other ECUs that are connected to it in a communicative manner, other than the slave ECU connected to the power supply line on which the switch is provided.

9. At least one master ECU (20) among the multiple master ECUs has the function of turning on or off the multiple switches (26, 28), The network system according to any one of claims 1 to 3, wherein the at least one master ECU obtains the identifier of the slave ECU connected to the power supply line on which the switched-on switches are provided by sequentially turning on the plurality of switches, and creates list information showing the relationship between the plurality of switches and the identifiers of the slave ECUs.

10. A network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), and a method for diagnosing whether at least some of the ECUs are correctly assembled, The plurality of ECUs include slave ECUs (40, 50, 60), master ECUs (10, 20), and manager ECU (10). The master ECU turns on the switches (16, 26, 28) provided on the power supply line (6) of the slave ECU. The slave ECU is activated by power being supplied via the switch and sends a message containing its own identifier. The master ECU creates a list of identifiers between the switch and the slave ECU based on a message from the slave ECU that includes an identifier, which the master ECU receives when the switch is turned on. Multiple sets of the aforementioned slave ECU and master ECU are provided. The manager ECU collects the list information from a plurality of master ECUs, and An assembly diagnostic method comprising diagnosing whether at least several slave ECUs have been properly assembled based on the list information collected from a plurality of master ECUs.

11. A manager ECU (10) used in a network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), Multiple ECUs, in addition to the manager ECU, When powered on, the slave ECUs (40, 50, 60) send a message containing their own identifier, The master ECU (10, 20) has the function of turning on or off switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, and creates list information showing the relationship between the switches and the identifiers of the slave ECU based on a message received from the slave ECU that includes an identifier when the switches are turned on, Multiple sets of the aforementioned slave ECU and master ECU are provided. The ManagerECU is A function to instruct multiple master ECUs to create the list information, It has a function to collect the list information from multiple master ECUs, The manager ECU uses the list information collected from multiple master ECUs by the manager ECU to diagnose whether at least multiple slave ECUs are properly assembled.

12. Master ECUs (10, 20) used in a network system that sends and receives messages between multiple ECUs (10, 20, 30, 40, 50, 60), The multiple ECUs include, in addition to the master ECU, slave ECUs (40, 50, 60) and a manager ECU (10). The aforementioned slave ECU sends a message containing its own identifier when it starts up. The aforementioned master ECU is The function of turning on or off the switches (16, 26, 28) provided on the power supply line (6) of the slave ECU, The system has a function to create list information indicating the relationship between the switch and the identifier of the slave ECU, based on a message received from the slave ECU that includes an identifier when the switch is turned on. Multiple sets of the aforementioned slave ECU and master ECU are provided. The manager ECU collects the list information from a plurality of master ECUs. The list information collected by the manager ECU from multiple master ECUs is used to diagnose whether at least multiple slave ECUs are properly assembled, according to the master ECU.

Citation Information

Patent Citations

  • Vibration recorder

    JP1981039425A