WO2020129911A1 - Supervisory ecu, control method, control system, and program - Google Patents

Supervisory ecu, control method, control system, and program Download PDF

Info

Publication number
WO2020129911A1
WO2020129911A1 PCT/JP2019/049231 JP2019049231W WO2020129911A1 WO 2020129911 A1 WO2020129911 A1 WO 2020129911A1 JP 2019049231 W JP2019049231 W JP 2019049231W WO 2020129911 A1 WO2020129911 A1 WO 2020129911A1
Authority
WO
WIPO (PCT)
Prior art keywords
ecu
control
processing
ecus
vehicle
Prior art date
Application number
PCT/JP2019/049231
Other languages
French (fr)
Japanese (ja)
Inventor
佐藤 慎一郎
Original Assignee
株式会社オートネットワーク技術研究所
住友電装株式会社
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社オートネットワーク技術研究所, 住友電装株式会社, 住友電気工業株式会社 filed Critical 株式会社オートネットワーク技術研究所
Publication of WO2020129911A1 publication Critical patent/WO2020129911A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • the present invention relates to a general ECU, a control method, a control system and a program.
  • This application claims priority based on Japanese application No. 2018-236601 filed on December 18, 2018, and incorporates all the contents described in the Japanese application.
  • a vehicle is equipped with multiple ECUs (Electronic Control Units) that control the operation of each on-vehicle device in the vehicle.
  • ECUs Electronic Control Units
  • a vehicle may be equipped with a control system in which each ECU is divided into, for example, a driving system, a body system, an information system, and the like and is controlled by a centralized ECU that controls the respective systems (for example, Patent Document 1). 1).
  • a control method is a method for controlling an in-vehicle device in a vehicle, which includes a plurality of ECUs that control an in-vehicle device and a plurality of integrated ECUs that control the plurality of ECUs by dividing them into a predetermined system.
  • the respective centralized ECUs determine whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and when it is determined that the predetermined time is exceeded, a request for the process to another centralized ECU. I do.
  • a control system includes a plurality of ECUs that control an in-vehicle device that is mounted on a vehicle, and a plurality of generalized ECUs that divide the plurality of ECUs into predetermined systems and control them.
  • the ECU determines a determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and if the determination unit determines that the predetermined time is exceeded, the process to another centralized ECU is performed. And a request unit for making the request.
  • a program determines to a general ECU that controls a plurality of ECUs that control an in-vehicle device mounted on a vehicle, whether a time required for processing related to the in-vehicle device exceeds a predetermined time. However, if it is determined that the predetermined time is exceeded, the process for requesting the process to another centralized ECU is executed.
  • An integrated ECU is an integrated ECU that is communicatively connected to each of the individual ECUs connected to each of a plurality of vehicle-mounted devices mounted on a vehicle.
  • a control unit that generates and outputs control data of the vehicle-mounted device is provided, and the control unit shares processing load information including information regarding a processing load for generating the control data with another centralized ECU.
  • the self-integrated ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the self-integrated ECU, or requests the other integrated ECU. Decide what to do.
  • FIG. 3 is a block diagram showing a configuration of a centralized ECU. It is an explanatory view showing an example of a record layout of a priority table.
  • 5 is a flowchart showing a procedure of request processing performed by the general ECU. 5 is a flowchart showing a procedure of request processing performed by the general ECU. It is a flow chart which shows the procedure of the confirmation processing which general ECU performs. It is explanatory drawing of the division aspect of image data.
  • 6 is a block diagram showing the configuration of a control system according to a second embodiment. FIG. It is explanatory drawing which illustrated the processing load information in the table format (processing load table). It is explanatory drawing which illustrated the control ECU management information in the table format (control ECU master table). 6 is a flowchart illustrating a process of a control unit of the overall ECU.
  • An object of the present disclosure is to provide a centralized ECU, a control method, a control system, and a program that can be easily designed.
  • the processing amount can be set within the range of its own processing capacity by requesting the processing to another integrated ECU having a small processing amount. Therefore, when a vehicle is equipped with a plurality of integrated ECUs that control the ECUs for each system, the processing capacity of each integrated ECU should be designed to be the same, and the entire processing should be completed within the range of the processing capacity of all the integrated ECUs. You can Therefore, it is possible to easily design the integrated ECU that controls the ECU.
  • the overall ECU has a determining unit that determines whether or not to accept the request when the request is made from another overall ECU.
  • the integrated ECU that has been requested to process can make a decision not to accept the request, so that it is possible to prevent a situation in which the processing exceeds the range of its own processing capacity.
  • the determining unit determines whether to accept the request for the process, using the priority order determined for the process.
  • the integrated ECU suspends the process being executed when the determining unit determines to accept a process having a higher priority than the process being executed.
  • the request unit requests a part of the divided processes in one process.
  • the processing is image data analysis.
  • the analysis of the image data of the camera mounted on the vehicle can be favorably completed even if the processing amount is large.
  • a control method is the vehicle-mounted device in a vehicle, which includes a plurality of ECUs that control the vehicle-mounted device and a plurality of integrated ECUs that divide the plurality of ECUs into predetermined systems and control them.
  • each centralized ECU determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time. Make a processing request.
  • the centralized ECUs that control the ECUs of the respective systems when the processing amounts of the centralized ECUs that control the ECUs of the respective systems are non-uniform, the centralized ECUs that have a large processing amount request the processing to the centralized ECU that has a small processing amount.
  • the processing amount of the ECU can be within the range of its own processing capacity. Therefore, it is possible to design the processing capacities of the respective centralized ECUs to be the same and complete the entire processing within the range of the processing capacities of all the centralized ECUs. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
  • a control system includes a plurality of ECUs that control an in-vehicle device that is mounted on a vehicle, and a plurality of generalized ECUs that control the plurality of ECUs by dividing them into a predetermined system.
  • Each of the centralized ECUs determines to a determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and if the determination unit determines that the time exceeds the predetermined time, the other generalized ECUs And a request unit for making a request for the above processing.
  • the processing amount of each centralized ECU is controlled by requesting the processing to the centralized ECU having a small processing amount. It can be within the processing capacity. Therefore, it is possible to design the processing capacities of the respective centralized ECUs to be the same and complete the entire processing within the range of the processing capacities of all the centralized ECUs. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
  • a program is configured to allow a centralized ECU that controls a plurality of ECUs that control an in-vehicle device mounted on a vehicle to determine whether a time required for a process related to the in-vehicle device exceeds a predetermined time. If it is determined that the predetermined time is exceeded, a process for requesting the process to another centralized ECU is executed.
  • the centralized ECU may request the processing to another centralized ECU that has a small amount of processing, so that the processing amount falls within the range of its own processing capacity. it can. Therefore, in the case where the vehicle is equipped with a general ECU that supervises the ECU for each system, the processing capacities of the general ECUs can be designed to be the same, and the entire processing can be completed within the range of the processing capacities of all the general ECUs. .. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
  • An overall ECU is an overall ECU that is communicatively connected to each individual ECU connected to each of a plurality of in-vehicle devices mounted on a vehicle, A control unit for generating and outputting control data of the in-vehicle device based on the data acquired from the individual ECU, The control unit is Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU, According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. Decide
  • the centralized ECU shares the processing load information with other centralized ECUs, and the processing load information includes a processing load for generating control data based on the data acquired from each individual ECU. Contains information about.
  • the control ECU When the control ECU generates control data based on the data acquired from any of the individual ECUs, the control ECU performs a process of generating the control data on its own control ECU based on the processing load information shared with other control ECUs. Whether or not the control is performed by another centralized ECU or the request is issued to another centralized ECU, even if the processing load of itself (the local centralized ECU) is high, it is possible to suppress a delay in the process of generating the control data. can do.
  • one of the overall ECUs is responsible for the process of generating control data based on the processing load information shared by the own overall ECU and the other overall ECUs
  • a program for performing the basic specifications and processing of these overall ECUs Can be standardized or standardized, and the design of the overall ECU can be performed easily or efficiently.
  • control unit refers to the processing load information, and if another centralized ECU having a lower processing load than the own centralized ECU exists, requests the processing for generating control data to the other centralized ECU, When there is no other centralized ECU having a processing load lower than that of the own centralized ECU, the processing for generating control data is performed by the own centralized ECU. Therefore, it is possible to equalize the processing loads in the own control ECU and other control ECUs, and it is possible to efficiently generate control data based on the data acquired from each individual ECU.
  • the processing load information includes an estimated required time required to generate the control data, which is derived based on data acquired from the individual ECU, The control unit is If the derived estimated time does not exceed the required time required to generate the control data, the process of generating the control data is determined to be performed by the self-control ECU. If the derived estimated required time exceeds the required time required to generate the control data, it is determined to request the process for generating the control data to the other centralized ECU.
  • control unit refers to the processing load information, and if the estimated required time required to generate the control data does not exceed the required time required to generate the control data, the control unit generates the control data. Is performed by the own centralized ECU, and when the required time is exceeded, a request is made to another centralized ECU for processing to generate control data. Therefore, even if the processing load of the self-control ECU is high and the control data cannot be generated within the required time depending on the processing of the self-control ECU, the control data is requested by requesting the process to another control ECU. It is possible to meet the required time for the generation of
  • the processing load information includes information regarding a priority order in processing for generating the control data
  • the control unit determines whether or not to interrupt the process that is already being executed, based on the information regarding the priority order.
  • control unit performs the process for generating the control data, and connects between the individual ECU directly connected to the own integrated ECU and the individual ECU directly connected to the other integrated ECU. Performs processing related to relay control of data transmitted and received.
  • the control unit for example, when the process for generating the control data and the process for relay control of the data between the individual ECUs occur within a predetermined period, the control unit generates the control data. Data relay control between individual ECUs is given priority over processing. Therefore, the control data is generated while reliably ensuring the relay of the data transmitted and received between the individual ECU directly connected to the own ECU and the individual ECU directly connected to the other overall ECU.
  • the processing for performing it can be performed efficiently.
  • a control method obtains data from an individual ECU connected to each of a plurality of vehicle-mounted devices mounted on a vehicle in a computer, Refer to the processing load information shared by multiple control ECUs, A process of determining whether to perform control processing of the vehicle-mounted device based on the acquired data in the own control ECU or to request another control ECU is executed.
  • the computer can be made to function as a centralized ECU.
  • a control system is a control system that includes a plurality of centralized ECUs that are communicatively connected to individual ECUs that are respectively connected to a plurality of vehicle-mounted devices mounted on a vehicle, Any one of the plurality of general ECUs includes a control unit that generates and outputs control data of the vehicle-mounted device based on the data acquired from the individual ECU.
  • the control unit of any one of the general ECUs is Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU, According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. Decide
  • FIG. 1 is a block diagram showing the configuration of the control system according to the embodiment.
  • reference numeral 1 is a control system, and the control system 1 is mounted on a vehicle.
  • the control system 1 includes a first overall ECU 10, a second overall ECU 20, and a third overall ECU 30.
  • the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 are connected to a plurality of ECUs that control each on-vehicle device mounted on the vehicle, and these are divided into a predetermined system and are integrated respectively.
  • the system is, for example, an operating system, a body system, and an information system.
  • the first overall ECU 10 is connected to operation-system ECUs such as the camera ECU 11, the steering ECU 12, and the brake ECU 13, and controls the control of these ECUs.
  • the second integrated ECU 20 is connected to body-based ECUs such as the light ECU 21, the door lock ECU 22, and the wiper ECU 23, and controls the control of these ECUs.
  • the third overall ECU 30 is connected to the information ECUs such as the communication ECU 31, the navigation ECU 32, and the display ECU 33, and controls the control of these ECUs.
  • the camera ECU 11 controls the operation of the camera mounted on the vehicle
  • the steering ECU 12 controls the vehicle steering mechanism
  • the brake ECU 13 controls the vehicle braking system.
  • the communication ECU 31 controls communication with another vehicle or an external server via an antenna provided in the vehicle.
  • the navigation ECU 32 controls the operation of the navigation system mounted on the vehicle
  • the display ECU 33 controls the operation of the head mounted display mounted on the vehicle.
  • the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 have the same configuration and can communicate with each other.
  • the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 have the same processing capacity and are capable of performing the same processing, and the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 allow the vehicle to operate. Even if the required processing capacity and processing speed are the maximum, it is designed to be able to handle it.
  • FIG. 2 is a block diagram showing the configuration of the overall ECU.
  • the first overall ECU 10 has a control unit 14, a storage unit 15, a first communication unit 16, a second communication unit 17, and an input/output unit 18.
  • the control unit 14 includes a CPU (Central Processing Unit), an MPU (Micro Processing Unit), and the like.
  • the storage unit 15 includes a ROM (Read Only Memory), a RAM (Random access memory), and the like, and stores a control program 15a and a priority table 15b.
  • the control unit 14 reads the control program 15a from the storage unit 15 to perform control of each connected ECU and request processing and confirmation processing described below.
  • ASIL levels are classified into QM, ASIL-A, ASIL-B, ASIL-C, and ASIL-D levels.
  • the QM level is a normal quality control that does not require the functional safety according to ISO26262.
  • the priority order in the control system 1 is set corresponding to the ASIL level, the QM level priority order is the lowest (priority order “5” in FIG. 3), and the order of priority is from ASIL-A to D.
  • the priorities “4” to “1” in FIG. 3) are increased, and the priority of the ASIL-D level (priority “1” in FIG. 3) is set to the highest.
  • an ECU corresponding to each ASIL level is an information system ECU such as the navigation ECU 32.
  • the ECU corresponding to the ASIL-A level is a body system ECU such as the wiper ECU 23.
  • the ECU corresponding to the ASIL-B level is an operation ECU related to drive control of an engine ECU (not shown) and the like.
  • the ECU corresponding to the ASIL-C level is a driving ECU related to the steering ECU 12, the brake ECU 13, and the like.
  • the ECU 30 corresponding to the ASIL-D level is an automatic driving system ECU 30 related to automatic driving control.
  • the automatic driving system ECU in FIG. 3 corresponds to, for example, the camera ECU 11 and the like in the case where the vehicle in which the control system 1 is mounted is a vehicle in which automatic driving is performed.
  • the priority of the safety of the vehicle in each ECU is the highest priority in the autonomous driving system ECU, and the ECU that controls the turning (turning) or stopping of the vehicle has the second highest priority.
  • the ECU that controls the traveling (running) of the vehicle has the second highest priority. Then, the ECUs that perform controls other than these are given low priority.
  • the centralized ECU performs the following request processing when the ECU connected to the input/output unit 18 requests processing.
  • the overall ECU that performs the request process will be described as the first overall ECU 10, but other overall ECUs also perform the same request process.
  • the first centralized ECU 10 acquires process information regarding a process performed by the ECU from the ECU via the input/output unit 18 (S1).
  • the processing performed by the ECU is analysis of image data of a camera controlled by the camera ECU 11.
  • the first overall ECU 10 calculates the processing time required for the processing based on the acquired processing information (S2). At this time, the processing data or the like related to the processing information may be divided, and the processing time may be calculated for each of the divided pieces.
  • the control unit 14 of the first overall ECU 10 determines whether or not the calculated processing time exceeds a predetermined required time required for the processing (S3). When the processing data or the like related to the processing information is divided, it is determined whether or not the required time is exceeded for each. When the control unit 14 of the first centralized ECU 10 determines that the required time is not exceeded (S3: NO), the process is executed (S4), and the request process ends.
  • the first overall ECU 10 determines that the required time is exceeded (S3: YES)
  • the first overall ECU 10 transmits a request signal requesting the processing status of another overall ECU via the first communication unit 16 and the second communication unit 17 ( S5).
  • the other overall ECU receives the request signal (S6) and transmits the processing status to the first overall ECU 10 that is the transmission source (S7).
  • the processing status is, for example, the ratio of the processing amount of the processing executed by the processing unit to the processing capacity of the processing unit itself and the allowable processing amount.
  • the first centralized ECU 10 receives the processing statuses of the other centralized ECUs (S8), and transmits the requested processing information to the centralized ECU having the highest allowable processing amount (S9).
  • the processing information may be a part of the processing related to the processing information divided as described above. In this case, regarding the remaining processing, the processing is performed by the requesting first overall ECU 10 itself.
  • the other centralized ECU receives the process information (S10), performs the confirmation process described later (S11), and determines whether or not the process related to the process information can be accepted.
  • the other centralized ECU transmits the acceptance/non-permission information of the processing request to the first overall ECU 10 (S12), and the first overall ECU 10 receives the availability information (S13). At this time, if the other centralized ECU can accept the process, it transmits the processing time calculated in the following confirmation process together with the availability information.
  • the control unit 14 of the first overall ECU 10 determines whether or not the processing request can be accepted based on the availability information of the other overall ECU (S14). When determining that the process cannot be requested (S14: NO), the first overall ECU 10 returns the process to step S3. When the control unit 14 determines that the processing can be requested (S14: YES), the control unit 14 determines whether the processing time when the other centralized ECU as the reception destination receives the processing time exceeds the required time (S15). ..
  • the process returns to step S3.
  • the first overall ECU 10 sends a process start signal to the other overall ECU that is the reception destination via the first communication unit 16 or the second communication unit 17. It is transmitted (S16).
  • the other centralized ECU receives the start signal (S17), executes the received processing (S18), and transmits the processing result to the requesting first centralized ECU 10 (S19).
  • the first overall ECU 10 receives the processing result (S20), and ends the request processing.
  • the received processing result and its own processing result are combined.
  • FIG. 6 is a flowchart showing the procedure of the confirmation process performed by the centralized ECU.
  • the control unit 14 of the centralized ECU refers to the priority order table 15b and confirms the priority order of the process related to the received process information and the process currently owned by itself (S111).
  • the control unit 14 determines whether the total processing amount when the processing is requested exceeds its own processing capacity (S112).
  • the control unit 14 determines to accept the request (S113), calculates the processing time (S114), and returns.
  • the centralized ECU determines that the processing capacity is exceeded (S112: YES)
  • the overall ECU determines whether or not the priority of the processing related to the processing information is the lowest among the processing that the own ECU has (S115).
  • control unit 14 determines that the priority order is the lowest (S115: YES)
  • the control unit 14 determines that the request cannot be accepted (S116), and returns.
  • the control unit 14 interrupts the process having the lowest priority order among the processes that the control unit 14 has (S117) and returns the process to step S112.
  • the interrupted processing is executed when there is a margin in the processing amount of the processing capacity. It should be noted that without using the priority order, it may be possible to decide to accept the request when the processing capacity of the device itself is not exceeded, and to decide not to accept the request when the processing capacity of the request is exceeded.
  • FIG. 7 is an explanatory diagram of a division mode of image data.
  • the first overall control ECU 10 divides the image data and performs the above requesting process for a part of the divided analysis process. Good.
  • the image 5 captured by the camera is divided into, for example, three regions, that is, a right region 50, a central region 51, and a left region 52, and the right region 50 is analyzed by itself, and the central region is analyzed.
  • the above-described request processing is performed to request the second integrated ECU 20 or the third integrated ECU 30 to perform analysis, and the entire image 5 is analyzed.
  • the first overall ECU 10 combines the processing result received from the second overall ECU 20 or the third overall ECU 30 with its own processing result to obtain the image data analysis result.
  • the centralized ECU that has been requested to perform processing related to the ECU by the requesting processing of another centralized ECU can refuse to accept the requested processing in the confirmation processing, thereby executing a processing that exceeds its own processing capacity. Can be prevented.
  • the priority table 15b is used to give priority to each processing, and it is determined whether or not to accept the processing, so that the processing with the higher priority can be preferentially executed.
  • each integrated ECU can share the process even with a large amount of processing, and the process can be completed successfully. Further, the analysis of the image data of the camera mounted on the vehicle can be shared by the respective centralized ECUs by request processing, and can be favorably completed even when the processing amount is large.
  • ECU system is not limited to the operation system, the body system, and the information system.
  • ECU is an example, and may be configured to include other ECUs.
  • FIG. 8 is a block diagram showing the configuration of the control system 1 according to the second embodiment.
  • the control system 1 according to the second embodiment is mounted on a vehicle similarly to the control system 1 according to the first embodiment, and includes a plurality of integrated ECUs.
  • the plurality of integrated ECUs included in the control system 1 are, for example, three (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30), and these multiple integrated ECUs can communicate with each other.
  • a loop-shaped backbone network is formed by being connected to.
  • Each of the overall ECUs (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30) is communicatively connected to the individual ECU 100 that is directly connected to the vehicle-mounted device 101 by a wire harness such as a serial cable. ..
  • a bus-shaped or star-shaped branch line network is formed.
  • the backbone network and the branch line network constitute an in-vehicle network, and the centralized ECU and the individual ECU 100 connected to the in-vehicle network are communicably connected to each other.
  • the integrated ECUs are connected via the first communication unit 16 and the second communication unit 17, for example, by an Ethernet (registered trademark) cable or the like. That is, the first communication unit 16 and the second communication unit 17 of the overall ECU have, for example, the functions of the Ethernet PHY unit and the layer 2 switch or the layer 3 switch.
  • the integrated ECU configured as described above is an Ethernet switch that relays data transmitted and received between the integrated ECUs or data transmitted from the individual ECU 100 that is directly connected to its own integrated ECU (own integrated ECU). It functions as an in-vehicle relay device such as a CAN gateway.
  • each centralized ECU is communicatively connected to the individual ECU 100 that is directly connected to its own centralized ECU (self-organized ECU) via the input/output unit 18 by, for example, a CAN bus or an Ethernet cable. .. That is, the input/output unit 18 functions as an Ethernet PHY unit or a CAN transceiver, for example.
  • a plurality of individual ECUs 100 are directly connected to each central ECU, and as described above, the plurality of individual ECUs 100 are connected to the central ECU by, for example, a CAN bus or an Ethernet cable.
  • Each of these individual ECUs 100 uses, for example, an image pickup device such as a COMS camera, an in-vehicle device 101 of a detection system such as an infrared sensor or LiDAR, or an in-vehicle device 101 of an operation system such as a drive motor, a power storage device, and a steering device by a wire harness. It is directly connected.
  • the individual ECU 100 directly connects itself (the individual ECU 100) with the detection data or the image data output from the vehicle-mounted device 101 of the detection system such as a sensor (first integrated ECU 10, second integrated ECU 10). It outputs to integrated ECU20 or 3rd integrated ECU30).
  • the overall ECU Based on the data such as the detection data or the image data transmitted from the individual ECU 100, the overall ECU generates control data for controlling any on-vehicle device 101 to be controlled, and directly connects to the on-vehicle device 101. It is transmitted to the individual ECU 100 that is being operated.
  • the individual ECU 100 which has acquired (received) the control data transmitted from the centralized ECU, generates a signal for operating or driving the vehicle-mounted device 101 directly connected to the own individual ECU 100 based on the control data. Output to the in-vehicle device 101.
  • the signal for operating or driving the in-vehicle apparatus 101 is, for example, a signal for turning on or off a relay included in the in-vehicle apparatus 101, a duty signal for rotating a motor included in the in-vehicle apparatus 101, or a pulse signal. Including equal sign.
  • the individual ECU 100 configured as described above may function as a device driver or a BIOS (Basic Input Output System) for operating or driving the in-vehicle apparatus 101.
  • the individual ECU 100 includes the camera ECU 11, the steering ECU 12, the brake ECU 13, the light ECU 21, the door lock ECU 22, the wiper ECU 23, the communication ECU 31, the navigation ECU 32, and the display ECU 33 described in the first embodiment
  • the centralized ECU may function as a domain controller that controls a functional domain including the plurality of individual ECUs 100 configured as described above. That is, each of the control ECUs controls a functional domain including a plurality of individual ECUs 100 directly connected to the control ECUs. Based on the data transmitted from each of the individual ECUs 100, for example, a process regarding recognition and determination is performed. As a result of the processing, control data for controlling the in-vehicle device 101 connected to the individual ECU 100 is generated.
  • the overall ECU substantially controls the vehicle-mounted device 101 by directly outputting (transmitting) the generated control data to the individual ECU 100 connected to the vehicle-mounted device 101 to be controlled.
  • the integrated ECUs (three integrated ECUs including the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30 in the present embodiment) generate control data based on the data transmitted from each individual ECU 100.
  • the common control program 15a for this purpose or the mutually compatible control program 15a is mounted. That is, any of the integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, or the third integrated ECU 30) can similarly perform the process of generating control data based on the data transmitted from each individual ECU 100.
  • each of the overall ECUs (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30), that is, the processing clock of a processor such as a CPU that configures the control unit 14, or hardware such as a storage capacity of the storage unit 15
  • a processor such as a CPU that configures the control unit 14
  • hardware such as a storage capacity of the storage unit 15
  • the present invention is not limited to this, and general ECUs having different processing capabilities may be mixed. Even if the processing capacities of the plurality of centralized ECUs are different, by normalizing the processing loads of the respective centralized ECUs according to a performance index described later, the difference in the processing capacities of the respective centralized ECUs is absorbed, The allocation of the process that produces the control data can be determined.
  • each of the general ECUs performs a process of generating control data based on the data transmitted from the individual ECU 100 directly connected to the own ECU, and the processes of the own ECU and other general ECUs.
  • the processing load information including the information regarding the load, it is determined whether the processing for generating the control data is performed by the own control ECU or is requested (requested) to another control ECU.
  • Each of the centralized ECUs shares information regarding a process of generating control data performed by itself (the own centralized ECU), that is, processing load information, with other centralized ECUs.
  • each centralized ECU can always confirm not only the processing load of itself (the own centralized ECU) but also the processing loads of other centralized ECUs, and therefore the processing for generating the control data is performed by the centralized ECU. It is possible to efficiently determine whether to make a request (request) to another centralized ECU.
  • FIG. 9 is an explanatory diagram illustrating the processing load information in a table format (processing load table).
  • FIG. 10 is an explanatory diagram illustrating the overall ECU management information in a table format (overall ECU master table).
  • the respective centralized ECUs (the first centralized ECU 10, the second centralized ECU 20, and the third centralized ECU 30) provide information relating to the process of generating control data performed by the self-generalized ECU and the other centralized ECUs, that is, the processing load information. It is shared and the processing load information can be referred to.
  • the processing load information is stored, for example, in the storage unit 15 of each of the general ECUs, and the processing load information stored in the storage unit 15 of each of the general ECUs is stored by constantly communicating between the general ECUs. It may be matched.
  • the processing load information may be a predetermined storage device (not shown) mounted in the vehicle, or a server outside the vehicle such as a cloud server communicatively connected via a wireless device, or the like, which is accessible from each centralized ECU. It may be stored in the storage area.
  • the processing load information may be stored in the storage unit 15 of the overall ECU in a table format, for example.
  • the processing load information is, for example, a processing load table that stores and manages items related to each processing in a table format, and a centralized ECU that stores and manages a total load value corresponding to a CPU usage rate in each centralized ECU in a table format. It may include a master table.
  • the process ID is a number issued each time a process for generating control data occurs, and is a management number for uniquely confirming the process.
  • the priority order is a priority order (priority level) determined by, for example, the above-described ASIL based on the process of generating control data or the data transmitted from the individual ECU 100.
  • the processing acceptance time is the time when the data transmitted from the individual ECU 100 directly connected to the own control ECU is acquired.
  • the estimated required time is the estimated time required for the process of generating the control data based on the data transmitted from the individual ECU 100.
  • the start time is the time when the control ECU executes the process of generating control data.
  • the load value indicates the load value generated in the overall ECU that executes the process when the process that generates the control data is executed.
  • the processing load table may further include a field of required time which is predetermined in each processing.
  • the general ECU master table which illustrates the general ECU management information in a table format, includes, for example, a general ECU name, an IP address, a performance index, and a total load value as management items (fields).
  • the general ECU name indicates the name or number of the general ECU, and is an ID for confirming the general ECU.
  • the IP address is an IP address set in each centralized ECU.
  • the performance index is an index value for normalizing the performance in each of the overall ECUs.
  • the overall ECU having a performance index of 15 has a processing capacity of 1.5 times that of the overall ECU having a performance index of 10. ..
  • the total load value is the total value of the load values of the processes executed in each individual ECU, and corresponds to, for example, the usage rate of the CPU configuring the control unit 14. As shown in the figure, for example, in the ECU-2, when two processes with process IDs 002 and 004 are executed in parallel, a load value of process ID: 002: 60 and a load value of process ID: 004 The total value of 70: 70 is the total load value of the ECU-2.
  • the centralized ECU supervises the processing in the functional domain configured by the plurality of individual ECUs 100 directly connected to the own centralized ECU, it is assumed that the plurality of processing are executed in parallel.
  • the total load value which is the sum of the load values of the individual processes, is managed to manage the total ECU. It is possible to efficiently acquire each load status. Since the processing load information including the information stored in the processing load table and the general ECU master table is shared by all the general ECUs included in the control system 1, each general ECU has its own general ECU and other ECUs. It is possible to efficiently acquire information on the load status of the centralized ECU and the status of processing being executed.
  • each centralized ECU detects that a process of generating control data based on the data has occurred, and determines the process reception time. Then, the overall ECU derives an estimated required time, which is a time required for the process of generating the control data, according to, for example, the data size (capacity) of the data, the type of the data, or the distinction of the individual ECU 100 that has transmitted.
  • the overall ECU may derive the estimated required time by taking into consideration the total load value of each of the integrated ECUs.
  • the overall ECU Based on the confirmed processing acceptance time and the derived estimated required time, and the total load value of the own overall ECU and other overall ECUs, the overall ECU performs the processing on its own or performs the processing on another overall ECU. Decide whether to make a request (request). In deciding whether to perform the processing by the own centralized ECU or request (request) the processing to another centralized ECU, the centralized ECU determines, for example, the load (total load value) of each centralized ECU included in the processing load information. If the overall ECU having the lowest total load value is the own overall ECU, it may be determined to be performed by the own overall ECU.
  • the centralized ECU refers to the loads (total load values) of the respective centralized ECUs included in the processing load information, and if the centralized ECU having the lowest total load value is not its own centralized ECU, the other centralized ECUs have the lowest total load value.
  • the processing may be requested (requested) to the ECU.
  • the overall ECU performs the processing in the same manner as in the first embodiment, when it is determined that the estimated required time required for the processing exceeds the predetermined required time in the processing, Alternatively, the processing may be requested (requested) to another centralized ECU.
  • the centralized ECU refers to the priority order (priority) of the processing (processing being executed) performed by each of the centralized ECUs, which is included in the processing load information, and refers to the priority order (priority level) of the processing targeted for the determination. If there is a general ECU that is performing a process with a lower priority (priority) than the above), the process may be requested (requested) to the general ECU.
  • the own general ECU that performs the process or the other general ECU that has requested the process determines the start time, and the state of the process is from the process wait (WAIT) RUN).
  • the centralized ECU reflects the processing acceptance time, the estimated required time, the decision regarding the processing, and the matters related to the execution of the processing, which are derived and determined, in the processing load information (the field of the total load value of the processing load table and the centralized ECU master table). .. Since the processing load information (processing load table) in which these items are reflected is shared by all the centralized ECUs, each centralized ECU acquires information about the processing load in each centralized ECU including its own centralized ECU. be able to.
  • the general ECU may function as an in-vehicle relay device that relays data transmitted/received between other general ECUs or relays data transmitted/received between individual ECUs 100.
  • the centralized ECU may preferentially execute the relay control process over the process of generating the control data.
  • FIG. 11 is a flowchart illustrating the process of the control unit 14 of the overall ECU.
  • the control unit 14 of the overall ECU (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30) constantly operates, for example, when the vehicle C is in an activated state (ignition switch is on) or in a stopped state (ignition switch is off). The following processing is performed.
  • the first overall ECU 10 will be described as its own overall ECU
  • the second overall ECU 20 will be described as another overall ECU.
  • the control unit 14 of the general ECU acquires data from the individual ECU 100 (S201).
  • the control unit 14 of the first overall ECU 10 acquires the data transmitted from the individual ECU 100 directly connected to the own overall ECU via the input/output unit 18.
  • the control unit 14 of the first overall ECU 10 derives the estimated required time required to generate the control data of the in-vehicle apparatus 101 based on the acquired data (S202).
  • the control unit 14 of the first centralized ECU 10 is the time required for the process of generating control data according to, for example, the data size (capacity) of the data acquired from the individual ECU 100, the type of the data, or the distinction of the transmitted individual ECU 100. Derive the estimated time required.
  • the control unit 14 of the first overall ECU 10 refers to the processing load information (S203).
  • the processing load information is shared by all the control ECUs (the first control ECU 10, the second control ECU 20, and the third control ECU 30), and the load (load value) of the processing currently executed by each of the control ECUs (current load value). ), or information about the load (total load value) of each of the centralized ECUs. Therefore, the control unit 14 of the first overall ECU 10 can acquire the load statuses of the own overall ECU and other overall ECUs by referring to the processing load information.
  • the control unit 14 of the first overall ECU 10 determines whether to perform the operation in the own overall ECU or to request the other overall ECU (S204). Whether the control unit 14 of the first centralized ECU 10 performs the process in its own centralized ECU based on the estimated required time, the predetermined required time in each process, and the load status in the own centralized ECU and other centralized ECUs. Alternatively, it is determined whether to make a request to another centralized ECU.
  • the control unit 14 of the first overall ECU 10 refers to, for example, the loads (total load value) of the overall ECUs included in the processing load information, and if the overall ECU having the lowest total load value is the own overall ECU, the own integrated ECU is performed.
  • the process is performed by the ECU.
  • the control unit 14 of the first overall ECU 10 determines that the estimated required time required for the processing by the own overall ECU exceeds the predetermined required time in the processing, as in the first embodiment.
  • the processing may be requested (requested) to another centralized ECU.
  • the control unit 14 of the first centralized ECU 10 determines the priority order (priority level) of the processing being executed by the other centralized ECU even if there is another centralized ECU having a higher total load value than the self-generalized ECU. ) Is lower than the priority (priority) of the process being executed by the own centralized ECU, it may be determined to request the other centralized ECU.
  • the control unit 14 of the first control ECU 10 When it is determined to be performed by the own control ECU (S204: YES), the control unit 14 of the first control ECU 10 performs a process of generating and outputting control data of the in-vehicle device 101 (S205).
  • the control unit 14 of the first overall ECU 10 determines to perform the operation by the own overall ECU, the control unit 14 generates control data of the in-vehicle device 101 to be controlled based on the data acquired from the individual ECU 100, and causes the in-vehicle device 101 to perform the control data.
  • the control data is directly output to the connected individual ECU 100.
  • the control unit 14 of the first overall ECU 10 Outputs (transmits) the control data from the input/output unit 18 of the self-control ECU.
  • the control unit 14 of the first integrated ECU 10 sends the control data to the first communication unit 16. Alternatively, it outputs (transmits) to the other overall ECU via the second communication unit 17.
  • the other overall ECU outputs (transmits) the control data acquired (received) from the first overall ECU 10 from the input/output unit 18 to the individual ECU 100 directly connected to the in-vehicle device 101 to be controlled, It functions as an in-vehicle relay device that relays the control data.
  • the individual ECU 100 that outputs the data is the individual ECU 100 directly connected to the in-vehicle device 101 of the detection system such as the imaging device or the LiDAR, and the in-vehicle device 101 of the control target is the operation system of the drive motor or the steering device.
  • the first overall ECU 10 generates control data based on the data acquired from the individual ECU 100 connected to the in-vehicle device 101 of the detection system, and operates as the control target.
  • the control data is output (transmitted) to the individual ECU 100 connected to the in-vehicle device 101 of the system.
  • the control unit 14 of the first overall ECU 10 determines the other overall ECU to request (S2040). ).
  • the control unit 14 of the first control ECU 10 refers to the processing load information shared by all the control ECUs, and determines, for example, the control ECU having a low total load value. It may be determined as another integrated ECU that makes a request (request).
  • control unit 14 of the first overall ECU 10 refers to the processing load information and determines, for example, the overall ECU that is executing the process with the lowest priority (priority) as another overall ECU that requests (requests). It may be one that does.
  • the control unit 14 of the first overall ECU 10 derives the estimated required time in each of the overall ECUs based on the performance index and the total load value of each of the other overall ECUs when determining as the other overall ECU to request (request).
  • the overall ECU that has the shortest estimated required time may be determined as another overall ECU that requests (requests).
  • the control unit 14 of the first overall ECU 10 requests another overall ECU for a process of generating control data (S2041).
  • the control unit 14 of the first overall ECU 10 determines, for example, as the other overall ECU that requests (requests) the second overall ECU
  • the control unit 14 requests the second overall ECU to perform a process of generating control data for the overall ECU.
  • the control unit 14 of the first overall ECU 10 generates the time when the data is acquired from the individual ECU 100 (process reception time), the process priority order (priority), the derived estimated required time, and the control data.
  • the integrated ECU name determined as the integrated ECU that performs the processing is reflected in the processing load information.
  • the control unit 14 of the first overall ECU 10 transmits the data acquired from the individual ECU 100 to another overall ECU (S2042).
  • the control unit 14 of the first overall ECU 10 obtains, via the first communication unit 16 or the second communication unit 17, from the individual ECU 100 to the second overall ECU 20 that has been determined as another overall ECU that requests (requests) processing.
  • Output (send) data
  • control unit 14 of the first general ECU 10 when the control unit 14 of the first general ECU 10 requests (requests) a process to another general ECU, the control unit 14 performs two steps of requesting the process and outputting data, but the present invention is not limited to this. Not done.
  • the control unit 14 of the first centralized ECU 10 When requesting (requesting) a process to another centralized ECU, the control unit 14 of the first centralized ECU 10 outputs (transmits) the data acquired from the individual ECU 100 to the other centralized ECU to request the process. It may be done.
  • the other overall ECU obtains (receives) the data output (transmitted) from the first overall ECU 10 (data transmitted from the individual ECU 100 directly connected to the first overall ECU 10), thereby It may be one that receives a request for processing from the first integrated ECU 10.
  • the first centralized ECU 10 refers to the processing load information to determine whether to perform the process of generating the control data in its own centralized ECU or to request (request) another centralized ECU.
  • the most suitable centralized ECU can be determined or selected. That is, the integrated ECU that has been requested to perform processing becomes the optimal integrated ECU for load distribution in the multiple integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1.
  • the load of the plurality of processes (generation of control data) that occur when the vehicle is operated can be efficiently distributed in the plurality of centralized ECUs, and the control system 1 can be stably operated.
  • the other integrated ECU acquires the data transmitted from the integrated ECU (S211).
  • the second overall ECU 20 determined by the first overall ECU 10 accepts the processing request from the first overall ECU 10 and acquires the data transmitted from the first overall ECU 10.
  • the second control ECU refers to the processing load information (S212).
  • the second overall ECU refers to the processing load information and acquires information regarding the processing being executed by the own overall ECU (second overall ECU).
  • the second centralized ECU determines whether or not there is a process that can be interrupted and is being executed (S213). For example, when a process having a lower priority than the process requested by the first general ECU 10 is being executed, the second overall ECU determines that the process having a lower priority is an ongoing process that can be interrupted. , It is determined that there is an ongoing process that can be interrupted.
  • the second overall ECU is, for example, interruptible during execution of a process having the same priority as the process requested (requested) from the first overall ECU 10 or a process higher than the priority. It is determined that there is no processing of. It goes without saying that the second overall ECU determines that there is no interruptible process being executed when there is no process being executed at the time when the process is requested by the first general ECU 10.
  • the second overall ECU interrupts the ongoing process that can be interrupted (S214).
  • the second centralized ECU interrupts the process under execution that can be interrupted, and changes the state in the process ID of the process included in the process load information from "running" to "running". Change to suspended (PEND).
  • the second overall ECU executes the process requested (requested) by the first overall ECU 10 after interrupting the process that can be interrupted, as in S215 described below.
  • the second overall ECU performs a process of generating and outputting control data of the in-vehicle apparatus 101 (S215). Similar to the processing S205 by the first overall ECU 10, the second overall ECU, based on the data relayed by the first overall ECU 10, that is, the data transmitted from the individual ECU 100, controls the in-vehicle device 101 to be controlled. Is generated and the control data is output to the individual ECU 100 directly connected to the vehicle-mounted device 101. After performing the process of generating and outputting the control data, the second control ECU restarts the interrupted process and interrupts the state in the process ID of the process if there is an interrupted (PEND) process. Change from Medium (PEND) to Running (RUN).
  • the plurality of integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1 share the processing load information.
  • the process of generating control data based on the data acquired from the individual ECU 100 can be performed by distributing the loads among the plurality of centralized ECUs. Since the control programs 15a including the program modules corresponding to the respective processes that generate the control data based on the individual data are installed in the plurality of centralized ECUs, and the implementation mode of the programs is standardized or standardized. It is possible to standardize or standardize design specifications such as functional specifications and hardware configurations in a plurality of integrated ECUs, and to design the integrated ECUs easily or efficiently.
  • the plurality of integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1 have data transmitted or received between the integrated ECUs or different integrated ECUs.
  • the centralized ECU performs the relay control processing such as the processing relating to the control of the relay with priority over the processing for generating the control data
  • the centralized ECU directly connects to the individual ECU 100 directly connected to the centralized ECU and other centralized ECUs. , It is possible to efficiently perform the process for generating the control data by distributing the load in the control system 1 while reliably ensuring the relay of the data transmitted/received to/from the connected individual ECU 100. it can.
  • Control System 10 First Integrated ECU (Overall ECU) 11 camera ECU 12 Steering ECU 13 Brake ECU 14 Control unit (determination unit, request unit, determination unit) 15 storage unit 15a control program 15b priority order table 16 first communication unit 17 second communication unit 18 input/output unit 20 second integrated ECU (unified ECU) 21 Light ECU 22 Door lock ECU 23 Wiper ECU 30 Third control ECU (control ECU) 31 Communication ECU 32 Navi ECU 33 Display ECU 50 right area 51 central area 52 left area 100 individual ECU 101 In-vehicle device (ACT)
  • ACT In-vehicle device

Abstract

Provided is a supervisory ECU that supervises a plurality of ECUs that control onboard devices installed in a vehicle, the supervisory ECU being provided with: a determining unit that determines whether or not the time needed for processing relating to the onboard devices exceeds a prescribed time; and a requesting unit that issues a request for the processing to another supervisory ECU when the determining unit has determined that the prescribed time is exceeded.

Description

統括ECU、制御方法、制御システム及びプログラムCentralized ECU, control method, control system and program
 本発明は、統括ECU、制御方法、制御システム及びプログラムに関する。
 本出願は、2018年12月18日出願の日本出願第2018-236601号に基づく優先権を主張し、前記日本出願に記載された全ての記載内容を援用するものである。
The present invention relates to a general ECU, a control method, a control system and a program.
This application claims priority based on Japanese application No. 2018-236601 filed on December 18, 2018, and incorporates all the contents described in the Japanese application.
 従来、車両には、車両における各車載装置の動作を制御する複数のECU(Electronic Control  Unit)が搭載されている。また、車両においては、各ECUを、例えば、運転系、ボディ系及びインフォメーション系等の系統に分けて各系統を統括する統括ECUにより制御する制御システムが搭載される場合がある(例えば、特許文献1参照)。 Conventionally, a vehicle is equipped with multiple ECUs (Electronic Control Units) that control the operation of each on-vehicle device in the vehicle. Further, a vehicle may be equipped with a control system in which each ECU is divided into, for example, a driving system, a body system, an information system, and the like and is controlled by a centralized ECU that controls the respective systems (for example, Patent Document 1). 1).
特開2015-067187号公報JP, 2005-067187, A
 本開示の一態様に係る統括ECUは、車両に搭載される車載装置を制御する複数のECUを統括する統括ECUであって、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部とを備える。 An overall ECU according to an aspect of the present disclosure is an overall ECU that integrates a plurality of ECUs that control an in-vehicle device mounted on a vehicle, and determines whether or not the time required for processing related to the in-vehicle device exceeds a predetermined time. A determination unit that determines whether or not the determination unit and a request unit that requests the other integrated ECU to perform the process when the determination unit determines that the predetermined time is exceeded.
 本開示の一態様に係る制御方法は、車載装置を制御する複数のECUと、該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備える車両における前記車載装置の制御方法であって、各統括ECUは、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う。 A control method according to an aspect of the present disclosure is a method for controlling an in-vehicle device in a vehicle, which includes a plurality of ECUs that control an in-vehicle device and a plurality of integrated ECUs that control the plurality of ECUs by dividing them into a predetermined system. The respective centralized ECUs determine whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and when it is determined that the predetermined time is exceeded, a request for the process to another centralized ECU. I do.
 本開示の一態様に係る制御システムは、車両に搭載される車載装置を制御する複数のECUと、該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備え、各統括ECUは、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部とを有する。 A control system according to an aspect of the present disclosure includes a plurality of ECUs that control an in-vehicle device that is mounted on a vehicle, and a plurality of generalized ECUs that divide the plurality of ECUs into predetermined systems and control them. The ECU determines a determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and if the determination unit determines that the predetermined time is exceeded, the process to another centralized ECU is performed. And a request unit for making the request.
 本開示の一態様に係るプログラムは、車両に搭載される車載装置を制御する複数のECUを統括する統括ECUに、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う処理を実行させる。 A program according to an aspect of the present disclosure determines to a general ECU that controls a plurality of ECUs that control an in-vehicle device mounted on a vehicle, whether a time required for processing related to the in-vehicle device exceeds a predetermined time. However, if it is determined that the predetermined time is exceeded, the process for requesting the process to another centralized ECU is executed.
 本開示の一態様に係る統括ECUは、車両に搭載される複数の車載装置夫々に接続される個別ECU夫々と、通信可能に接続される統括ECUであって、前記個別ECUから取得したデータに基づき、前記車載装置の制御データを生成及び出力する制御部を備え、前記制御部は、前記制御データの生成を行うための処理負荷に関する情報を含む処理負荷情報を、他の統括ECUと共有し、前記処理負荷情報に応じて、自統括ECUに直接、接続された個別ECUから取得したデータに基づき制御データを生成する処理を、前記自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する。 An integrated ECU according to an aspect of the present disclosure is an integrated ECU that is communicatively connected to each of the individual ECUs connected to each of a plurality of vehicle-mounted devices mounted on a vehicle. On the basis of the above, a control unit that generates and outputs control data of the vehicle-mounted device is provided, and the control unit shares processing load information including information regarding a processing load for generating the control data with another centralized ECU. According to the processing load information, the self-integrated ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the self-integrated ECU, or requests the other integrated ECU. Decide what to do.
実施の形態に係る制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system which concerns on embodiment. 統括ECUの構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a centralized ECU. 優先順位テーブルのレコードレイアウトの一例を示す説明図である。It is an explanatory view showing an example of a record layout of a priority table. 統括ECUが行う要求処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of request processing performed by the general ECU. 統括ECUが行う要求処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of request processing performed by the general ECU. 統括ECUが行う確認処理の手順を示すフローチャートである。It is a flow chart which shows the procedure of the confirmation processing which general ECU performs. 画像データの分割態様の説明図である。It is explanatory drawing of the division aspect of image data. 実施形態2に係る制御システムの構成を示すブロック図である。6 is a block diagram showing the configuration of a control system according to a second embodiment. FIG. 処理負荷情報をテーブル形式(処理負荷テーブル)にて例示した説明図である。It is explanatory drawing which illustrated the processing load information in the table format (processing load table). 統括ECU管理情報をテーブル形式(統括ECUマスタテーブル)にて例示した説明図である。It is explanatory drawing which illustrated the control ECU management information in the table format (control ECU master table). 統括ECUの制御部の処理を例示するフローチャートである。6 is a flowchart illustrating a process of a control unit of the overall ECU.
[本開示が解決しようとする課題]
 上記の制御システムにおいては、各系統の統括ECUに要求される処理量が不均一であるため、各統括ECUについて異なる設計をする必要があり、設計が煩雑になるという問題がある。
[Problems to be solved by the present disclosure]
In the above control system, since the processing amount required for the integrated ECU of each system is non-uniform, it is necessary to design each integrated ECU differently, and there is a problem that the design becomes complicated.
 本開示の目的は、設計を容易に行うことができる統括ECU、制御方法、制御システム及びプログラムを提供することにある。 An object of the present disclosure is to provide a centralized ECU, a control method, a control system, and a program that can be easily designed.
[本開示の効果]
 上記によれば、設計を容易に行うことができる。
[Effect of the present disclosure]
According to the above, the design can be easily performed.
[本開示の実施形態の説明]
 最初に本開示の実施態様を列挙して説明する。また、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
[Description of Embodiments of the Present Disclosure]
First, embodiments of the present disclosure will be listed and described. Further, at least a part of the embodiments described below may be arbitrarily combined.
 (1)本開示の一態様に係る統括ECUは、車両に搭載される車載装置を制御する複数のECUを統括する統括ECUであって、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部とを備える。 (1) An overall ECU according to an aspect of the present disclosure is an overall ECU that integrates a plurality of ECUs that control an in-vehicle device mounted on a vehicle, and a time required for processing by the in-vehicle device exceeds a predetermined time. A determination unit that determines whether or not to perform the determination, and a determination unit that requests the other integrated ECU to perform the process when the determination unit determines that the predetermined time is exceeded.
 車載装置に係る処理に要する時間が所定時間を超過する場合、処理量が少ない他の統括ECUに処理を要求することにより、処理量を自身の処理能力の範囲内とすることができる。したがって、車両にECUを系統毎に統括する複数の統括ECUを搭載する場合に、各統括ECUの処理能力を同一に設計し、全ての統括ECUの処理能力の範囲で全体の処理を完了することができる。したがって、ECUを統括する統括ECUの設計を容易に行うことができる。 If the time required for the processing related to the in-vehicle device exceeds the predetermined time, the processing amount can be set within the range of its own processing capacity by requesting the processing to another integrated ECU having a small processing amount. Therefore, when a vehicle is equipped with a plurality of integrated ECUs that control the ECUs for each system, the processing capacity of each integrated ECU should be designed to be the same, and the entire processing should be completed within the range of the processing capacity of all the integrated ECUs. You can Therefore, it is possible to easily design the integrated ECU that controls the ECU.
 (2)本開示の一態様に係る統括ECUは、他の統括ECUから前記要求が行われた場合に、前記要求を受け付けるか否かを決定する決定部を有する。 (2) The overall ECU according to one aspect of the present disclosure has a determining unit that determines whether or not to accept the request when the request is made from another overall ECU.
 本態様にあっては、処理を要求された統括ECUにおいて、要求を受け付けない決定をすることができるので、自身の処理能力の範囲を超える処理を有する状態になることを防止することができる。 In this mode, the integrated ECU that has been requested to process can make a decision not to accept the request, so that it is possible to prevent a situation in which the processing exceeds the range of its own processing capacity.
 (3)本開示の一態様に係る統括ECUは、前記決定部は、前記処理について定められた優先順位を用いて、前記処理の要求を受け付けるか否かを決定する。 (3) In the overall ECU according to one aspect of the present disclosure, the determining unit determines whether to accept the request for the process, using the priority order determined for the process.
 本態様にあっては、優先順位の高い処理を優先して実行することができる。 In this mode, it is possible to prioritize and execute a process with a high priority.
 (4)本開示の一態様に係る統括ECUは、前記決定部が実行中の処理よりも優先順位が高い処理を受け付けると決定した場合、前記実行中の処理を中断する。 (4) The integrated ECU according to one aspect of the present disclosure suspends the process being executed when the determining unit determines to accept a process having a higher priority than the process being executed.
 本態様にあっては、優先順位の高い処理を優先して実行することができる。 In this mode, it is possible to prioritize and execute a process with a high priority.
 (5)本開示の一態様に係る統括ECUは、前記要求部は、一の処理の内、分割した一部の処理を要求する。 (5) In the overall ECU according to one aspect of the present disclosure, the request unit requests a part of the divided processes in one process.
 本態様にあっては、一部の処理の実行を要求することにより、他の統括ECUと処理を分担でき、処理量の多い処理について良好に完了することができる。 In this mode, by requesting execution of a part of the processing, the processing can be shared with other centralized ECUs, and processing with a large processing amount can be completed successfully.
 (6)本開示の一態様に係る統括ECUは、前記処理は画像データの解析である。 (6) In the overall ECU according to one aspect of the present disclosure, the processing is image data analysis.
 本態様にあっては、車両に搭載されたカメラの画像データの解析を、処理量が多い場合であっても、良好に完了することができる。 According to this aspect, the analysis of the image data of the camera mounted on the vehicle can be favorably completed even if the processing amount is large.
 (7)本開示の一態様に係る制御方法は、車載装置を制御する複数のECUと、該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備える車両における前記車載装置の制御方法であって、各統括ECUは、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う。 (7) A control method according to an aspect of the present disclosure is the vehicle-mounted device in a vehicle, which includes a plurality of ECUs that control the vehicle-mounted device and a plurality of integrated ECUs that divide the plurality of ECUs into predetermined systems and control them. In the control method, each centralized ECU determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time. Make a processing request.
 本態様にあっては、各系統のECUを統括する統括ECUの処理量が不均一である場合、処理量が多い統括ECUが、処理量が少ない統括ECUに処理を要求することにより、各統括ECUの処理量を自身の処理能力の範囲内とすることができる。したがって、各統括ECUの処理能力を同一に設計し、全ての統括ECUの処理能力の範囲で全体の処理を完了することができる。したがって、ECUを統括する統括ECUの設計を容易に行うことができる。 In this aspect, when the processing amounts of the centralized ECUs that control the ECUs of the respective systems are non-uniform, the centralized ECUs that have a large processing amount request the processing to the centralized ECU that has a small processing amount. The processing amount of the ECU can be within the range of its own processing capacity. Therefore, it is possible to design the processing capacities of the respective centralized ECUs to be the same and complete the entire processing within the range of the processing capacities of all the centralized ECUs. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
 (8)本開示の一態様に係る制御システムは、車両に搭載される車載装置を制御する複数のECUと、該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備え、各統括ECUは、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部とを有する。 (8) A control system according to an aspect of the present disclosure includes a plurality of ECUs that control an in-vehicle device that is mounted on a vehicle, and a plurality of generalized ECUs that control the plurality of ECUs by dividing them into a predetermined system. , Each of the centralized ECUs determines to a determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time, and if the determination unit determines that the time exceeds the predetermined time, the other generalized ECUs And a request unit for making a request for the above processing.
 本態様にあっては、各統括ECUにおいて車載装置に係る処理に要する時間が所定時間を超過する場合、処理量が少ない統括ECUに処理を要求することにより、各統括ECUの処理量を自身の処理能力の範囲内とすることができる。したがって、各統括ECUの処理能力を同一に設計し、全ての統括ECUの処理能力の範囲で全体の処理を完了することができる。したがって、ECUを統括する統括ECUの設計を容易に行うことができる。 In this aspect, when the time required for the processing related to the in-vehicle device in each centralized ECU exceeds the predetermined time, the processing amount of each centralized ECU is controlled by requesting the processing to the centralized ECU having a small processing amount. It can be within the processing capacity. Therefore, it is possible to design the processing capacities of the respective centralized ECUs to be the same and complete the entire processing within the range of the processing capacities of all the centralized ECUs. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
 (9)本開示の一態様に係るプログラムは、車両に搭載される車載装置を制御する複数のECUを統括する統括ECUに、前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う処理を実行させる。 (9) A program according to an aspect of the present disclosure is configured to allow a centralized ECU that controls a plurality of ECUs that control an in-vehicle device mounted on a vehicle to determine whether a time required for a process related to the in-vehicle device exceeds a predetermined time. If it is determined that the predetermined time is exceeded, a process for requesting the process to another centralized ECU is executed.
 統括ECUは、車載装置に係る処理に要する時間が所定時間を超過する場合、処理量が少ない他の統括ECUに処理を要求することにより、処理量を自身の処理能力の範囲内とすることができる。したがって、車両にECUを系統毎に統括する統括ECUを搭載する場合に、各統括ECUの処理能力を同一に設計し、全ての統括ECUの処理能力の範囲で全体の処理を完了することができる。したがって、ECUを統括する統括ECUの設計を容易に行うことができる。 When the time required for the processing related to the vehicle-mounted device exceeds the predetermined time, the centralized ECU may request the processing to another centralized ECU that has a small amount of processing, so that the processing amount falls within the range of its own processing capacity. it can. Therefore, in the case where the vehicle is equipped with a general ECU that supervises the ECU for each system, the processing capacities of the general ECUs can be designed to be the same, and the entire processing can be completed within the range of the processing capacities of all the general ECUs. .. Therefore, it is possible to easily design the integrated ECU that controls the ECU.
(10)本開示の一態様に係る統括ECUは、車両に搭載される複数の車載装置夫々に接続される個別ECU夫々と、通信可能に接続される統括ECUであって、
 前記個別ECUから取得したデータに基づき、前記車載装置の制御データを生成及び出力する制御部を備え、
 前記制御部は、
 前記制御データの生成を行うための処理負荷に関する情報を含む処理負荷情報を、他の統括ECUと共有し、
 前記処理負荷情報に応じて、自統括ECUに直接、接続された個別ECUから取得したデータに基づき制御データを生成する処理を、前記自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する。
(10) An overall ECU according to one aspect of the present disclosure is an overall ECU that is communicatively connected to each individual ECU connected to each of a plurality of in-vehicle devices mounted on a vehicle,
A control unit for generating and outputting control data of the in-vehicle device based on the data acquired from the individual ECU,
The control unit is
Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU,
According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. Decide
 本態様にあたっては、統括ECUは、処理負荷情報を他の統括ECUと共有しており、当該処理負荷情報には、個別ECU夫々から取得したデータに基づき、制御データの生成を行うための処理負荷に関する情報が含まれている。統括ECUは、いずれかの個別ECUから取得したデータに基づき制御データの生成を行う場合、他の統括ECUと共有している処理負荷情報に基づき、当該制御データを生成する処理を自統括ECUにて行うか又は、他の統括ECUに要求するかを決定するため、自身(自統括ECU)の処理負荷が高い場合であっても、当該制御データを生成する処理に遅延が発生することを抑制することができる。このように自統括ECU及び他の統括ECUにおいて共有される処理負荷情報に基づき、いずれかの統括ECUが制御データを生成する処理を担うため、これら統括ECUの基本仕様及び処理を行うためのプログラムの実装態様を共通化又は標準化することができ、当該統括ECUの設計を容易に、又は効率的に行うことができる。 In this aspect, the centralized ECU shares the processing load information with other centralized ECUs, and the processing load information includes a processing load for generating control data based on the data acquired from each individual ECU. Contains information about. When the control ECU generates control data based on the data acquired from any of the individual ECUs, the control ECU performs a process of generating the control data on its own control ECU based on the processing load information shared with other control ECUs. Whether or not the control is performed by another centralized ECU or the request is issued to another centralized ECU, even if the processing load of itself (the local centralized ECU) is high, it is possible to suppress a delay in the process of generating the control data. can do. As described above, since one of the overall ECUs is responsible for the process of generating control data based on the processing load information shared by the own overall ECU and the other overall ECUs, a program for performing the basic specifications and processing of these overall ECUs Can be standardized or standardized, and the design of the overall ECU can be performed easily or efficiently.
(11)本開示の一態様に係る統括ECUは、前記処理負荷情報は、前記自統括ECU及び前記他の統括ECUにおける処理負荷に関する情報を含み、
 前記制御部は、
 前記自統括ECUよりも処理負荷が低い前記他の統括ECUが存在する場合、制御データを生成する処理を、前記他の統括ECUに要求すると決定し、
 前記自統括ECUよりも処理負荷が低い前記他の統括ECUが存在しない場合、制御データを生成する処理を、前記自統括ECUにて行うと決定する。
(11) In the overall ECU according to an aspect of the present disclosure, the processing load information includes information regarding a processing load in the own overall ECU and the other overall ECU.
The control unit is
When there is the other overall ECU having a processing load lower than that of the own overall ECU, it is determined that the process for generating the control data is requested to the other overall ECU,
If there is no other overall ECU having a processing load lower than that of the own overall ECU, it is determined that the process of generating control data is performed by the own overall ECU.
 本態様にあたっては、制御部は、処理負荷情報を参照し、自統括ECUよりも処理負荷が低い他の統括ECUが存在する場合、制御データを生成する処理を、他の統括ECUに要求し、自統括ECUよりも処理負荷が低い他の統括ECUが存在しない場合、制御データを生成する処理を、自統括ECUにて行う。従って、自統括ECU及び他の統括ECUにおける処理負荷を平準化させることができ、個別ECU夫々から取得したデータに基づき制御データの生成を効率的に行うことができる。 In this aspect, the control unit refers to the processing load information, and if another centralized ECU having a lower processing load than the own centralized ECU exists, requests the processing for generating control data to the other centralized ECU, When there is no other centralized ECU having a processing load lower than that of the own centralized ECU, the processing for generating control data is performed by the own centralized ECU. Therefore, it is possible to equalize the processing loads in the own control ECU and other control ECUs, and it is possible to efficiently generate control data based on the data acquired from each individual ECU.
(12)本開示の一態様に係る統括ECUは、前記処理負荷情報は、前記個別ECUから取得したデータに基づき導出される、前記制御データの生成に要する推定所要時間を含み、
 前記制御部は、
 導出した前記推定所要時間が、前記制御データの生成を行うにあたり要求される要求時間を超過しない場合、前記制御データを生成する処理を、前記自統括ECUにて行うと決定し、
 導出した前記推定所要時間が、前記制御データの生成を行うにあたり要求される要求時間を超過する場合、前記制御データを生成する処理を、前記他の統括ECUに要求すると決定する。
(12) In the overall ECU according to an aspect of the present disclosure, the processing load information includes an estimated required time required to generate the control data, which is derived based on data acquired from the individual ECU,
The control unit is
If the derived estimated time does not exceed the required time required to generate the control data, the process of generating the control data is determined to be performed by the self-control ECU.
If the derived estimated required time exceeds the required time required to generate the control data, it is determined to request the process for generating the control data to the other centralized ECU.
 本態様にあたっては、制御部は、処理負荷情報を参照し、制御データの生成に要する推定所要時間が、制御データの生成を行うにあたり要求される要求時間を超過しない場合、制御データを生成する処理を、自統括ECUにて行い、要求時間を超過する場合、制御データを生成する処理を、他の統括ECUに要求する。従って、自統括ECUの処理負荷が高く、自統括ECUの処理によっては要求時間以内に制御データの生成ができない場合であっても、他の統括ECUに当該処理を要求することにより、当該制御データの生成における要求時間に対応することができる。 In this aspect, the control unit refers to the processing load information, and if the estimated required time required to generate the control data does not exceed the required time required to generate the control data, the control unit generates the control data. Is performed by the own centralized ECU, and when the required time is exceeded, a request is made to another centralized ECU for processing to generate control data. Therefore, even if the processing load of the self-control ECU is high and the control data cannot be generated within the required time depending on the processing of the self-control ECU, the control data is requested by requesting the process to another control ECU. It is possible to meet the required time for the generation of
(13)本開示の一態様に係る統括ECUは、前記処理負荷情報は、前記制御データの生成を行うための処理における優先順位に関する情報を含み、
 前記制御部は、前記制御データを生成する処理を前記自統括ECUにて行う場合、前記優先順位に関する情報に基づいて、既に実行中の処理を中断するか否かを決定する。
(13) In the overall ECU according to the aspect of the present disclosure, the processing load information includes information regarding a priority order in processing for generating the control data,
When the control unit performs the process of generating the control data, the control unit determines whether or not to interrupt the process that is already being executed, based on the information regarding the priority order.
 本態様にあたっては、制御部は、制御データを生成する処理を自統括ECUにて行う場合、優先順位に関する情報に基づいて、既に実行中の処理を中断するか否かを決定するため、優先順位の高い処理に効率的に対応することができる。 In this aspect, when the control unit performs the process of generating the control data in the own control ECU, the control unit determines whether or not to interrupt the process that is already being executed based on the information regarding the priority order. It is possible to efficiently deal with high processing.
(14)本開示の一態様に係る統括ECUは、前記制御部は、
 前記自統括ECUに直接、接続される個別ECUと、前記他の統括ECUに直接、接続される個別ECUとの間にて送受信されるデータの中継制御に関する処理を行い、
 前記中継制御に関する処理を、前記制御データを生成する処理よりも、優先して行う。
(14) In the overall ECU according to one aspect of the present disclosure, the control unit is
Performing processing relating to relay control of data transmitted and received between the individual ECU directly connected to the self-control ECU and the individual ECU directly connected to the other control ECU,
The process related to the relay control is performed with priority over the process of generating the control data.
 本態様にあたっては、制御部は、制御データの生成を行うための処理を行うと共に、自統括ECUに直接、接続される個別ECUと、他の統括ECUに直接、接続される個別ECUとの間にて送受信されるデータの中継制御に関する処理を行う。制御部は、例えば、制御データの生成を行うための処理と、個別ECU間のデータの中継制御に関する処理とが、所定期間内にて重複して発生した場合、制御データの生成を行うための処理よりも、個別ECU間のデータの中継制御を優先して行う。従って、自統括ECUに直接、接続される個別ECUと、他の統括ECUに直接、接続される個別ECUとの間にて送受信されるデータの中継を確実に担保しつつ、制御データの生成を行うための処理を効率的に行うことができる。 In this aspect, the control unit performs the process for generating the control data, and connects between the individual ECU directly connected to the own integrated ECU and the individual ECU directly connected to the other integrated ECU. Performs processing related to relay control of data transmitted and received. The control unit, for example, when the process for generating the control data and the process for relay control of the data between the individual ECUs occur within a predetermined period, the control unit generates the control data. Data relay control between individual ECUs is given priority over processing. Therefore, the control data is generated while reliably ensuring the relay of the data transmitted and received between the individual ECU directly connected to the own ECU and the individual ECU directly connected to the other overall ECU. The processing for performing it can be performed efficiently.
(15)本開示の一態様に係る制御方法は、コンピュータに
 車両に搭載される複数の車載装置夫々に接続される個別ECUからデータを取得し、
 複数の統括ECUにおいて共有化されている処理負荷情報を参照し、
 取得したデータに基づき前記車載装置の制御データを生成する処理を、自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する
 処理を実行させる。
(15) A control method according to an aspect of the present disclosure obtains data from an individual ECU connected to each of a plurality of vehicle-mounted devices mounted on a vehicle in a computer,
Refer to the processing load information shared by multiple control ECUs,
A process of determining whether to perform control processing of the vehicle-mounted device based on the acquired data in the own control ECU or to request another control ECU is executed.
 本態様にあたっては、コンピュータを統括ECUとして機能させることができる。 In this aspect, the computer can be made to function as a centralized ECU.
(16)本開示の一態様に係る制御システムは、車両に搭載される複数の車載装置夫々に接続される個別ECU夫々と通信可能に接続される複数の統括ECUを含む制御システムであって、
 複数の統括ECUの内のいずれかの統括ECUは、前記個別ECUから取得したデータに基づき、前記車載装置の制御データを生成及び出力する制御部を備え、
 前記いずれかの統括ECUの制御部は、
 前記制御データの生成を行うための処理負荷に関する情報を含む処理負荷情報を、他の統括ECUと共有し、
 前記処理負荷情報に応じて、自統括ECUに直接、接続された個別ECUから取得したデータに基づき制御データを生成する処理を、前記自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する。
(16) A control system according to an aspect of the present disclosure is a control system that includes a plurality of centralized ECUs that are communicatively connected to individual ECUs that are respectively connected to a plurality of vehicle-mounted devices mounted on a vehicle,
Any one of the plurality of general ECUs includes a control unit that generates and outputs control data of the vehicle-mounted device based on the data acquired from the individual ECU.
The control unit of any one of the general ECUs is
Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU,
According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. Decide
 本態様にあたっては、相互に負荷分散を行うことができる複数の統括ECUであって、これら複数の統括ECU統括ECUの基本仕様及び処理を行うためのプログラムの実装態様を共通化又は標準化することができ、設計を容易に又は効率的に行うことができる統括ECUによって構成される制御システムを提供することができる。 In this aspect, it is possible to standardize or standardize a plurality of centralized ECUs capable of performing load balancing with each other, and a basic specification of the plurality of centralized ECUs and a program implementation mode for performing processing. Therefore, it is possible to provide the control system configured by the centralized ECU that can be designed easily or efficiently.
[本開示の実施形態の詳細]
 本開示をその実施の形態を示す図面に基づいて具体的に説明する。本開示の実施形態に係る統括ECU等を、以下に図面を参照しつつ説明する。なお、本開示はこれらの例示に限定されるものではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
[Details of the embodiment of the present disclosure]
The present disclosure will be specifically described based on the drawings showing the embodiments. The overall ECU and the like according to the embodiment of the present disclosure will be described below with reference to the drawings. It should be noted that the present disclosure is not limited to these exemplifications, and is shown by the claims, and is intended to include meanings equivalent to the claims and all modifications within the scope.
(実施形態1)
 以下、本開示をその実施の形態を示す図面に基づいて具体的に説明する。図1は実施の形態に係る制御システムの構成を示すブロック図である。図1において、1は制御システムであり、制御システム1は車両に搭載される。制御システム1は第1統括ECU10、第2統括ECU20及び第3統括ECU30を備える。
(Embodiment 1)
Hereinafter, the present disclosure will be specifically described based on the drawings illustrating the embodiments. FIG. 1 is a block diagram showing the configuration of the control system according to the embodiment. In FIG. 1, reference numeral 1 is a control system, and the control system 1 is mounted on a vehicle. The control system 1 includes a first overall ECU 10, a second overall ECU 20, and a third overall ECU 30.
 第1統括ECU10、第2統括ECU20及び第3統括ECU30は、車両に搭載される各車載装置を制御する複数のECUに接続されており、これらを所定の系統に分けて夫々統括している。系統は、例えば、運転系、ボディ系及びインフォメーション系である。 The first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 are connected to a plurality of ECUs that control each on-vehicle device mounted on the vehicle, and these are divided into a predetermined system and are integrated respectively. The system is, for example, an operating system, a body system, and an information system.
 図1に示すように、第1統括ECU10は、カメラECU11、ステアリングECU12及びブレーキECU13等の運転系のECUに接続されており、これらのECUの制御を統括する。また、第2統括ECU20は、ライトECU21、ドアロックECU22及びワイパーECU23等のボディ系のECUに接続されており、これらのECUの制御を統括する。更に、第3統括ECU30は、通信ECU31、ナビECU32及びディスプレイECU33等のインフォメーション系のECUに接続されており、これらのECUの制御を統括する。 As shown in FIG. 1, the first overall ECU 10 is connected to operation-system ECUs such as the camera ECU 11, the steering ECU 12, and the brake ECU 13, and controls the control of these ECUs. The second integrated ECU 20 is connected to body-based ECUs such as the light ECU 21, the door lock ECU 22, and the wiper ECU 23, and controls the control of these ECUs. Further, the third overall ECU 30 is connected to the information ECUs such as the communication ECU 31, the navigation ECU 32, and the display ECU 33, and controls the control of these ECUs.
 カメラECU11は、車両に搭載されるカメラの動作等を制御し、ステアリングECU12は車両のステアリング機構を制御し、ブレーキECU13は車両のブレーキシステムを制御する。 The camera ECU 11 controls the operation of the camera mounted on the vehicle, the steering ECU 12 controls the vehicle steering mechanism, and the brake ECU 13 controls the vehicle braking system.
 ライトECU21は、車両が備えるライトの点灯等を制御し、ドアロックECU22は、車両のドアのロック機構を制御し、ワイパーECU23は、ワイパーの動作を制御する。 The light ECU 21 controls lighting of lights provided in the vehicle, the door lock ECU 22 controls a lock mechanism of a vehicle door, and the wiper ECU 23 controls operation of the wiper.
 通信ECU31は、車両に設けられたアンテナを介して、他車両又は外部サーバ等との通信を制御する。ナビECU32は、車両に搭載されたナビゲーションシステムの動作を制御し、ディスプレイECU33は、車両に搭載されたヘッドマウントディスプレイの動作を制御する。 The communication ECU 31 controls communication with another vehicle or an external server via an antenna provided in the vehicle. The navigation ECU 32 controls the operation of the navigation system mounted on the vehicle, and the display ECU 33 controls the operation of the head mounted display mounted on the vehicle.
 第1統括ECU10、第2統括ECU20及び第3統括ECU30は、同様の構成をなしており、互いに通信可能である。第1統括ECU10、第2統括ECU20及び第3統括ECU30夫々の処理能力は同一に設計され、同一内容の処理が可能であり、第1統括ECU10、第2統括ECU20及び第3統括ECU30により、車両全体において要求される処理能力及び処理速度が最大となる場合であっても対応可能に設計されている。 The first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 have the same configuration and can communicate with each other. The first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 have the same processing capacity and are capable of performing the same processing, and the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 allow the vehicle to operate. Even if the required processing capacity and processing speed are the maximum, it is designed to be able to handle it.
 図2は、統括ECUの構成を示すブロック図である。図2においては、第1統括ECU10の構成を示しているが、第2統括ECU20及び第3統括ECU30も同様の構成をなす。第1統括ECU10は制御部14、記憶部15、第1通信部16、第2通信部17及び入出力部18を有する。制御部14は、CPU(Central Processing Unit)、MPU(Micro Processing Unit)等により構成される。記憶部15はROM(Read Only Memory)、RAM(Random access memory)等を含んで構成され、制御プログラム15a及び優先順位テーブル15bを記憶している。制御部14は、記憶部15から制御プログラム15aを読み出すことにより、接続された各ECUの制御、並びに以下で説明する要求処理及び確認処理等を行う。 FIG. 2 is a block diagram showing the configuration of the overall ECU. Although the configuration of the first overall ECU 10 is shown in FIG. 2, the second overall ECU 20 and the third overall ECU 30 also have the same configuration. The first overall ECU 10 has a control unit 14, a storage unit 15, a first communication unit 16, a second communication unit 17, and an input/output unit 18. The control unit 14 includes a CPU (Central Processing Unit), an MPU (Micro Processing Unit), and the like. The storage unit 15 includes a ROM (Read Only Memory), a RAM (Random access memory), and the like, and stores a control program 15a and a priority table 15b. The control unit 14 reads the control program 15a from the storage unit 15 to perform control of each connected ECU and request processing and confirmation processing described below.
 第1通信部16及び第2通信部17は夫々、他の統括ECU(図2においては、夫々第2統括ECU20、第3統括ECU30)と、無線又は有線により通信を行う。なお、第1通信部16及び第2通信部17は、一の通信部として構成されていてもよい。入出力部18は、各統括ECUが統括する系統のECU(図2においては、カメラECU11、ステアリングECU12及びブレーキECU13等の運転系等のECU)に接続され、接続されたECUに対して情報の入出力が行われる。 The first communication unit 16 and the second communication unit 17 respectively communicate with other integrated ECUs (the second integrated ECU 20 and the third integrated ECU 30 in FIG. 2, respectively) wirelessly or by wire. The first communication unit 16 and the second communication unit 17 may be configured as one communication unit. The input/output unit 18 is connected to an ECU (in FIG. 2, an operation system such as a camera ECU 11, a steering ECU 12, a brake ECU 13, and the like) of a system controlled by each generalized ECU, and outputs information to the connected ECUs. I/O is performed.
 図3は、優先順位テーブル15bのレコードレイアウトの一例を示す説明図である。優先順位テーブル15bは、車両に搭載された各ECUに係る処理の優先順位を定める。優先順位は、例えば、走行における安全性を考慮して定められ、ISO26262のASIL(Automotive Safety Integrity Level:安全性要求レベル)に基づいて定められている。優先順位テーブル15bにおいては、優先順位に対応付けて、ASILのレベル及びこれに対応するECUの種類が記憶されている。各統括ECUは、優先順位の高いECUに係る処理を優先して行う。 FIG. 3 is an explanatory diagram showing an example of the record layout of the priority order table 15b. The priority order table 15b defines the priority order of the processing related to each ECU mounted on the vehicle. The priority order is determined, for example, in consideration of safety during driving, and is determined based on ASIL (Automotive Safety Integrity Level) of ISO26262. In the priority order table 15b, the level of ASIL and the type of ECU corresponding to this are stored in association with the priority order. Each centralized ECU gives priority to the process related to the ECU having a higher priority.
 ASILのレベルは、QM、ASIL-A,ASIL-B,ASIL-C,ASIL-Dのレベルに分類されている。QMレベルは、ISO26262による機能安全を適用しなくてもよい通常の品質管理である。ASIL-AからDのレベルにおいては、ISO26262による機能安全の適用が必要となるレベルであり、ASIL-AからASIL-Dになるについて、機能安全要件が厳しくなる。本制御システム1における優先順位は、上記ASILのレベルに対応して設定されており、QMレベルの優先順位(図3中優先順位「5」)が最も低く、ASIL-AからDにおいて順に優先順位(図3中優先順位「4」~「1」)が上がり、ASIL-Dレベルの優先順位(図3中優先順位「1」)が最も高く設定されている。 ASIL levels are classified into QM, ASIL-A, ASIL-B, ASIL-C, and ASIL-D levels. The QM level is a normal quality control that does not require the functional safety according to ISO26262. At the levels from ASIL-A to D, the application of functional safety by ISO26262 is required, and the functional safety requirements become stricter from ASIL-A to ASIL-D. The priority order in the control system 1 is set corresponding to the ASIL level, the QM level priority order is the lowest (priority order “5” in FIG. 3), and the order of priority is from ASIL-A to D. (The priorities “4” to “1” in FIG. 3) are increased, and the priority of the ASIL-D level (priority “1” in FIG. 3) is set to the highest.
 各ASILレベルに対応したECUとして、例えば、QMレベルに相当するECUは、ナビECU32等のインフォメーション系ECUである。ASIL-Aレベルに相当するECUは、ワイパーECU23等のボディ系ECUである。ASIL-Bレベルに相当するECUは、エンジンECU(不図示)等の駆動制御等に関する運転系ECUである。ASIL-Cレベルに相当するECUは、ステアリングECU12又はブレーキECU13等に関する運転系ECUである。ASIL-Dレベルに相当するECU30は、自動運転制御に関する自動運転系ECU30である。なお、図3における自動運転系ECUは、例えば、制御システム1が搭載される車両が自動運転が行われる車両である場合におけるカメラECU11等が対応する。 As an ECU corresponding to each ASIL level, for example, an ECU corresponding to the QM level is an information system ECU such as the navigation ECU 32. The ECU corresponding to the ASIL-A level is a body system ECU such as the wiper ECU 23. The ECU corresponding to the ASIL-B level is an operation ECU related to drive control of an engine ECU (not shown) and the like. The ECU corresponding to the ASIL-C level is a driving ECU related to the steering ECU 12, the brake ECU 13, and the like. The ECU 30 corresponding to the ASIL-D level is an automatic driving system ECU 30 related to automatic driving control. The automatic driving system ECU in FIG. 3 corresponds to, for example, the camera ECU 11 and the like in the case where the vehicle in which the control system 1 is mounted is a vehicle in which automatic driving is performed.
 なお、各ECUにおける車両の走行における安全性に関する優先度は、以上のように、自動運転系ECUを最も高い優先度とし、車両の旋回(曲がる)又は停止に関する制御を行うECUを次に高い優先度とし、車両の走行(走る)に関する制御を行うECUをその次に高い優先度とする。そして、これら以外に関する制御を行うECUを低い優先度としている。 As described above, the priority of the safety of the vehicle in each ECU is the highest priority in the autonomous driving system ECU, and the ECU that controls the turning (turning) or stopping of the vehicle has the second highest priority. The ECU that controls the traveling (running) of the vehicle has the second highest priority. Then, the ECUs that perform controls other than these are given low priority.
 図4及び図5は、統括ECUが行う要求処理の手順を示すフローチャートである。統括ECUは、入出力部18に接続されたECUから処理の要求があった場合等に下記の要求処理を行う。以下の説明においては、要求処理を行う統括ECUを第1統括ECU10として説明するが、他の統括ECUも同様の要求処理を行う。第1統括ECU10は、ECUから該ECUが行う処理に係る処理情報を、入出力部18を介して取得する(S1)。ECUが行う処理は、カメラECU11が制御するカメラの画像データの解析等である。 4 and 5 are flowcharts showing the procedure of request processing performed by the general ECU. The centralized ECU performs the following request processing when the ECU connected to the input/output unit 18 requests processing. In the following description, the overall ECU that performs the request process will be described as the first overall ECU 10, but other overall ECUs also perform the same request process. The first centralized ECU 10 acquires process information regarding a process performed by the ECU from the ECU via the input/output unit 18 (S1). The processing performed by the ECU is analysis of image data of a camera controlled by the camera ECU 11.
 第1統括ECU10は、取得した処理情報に基づいて、処理に要する処理時間を算出する(S2)。このとき、処理情報に係る処理のデータ等について分割を行い、分割した夫々について、処理時間を算出してもよい。第1統括ECU10の制御部14は、算出した処理時間が、処理に要求される所定の要求時間を超過するか否か判定する(S3)。処理情報に係る処理のデータ等について分割を行った場合、それぞれについて要求時間を超過しているか否かを判定する。第1統括ECU10の制御部14は、要求時間を超過しないと判定した場合(S3:NO)、処理を実行し(S4)、要求処理を終了する。 The first overall ECU 10 calculates the processing time required for the processing based on the acquired processing information (S2). At this time, the processing data or the like related to the processing information may be divided, and the processing time may be calculated for each of the divided pieces. The control unit 14 of the first overall ECU 10 determines whether or not the calculated processing time exceeds a predetermined required time required for the processing (S3). When the processing data or the like related to the processing information is divided, it is determined whether or not the required time is exceeded for each. When the control unit 14 of the first centralized ECU 10 determines that the required time is not exceeded (S3: NO), the process is executed (S4), and the request process ends.
 第1統括ECU10は、要求時間を超過すると判定した場合(S3:YES)、第1通信部16及び第2通信部17を介して他の統括ECUの処理状況を要求する要求信号を送信する(S5)。他の統括ECUは、要求信号を受信し(S6)、処理状況を送信元である第1統括ECU10に送信する(S7)。ここで処理状況とは、自身の処理能力に対して、自身が実行する処理に係る処理量の割合、許容できる処理量等である。 When the first overall ECU 10 determines that the required time is exceeded (S3: YES), the first overall ECU 10 transmits a request signal requesting the processing status of another overall ECU via the first communication unit 16 and the second communication unit 17 ( S5). The other overall ECU receives the request signal (S6) and transmits the processing status to the first overall ECU 10 that is the transmission source (S7). Here, the processing status is, for example, the ratio of the processing amount of the processing executed by the processing unit to the processing capacity of the processing unit itself and the allowable processing amount.
 第1統括ECU10は、他の統括ECUの処理状況を受信し(S8)、許容できる処理量が最も高い統括ECUに、要求に係る処理情報を送信する(S9)。このとき、処理情報は、上記の如く分割した処理情報に係る処理の一部であってもよい。この場合、残りの処理については要求元の第1統括ECU10自身で処理を行う。他の統括ECUは処理情報を受信し(S10)、後述の確認処理を行って(S11)、処理情報に係る処理を受け付けることが可能か否かを決定する。他の統括ECUは、処理の要求の受け付けの可否情報を第1統括ECU10に送信し(S12)、第1統括ECU10は可否情報を受信する
(S13)。このとき、他の統括ECUは、処理の受け付けが可能である場合は、下記の確認処理で算出した処理時間を可否情報に併せて送信する。
The first centralized ECU 10 receives the processing statuses of the other centralized ECUs (S8), and transmits the requested processing information to the centralized ECU having the highest allowable processing amount (S9). At this time, the processing information may be a part of the processing related to the processing information divided as described above. In this case, regarding the remaining processing, the processing is performed by the requesting first overall ECU 10 itself. The other centralized ECU receives the process information (S10), performs the confirmation process described later (S11), and determines whether or not the process related to the process information can be accepted. The other centralized ECU transmits the acceptance/non-permission information of the processing request to the first overall ECU 10 (S12), and the first overall ECU 10 receives the availability information (S13). At this time, if the other centralized ECU can accept the process, it transmits the processing time calculated in the following confirmation process together with the availability information.
 第1統括ECU10の制御部14は、他の統括ECUの可否情報に基づいて処理の要求の受付が可能であるか否かを判定する(S14)。第1統括ECU10は、処理が要求可能でないと判定した場合(S14:NO)、処理をステップS3に戻す。制御部14は、処理が要求可能であると判定した場合(S14:YES)、受付先の他の統括ECUが受け付けた場合の処理時間が要求時間を超過するか否かを判定する(S15)。 The control unit 14 of the first overall ECU 10 determines whether or not the processing request can be accepted based on the availability information of the other overall ECU (S14). When determining that the process cannot be requested (S14: NO), the first overall ECU 10 returns the process to step S3. When the control unit 14 determines that the processing can be requested (S14: YES), the control unit 14 determines whether the processing time when the other centralized ECU as the reception destination receives the processing time exceeds the required time (S15). ..
 第1統括ECU10は、要求時間を超過すると判定した場合(S15:YES)、処理をステップS3に戻す。第1統括ECU10は、要求時間を超過しないと判定した場合(S15:NO)、処理の開始信号を、受付先である他の統括ECUに第1通信部16又は第2通信部17を介して送信する(S16)。他の統括ECUは、開始信号を受信し(S17)、受け付けた処理を実行し(S18)、処理結果を要求元の第1統括ECU10に送信する(S19)。第1統括ECU10は処理結果を受信し(S20)、要求処理を終了する。なお、分割した処理の一部を他の統括ECUに要求した場合は、受信した処理結果と、自身の処理結果を結合する。 If the first overall ECU 10 determines that the required time is exceeded (S15: YES), the process returns to step S3. When it is determined that the required time has not been exceeded (S15: NO), the first overall ECU 10 sends a process start signal to the other overall ECU that is the reception destination via the first communication unit 16 or the second communication unit 17. It is transmitted (S16). The other centralized ECU receives the start signal (S17), executes the received processing (S18), and transmits the processing result to the requesting first centralized ECU 10 (S19). The first overall ECU 10 receives the processing result (S20), and ends the request processing. In addition, when a part of the divided processing is requested to another centralized ECU, the received processing result and its own processing result are combined.
 上記の要求処理において、他の処理情報を受信した統括ECUは、下記の確認処理を行う。図6は、統括ECUが行う確認処理の手順を示すフローチャートである。統括ECUの制御部14は、優先順位テーブル15bを参照し、受信した処理情報に係る処理と、自身が現在有する処理との優先順位を確認する(S111)。その制御部14は、処理が要求された場合の全体の処理量が自身の処理能力を超過するか否か判定する(S112)。 In the above request processing, the general ECU that receives other processing information performs the following confirmation processing. FIG. 6 is a flowchart showing the procedure of the confirmation process performed by the centralized ECU. The control unit 14 of the centralized ECU refers to the priority order table 15b and confirms the priority order of the process related to the received process information and the process currently owned by itself (S111). The control unit 14 determines whether the total processing amount when the processing is requested exceeds its own processing capacity (S112).
 制御部14は、処理能力を超過しないと判定した場合(S112:NO)、要求を受け付けることを決定し(S113)、処理時間を算出し(S114)、リターンする。統括ECUは、処理能力を超過すると判定した場合(S112:YES)、処理情報に係る処理の優先順位が、自身が有する処理の中で最低であるか否かを判定する(S115)。 When determining that the processing capacity is not exceeded (S112: NO), the control unit 14 determines to accept the request (S113), calculates the processing time (S114), and returns. When the centralized ECU determines that the processing capacity is exceeded (S112: YES), the overall ECU determines whether or not the priority of the processing related to the processing information is the lowest among the processing that the own ECU has (S115).
 制御部14は、優先順位が最低であると判定した場合(S115:YES)、要求の受け付けの不可決定をし(S116)、リターンする。制御部14は、優先順位が最低でないと判定した場合(S115:NO)、自身が有する処理の内優先順位が最低である処理を中断して(S117)、処理をステップS112に戻す。中断された処理は、処理能力における処理量に余裕ができた場合等に実行される。なお、優先順位を使用せずに、自身の処理能力を超過しない場合には要求の受付決定をし、処理能力を超過する場合には受付の不可決定をすることとしてもよい。 When the control unit 14 determines that the priority order is the lowest (S115: YES), the control unit 14 determines that the request cannot be accepted (S116), and returns. When determining that the priority order is not the lowest (S115: NO), the control unit 14 interrupts the process having the lowest priority order among the processes that the control unit 14 has (S117) and returns the process to step S112. The interrupted processing is executed when there is a margin in the processing amount of the processing capacity. It should be noted that without using the priority order, it may be possible to decide to accept the request when the processing capacity of the device itself is not exceeded, and to decide not to accept the request when the processing capacity of the request is exceeded.
 図7は、画像データの分割態様の説明図である。第1統括制御ECU10は、要求する処理としてカメラECU11の画像データ解析を他の統括ECUに要求する場合、画像データを分割して、分割した一部の解析処理について上記の要求処理を行ってもよい。この場合、図7に示すように、カメラが撮影した画像5について、例えば右領域50、中央領域51及び左領域52の3つの領域に分割し、右領域50については自身で解析し、中央領域51及び左領域については上記要求処理を行って第2統括ECU20又は第3統括ECU30に解析を要求して画像5全体についての解析を行う。この場合、第1統括ECU10は、第2統括ECU20又は第3統括ECU30から受信した処理結果と、自身の処理結果とを結合し、画像データの解析結果とする。 FIG. 7 is an explanatory diagram of a division mode of image data. When requesting the image data analysis of the camera ECU 11 to another centralized ECU as a requesting process, the first overall control ECU 10 divides the image data and performs the above requesting process for a part of the divided analysis process. Good. In this case, as shown in FIG. 7, the image 5 captured by the camera is divided into, for example, three regions, that is, a right region 50, a central region 51, and a left region 52, and the right region 50 is analyzed by itself, and the central region is analyzed. For 51 and the left region, the above-described request processing is performed to request the second integrated ECU 20 or the third integrated ECU 30 to perform analysis, and the entire image 5 is analyzed. In this case, the first overall ECU 10 combines the processing result received from the second overall ECU 20 or the third overall ECU 30 with its own processing result to obtain the image data analysis result.
 以上の構成により、各系統のECUを統括する第1統括ECU10、第2統括ECU20及び第3統括ECU30の車載装置に係る処理に要する時間が所定時間を超過する場合、処理量が少ない統括ECUに処理を要求することにより、各統括ECUの処理量を自身の処理能力の範囲内とすることができる。したがって、第1統括ECU10、第2統括ECU20及び第3統括ECU30の処理能力を同一に設計し、全ての統括ECUの処理能力の範囲で車両に搭載される車載装置全体の処理を完了することができる。したがって、ECUを統括する第1統括ECU10、第2統括ECU20及び第3統括ECU30の設計を容易に行うことができ、設計のコストを低減することができる。 With the above configuration, when the time required for the processing related to the in-vehicle devices of the first general ECU 10, the second general ECU 20, and the third general ECU 30 that supervises the ECUs of the respective systems exceeds the predetermined time, the total ECU having a small processing amount is selected. By requesting processing, the processing amount of each centralized ECU can be kept within the range of its own processing capacity. Therefore, the processing capacities of the first general ECU 10, the second general ECU 20, and the third general ECU 30 may be designed to be the same, and the processing of the entire vehicle-mounted device mounted on the vehicle may be completed within the range of the processing capacities of all the general ECUs. it can. Therefore, it is possible to easily design the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30 that control the ECU, and it is possible to reduce the design cost.
 他の統括ECUの要求処理によりECUに係る処理を要求された統括ECUは、確認処理において、要求された処理の受け付けを拒否することができ、これにより自身の処理能力を超える処理を実行する状態になることを防止することができる。また、確認処理において、優先順位テーブル15bを使用して、各処理に優先順位をつけて、処理の受け付けを判断することにより、優先順位の高い処理を優先して実行することができる。 The centralized ECU that has been requested to perform processing related to the ECU by the requesting processing of another centralized ECU can refuse to accept the requested processing in the confirmation processing, thereby executing a processing that exceeds its own processing capacity. Can be prevented. Further, in the confirmation processing, the priority table 15b is used to give priority to each processing, and it is determined whether or not to accept the processing, so that the processing with the higher priority can be preferentially executed.
 要求処理において、分割した一部の処理の実行を要求することにより、処理量の多い処理についても、各統括ECUで処理を分担でき、良好に処理を完了することができる。また、車両に搭載されたカメラの画像データの解析を、要求処理により各統括ECUで処理を分担でき、処理量が多い場合であっても、良好に完了することができる。 By requesting the execution of some of the divided processes in the request process, each integrated ECU can share the process even with a large amount of processing, and the process can be completed successfully. Further, the analysis of the image data of the camera mounted on the vehicle can be shared by the respective centralized ECUs by request processing, and can be favorably completed even when the processing amount is large.
 なお、統括ECUの数は3つに限られない。また、ECUの系統は運転系、ボディ系及びインフォメーション系に限定されない。更に、上述のECUは例示であって、他のECUを含む構成であってもよい。 Note that the number of integrated ECUs is not limited to three. The ECU system is not limited to the operation system, the body system, and the information system. Furthermore, the above-mentioned ECU is an example, and may be configured to include other ECUs.
(実施形態2)
 図8は、実施形態2に係る制御システム1の構成を示すブロック図である。実施形態2に係る制御システム1は、実施形態1に係る制御システム1と同様に車両に搭載され、複数の統括ECUを備える。
(Embodiment 2)
FIG. 8 is a block diagram showing the configuration of the control system 1 according to the second embodiment. The control system 1 according to the second embodiment is mounted on a vehicle similarly to the control system 1 according to the first embodiment, and includes a plurality of integrated ECUs.
 図示のとおり、制御システム1に含まれる複数の統括ECUは、例えば、3個(第1統括ECU10、第2統括ECU20及び第3統括ECU30)であり、これら複数の統括ECUが、相互に通信可能に接続されることにより、ループ状の基幹系ネットワークが形成される。夫々の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)は、車載装置101にシリアルケーブル等のワイヤーハーネスにて直接、接続される個別ECU100と、通信可能に接続されている。 As illustrated, the plurality of integrated ECUs included in the control system 1 are, for example, three (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30), and these multiple integrated ECUs can communicate with each other. A loop-shaped backbone network is formed by being connected to. Each of the overall ECUs (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30) is communicatively connected to the individual ECU 100 that is directly connected to the vehicle-mounted device 101 by a wire harness such as a serial cable. ..
 夫々の統括ECUと、当該統括ECUの入出力部18を介して個別ECU100とを接続することにより、例えばバス状又はスター状の支線系ネットワークが形成される。これら基幹系ネットワーク及び支線系ネットワークによって、車載ネットワークが構成され、当該車載ネットワークに接続される統括ECU及び個別ECU100は、相互に通信可能に接続されている。 By connecting each general ECU and the individual ECU 100 via the input/output unit 18 of the general ECU, for example, a bus-shaped or star-shaped branch line network is formed. The backbone network and the branch line network constitute an in-vehicle network, and the centralized ECU and the individual ECU 100 connected to the in-vehicle network are communicably connected to each other.
 統括ECU同士の接続は、上述のとおり第1通信部16及び第2通信部17を介して、例えばイーサネット(登録商標)ケーブル等により接続される。すなわち、統括ECUの第1通信部16及び第2通信部17は、例えば、イーサネットPHY部及び、レイヤー2スイッチ又はレイヤー3スイッチの機能を有する。このように構成された統括ECUは、統括ECU同士間にて送受信されるデータ又は、自身の統括ECU(自統括ECU)に直接、接続される個別ECU100から送信されたデータを中継するイーサスイッチ又はCANゲートウェイ等の車載中継装置として機能する。 As described above, the integrated ECUs are connected via the first communication unit 16 and the second communication unit 17, for example, by an Ethernet (registered trademark) cable or the like. That is, the first communication unit 16 and the second communication unit 17 of the overall ECU have, for example, the functions of the Ethernet PHY unit and the layer 2 switch or the layer 3 switch. The integrated ECU configured as described above is an Ethernet switch that relays data transmitted and received between the integrated ECUs or data transmitted from the individual ECU 100 that is directly connected to its own integrated ECU (own integrated ECU). It functions as an in-vehicle relay device such as a CAN gateway.
 夫々の統括ECUは、上述のとおり入出力部18を介して、例えばCANバス又はイーサネットケーブル等によって、自身の統括ECU(自統括ECU)に直接、接続される個別ECU100と通信可能に接続される。すなわち、当該入出力部18は、例えば、イーサネットPHY部又はCANトランシーバとして機能する。 As described above, each centralized ECU is communicatively connected to the individual ECU 100 that is directly connected to its own centralized ECU (self-organized ECU) via the input/output unit 18 by, for example, a CAN bus or an Ethernet cable. .. That is, the input/output unit 18 functions as an Ethernet PHY unit or a CAN transceiver, for example.
 統括ECU夫々には、複数の個別ECU100が、直接、接続されており、上述のとおり、これら複数の個別ECU100は、例えばCANバス又はイーサネットケーブル等によって、統括ECUに接続されている。これら個別ECU100夫々は、例えば、COMSカメラ等の撮像装置、赤外線センサ又はLiDAR等の検知系の車載装置101又は、駆動モータ、蓄電装置、ステアリング装置等の操作系の車載装置101にワイヤーハーネスにて直接、接続されている。個別ECU100は、センサ等の検知系の車載装置101から出力された検知データ又は画像データを、自身(自個別ECU100)に直接、接続されているいずれかの統括ECU(第1統括ECU10、第2統括ECU20又は第3統括ECU30)に出力する。 A plurality of individual ECUs 100 are directly connected to each central ECU, and as described above, the plurality of individual ECUs 100 are connected to the central ECU by, for example, a CAN bus or an Ethernet cable. Each of these individual ECUs 100 uses, for example, an image pickup device such as a COMS camera, an in-vehicle device 101 of a detection system such as an infrared sensor or LiDAR, or an in-vehicle device 101 of an operation system such as a drive motor, a power storage device, and a steering device by a wire harness. It is directly connected. The individual ECU 100 directly connects itself (the individual ECU 100) with the detection data or the image data output from the vehicle-mounted device 101 of the detection system such as a sensor (first integrated ECU 10, second integrated ECU 10). It outputs to integrated ECU20 or 3rd integrated ECU30).
 統括ECUは、個別ECU100から送信された検知データ又は画像データ等のデータに基づき、制御対象となるいずれかの車載装置101を制御するための制御データを生成し、当該車載装置101に直接、接続されている個別ECU100に送信する。 Based on the data such as the detection data or the image data transmitted from the individual ECU 100, the overall ECU generates control data for controlling any on-vehicle device 101 to be controlled, and directly connects to the on-vehicle device 101. It is transmitted to the individual ECU 100 that is being operated.
 統括ECUから送信された制御データを取得(受信)した個別ECU100は、当該制御データに基づき、自個別ECU100に直接、接続されている車載装置101を操作又は駆動するための信号を生成し、当該車載装置101に出力する。車載装置101を操作又は駆動するための信号とは、例えば、当該車載装置101に含まれるリレーをオン又はオフにする信号、当該車載装置101に含まれるモータを回転させるためのデューティ信号、パルス信等号を含む。このように構成された個別ECU100は、車載装置101を操作又は駆動するためのデバイスドライバ又はBIOS(Basic Input Output System)として機能するものであってもよい。個別ECU100は、実施形態1において説明したカメラECU11、ステアリングECU12、ブレーキECU13、ライトECU21、ドアロックECU22、ワイパーECU23、通信ECU31、ナビECU32及びディスプレイECU33を含む。 The individual ECU 100, which has acquired (received) the control data transmitted from the centralized ECU, generates a signal for operating or driving the vehicle-mounted device 101 directly connected to the own individual ECU 100 based on the control data. Output to the in-vehicle device 101. The signal for operating or driving the in-vehicle apparatus 101 is, for example, a signal for turning on or off a relay included in the in-vehicle apparatus 101, a duty signal for rotating a motor included in the in-vehicle apparatus 101, or a pulse signal. Including equal sign. The individual ECU 100 configured as described above may function as a device driver or a BIOS (Basic Input Output System) for operating or driving the in-vehicle apparatus 101. The individual ECU 100 includes the camera ECU 11, the steering ECU 12, the brake ECU 13, the light ECU 21, the door lock ECU 22, the wiper ECU 23, the communication ECU 31, the navigation ECU 32, and the display ECU 33 described in the first embodiment.
 統括ECUは、このように構成された複数の個別ECU100からなる機能ドメインを統括するドメインコントローラとして機能するものであってもよい。すなわち、統括ECU夫々は、自統括ECUに直接、接続された複数の個別ECU100から成る機能ドメインを統括するものであり、個別ECU100夫々から送信されたデータに基づき、例えば、認知及び判断に関する処理を行い、当該処理の結果として、個別ECU100に接続される車載装置101を制御するための制御データを生成する。統括ECUは、生成した制御データを、当該制御の対象となる車載装置101に直接、接続された個別ECU100に出力(送信)することにより、当該車載装置101を実質的に制御する。 The centralized ECU may function as a domain controller that controls a functional domain including the plurality of individual ECUs 100 configured as described above. That is, each of the control ECUs controls a functional domain including a plurality of individual ECUs 100 directly connected to the control ECUs. Based on the data transmitted from each of the individual ECUs 100, for example, a process regarding recognition and determination is performed. As a result of the processing, control data for controlling the in-vehicle device 101 connected to the individual ECU 100 is generated. The overall ECU substantially controls the vehicle-mounted device 101 by directly outputting (transmitting) the generated control data to the individual ECU 100 connected to the vehicle-mounted device 101 to be controlled.
 統括ECU(本実施形態のおいては、第1統括ECU10、第2統括ECU20及び第3統括ECU30からなる3個の統括ECU)は、個別ECU100夫々から送信されたデータに基づき制御データを生成するための共通の制御プログラム15a又は、相互に互換性を有する制御プログラム15aが実装されている。すなわち、いずれの統括ECU(第1統括ECU10、第2統括ECU20又は第3統括ECU30)においても、個別ECU100夫々から送信されたデータに基づき制御データを生成する処理を同様に行うことができる。 The integrated ECUs (three integrated ECUs including the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30 in the present embodiment) generate control data based on the data transmitted from each individual ECU 100. The common control program 15a for this purpose or the mutually compatible control program 15a is mounted. That is, any of the integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, or the third integrated ECU 30) can similarly perform the process of generating control data based on the data transmitted from each individual ECU 100.
 夫々の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)の処理能力、すなわち制御部14を構成するCPU等のプロセッサの処理クロック、又は記憶部15の記憶容量等のハードウェアリソースは同一であると説明したがこれに限定されず、処理能力が異なる統括ECUが混在するものであってもよい。複数の統括ECUにおいて、処理能力が異なる場合であっても、後述する性能指数に応じて、統括ECU夫々における処理負荷を正規化することにより、統括ECU夫々における処理能力の差異を吸収して、制御データを生成する処理の割当を決定することができる。 The processing capacity of each of the overall ECUs (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30), that is, the processing clock of a processor such as a CPU that configures the control unit 14, or hardware such as a storage capacity of the storage unit 15 Although it has been described that the resources are the same, the present invention is not limited to this, and general ECUs having different processing capabilities may be mixed. Even if the processing capacities of the plurality of centralized ECUs are different, by normalizing the processing loads of the respective centralized ECUs according to a performance index described later, the difference in the processing capacities of the respective centralized ECUs is absorbed, The allocation of the process that produces the control data can be determined.
 詳細は後述するが、統括ECU夫々は、自統括ECUに直接、接続された個別ECU100から送信されたデータに基づき、制御データを生成する処理を行うにあたり、自統括ECU及び他の統括ECUにおける処理負荷に関する情報を含む処理負荷情報を参照し、当該制御データを生成する処理を、自統括ECUにて行うか、又は他の統括ECUに要求(依頼)するかの決定を行う。統括ECU夫々は、自身(自統括ECU)が行う制御データを生成する処理に関する情報、すなわち処理負荷情報を、他の統括ECUと共有している。従って、統括ECU夫々は、自身(自統括ECU)の処理負荷のみならず、他の統括ECUの処理負荷についても、常時確認することができるため、制御データを生成する処理を、自統括ECUにて行うか、他の統括ECUに要求(依頼)するかの決定を効率的に行うことができる。 As will be described later in detail, each of the general ECUs performs a process of generating control data based on the data transmitted from the individual ECU 100 directly connected to the own ECU, and the processes of the own ECU and other general ECUs. By referring to the processing load information including the information regarding the load, it is determined whether the processing for generating the control data is performed by the own control ECU or is requested (requested) to another control ECU. Each of the centralized ECUs shares information regarding a process of generating control data performed by itself (the own centralized ECU), that is, processing load information, with other centralized ECUs. Therefore, each centralized ECU can always confirm not only the processing load of itself (the own centralized ECU) but also the processing loads of other centralized ECUs, and therefore the processing for generating the control data is performed by the centralized ECU. It is possible to efficiently determine whether to make a request (request) to another centralized ECU.
 図9は、処理負荷情報をテーブル形式(処理負荷テーブル)にて例示した説明図である。図10は、統括ECU管理情報をテーブル形式(統括ECUマスタテーブル)にて例示した説明図である。上述のとおり、夫々の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)は、自統括ECU及び他の統括ECUが行う制御データを生成する処理に関する情報、すなわち処理負荷情報を共有しており、当該処理負荷情報を参照することができる。 FIG. 9 is an explanatory diagram illustrating the processing load information in a table format (processing load table). FIG. 10 is an explanatory diagram illustrating the overall ECU management information in a table format (overall ECU master table). As described above, the respective centralized ECUs (the first centralized ECU 10, the second centralized ECU 20, and the third centralized ECU 30) provide information relating to the process of generating control data performed by the self-generalized ECU and the other centralized ECUs, that is, the processing load information. It is shared and the processing load information can be referred to.
 処理負荷情報は、例えば、夫々の統括ECUの記憶部15に記憶されており、これら統括ECU間にて常時通信することにより、夫々の統括ECUの記憶部15に記憶されている処理負荷情報を整合させるものであってもよい。又は、処理負荷情報は、車両に搭載されるストレージ装置(図示せず)、又は無線装置を介して通信可能に接続されたクラウドサーバ等の車外サーバ等、夫々の統括ECUからアクセス可能な所定の記憶領域に記憶されているものであってもよい。処理負荷情報は、例えば、テーブル形式にて統括ECUの記憶部15に記憶されるものであってもよい。処理負荷情報は、例えば、処理夫々に関する事項をテーブル形式にて保存及び管理する処理負荷テーブル及び、夫々の統括ECUにおけるCPU使用率に相当する負荷合計値をテーブル形式にて保存及び管理する統括ECUマスタテーブルを含むものであってもよい。 The processing load information is stored, for example, in the storage unit 15 of each of the general ECUs, and the processing load information stored in the storage unit 15 of each of the general ECUs is stored by constantly communicating between the general ECUs. It may be matched. Alternatively, the processing load information may be a predetermined storage device (not shown) mounted in the vehicle, or a server outside the vehicle such as a cloud server communicatively connected via a wireless device, or the like, which is accessible from each centralized ECU. It may be stored in the storage area. The processing load information may be stored in the storage unit 15 of the overall ECU in a table format, for example. The processing load information is, for example, a processing load table that stores and manages items related to each processing in a table format, and a centralized ECU that stores and manages a total load value corresponding to a CPU usage rate in each centralized ECU in a table format. It may include a master table.
 処理負荷情報をテーブル形式にて例示した処理負荷テーブルは、管理項目(フィールド)として例えば、処理ID、優先順位、処理受付時刻、推定所要時間、状態、実行する統括ECU、開始時刻、及び負荷値を含む。これらフィールド夫々には、下記事項が格納される。 The processing load table, which exemplifies the processing load information in a table format, includes, as management items (fields), for example, a processing ID, a priority order, a processing reception time, an estimated required time, a state, a general ECU to be executed, a start time, and a load value. including. The following items are stored in each of these fields.
 処理IDは、制御データを生成する処理が発生する都度、発番される番号であり、当該処理を一意に確定するための管理番号である。 The process ID is a number issued each time a process for generating control data occurs, and is a management number for uniquely confirming the process.
 優先順位は、制御データを生成する処理又は個別ECU100から送信されるデータに基づき、例えば上述したASILにて決定される優先順位(優先度)である。 The priority order is a priority order (priority level) determined by, for example, the above-described ASIL based on the process of generating control data or the data transmitted from the individual ECU 100.
 処理受付時刻は、自統括ECUに直接、接続される個別ECU100から送信されたデータを取得した時刻である。 The processing acceptance time is the time when the data transmitted from the individual ECU 100 directly connected to the own control ECU is acquired.
 推定所要時間は、個別ECU100から送信されたデータに基づき、制御データを生成する処理に要すると推定される時間である。 The estimated required time is the estimated time required for the process of generating the control data based on the data transmitted from the individual ECU 100.
 状態は、制御データを生成する処理の実行に関する状態であり、例えば、実行中(RUN)又は、中断されることによる中断中(保留/PEND)を含む。 The state is a state related to the execution of the process that generates the control data, and includes, for example, being executed (RUN) or being interrupted (suspended/PEND).
 実行する統括ECUは、制御データを生成する処理を実行する統括ECUを示すものであり、制御システム1に含まれるいずれかの統括ECU(第1統括ECU10、第2統括ECU20又は第3統括ECU30)を示すものである。 The overall ECU to be executed is an overall ECU that executes a process of generating control data, and is any of the overall ECUs included in the control system 1 (first overall ECU 10, second overall ECU 20, or third overall ECU 30). Is shown.
 開始時刻は、統括ECUが制御データを生成する処理を実行した時刻である。 The start time is the time when the control ECU executes the process of generating control data.
 負荷値は、制御データを生成する処理を実行するにあたり、当該処理を実行する統括ECUにて発生する負荷値を示すものである。処理負荷テーブルは、更に、処理夫々において予め決定されている要求時間のフィールドを含むものであってもよい。 The load value indicates the load value generated in the overall ECU that executes the process when the process that generates the control data is executed. The processing load table may further include a field of required time which is predetermined in each processing.
 統括ECU管理情報をテーブル形式にて例示した統括ECUマスタテーブルは、管理項目(フィールド)として例えば、統括ECU名、IPアドレス、性能指数及び負荷合計値を含む。 The general ECU master table, which illustrates the general ECU management information in a table format, includes, for example, a general ECU name, an IP address, a performance index, and a total load value as management items (fields).
 統括ECU名は、統括ECUの名称又は番号を示すものであり、統括ECUに確定するためのIDである。IPアドレスは、夫々の統括ECUに設定されているIPアドレスである。 The general ECU name indicates the name or number of the general ECU, and is an ID for confirming the general ECU. The IP address is an IP address set in each centralized ECU.
 性能指数は、統括ECU夫々における性能を正規化するための指数値であり、例えば、性能指数が10の統括ECUに対し、性能指数が15の統括ECUは、1.5倍の処理能力を有する。このように統括ECU夫々に対し性能指数を設定することにより、同一の処理に対する推定所要時間に対し、統括ECU夫々に適合した夫々の推定所要時間を導出することができる。 The performance index is an index value for normalizing the performance in each of the overall ECUs. For example, the overall ECU having a performance index of 15 has a processing capacity of 1.5 times that of the overall ECU having a performance index of 10. .. By setting the performance index for each of the overall ECUs in this manner, it is possible to derive each estimated required time that is suitable for each of the overall ECUs with respect to the estimated required time for the same process.
 負荷合計値は、個々の統括ECUおいて実行されている処理の負荷値の合計値であり、例えば、制御部14を構成するCPUの使用率に相当する。図示のとおり、例えば、ECU-2において、処理IDが002及び004の2つの処理が、並行して実行されている場合、処理ID:002の負荷値:60と、処理ID:004の負荷値:10の合算値:70が、ECU-2の負荷合計値となる。 The total load value is the total value of the load values of the processes executed in each individual ECU, and corresponds to, for example, the usage rate of the CPU configuring the control unit 14. As shown in the figure, for example, in the ECU-2, when two processes with process IDs 002 and 004 are executed in parallel, a load value of process ID: 002: 60 and a load value of process ID: 004 The total value of 70: 70 is the total load value of the ECU-2.
 上述のとおり、統括ECUは、自統括ECUに直接、接続される複数の個別ECU100により構成される機能ドメインにおける処理を統括するため、複数の処理が並行して実行されることが想定される。このようにいずれかの統括ECUにて、複数の処理が並行して実行される場合であっても、個々の処理の負荷値を合算した値である負荷合計値を管理することにより、統括ECU夫々の負荷状況を効率的に取得することができる。処理負荷テーブル及び統括ECUマスタテーブルにて格納される情報を含む処理負荷情報は、制御システム1に含まれる全ての統括ECUにて共有化されているため、統括ECU夫々は、自統括ECU及び他の統括ECUの負荷状況及び、実行している処理の状況に関する情報を効率的に取得することができる。 As described above, since the centralized ECU supervises the processing in the functional domain configured by the plurality of individual ECUs 100 directly connected to the own centralized ECU, it is assumed that the plurality of processing are executed in parallel. As described above, even when a plurality of processes are executed in parallel in any one of the general ECUs, the total load value, which is the sum of the load values of the individual processes, is managed to manage the total ECU. It is possible to efficiently acquire each load status. Since the processing load information including the information stored in the processing load table and the general ECU master table is shared by all the general ECUs included in the control system 1, each general ECU has its own general ECU and other ECUs. It is possible to efficiently acquire information on the load status of the centralized ECU and the status of processing being executed.
 夫々の統括ECUは、例えば、個別ECU100から送信されたデータを取得(受信)した場合、当該データに基づく制御データを生成する処理が発生したことを検知し、処理受付時刻を確定する。そして、統括ECUは、例えば、当該データのデータサイズ(容量)、データの種類又は送信した個別ECU100の区別に応じて、制御データを生成する処理に要する時間である推定所要時間を導出する。統括ECUは、推定所要時間を導出するにあたり、統括ECU夫々における合計負荷値を参酌して、当該推定所要時間を導出するものであってもよい。 For example, when the data transmitted from the individual ECU 100 is acquired (received), each centralized ECU detects that a process of generating control data based on the data has occurred, and determines the process reception time. Then, the overall ECU derives an estimated required time, which is a time required for the process of generating the control data, according to, for example, the data size (capacity) of the data, the type of the data, or the distinction of the individual ECU 100 that has transmitted. When deriving the estimated required time, the overall ECU may derive the estimated required time by taking into consideration the total load value of each of the integrated ECUs.
 統括ECUは、確定した処理受付時刻及び導出した推定所要時間と、自統括ECU及び他の統括ECUの負荷合計値に基づき、当該処理を自統括ECUで行うか、又は他の統括ECUに処理を要求(依頼)するかを決定する。処理を自統括ECUで行うか、又は他の統括ECUに処理を要求(依頼)するかを決定するにあたり、統括ECUは、例えば、処理負荷情報に含まれる統括ECU夫々の負荷(負荷合計値)を参照し、負荷合計値が最も低い統括ECUが自統括ECUであれば、自統括ECUで行うと決定してもよい。又は、統括ECUは、処理負荷情報に含まれる統括ECU夫々の負荷(負荷合計値)を参照し、負荷合計値が最も低い統括ECUが自統括ECUでない場合、負荷合計値が最も低い他の統括ECUに処理を要求(依頼)するものであってもよい。又は、統括ECUは、実施形態1と同様に当該処理を自統括ECUにて行った場合、処理に要する推定所要時間が、当該処理において予め定められている要求時間を超えると判定される場合は、当該処理を他の統括ECUに要求(依頼)するものであってもよい。又は、統括ECUは、処理負荷情報に含まれる統括ECU夫々が行っている処理(実行中の処理)の優先順位(優先度)を参照し、当該決定の対象となる処理の優先順位(優先度)よりも、低い優先順位(優先度)の処理を行っている統括ECUがあれば、当該統括ECUに、処理を要求(依頼)するものであってもよい。 Based on the confirmed processing acceptance time and the derived estimated required time, and the total load value of the own overall ECU and other overall ECUs, the overall ECU performs the processing on its own or performs the processing on another overall ECU. Decide whether to make a request (request). In deciding whether to perform the processing by the own centralized ECU or request (request) the processing to another centralized ECU, the centralized ECU determines, for example, the load (total load value) of each centralized ECU included in the processing load information. If the overall ECU having the lowest total load value is the own overall ECU, it may be determined to be performed by the own overall ECU. Alternatively, the centralized ECU refers to the loads (total load values) of the respective centralized ECUs included in the processing load information, and if the centralized ECU having the lowest total load value is not its own centralized ECU, the other centralized ECUs have the lowest total load value. The processing may be requested (requested) to the ECU. Alternatively, when the overall ECU performs the processing in the same manner as in the first embodiment, when it is determined that the estimated required time required for the processing exceeds the predetermined required time in the processing, Alternatively, the processing may be requested (requested) to another centralized ECU. Alternatively, the centralized ECU refers to the priority order (priority) of the processing (processing being executed) performed by each of the centralized ECUs, which is included in the processing load information, and refers to the priority order (priority level) of the processing targeted for the determination. If there is a general ECU that is performing a process with a lower priority (priority) than the above), the process may be requested (requested) to the general ECU.
 処理を行う自統括ECU、又は処理を要求(依頼)された他の統括ECUは、当該処理を実行した場合、開始時刻が決定され、当該処理の状態が、処理待(WAIT)から実行中(RUN)に遷移される。統括ECUは、導出及び決定等した処理受付時刻、推定所要時間及び処理に関する決定、及び処理の実行に関する事項を処理負荷情報(処理負荷テーブル及び統括ECUマスタテーブルの負荷合計値のフィールド)に反映させる。これら事項が反映された処理負荷情報(処理負荷テーブル)は、全ての統括ECUによって共有化されているため、統括ECU夫々は、自統括ECUを含め、統括ECU夫々における処理負荷に関する情報を取得することができる。 When executing the process, the own general ECU that performs the process or the other general ECU that has requested the process determines the start time, and the state of the process is from the process wait (WAIT) RUN). The centralized ECU reflects the processing acceptance time, the estimated required time, the decision regarding the processing, and the matters related to the execution of the processing, which are derived and determined, in the processing load information (the field of the total load value of the processing load table and the centralized ECU master table). .. Since the processing load information (processing load table) in which these items are reflected is shared by all the centralized ECUs, each centralized ECU acquires information about the processing load in each centralized ECU including its own centralized ECU. be able to.
 上述のとおり、統括ECUは、他の統括ECU間にて送受信されるデータ中継、又は個別ECU100間にて送受信されるデータの中継を行う車載中継装置として機能するものであってもよい。統括ECUは、これらデータの中継の制御に関する処理(中継制御処理)を行うにあたり、当該中継制御処理を、制御データを生成する処理よりも優先して実行するものであってもよい。 As described above, the general ECU may function as an in-vehicle relay device that relays data transmitted/received between other general ECUs or relays data transmitted/received between individual ECUs 100. When performing the process (relay control process) related to the control of relay of these data, the centralized ECU may preferentially execute the relay control process over the process of generating the control data.
 図11は、統括ECUの制御部14の処理を例示するフローチャートである。統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)の制御部14は、例えば車両Cが起動状態(イグニッションスイッチがオン)又は停止状態(イグニッションスイッチがオフ)において、定常的に以下の処理を行う。本実施形態においては、一例として、第1統括ECU10を自統括ECUとし、第2統括ECU20を他の統括ECUとして説明する。 FIG. 11 is a flowchart illustrating the process of the control unit 14 of the overall ECU. The control unit 14 of the overall ECU (the first overall ECU 10, the second overall ECU 20, and the third overall ECU 30) constantly operates, for example, when the vehicle C is in an activated state (ignition switch is on) or in a stopped state (ignition switch is off). The following processing is performed. In the present embodiment, as an example, the first overall ECU 10 will be described as its own overall ECU, and the second overall ECU 20 will be described as another overall ECU.
 統括ECU(第1統括ECU10)の制御部14は、個別ECU100からデータを取得する(S201)。第1統括ECU10の制御部14は、入出力部18を介して自統括ECUに直接、接続されている個別ECU100から送信されたデータを取得する。 The control unit 14 of the general ECU (first general ECU 10) acquires data from the individual ECU 100 (S201). The control unit 14 of the first overall ECU 10 acquires the data transmitted from the individual ECU 100 directly connected to the own overall ECU via the input/output unit 18.
 第1統括ECU10の制御部14は、取得したデータに基づき、車載装置101の制御データの生成に要する推定所要時間を導出する(S202)。第1統括ECU10の制御部14は、例えば、個別ECU100から取得したデータのデータサイズ(容量)、データの種類又は送信した個別ECU100の区別に応じて、制御データを生成する処理に要する時間である推定所要時間を導出する。 The control unit 14 of the first overall ECU 10 derives the estimated required time required to generate the control data of the in-vehicle apparatus 101 based on the acquired data (S202). The control unit 14 of the first centralized ECU 10 is the time required for the process of generating control data according to, for example, the data size (capacity) of the data acquired from the individual ECU 100, the type of the data, or the distinction of the transmitted individual ECU 100. Derive the estimated time required.
 第1統括ECU10の制御部14は、処理負荷情報を参照する(S203)。処理負荷情報は、全ての統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)において共有されており、現時点における、これら統括ECU夫々にて実行されている処理による負荷(負荷値)、又は統括ECU夫々の負荷(負荷合計値)に関する情報を含んでいる。従って、第1統括ECU10の制御部14は、処理負荷情報を参照することにより、自統括ECU及び他の統括ECUにおける負荷状況を取得することができる。 The control unit 14 of the first overall ECU 10 refers to the processing load information (S203). The processing load information is shared by all the control ECUs (the first control ECU 10, the second control ECU 20, and the third control ECU 30), and the load (load value) of the processing currently executed by each of the control ECUs (current load value). ), or information about the load (total load value) of each of the centralized ECUs. Therefore, the control unit 14 of the first overall ECU 10 can acquire the load statuses of the own overall ECU and other overall ECUs by referring to the processing load information.
 第1統括ECU10の制御部14は、自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する(S204)。第1統括ECU10の制御部14は、推定所要時間、処理夫々において予め定められている要求時間、及び自統括ECU及び他の統括ECUにおける負荷状況に基づき、当該処理を自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する。第1統括ECU10の制御部14は、例えば、処理負荷情報に含まれる統括ECU夫々の負荷(負荷合計値)を参照し、負荷合計値が最も低い統括ECUが自統括ECUであれば、自統括ECUで行うと決定してもよい。又は、第1統括ECU10の制御部14は、実施形態1と同様に、自統括ECUでの処理に要する推定所要時間が、当該処理において予め定められている要求時間を超えると判定される場合は、当該処理を他の統括ECUに要求(依頼)するものであってもよい。又は、第1統括ECU10の制御部14は、自統括ECUより負荷合計値が高い他の統括ECUが存在する場合であっても、当該他の統括ECUが実行中の処理の優先順位(優先度)が、自統括ECUが実行中の処理の優先順位(優先度)よりも低いものであれば、当該他の統括ECUに要求すると決定してもよい。 The control unit 14 of the first overall ECU 10 determines whether to perform the operation in the own overall ECU or to request the other overall ECU (S204). Whether the control unit 14 of the first centralized ECU 10 performs the process in its own centralized ECU based on the estimated required time, the predetermined required time in each process, and the load status in the own centralized ECU and other centralized ECUs. Alternatively, it is determined whether to make a request to another centralized ECU. The control unit 14 of the first overall ECU 10 refers to, for example, the loads (total load value) of the overall ECUs included in the processing load information, and if the overall ECU having the lowest total load value is the own overall ECU, the own integrated ECU is performed. It may be determined that the process is performed by the ECU. Alternatively, when the control unit 14 of the first overall ECU 10 determines that the estimated required time required for the processing by the own overall ECU exceeds the predetermined required time in the processing, as in the first embodiment. Alternatively, the processing may be requested (requested) to another centralized ECU. Alternatively, the control unit 14 of the first centralized ECU 10 determines the priority order (priority level) of the processing being executed by the other centralized ECU even if there is another centralized ECU having a higher total load value than the self-generalized ECU. ) Is lower than the priority (priority) of the process being executed by the own centralized ECU, it may be determined to request the other centralized ECU.
 自統括ECUにて行うと決定した場合(S204:YES)、第1統括ECU10の制御部14は、車載装置101の制御データを生成し、出力する処理を行う(S205)。第1統括ECU10の制御部14は、自統括ECUにて行うと決定した場合、個別ECU100から取得したデータに基づき、制御の対象となる車載装置101の制御データを生成し、当該車載装置101に直接、接続されている個別ECU100に当該制御データを出力する。車載装置101に直接、接続されている個別ECU100が、自統括ECUの入出力部18を介して、自統括ECUに直接、接続されている個別ECU100である場合、第1統括ECU10の制御部14は、自統括ECUの入出力部18から当該制御データを出力(送信)する。 When it is determined to be performed by the own control ECU (S204: YES), the control unit 14 of the first control ECU 10 performs a process of generating and outputting control data of the in-vehicle device 101 (S205). When the control unit 14 of the first overall ECU 10 determines to perform the operation by the own overall ECU, the control unit 14 generates control data of the in-vehicle device 101 to be controlled based on the data acquired from the individual ECU 100, and causes the in-vehicle device 101 to perform the control data. The control data is directly output to the connected individual ECU 100. When the individual ECU 100 directly connected to the vehicle-mounted device 101 is the individual ECU 100 directly connected to the own overall ECU via the input/output unit 18 of the own overall ECU, the control unit 14 of the first overall ECU 10 Outputs (transmits) the control data from the input/output unit 18 of the self-control ECU.
 車載装置101に直接、接続されている個別ECU100が、他の統括ECUに直接、接続されている個別ECU100である場合、第1統括ECU10の制御部14は、当該制御データを第1通信部16又は第2通信部17を介して、当該他の統括ECUに出力(送信)する。当該他の統括ECUは、第1統括ECU10から取得(受信)した制御データを入出力部18から、制御対象の車載装置101に直接、接続されている個別ECU100に出力(送信)することにより、当該制御データを中継する車載中継装置として機能する。 When the individual ECU 100 directly connected to the vehicle-mounted device 101 is the individual ECU 100 directly connected to the other integrated ECU, the control unit 14 of the first integrated ECU 10 sends the control data to the first communication unit 16. Alternatively, it outputs (transmits) to the other overall ECU via the second communication unit 17. The other overall ECU outputs (transmits) the control data acquired (received) from the first overall ECU 10 from the input/output unit 18 to the individual ECU 100 directly connected to the in-vehicle device 101 to be controlled, It functions as an in-vehicle relay device that relays the control data.
 例えば、データを出力した個別ECU100が、撮像装置又はLiDAR等の検知系の車載装置101に直接、接続された個別ECU100であり、制御対象の車載装置101が駆動モータ又はステアリング装置等の操作系の車載装置101に直接、接続された個別ECU100である場合、第1統括ECU10は、検知系の車載装置101に接続された個別ECU100から取得したデータに基づき制御データを生成し、制御対象である操作系の車載装置101に接続された個別ECU100に、当該制御データを出力(送信)する。 For example, the individual ECU 100 that outputs the data is the individual ECU 100 directly connected to the in-vehicle device 101 of the detection system such as the imaging device or the LiDAR, and the in-vehicle device 101 of the control target is the operation system of the drive motor or the steering device. In the case of the individual ECU 100 directly connected to the in-vehicle device 101, the first overall ECU 10 generates control data based on the data acquired from the individual ECU 100 connected to the in-vehicle device 101 of the detection system, and operates as the control target. The control data is output (transmitted) to the individual ECU 100 connected to the in-vehicle device 101 of the system.
 自統括ECUにて行わないと決定した場合(S204:NO)、すなわち他の統括ECUに要求すると決定した場合、第1統括ECU10の制御部14は、依頼する他の統括ECUを決定する(S2040)。自統括ECUにて行わないと決定した場合、第1統括ECU10の制御部14は、全ての統括ECUにおいて共有化されている処理負荷情報を参照し、例えば、負荷合計値が低い統括ECUを、要求(依頼)する他の統括ECUとして決定するものであってもよい。又は、第1統括ECU10の制御部14は、処理負荷情報を参照し、例えば、最も優先順位(優先度)が低い処理を実行中の統括ECUを、要求(依頼)する他の統括ECUとして決定するものであってもよい。第1統括ECU10の制御部14は、要求(依頼)する他の統括ECUとして決定するにあたり、他の統括ECU夫々における性能指数及び負荷合計値に基づき、統括ECU夫々における推定所要時間を導出し、最も短い時間の推定所要時間となる統括ECUを、要求(依頼)する他の統括ECUとして決定するものであってもよい。 If it is determined that the own overall ECU does not perform (S204: NO), that is, if it is determined to request the other overall ECU, the control unit 14 of the first overall ECU 10 determines the other overall ECU to request (S2040). ). When it is determined that the self-control ECU does not perform the control, the control unit 14 of the first control ECU 10 refers to the processing load information shared by all the control ECUs, and determines, for example, the control ECU having a low total load value. It may be determined as another integrated ECU that makes a request (request). Alternatively, the control unit 14 of the first overall ECU 10 refers to the processing load information and determines, for example, the overall ECU that is executing the process with the lowest priority (priority) as another overall ECU that requests (requests). It may be one that does. The control unit 14 of the first overall ECU 10 derives the estimated required time in each of the overall ECUs based on the performance index and the total load value of each of the other overall ECUs when determining as the other overall ECU to request (request). The overall ECU that has the shortest estimated required time may be determined as another overall ECU that requests (requests).
 第1統括ECU10の制御部14は、他の統括ECUに制御データを生成する処理を要求する(S2041)。第1統括ECU10の制御部14は、例えば、第2統括ECUを要求(依頼)する他の統括ECUとして決定した場合、第2統括ECUに統括ECUに制御データを生成する処理を要求する。第1統括ECU10の制御部14は、一連の上記処理において、個別ECU100からデータを取得した時刻(処理受付時刻)、処理の優先順位(優先度)、導出した推定所要時間、制御データを生成する処理を行う統括ECUとして決定された統括ECU名を処理負荷情報に反映する。 The control unit 14 of the first overall ECU 10 requests another overall ECU for a process of generating control data (S2041). When the control unit 14 of the first overall ECU 10 determines, for example, as the other overall ECU that requests (requests) the second overall ECU, the control unit 14 requests the second overall ECU to perform a process of generating control data for the overall ECU. In the series of processes described above, the control unit 14 of the first overall ECU 10 generates the time when the data is acquired from the individual ECU 100 (process reception time), the process priority order (priority), the derived estimated required time, and the control data. The integrated ECU name determined as the integrated ECU that performs the processing is reflected in the processing load information.
 第1統括ECU10の制御部14は、個別ECU100から取得したデータを、他の統括ECUに送信する(S2042)。第1統括ECU10の制御部14は、第1通信部16又は第2通信部17を介して、処理を要求(依頼)する他の統括ECUとして決定した第2統括ECU20に、個別ECU100から取得したデータを出力(送信)する。 The control unit 14 of the first overall ECU 10 transmits the data acquired from the individual ECU 100 to another overall ECU (S2042). The control unit 14 of the first overall ECU 10 obtains, via the first communication unit 16 or the second communication unit 17, from the individual ECU 100 to the second overall ECU 20 that has been determined as another overall ECU that requests (requests) processing. Output (send) data.
 本実施形態において、第1統括ECU10の制御部14は、処理を他の統括ECUに要求(依頼)する場合、当該処理の要求及びデータの出力の2つのステップを行っているが、これに限定されない。第1統括ECU10の制御部14は、処理を他の統括ECUに要求(依頼)する場合、個別ECU100から取得したデータを、他の統括ECUに出力(送信)することにより、当該処理の要求を行うものとしてもよい。すなわち、他の統括ECUは、第1統括ECU10から出力(送信)されたデータ(第1統括ECU10に直接、接続されている個別ECU100から送信されたデータ)を取得(受信)することにより、第1統括ECU10からの処理の要求を受け付けるものであってもよい。 In the present embodiment, when the control unit 14 of the first general ECU 10 requests (requests) a process to another general ECU, the control unit 14 performs two steps of requesting the process and outputting data, but the present invention is not limited to this. Not done. When requesting (requesting) a process to another centralized ECU, the control unit 14 of the first centralized ECU 10 outputs (transmits) the data acquired from the individual ECU 100 to the other centralized ECU to request the process. It may be done. That is, the other overall ECU obtains (receives) the data output (transmitted) from the first overall ECU 10 (data transmitted from the individual ECU 100 directly connected to the first overall ECU 10), thereby It may be one that receives a request for processing from the first integrated ECU 10.
 上述のとおり、第1統括ECU10は、処理負荷情報を参照して、制御データを生成する処理を、自統括ECUにて行うか、他の統括ECUに要求(依頼)するかの決定を行うため、当該処理を行うにあたり、最も好適な統括ECUを決定又は選択することができる。すなわち、処理を要求された統括ECUは、制御システム1に含まれる複数の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)において負荷分散を行うにあたり最適な統括ECUとなるため、車両を動作させるにあたり発生する複数の処理(制御データの生成)を、複数の統括ECUにおいて効率的に負荷分散させ、制御システム1を安定的に稼働させることができる。 As described above, the first centralized ECU 10 refers to the processing load information to determine whether to perform the process of generating the control data in its own centralized ECU or to request (request) another centralized ECU. In performing the process, the most suitable centralized ECU can be determined or selected. That is, the integrated ECU that has been requested to perform processing becomes the optimal integrated ECU for load distribution in the multiple integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1. The load of the plurality of processes (generation of control data) that occur when the vehicle is operated can be efficiently distributed in the plurality of centralized ECUs, and the control system 1 can be stably operated.
 他の統括ECU(第2統括ECU20)は、統括ECUから送信されたデータを取得する(S211)。第1統括ECU10によって決定された第2統括ECU20は、第1統括ECU10からの処理の要求を受け付けると共に、第1統括ECU10から送信されたデータを取得する。 The other integrated ECU (second integrated ECU 20) acquires the data transmitted from the integrated ECU (S211). The second overall ECU 20 determined by the first overall ECU 10 accepts the processing request from the first overall ECU 10 and acquires the data transmitted from the first overall ECU 10.
 第2統括ECUは、処理負荷情報を参照する(S212)。第2統括ECUは、処理負荷情報を参照し、自統括ECU(第2統括ECU)にて実行中の処理に関する情報を取得する。 The second control ECU refers to the processing load information (S212). The second overall ECU refers to the processing load information and acquires information regarding the processing being executed by the own overall ECU (second overall ECU).
 第2統括ECUは、中断可能な実施中の処理があるか否かを判定する(S213)。第2統括ECUは、例えば、第1統括ECU10から要求された処理よりも、優先順位が低い処理を実行中の場合、当該優先順位が低い処理を中断可能な実施中の処理であると決定し、中断可能な実施中の処理があると判定する。第2統括ECUは、例えば、第1統括ECU10から要求(依頼)された処理の優先順位と同じ優先順位又は、当該優先順位よりも高い優先順位の処理を実行中の場合、中断可能な実施中の処理がないと判定する。第2統括ECUは、第1統括ECU10から処理を要求された時点において、実行中の処理がない場合、中断可能な実施中の処理がないと判定することは、言うまでもない。 The second centralized ECU determines whether or not there is a process that can be interrupted and is being executed (S213). For example, when a process having a lower priority than the process requested by the first general ECU 10 is being executed, the second overall ECU determines that the process having a lower priority is an ongoing process that can be interrupted. , It is determined that there is an ongoing process that can be interrupted. The second overall ECU is, for example, interruptible during execution of a process having the same priority as the process requested (requested) from the first overall ECU 10 or a process higher than the priority. It is determined that there is no processing of. It goes without saying that the second overall ECU determines that there is no interruptible process being executed when there is no process being executed at the time when the process is requested by the first general ECU 10.
 中断可能な実施中の処理がある場合(S213:YES)、第2統括ECUは、中断可能な実施中の処理を中断する(S214)。第2統括ECUは、中断可能な実施中の処理がある場合、当該中断可能な実施中の処理を中断し、処理負荷情報に含まれる当該処理の処理IDにおける状態を、実行中(RUN)から中断中(PEND)に変更する。第2統括ECUは、中断可能な実施中の処理を中断後、第1統括ECU10から依頼(要求)された処理を後述するS215のとおり実行する。 If there is an ongoing process that can be interrupted (S213: YES), the second overall ECU interrupts the ongoing process that can be interrupted (S214). When there is a process under execution that can be interrupted, the second centralized ECU interrupts the process under execution that can be interrupted, and changes the state in the process ID of the process included in the process load information from "running" to "running". Change to suspended (PEND). The second overall ECU executes the process requested (requested) by the first overall ECU 10 after interrupting the process that can be interrupted, as in S215 described below.
 中断可能な実施中の処理がない場合(S213:NO)、第2統括ECUは、車載装置101の制御データを生成し、出力する処理を行う(S215)。第2統括ECUは、第1統括ECU10による処理S205と同様に、第1統括ECU10によって中継されたデータである、個別ECU100から送信されたデータに基づき、制御の対象となる車載装置101の制御データを生成し、当該車載装置101に直接、接続されている個別ECU100に当該制御データを出力する。第2統括ECUは、制御データを生成し、出力する処理を行った後、中断中(PEND)の処理があれば、当該中断中の処理を再開し、当該処理の処理IDにおける状態を、中断中(PEND)から実行中(RUN)に変更する。 If there is no process that can be interrupted (S213: NO), the second overall ECU performs a process of generating and outputting control data of the in-vehicle apparatus 101 (S215). Similar to the processing S205 by the first overall ECU 10, the second overall ECU, based on the data relayed by the first overall ECU 10, that is, the data transmitted from the individual ECU 100, controls the in-vehicle device 101 to be controlled. Is generated and the control data is output to the individual ECU 100 directly connected to the vehicle-mounted device 101. After performing the process of generating and outputting the control data, the second control ECU restarts the interrupted process and interrupts the state in the process ID of the process if there is an interrupted (PEND) process. Change from Medium (PEND) to Running (RUN).
 本実施形態に統括ECU(第1統括ECU10)は、個別ECU100から取得したデータに基づき、制御データを生成するために要する推定所要時間を導出するとしたが、これに限定されない。統括ECUは、個別ECU100からデータを取得した場合、当該推定所要時間を導出することなく、処理負荷情報を参照し、例えば、最も負荷合計値が低い統括ECUを、当該データに基づき制御データを生成する処理を行う統括ECUとして決定するものであってもよい。統括ECUは、推定所要時間を導出することなく処理負荷情報を参照し処理を実行する統括ECUを決定することにより、当該推定所要時間の導出による処理時間を短縮しつつ、制御システム1全体における負荷分散を行うことができる。 In the present embodiment, the overall ECU (first overall ECU 10) derives the estimated required time required to generate the control data based on the data acquired from the individual ECU 100, but the present invention is not limited to this. When the integrated ECU obtains the data from the individual ECU 100, the integrated ECU refers to the processing load information without deriving the estimated required time, and generates the control data based on the data of the integrated ECU having the lowest total load value, for example. It may be determined as the centralized ECU that performs the processing. The overall ECU refers to the processing load information without deriving the estimated required time and determines the overall ECU that executes the process, thereby shortening the processing time due to the derivation of the estimated required time and reducing the load on the entire control system 1. Dispersion can be performed.
 本実施形態によれば、制御システム1に含まれる複数の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)は、処理負荷情報を共有しているため、個々の統括ECUが、個別ECU100から取得したデータに基づき制御データを生成する処理を、複数の統括ECUにおいて負荷分散させて行うことができる。複数の統括ECUは、個々のデータに基づき制御データを生成する処理夫々に対応するプログラムモジュール夫々を含む制御プログラム15aが実装されており、プログラムの実装態様が共通化又は標準化されているため、これら複数の統括ECUにおける機能仕様、ハードウェア構成等の設計仕様を共通化又は標準化させることができ、当該統括ECUの設計を容易に又は効率的に行うことができる。 According to the present embodiment, the plurality of integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1 share the processing load information. The process of generating control data based on the data acquired from the individual ECU 100 can be performed by distributing the loads among the plurality of centralized ECUs. Since the control programs 15a including the program modules corresponding to the respective processes that generate the control data based on the individual data are installed in the plurality of centralized ECUs, and the implementation mode of the programs is standardized or standardized. It is possible to standardize or standardize design specifications such as functional specifications and hardware configurations in a plurality of integrated ECUs, and to design the integrated ECUs easily or efficiently.
 本実施形態によれば、制御システム1に含まれる複数の統括ECU(第1統括ECU10、第2統括ECU20及び第3統括ECU30)は、統括ECU同士間にて送受信されるデータ又は、異なる統括ECUに直接、接続される個別ECU100同士にて送受信されるデータを中継する車載中継装置として機能する。統括ECUは、当該中継の制御に関する処理等の中継制御処理を、制御データを生成する処理よりも優先して行うため、自統括ECUに直接、接続される個別ECU100と、他の統括ECUに直接、接続される個別ECU100との間にて送受信されるデータの中継を確実に担保しつつ、制御システム1にて負荷分散することにより制御データの生成を行うための処理を効率的に行うことができる。 According to the present embodiment, the plurality of integrated ECUs (the first integrated ECU 10, the second integrated ECU 20, and the third integrated ECU 30) included in the control system 1 have data transmitted or received between the integrated ECUs or different integrated ECUs. Functions as an in-vehicle relay device that relays data transmitted and received between the individual ECUs 100 that are directly connected to each other. Since the centralized ECU performs the relay control processing such as the processing relating to the control of the relay with priority over the processing for generating the control data, the centralized ECU directly connects to the individual ECU 100 directly connected to the centralized ECU and other centralized ECUs. , It is possible to efficiently perform the process for generating the control data by distributing the load in the control system 1 while reliably ensuring the relay of the data transmitted/received to/from the connected individual ECU 100. it can.
 今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味では無く、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time are to be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above meaning but by the scope of the claims, and is intended to include meanings equivalent to the scope of the claims and all modifications within the scope.
 1 制御システム
 10 第1統括ECU(統括ECU)
 11 カメラECU
 12 ステアリングECU
 13 ブレーキECU
 14 制御部(判定部、要求部、決定部)
 15 記憶部
 15a 制御プログラム
 15b 優先順位テーブル
 16 第1通信部
 17 第2通信部
 18 入出力部
 20 第2統括ECU(統括ECU)
 21 ライトECU
 22 ドアロックECU
 23 ワイパーECU
 30 第3統括ECU(統括ECU)
 31 通信ECU
 32 ナビECU
 33 ディスプレイECU
 50 右領域
 51 中央領域
 52 左領域
 100 個別ECU
 101 車載装置(ACT)
 
1 Control System 10 First Integrated ECU (Overall ECU)
11 camera ECU
12 Steering ECU
13 Brake ECU
14 Control unit (determination unit, request unit, determination unit)
15 storage unit 15a control program 15b priority order table 16 first communication unit 17 second communication unit 18 input/output unit 20 second integrated ECU (unified ECU)
21 Light ECU
22 Door lock ECU
23 Wiper ECU
30 Third control ECU (control ECU)
31 Communication ECU
32 Navi ECU
33 Display ECU
50 right area 51 central area 52 left area 100 individual ECU
101 In-vehicle device (ACT)

Claims (16)

  1.  車両に搭載される車載装置を制御する複数のECUを統括する統括ECUであって、
     前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、
     該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部と
     を備える統括ECU。
    An integrated ECU that controls a plurality of ECUs that control an in-vehicle device mounted on a vehicle,
    A determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time,
    When the determination unit determines that the predetermined time has been exceeded, a request unit that requests the other process ECU to perform the process, and the general ECU.
  2.  他の統括ECUから前記要求が行われた場合に、前記要求を受け付けるか否かを決定する決定部を有する請求項1に記載の統括ECU。 The integrated ECU according to claim 1, further comprising a determination unit that determines whether to accept the request when the request is made from another integrated ECU.
  3.  前記決定部は、前記処理について定められた優先順位を用いて、前記処理の要求を受け付けるか否かを決定する請求項2に記載の統括ECU。 The integrated ECU according to claim 2, wherein the determining unit determines whether or not to accept a request for the process using a priority order determined for the process.
  4.  前記決定部が実行中の処理よりも優先順位が高い処理を受け付けると決定した場合、前記実行中の処理を中断する請求項3に記載の統括ECU。 The integrated ECU according to claim 3, wherein when the determining unit determines to accept a process having a higher priority than the process being executed, the process being executed is interrupted.
  5.  前記要求部は、一の処理の内、分割した一部の処理を要求する請求項1から請求項4までのいずれか一つに記載の統括ECU。 The integrated ECU according to any one of claims 1 to 4, wherein the requesting unit requests a part of the divided processing in one processing.
  6.  前記処理は画像データの解析である請求項5に記載の統括ECU。 The integrated ECU according to claim 5, wherein the processing is analysis of image data.
  7.  車載装置を制御する複数のECUと、該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備える車両における前記車載装置の制御方法であって、
     各統括ECUは、
     前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、
     所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う
     制御方法。
    A method for controlling an in-vehicle device in a vehicle, comprising: a plurality of ECUs for controlling the in-vehicle device; and a plurality of integrated ECUs for controlling the plurality of ECUs by dividing them into a predetermined system,
    Each integrated ECU is
    Judge whether the time required for the processing related to the vehicle-mounted device exceeds a predetermined time,
    A control method in which, when it is determined that the predetermined time is exceeded, a request for the processing is made to another centralized ECU.
  8.  車両に搭載される車載装置を制御する複数のECUと、
     該複数のECUを、所定の系統に分けて統括する複数の統括ECUとを備え、
     各統括ECUは、
     前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定する判定部と、
     該判定部が前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う要求部とを有する
     制御システム。
    A plurality of ECUs for controlling an in-vehicle device mounted on the vehicle,
    The plurality of ECUs are provided with a plurality of integrated ECUs that divide the plurality of ECUs into predetermined systems,
    Each integrated ECU is
    A determination unit that determines whether or not the time required for the process related to the vehicle-mounted device exceeds a predetermined time,
    A control system comprising: a request unit that requests the other integrated ECU to perform the process when the determination unit determines that the predetermined time is exceeded.
  9.  車両に搭載される車載装置を制御する複数のECUを統括する統括ECUに、
     前記車載装置に係る処理に要する時間が所定時間を超過するか否かを判定し、
     前記所定時間を超過すると判定した場合、他の統括ECUへの前記処理の要求を行う
     処理を実行させるプログラム。
    A general ECU that supervises a plurality of ECUs that control in-vehicle devices mounted on the vehicle,
    Judge whether the time required for the processing related to the vehicle-mounted device exceeds a predetermined time,
    A program that, when it is determined that the predetermined time is exceeded, performs a process of requesting the process to another centralized ECU.
  10.  車両に搭載される複数の車載装置夫々に接続される個別ECU夫々と、通信可能に接続される統括ECUであって、
     前記個別ECUから取得したデータに基づき、前記車載装置の制御データを生成及び出力する制御部を備え、
     前記制御部は、
     前記制御データの生成を行うための処理負荷に関する情報を含む処理負荷情報を、他の統括ECUと共有し、
     前記処理負荷情報に応じて、自統括ECUに直接、接続された個別ECUから取得したデータに基づき制御データを生成する処理を、前記自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する
     統括ECU。
    An individual ECU connected to each of a plurality of vehicle-mounted devices mounted on the vehicle, and a general ECU that is communicatively connected,
    A control unit for generating and outputting control data of the in-vehicle device based on the data acquired from the individual ECU,
    The control unit is
    Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU,
    According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. General ECU that decides whether.
  11.  前記処理負荷情報は、前記自統括ECU及び前記他の統括ECUにおける処理負荷に関する情報を含み、
     前記制御部は、
     前記自統括ECUよりも処理負荷が低い前記他の統括ECUが存在する場合、制御データを生成する処理を、前記他の統括ECUに要求すると決定し、
     前記自統括ECUよりも処理負荷が低い前記他の統括ECUが存在しない場合、制御データを生成する処理を、前記自統括ECUにて行うと決定する
     請求項10に記載の統括ECU。
    The processing load information includes information regarding processing loads in the self-control ECU and the other control ECU,
    The control unit is
    When there is the other overall ECU having a processing load lower than that of the own overall ECU, it is determined that the process for generating the control data is requested to the other overall ECU,
    The overall ECU according to claim 10, wherein when the other overall ECU having a processing load lower than that of the own overall ECU does not exist, it is determined that the process of generating control data is performed by the own overall ECU.
  12.  前記処理負荷情報は、前記個別ECUから取得したデータに基づき導出される、前記制御データの生成に要する推定所要時間を含み、
     前記制御部は、
     導出した前記推定所要時間が、前記制御データの生成を行うにあたり要求される要求時間を超過しない場合、前記制御データを生成する処理を、前記自統括ECUにて行うと決定し、
     導出した前記推定所要時間が、前記制御データの生成を行うにあたり要求される要求時間を超過する場合、前記制御データを生成する処理を、前記他の統括ECUに要求すると決定する
     請求項10に記載の統括ECU。
    The processing load information includes an estimated required time required to generate the control data, which is derived based on data acquired from the individual ECU,
    The control unit is
    If the derived estimated time does not exceed the required time required to generate the control data, the process of generating the control data is determined to be performed by the self-control ECU.
    The said estimated required time is determined to request|require the process which produces|generates the said control data to the said other generalized ECU, when the required time required in producing the said control data exceeds. The overall ECU of.
  13.  前記処理負荷情報は、前記制御データの生成を行うための処理における優先順位に関する情報を含み、
     前記制御部は、前記制御データを生成する処理を前記自統括ECUにて行う場合、前記優先順位に関する情報に基づいて、既に実行中の処理を中断するか否かを決定する
     請求項10から請求項12のいずれか1項に記載の統括ECU。
    The processing load information includes information regarding a priority order in processing for generating the control data,
    When the control unit performs the process of generating the control data, the control unit determines whether or not to interrupt the process that is already being executed, based on the information regarding the priority order. Item 13. The integrated ECU according to any one of items 12.
  14.  前記制御部は、
     前記自統括ECUに直接、接続される個別ECUと、前記他の統括ECUに直接、接続される個別ECUとの間にて送受信されるデータの中継制御に関する処理を行い、
     前記中継制御に関する処理を、前記制御データを生成する処理よりも、優先して行う
     請求項10から請求項13のいずれか1項に記載の統括ECU。
    The control unit is
    Performing processing relating to relay control of data transmitted and received between the individual ECU directly connected to the self-control ECU and the individual ECU directly connected to the other control ECU,
    The overall ECU according to any one of claims 10 to 13, wherein the process related to the relay control is performed with priority over the process of generating the control data.
  15.  コンピュータに
     車両に搭載される複数の車載装置夫々に接続される個別ECUからデータを取得し、
     複数の統括ECUにおいて共有化されている処理負荷情報を参照し、
     取得したデータに基づき前記車載装置の制御データを生成する処理を、自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する
     処理を実行させる制御方法。
    The data is acquired from the individual ECUs connected to each of the plurality of vehicle-mounted devices mounted on the vehicle in the computer,
    Refer to the processing load information shared by multiple control ECUs,
    A control method for executing the process of determining whether to perform the process of generating the control data of the vehicle-mounted device based on the acquired data, in the own control ECU or to request another control ECU.
  16.  車両に搭載される複数の車載装置夫々に接続される個別ECU夫々と通信可能に接続される複数の統括ECUを含む制御システムであって、
     複数の統括ECUの内のいずれかの統括ECUは、前記個別ECUから取得したデータに基づき、前記車載装置の制御データを生成及び出力する制御部を備え、
     前記いずれかの統括ECUの制御部は、
     前記制御データの生成を行うための処理負荷に関する情報を含む処理負荷情報を、他の統括ECUと共有し、
     前記処理負荷情報に応じて、自統括ECUに直接、接続された個別ECUから取得したデータに基づき制御データを生成する処理を、前記自統括ECUにて行うか又は、他の統括ECUに要求するかを決定する
     制御システム。 
    A control system including a plurality of integrated ECUs communicatively connected to respective individual ECUs connected to a plurality of vehicle-mounted devices mounted on a vehicle,
    Any one of the plurality of general ECUs includes a control unit that generates and outputs control data of the vehicle-mounted device based on the data acquired from the individual ECU.
    The control unit of any one of the general ECUs is
    Sharing the processing load information including the information about the processing load for generating the control data with another centralized ECU,
    According to the processing load information, the self-control ECU directly performs a process of generating control data based on data obtained from an individual ECU connected to the control ECU, or requests the control ECU to another control ECU. Control system that decides.
PCT/JP2019/049231 2018-12-18 2019-12-16 Supervisory ecu, control method, control system, and program WO2020129911A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-236601 2018-12-18
JP2018236601 2018-12-18

Publications (1)

Publication Number Publication Date
WO2020129911A1 true WO2020129911A1 (en) 2020-06-25

Family

ID=71101768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/049231 WO2020129911A1 (en) 2018-12-18 2019-12-16 Supervisory ecu, control method, control system, and program

Country Status (1)

Country Link
WO (1) WO2020129911A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023048274A1 (en) * 2021-09-27 2023-03-30 矢崎総業株式会社 Vehicle system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004136816A (en) * 2002-10-18 2004-05-13 Denso Corp Control system for vehicle
JP2010027062A (en) * 2009-08-21 2010-02-04 Hitachi Ltd Distributed control system
US20160207479A1 (en) * 2015-01-21 2016-07-21 Ford Global Technologies, Llc Methods and systems for loss of communication detection in a vehicle network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004136816A (en) * 2002-10-18 2004-05-13 Denso Corp Control system for vehicle
JP2010027062A (en) * 2009-08-21 2010-02-04 Hitachi Ltd Distributed control system
US20160207479A1 (en) * 2015-01-21 2016-07-21 Ford Global Technologies, Llc Methods and systems for loss of communication detection in a vehicle network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023048274A1 (en) * 2021-09-27 2023-03-30 矢崎総業株式会社 Vehicle system

Similar Documents

Publication Publication Date Title
CN110871788B (en) Information processing apparatus
US9866527B2 (en) Information processing device and information processing method
US20160304038A1 (en) Control system for an automotive vehicle
US20200283004A1 (en) Method and system for overriding vehicle systems based on special conditions
WO2020129911A1 (en) Supervisory ecu, control method, control system, and program
US11377056B2 (en) In-vehicle system
WO2023167280A1 (en) Vehicle control system, vehicle control method, and vehicle control program
JP2021049989A (en) Control device, management device, system, control method, and vehicle
WO2022259655A1 (en) Vehicle control device and vehicle control system
WO2021256014A1 (en) Vehicle control system
WO2019111526A1 (en) Control device, control method, and control program
WO2023048274A1 (en) Vehicle system
JP7431186B2 (en) Manager, system, control method, control program, and vehicle
WO2022172498A1 (en) In-vehicle type computer system and automatic driving support system
WO2022095415A1 (en) Autonomous driving system and vehicle
WO2023189955A1 (en) Vehicle control device and vehicle control system
Lapp et al. Impact of driver assistance systems on future E/E architectures for commercial vehicles
JP2022131355A (en) Manager, electronic control unit, system, control method, control program, and vehicle
JP2022105528A (en) Control device, manager, system, control method and vehicle
JP2022009422A (en) Control device, manager, system, control method, program and vehicle
JP2022009425A (en) Control device, manager, system, control method, program and vehicle
JP2022105527A (en) Control device, manager, system, control method and vehicle
JP2022009420A (en) Control device, manager, system, control method, program and vehicle
JP2022009424A (en) Control device, manager, system, control method, program and vehicle
JP2022009421A (en) Control device, manager, system, control method, program and vehicle

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19897558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19897558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP