WO2019150843A1 - 車載ネットワークシステム、電子制御装置、ゲートウェイ装置 - Google Patents

車載ネットワークシステム、電子制御装置、ゲートウェイ装置 Download PDF

Info

Publication number
WO2019150843A1
WO2019150843A1 PCT/JP2018/047312 JP2018047312W WO2019150843A1 WO 2019150843 A1 WO2019150843 A1 WO 2019150843A1 JP 2018047312 W JP2018047312 W JP 2018047312W WO 2019150843 A1 WO2019150843 A1 WO 2019150843A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
sensor
sleep
control unit
gateway device
Prior art date
Application number
PCT/JP2018/047312
Other languages
English (en)
French (fr)
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 日立オートモティブシステムズ株式会社
Priority to CN201880086739.5A priority Critical patent/CN111615813B/zh
Priority to US16/962,445 priority patent/US11590907B2/en
Priority to EP18904374.8A priority patent/EP3748920A4/en
Publication of WO2019150843A1 publication Critical patent/WO2019150843A1/ja

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
    • B60R16/023Electric 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 for transmission of signals between vehicle parts or subsystems
    • 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]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40039Details regarding the setting of the power status of a node according to activity on the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • 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
    • B60R16/03Electric 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 for supply of electrical power to vehicle subsystems or for
    • B60R16/0315Electric 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 for supply of electrical power to vehicle subsystems or for using multiplexing techniques
    • 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]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present invention relates to an in-vehicle network system, an electronic control device, and a gateway device.
  • the number of sensors mounted on a vehicle and the types of sensors are increasing with the advancement of automatic driving. Also, in order to increase the reliability of automatic operation, in addition to redundancy of the electronic control unit for automatic operation, it is considered to provide different types of sensors for redundancy, and the number of sensors and sensor types will increase. It is done. In addition, the amount of data transmitted by the sensor is increasing as the performance of the sensor is improved. As the number of sensors and sensor types increase in this way, the wiring length and the number of wirings between a large number of sensors and actuators and the electronic control device increase.
  • the electronic control device is concentrated at the gateway, and the network configuration is shifted to the gateway connected to the backbone network. Further, as the number of sensors, sensor type, and communication amount per sensor increase, the bandwidth in the in-vehicle network increases, and there is a concern about the increase in power consumption in the in-vehicle network. Furthermore, low power consumption of the in-vehicle network is also desired from the viewpoint of reducing environmental load and improving vehicle fuel efficiency.
  • Patent Document 1 discloses a sensing device that detects an object around the vehicle, an electronic control unit that collects measurement results of the sensing device, and instructs switching of an operation state of the sensing device as necessary, and the sensing A bus-type network for transmitting and receiving signals between the device and the electronic control unit, and the sensing device operates in a normal state in which a normal operation is performed, and a power saving state in which power consumption is reduced
  • the electronic control unit includes a sensing device operation state management unit that manages the operation state of the sensing device, and the sensing device operation state management unit includes the sensing device from the sensing device.
  • a surrounding environment recognition processing unit that recognizes the surrounding environment of the host vehicle, and the surrounding environment recognition processing unit Whether or not to move the sensing device operating in the normal operating state to the power saving operating state or in the power saving operating state based on the recognition result Operation state switching process for determining whether or not to move the sensing device in the normal state to the operation state in the normal state and instructing the sensing device to switch the operation state via the bus network based on the determination
  • the surrounding environment recognition processing unit calculates information on the position and / or speed of an object existing around the host vehicle from the measurement result of the sensing device, and the result of the calculation On the basis of the relative relationship between the vehicle and an object existing around the vehicle, and the operation state switching processing unit determines the relative position and relative speed of the object existing around the vehicle.
  • a predetermined threshold value When a predetermined threshold value is exceeded, it is determined that the sensing device currently operating in the power saving state needs to be switched to the normal operating state, and the sensing device is connected via the bus network. If the number of objects present around the host vehicle exceeds a predetermined threshold, the sensing device that is currently in the power-saving state is set to the normal state. It is determined that it is necessary to switch to the operation state in the vehicle, and a vehicle control device is disclosed that instructs the sensing device to switch to the operation state in the normal state via the bus network.
  • An in-vehicle network system includes an electronic control device, a plurality of gateway devices, and a plurality of sensor devices that collect surrounding information that is information around the vehicle, and is mounted on the vehicle.
  • Each of the sensor devices communicates with the electronic control device via at least one gateway device, and the electronic control device is selected from among a plurality of operation modes associated with the sensor device to be operated.
  • An electronic control device is an electronic control device that is mounted on a vehicle and communicates with a plurality of gateway devices and a plurality of sensor devices that collect surrounding information that is information around the vehicle.
  • the mode management unit that determines one of the plurality of operation modes associated with the sensor device to be operated, and the sensor device that is connected is operated based on the operation mode that is determined by the mode management unit.
  • a sleep instruction control unit that identifies a gateway device that does not require sensor relay, which is a gateway device that does not, and transitions the gateway device that does not require sensor relay to a low power state with reduced processing capability.
  • a gateway device collects ambient information, which is information about a vehicle, and an electronic control device that determines one of a plurality of operation modes associated with a sensor device to be operated.
  • a gateway device that mediates communication with the plurality of sensor devices, and is connected to any one of the plurality of sensor devices that do not operate in the same operation mode without passing through another gateway device.
  • Configuration diagram of in-vehicle network system S mounted on vehicle 100 Block diagram showing a common configuration of the sensor device 10 Block diagram showing a common configuration of gateway device 30 Block diagram showing a common configuration of the ECU device 50
  • the figure which shows an example of an operation mode management table The figure which shows an example of a communication path management table
  • the flowchart which shows the process of the sleep instruction control part 5013 The flowchart which shows the process of the sleep control part 3011 Sequence diagram showing an example of sleep operation
  • Sequence diagram showing an example of a sleep operation in the fourth embodiment The flowchart showing the operation of the sleep instruction control unit 5013 in the fourth embodiment.
  • Configuration diagram of in-vehicle network system S in the seventh embodiment A flowchart showing the operation of the sleep instruction control unit 5013 in the seventh embodiment.
  • a state where any component of the apparatus is reducing power consumption is referred to as a “low power state” or “sleep state”, and a state where power consumption is not reduced is referred to as a “normal state”.
  • the processing capacity is lower than in the normal state.
  • the low power state is, for example, a state where no power is supplied to a certain component and the operation is stopped, or a state where the operation is slowed down and power consumption is reduced.
  • the combination of the ECU and the sensor to be operated is called an operation mode.
  • FIG. 1 is a configuration diagram of an in-vehicle network system S mounted on the vehicle 100.
  • the in-vehicle network system S includes ECU 50-1 to ECU 50-2, gateway 30-1F, gateway 30-1R, gateway 30-2F, gateway 30-2R, sensor 10-1A to sensor 10-1D, and sensor 10-2A to A sensor 10-2D is provided.
  • the ECUs 50 are referred to as ECU devices 50 when the ECUs are not particularly distinguished
  • the gateway devices 30 are referred to as gateway devices 30 when the gateways are not particularly distinguished
  • the sensor devices 10 are referred to when the sensors are not particularly distinguished. Call it.
  • the reference numeral “10-”, which is common to the sensor devices 10, may be omitted
  • the sensor 10-1A may be referred to as “sensor 1A”.
  • the gateway 30-1R may be referred to as “gateway 1R”
  • the ECU 50-1 may be referred to as “ECU1”.
  • Sensor device 10 and ECU device 50 are classified into two groups. Sensors 10-1A to 10-1D and ECU 50-1 belong to the first group, and sensors 10-2A to 10-2D and ECU 50-2 belong to the second group.
  • the gateway 30-1F and the gateway 30-1R are connected to collect the group 1 sensor devices 10, and the gateway 30-2F and the gateway 30-2R are connected to collect the group 2 sensor devices 10.
  • sensor 10-1A, sensor 10-1B, and ECU 50-1 are directly connected to gateway 30-1F
  • sensor 10-2A, sensor 10-2B, and ECU 50-2 are directly connected to gateway 30-2F
  • the sensor 10-1C and the sensor 10-1D are directly connected to the gateway 30-1R
  • the sensor 10-2C and the sensor 10-2D are directly connected to the gateway 30-2R.
  • a certain sensor device 10 being directly connected to the gateway device 30 means a connection without interposing another gateway device 30 therebetween.
  • the gateway devices 30 are connected in a ring shape. Specifically, there is a connection between the gateway 30-1R and the gateway 30-1F, between the gateway 30-1F and the gateway 30-2F, between the gateway 30-2F and the gateway 30-2R, and between the gateway 30-2R and the gateway 30-1R. Is done. Since the gateway devices 30 are connected to each other in a ring shape, there is a route that bypasses even if one of the gateways fails and communication becomes impossible, so a wire-saving and highly reliable network is realized. .
  • Each sensor device 10 collects information around the vehicle 100. Since the installation location is limited by the information to be collected, the installation position of each sensor device 10 in the vehicle 100 is limited. For example, when the sensor 10-1A is a camera that captures the left front of the vehicle 100, the sensor 10-1A is installed on the left front of the vehicle 100.
  • the gateway device 30 is arranged in consideration of the area in the vehicle 100.
  • the gateway 30-1F is disposed in front of the vehicle 100
  • the gateway 30-1R is disposed behind the vehicle 100. Accordingly, it is possible to connect the sensor device 10 and the gateway device 30 separately for each group without lengthening the wiring of the in-vehicle network.
  • the sensor device 10 used in the degeneration operation mainly operated by the ECU 50-1 is defined as the first group
  • the sensor device 10 used in the degeneration operation mainly operated by the ECU 50-2 is defined as the second group.
  • the sensor information acquired by each sensor device 10 is transmitted to the gateway device 30 in a format according to a predetermined communication standard. These pieces of sensor information are transmitted to the ECU 1 or the ECU 2 via one or more gateway devices 30. However, sensor information may be transmitted to both ECU1 and ECU2.
  • the gateway 30-1F and the gateway 30-1R having a role of transmitting the sensor information of the sensors belonging to the first group to the ECU must have other roles. For example, temporary operation stop, that is, sleep is possible.
  • the gateway 30-2F and the gateway 30-2R having a role of transmitting the sensor information of the sensor device 10 belonging to the first group to the ECU device 50 are the other If it does not have the role, it is possible to temporarily stop operation, that is, sleep.
  • sleep may be performed not in units of groups but in units of gateways to which the sensor device 10 is connected.
  • the gateway 30-1R connected only to the sensor 10-1C and the sensor 10-2C is the other sensor device 10
  • the gateway 30-1R can be shifted to the sleep state.
  • the gateway device 30 by connecting the sensor devices 10 and the ECU devices 50 of different groups to the gateway device 30 so as not to be mixed as much as possible, the following advantages are obtained. That is, when the sensor device 10 and the ECU device 50 are not used for a certain period, not only the sensor device 10 and the ECU device 50 that are not used but also the gateway device 30 to which they are connected can be reduced in power consumption.
  • the in-vehicle network system S includes eight sensor devices 10, four gateway devices 30, and two ECU devices 50.
  • the configuration of the in-vehicle network system S is not limited to this.
  • the gateway devices 30 are connected in a ring shape, but between the gateway 30-1R and the gateway 30-1F, between the gateway 30-1F and the gateway 30-2F, and between the gateway 30-2F and Even in a configuration in which the gateway 30-2R is connected, the sensor device 10 and the ECU device 50 for each group can be separated and concentrated.
  • each gateway device 30 two sensor devices 10 are connected to each gateway device 30, but the number of sensor devices 10 and ECU devices 50 connected to each gateway device 30 may be different.
  • the number of gateway devices 30 that collect the first group and the number of gateway devices 30 that collect the second group are two, but they may be different.
  • FIG. 2 is a block diagram showing a common configuration of the sensor device 10. That is, as shown in FIG. 1, the in-vehicle network system S includes a plurality of sensors, and detailed configurations thereof are not necessarily the same, but here, configurations common to these sensor devices 10 will be described.
  • the sensor device 10 includes a control unit 101, an arithmetic processing unit 102, a measurement unit 103, and a communication interface (hereinafter referred to as “communication IF”) 105.
  • control unit 101, the arithmetic processing unit 102, the measurement unit 103, and the communication IF 105 are collectively referred to as “each component unit of the sensor device 10”.
  • the components of the sensor device 10 are connected to each other via the internal bus 104, and can exchange control data with each other.
  • the control unit 101 and the arithmetic processing unit 102 are application-specific integrated circuits, that is, ASICs (application specific integrated circuits). However, the control part 101 and the arithmetic processing part 102 are comprised from CPU, ROM, and RAM, and may be implement
  • the measuring unit 103 senses the surrounding environment of the vehicle at a preset sampling frequency. Then, the measurement unit 103 converts the sensed physical quantity into an electrical signal, converts the electrical signal into a digital signal, and outputs the digital signal to the arithmetic processing unit 102.
  • the measurement unit 103 is, for example, an image sensor or a millimeter wave sensor.
  • the arithmetic processing unit 102 performs various arithmetic processes based on the digital signal acquired from the measuring unit 103, stores the calculation result (hereinafter referred to as “ambient information”) in the payload portion of the frame format, and communicates the frame. Output to IF 105.
  • the arithmetic processing unit 102 outputs the received frame to the control unit 101 when the destination described in the header part of the frame input from the communication IF 105 matches the identifier of the device.
  • the communication IF 105 converts the frame acquired from the arithmetic processing unit 102 into a format conforming to the communication standard, and outputs the converted frame to the connected gateway device 30. Further, the signal input from the gateway device 30 is converted into a frame and output to the arithmetic processing unit 102.
  • the standard of the network to which the communication IF 105 is connected is, for example, IEEE802.3 devised for in-vehicle use, CAN (registered trademark), CAN-FD, or the like. In FIG. 2, only one communication IF 105 is provided, but a plurality of communication IFs 105 may be provided in order to improve communication reliability.
  • the communication IF 105 is a combination of a physical communication interface, for example, an RJ45 connector and a control circuit.
  • the control unit 101 and the arithmetic processing unit 102 assume a virtual communication connection port in the course of processing, and are also referred to as “communication ports” or “ports”.
  • the correspondence between the communication ports defined by the control unit 101 and the arithmetic processing unit 102 and the communication IF 105 is determined in advance. Therefore, for example, when the control unit 101 or the arithmetic processing unit 102 determines a communication port that outputs data, the communication IF 105 that outputs data is also uniquely determined.
  • the communication IF 105 can transition to a low power state by exchanging LPS (Low Power Sleep) signals with the gateway device 30 that is the connection destination.
  • LPS Low Power Sleep
  • the communication IF 105 receives a WakeUp (hereinafter “WUP”) signal in the low power state
  • WUP WakeUp
  • the communication IF 105 transitions from the low power state to the normal state.
  • the communication IF 105 activates the communication IF 105 and notifies the sleep control unit 1011 of reception of the WUP signal via the internal bus 104.
  • the communication IF 105 receives the LPS signal in the normal state, the communication IF 105 notifies the sleep control unit 1011 of the reception of the LPS signal via the internal bus 104.
  • the control unit 101 includes a sleep control unit 1011 and a management unit 1012.
  • the sleep control unit 1011 controls the power state of each component of the sensor device 10. For example, upon receiving an LPS signal that is a transition command to the low power state from the connected gateway device 30, the sleep control unit 1011 shifts each component of the sensor device 10 to the low power state and shifts to the sleep state. . However, the sleep control unit 1011 may exclude the control unit 101 from the target to be changed to the low power state.
  • the management unit 1012 controls and manages the operations of the measurement unit 103 and the arithmetic processing unit 102. For example, the management unit 1012 issues an instruction to change the sensing cycle to the measurement unit 103 or issues an instruction to change the operating frequency to the arithmetic processing unit 102. Note that the sleep control unit 1011 and the management unit 1012 may operate in cooperation.
  • the communication IF 105, the arithmetic processing unit 102, and the measurement unit 103 can be set in a low power state. Further, based on the signal received from the gateway device 30, the normal state can be changed to the sleep state, or the sleep state can be changed to the normal state.
  • FIG. 3 is a block diagram showing a common configuration of the gateway device 30.
  • the gateway device 30 includes a control unit 301, a frame transfer processing unit 302, and one or a plurality of communication IFs 303.
  • the control unit 301, the frame transfer processing unit 302, and the communication IF 303 are collectively referred to as “each component unit of the gateway device 30”.
  • Each component of the gateway device 30 is connected to each other via the bus 304, and exchanges control data with each other.
  • the control unit 301 and the frame transfer processing unit 302 are ASICs. However, the control unit 301 and the frame transfer processing unit 302 are configured by a CPU, a ROM, and a RAM, and may be realized by the CPU storing and executing a program stored in the ROM on the RAM. Specific functions of the control unit 301 and the frame transfer processing unit 302 will be described later.
  • the communication IF 303 is a combination of a physical communication interface, for example, an RJ45 connector and a control circuit.
  • the control unit 301 and the frame transfer processing unit 302 assume a virtual communication connection port in the course of processing, and are also referred to as “communication ports” or “ports”.
  • the correspondence between the communication ports defined by the control unit 301 and the frame transfer processing unit 302 and the communication IF 303 is determined in advance. Therefore, for example, when the control unit 301 and the frame transfer processing unit 302 determine a communication port that outputs data, the communication IF 303 that outputs data is also uniquely determined.
  • the control unit 301 includes a sleep control unit 3011 and a communication management unit 3012.
  • the sleep control unit 3011 controls the power state of each component of the gateway device 30.
  • the sleep control unit 3011 sets each component of the gateway device 30 to a low power state according to the sleep instruction frame received from another ECU. Further, when the gateway apparatus 30 receives an LPS signal via the communication IF 303, it is determined whether or not the communication IF 303 that has received the LPS signal should be in a low power state.
  • the sensor device 10 when the sensor device 10 receives the LPS signal, the sensor device 10 shifts to a sleep state in which the entire device is in a low power state. However, the gateway device 30 does not shift to the sleep state even if the LPS signal is received. Even if the gateway device 30 receives the LPS signal, it merely transitions the communication IF 303 that has received the LPS signal to the low power state.
  • the communication management unit 3012 manages route information, transfer destination information, bandwidth information, priority information, failure information, and the like of frames transferred by the gateway device 30.
  • Each communication IF 303 communicates with the ECU device 50, the sensor device 10, or another gateway device 30.
  • Communication IF 303 in the present embodiment is a one-to-one connection, and gateway device 30 includes communication IFs 303 equal to or greater than the number of devices to be connected.
  • the gateway 30-1F is connected to two sensor devices 10, two gateway devices 30, and one ECU device 50, so the gateway 30-1F includes at least five communication IFs 303.
  • the communication IF 303 outputs the data received via the network to the frame transfer processing unit 302 and outputs the data input from the frame transfer processing unit 302 to the network.
  • the communication standard to which each communication IF 303 corresponds is not particularly limited.
  • the communication IF 303 corresponds to, for example, IEEE 802.3 devised for in-vehicle use, CAN, CAN-FD, or the like.
  • Each communication IF 303 may correspond to a different communication standard.
  • the communication IF 303 When the communication IF 303 receives a transition instruction from the sleep control unit 3011 to the low power state, the communication IF 303 transmits an LPS signal to the connection destination and transitions from the normal state to the low power state. When receiving a transition instruction from the sleep control unit 3011 to the normal state, the communication IF 303 transitions from the low power state to the normal state and transmits a WUP signal to the connection destination. The communication IF 303 always accepts the WUP signal even in the low power state. When receiving the WUP signal from the connection destination, the communication IF 303 transitions to the normal state and notifies the control unit 301 of the reception of the WUP signal. When the communication IF 303 receives the LPS signal in the normal state, the communication IF 303 notifies the control unit 301 of the reception of the LPS signal.
  • the frame transfer processing unit 302 sets the frame input from the communication IF 303 as a processing target, determines the communication IF 303 to be output from the destination stored in the header portion of the frame, and outputs the frame to the communication IF 303.
  • the frame transfer processing unit 302 outputs the frame payload to the control unit 301.
  • the frame transfer processing unit 302 includes a transfer database, and is used to determine an output destination of an input frame.
  • the frame transferred by the frame transfer processing unit 302 includes a sleep instruction frame.
  • Each gateway device 30 can transition the communication IF 303 and the frame transfer processing unit 302 to the low power state. Further, it is possible to receive a sleep instruction frame received from another ECU and determine a sleep control method based on the received frame. Further, the gateway device 30 can urge the connected sensor device 10 or ECU to transition to the low power consumption state by transmitting an LPS signal via the communication IF 303.
  • FIG. 4 is a block diagram showing a common configuration of the ECU device 50.
  • the ECU device 50 includes a control unit 501, an arithmetic processing unit 502, and one or more communication IFs 503.
  • the control unit 501, the arithmetic processing unit 502, and the communication IF 503 are collectively referred to as “each component unit of the ECU device 50”.
  • the components of the ECU device 50 are connected to each other via a bus 504, and exchange control data with each other.
  • the control unit 501 and the arithmetic processing unit 502 are ASICs. However, the control unit 501 and the arithmetic processing unit 502 are configured by a CPU, a ROM, and a RAM, and may be realized by causing the CPU to develop and execute a program stored in the ROM on the RAM. Specific functions of the control unit 501 and the arithmetic processing unit 502 will be described later.
  • the communication IF 503 is a combination of a physical communication interface, for example, an RJ45 connector and a control circuit.
  • the control unit 501 and the arithmetic processing unit 502 assume a virtual communication connection port in the course of processing, which is also referred to as “communication port” or “port”.
  • the correspondence between the communication port defined by the control unit 501 and the arithmetic processing unit 502 and the communication IF 503 is determined in advance.
  • the control unit 501 includes a mode management unit 5011, a communication management unit 5012, and a sleep instruction control unit 5013.
  • the mode management unit 5011 is based on the number of surrounding objects, the distance from the vehicle, weather information, and the like detected based on the calculation result in the calculation processing unit 502 and data received from the other sensor device 10 or the ECU device 50. To determine the operation mode.
  • the communication management unit 5012 manages communication route information, bandwidth information, priority information, failure information, and the like in the entire in-vehicle network.
  • the route information includes, for example, information on which ECU device 50 or sensor device 10 or ECU device 50 in the in-vehicle network communicates and which gateway device 30 communicates in which order.
  • the band information manages information such as the amount of data communicated between each sensor device 10 or ECU device 50 and another ECU device 50 and its transmission cycle, for example.
  • the priority information manages, for example, a priority value for data communicated between each sensor device 10 or ECU device 50 and another ECU device 50.
  • the failure information manages, for example, what kind of failure occurs in which communication section. Information managed by the communication management unit 5012 is used by the sleep instruction control unit 5013.
  • the sleep instruction control unit 5013 determines a sleep target device and a sleep period based on the operation mode determined by the mode management unit 5011. Then, a sleep instruction frame including a sleep target and a sleep period is issued and transmitted via the arithmetic processing unit 502 and the communication IF 503.
  • the arithmetic processing unit 502 performs an operation based on information input from the sensor device 10 or another ECU device 50 via the communication IF 503. Specific calculation contents of the calculation processing unit 502 are not particularly limited.
  • the calculation result of the calculation processing unit 502 is transmitted to another ECU via the communication IF 503.
  • Each communication IF 503 communicates with other ECU devices 50 and gateway devices 30.
  • Communication IF 503 in the present embodiment is a one-to-one connection, and ECU device 50 includes communication IFs 503 equal to or greater than the number of devices to be connected.
  • the communication IF 503 outputs data received via the network to the arithmetic processing unit 502 and the control unit 501, and outputs data input from the arithmetic processing unit 502 and the control unit 501 to the network.
  • the communication standard that each communication IF 503 supports is not particularly limited.
  • the communication IF 305 corresponds to, for example, IEEE 802.3 devised for in-vehicle use, CAN, CAN-FD, or the like.
  • Each communication IF 503 may correspond to a different communication standard.
  • the ECU device 50 performs an operation based on data from the sensor device 10 connected to the in-vehicle network or another ECU, and transmits the operation result to the other ECU. Further, the ECU device 50 determines an operation mode, and determines an apparatus and a period for shifting to the sleep state based on the determined operation mode. Then, the ECU device 50 transmits a sleep instruction frame to a device that is a sleep target.
  • FIG. 5 is a diagram illustrating an example of an operation mode management table stored in the ECU device 50.
  • the operation mode management table devices to be used for each operation mode are shown.
  • a device used in a certain operation mode may be referred to as a “use target” device, and a device not used may be referred to as a “non-use target” device.
  • the operation mode management table is represented in a table format as shown in FIG. 5, for example, with a row corresponding to each device and a column corresponding to each operation mode. However, in FIG. 5, the device ID is described in the leftmost column, and the mode name is described in the uppermost row.
  • Each element of the table is input with a value indicating whether or not to use the device in each operation mode. In FIG. 5, O is entered when used, and blank when not used.
  • mode 0 all devices are used. In mode 1, only the first group, that is, the ECU 1 and the sensors 1A to 1D are used. In mode 2, only the second group, that is, the ECU 2 and the sensors 2A to 2D are used. In mode 3, devices other than the sensor 2C and the sensor 2D are used. In mode 4, ECU1, ECU2, and sensors 1A to 1D are used. *
  • the mode management unit 5011 selects a mode as follows, for example.
  • the mode management unit 5011 selects mode 0 when the response in other modes is inappropriate, such as a situation where there are many objects around the vehicle or a situation where the weather is not good and recognition by various sensors is necessary.
  • the mode management unit 5011 selects mode 1 when the automatic driving ECU 2 or the gateway device connected thereto fails and the automatic driving ECU 1 performs a degenerate operation.
  • the mode management unit 5011 selects mode 2 when the automatic operation ECU 1 or a gateway connected thereto fails and the automatic operation ECU 2 performs a degenerate operation.
  • the mode management unit 5011 selects mode 3 when the vehicle is on a highway with relatively few objects to be recognized and there are few objects around the vehicle.
  • the mode management unit 5011 selects mode 4 when the weather is good and the surrounding field of view is good and recognition is possible without using a plurality of types of sensors.
  • FIG. 6 is a diagram illustrating an example of a communication path management table provided in the communication management unit 5012 of the ECU 50.
  • the communication path management table includes items of a transmission source, a transmission destination, and a gateway device that passes through, and a list of identifiers of gateway devices that pass through the communication is described for a pair of the transmission source and the transmission destination. For example, when the sensor 1A transmits sensor information to the ECU 1, only the gateway 1F is routed. Further, when the sensor 1A transmits to the ECU 2, it goes through the gateways 1F and 2F in this order. When the sensor 2X transmits to the ECU 2, the gateways 2R, 1R, 1F, and 2F are routed in this order.
  • the communication management unit 5012 can specify a gateway device to which each sensor or each ECU is connected, or can specify a gateway used for relay processing in each communication. For example, when there is one gateway device that passes through, it can be determined that both the transmission source terminal and the transmission destination terminal are connected to the gateway device. For example, since the gateway device passing from the sensor 1A to the ECU 1 is only the gateway 1F, it can be determined that both the sensor 1A and the ECU 1 are connected to the gateway 1F.
  • the transmission source terminal is connected to the first gateway device and the transmission destination terminal is connected to the second gateway device.
  • the source terminal is connected to the first gateway device
  • the destination terminal is connected to the last gateway device
  • other gateway devices are used for relaying.
  • the sensor 2X is connected to the gateway 2R that is the first gateway device
  • the ECU 2 is the last gateway. It can be determined that the gateway 1R and the gateway 1F are connected to the gateway 2F, which is a device, and are used for relaying.
  • FIG. 7 is a flowchart showing the processing of the sleep instruction control unit 5013 provided in the ECU device 50.
  • the operation mode is set every certain time period.
  • the process shown in FIG. 7 is executed by the sleep instruction control unit 5013.
  • a certain time elapses that is, when the operation mode is set next, the process shown in FIG. 7 is executed again.
  • the sleep instruction control unit 5013 first acquires the number of the operation mode to be set in the next cycle from the mode management unit 5011 (S1101). Next, the sleep instruction control unit 5013 determines whether or not the acquired operation mode is the normal mode, that is, mode 0 (S1102). If the sleep instruction control unit 5013 determines that the acquired operation mode is not the normal mode, the process proceeds to S1103 and performs a series of processes for determining a sleep instruction as described later. If the sleep instruction control unit 5013 determines that the acquired operation mode is the normal mode, the sleep instruction control unit 5013 ends the process illustrated in FIG.
  • the sleep instruction control unit 5013 determines that the acquired operation mode is not the normal mode, the sleep instruction control unit 5013 specifies the sensor device 10 and the ECU device 50 to be used in the operation mode from the operation mode number and the operation mode management table (S1103). .
  • the sleep instruction control unit 5013 may extract the sensor device 10 and the ECU device 50 in which O is described in the corresponding operation mode in the operation mode management table shown in FIG.
  • the sleep instruction control unit 5013 executes the processing from S1103A to S1103B with each gateway device 30 as a processing target. For example, the sleep instruction control unit 5013 first executes the processing from S1103A to S1103B with the gateway 1F as the processing target, and then executes the processing from S1103A to S1103B with the gateway 1R as the processing target.
  • the gateway 2R is a processing target.
  • the sleep instruction control unit 5013 determines whether or not the sensor device 10 and the ECU device 50 connected to the gateway device 30 to be processed are all out of the usage target (S1104). For this determination, first, the sensor device 10 and the ECU device 50 connected to the gateway device 30 to be processed are specified using the communication path management table. Next, it is determined whether the sensor device 10 and the ECU device 50 connected to the gateway device 30 to be processed are usage targets. If the sleep instruction control unit 5013 determines that all the connected sensor devices 10 and ECU devices 50 are not to be used, the process proceeds to S1105. If the sleep instruction control unit 5013 determines that there are one or more sensor devices 10 or ECU devices 50 to be used, the process proceeds to S1106.
  • the ECU device 50 and the sensor device 10 directly connected to the gateway 1F are the ECU 1, the sensor 1A, and the sensor 1B according to the communication path management table shown in FIG. It may be determined by the following. For example, when the operation mode is mode 2, it is determined that ECU1, sensor 1A, and sensor 1B are all outside the usage target.
  • the sleep instruction control unit 5013 determines whether or not there is a sensor device 10 or an ECU device 50 to be used that needs to be relayed in the gateway device 30 to be processed. The determination in this step is performed as follows. First, the sleep instruction control unit 5013 specifies the sensor device 10 or the ECU device 50 that needs to be relayed in the gateway device 30 to be processed, and determines whether the specified sensor device 10 or the ECU device 50 is a usage target. It can be determined whether there is a sensor device 10 or an ECU device 50 to be used that needs to be relayed.
  • the gateway 1F needs to relay the communication of the sensor 2X, and when the operation mode is mode 2, the sensor 2X is out of the usage target, so there is no sensor device 10 or ECU device 50 that needs to be relayed. It is determined.
  • the sleep instruction control unit 5013 proceeds to S1107 when determining that there is no use-target sensor device 10 or ECU device 50 that needs to be relayed in the processing target gateway device 30, and proceeds to S1108 when determining that there is one. .
  • the sleep instruction control unit 5013 When determining, all the communication IFs 303 of the gateway device 30 to be processed are determined as sleep targets (S1107).
  • the sleep instruction control unit 5013 is configured such that all the sensor devices 10 or ECU devices 50 connected to the gateway device 30 to be processed are not used, and there are sensor devices 10 or ECU devices 50 to be used that need to be relayed.
  • the communication IF to which the sensor device 10 and the ECU device 50 are connected is determined as a sleep target (S1108).
  • the sleep instruction control unit 5013 determines whether all of the sensor device 10 and the ECU device 50 connected to the gateway device 30 to be processed are usage targets (S1106). If it is determined that there are at least one sensor device 10 or ECU device 50 that is not a usage target, that is, is not a usage target, the process proceeds to S1109. If a negative determination is made in S1106, the sleep instruction control unit 5013 determines that only communication IFs that are connected to the gateway device 30 to be processed and are not used by the sensor device 10 or the ECU device 50 are subject to sleep. To do.
  • the sleep instruction control unit 5013 relates to the gateway device 30 to be processed because all the sensor devices 10 and the ECU devices 50 connected to the gateway device 30 to be processed are usage targets. It is determined that there is no sleep target to be performed, and the process proceeds to S1110.
  • the processing from S1104 to S1109 is performed for the gateways 1F, 1R, 2F, and 2R.
  • the processing from S1104 to S1109 it is determined that the gateway 1F and the gateway 1R are all sleep targets, and the gateway 2F and the gateway 2R are not sleep targets.
  • the sleep instruction control unit 5013 issues a sleep instruction frame to the gateway device 30 that is a sleep target, transmits the frame to the gateway device 30 (S1110), and ends the processing illustrated in FIG.
  • the sleep instruction frame includes information on whether or not there is a place to be a sleep target, that is, all ports, and if not all ports, information on a sleep target port, and information on a sleep period, that is, sleep start time and end time.
  • the sleep target port may be any information as long as the port of the gateway device 30 can be uniquely specified.
  • the identifier of the sensor device 10 connected to the sleep target port can be used, and the MAC address can be used as the identifier of the sensor device 10 when IEEE802.3 is used.
  • the physical port number of the gateway device 30 may be directly specified. In that case, it is described including the connected port number in the communication path management table referenced by the sleep instruction control unit 5013.
  • a single sleep instruction frame may be transmitted to all gateway devices 30.
  • the sleep instruction frame further includes information for specifying the target gateway device 30 in addition to the above information.
  • the sleep instruction control unit 5013 can identify the gateway device 30 or the port of the gateway device 30 to be set to the low power state in the designated operation mode, and transmit the sleep instruction to the corresponding gateway device 30. it can.
  • the gateway device 30 is used when the gateway device 30 is used for relay processing of other sensor devices 10 to be used. Communication of the sensor device 10 can be maintained.
  • the sleep instruction frame is transmitted to the gateway device 30 via the data communication cable used for communication between the sensor device 10 and the ECU device 50.
  • a communication network for transmitting the sleep instruction frame may be prepared separately from the data communication cable.
  • FIG. 8 is a flowchart illustrating processing of the sleep control unit 3011 provided in the gateway device 30.
  • the first process is a process performed by receiving a sleep instruction frame from the ECU device 50.
  • the second process is a process in which the port of the adjacent gateway device 30 outputs an LPS signal in accordance with the transition to the sleep state, and sleeps the port that has received the LPS signal.
  • the sleep control unit 3011 executes the process illustrated in FIG. 8 every time the sleep instruction control unit 5013 operates.
  • the sleep control unit 3011 confirms whether or not a sleep instruction frame is received (S1201). If the sleep control unit 3011 determines that the sleep instruction frame has been received, the process proceeds to S1202 and executes the first process described above from S1202 to S1215. When the sleep control unit 3011 determines that the sleep instruction frame has not been received, the process proceeds to S1216.
  • the sleep control unit 3011 determines whether or not the LPS signal is received by the communication IF 303 (S1216). If it is determined that the LPS signal has been received, the second process described above is executed from S1217 to S1220. When the sleep control unit 3011 determines that the LPS signal has not been received, the process illustrated in FIG. 8 ends.
  • the sleep control unit 3011 determines whether or not all the ports are sleep targets (S1202). Specifically, the sleep control unit 3011 determines the sleep target included in the received sleep instruction frame. The sleep control unit 3011 proceeds to S1203 when it is determined that all ports are the sleep target, and proceeds to S1211 when it is determined that only some ports are the target.
  • the sleep control unit 3011 transmits LPS signals from all ports, that is, all communication IFs 303 (S1203). Since the device that has received the LPS signal transmits an ACK signal as a reception response, the gateway device 30 receives the ACK signal (S1204). Next, the sleep control unit 3011 shifts the communication IF 303 that has received the ACK signal to the low power state (S1205), and sets the frame transfer processing unit 302 to the low power state (S1206). In S1206, the sleep control unit 3011 greatly reduces the processing capability of the control unit 301 to reduce the power consumption of the control unit 301.
  • the sleep control unit 3011 determines whether or not the sleep end time has come (S1207).
  • the sleep control unit 3011 proceeds to S1208 if an affirmative determination is made, and returns to S1207 if a negative determination is made. That is, it is monitored whether the sleep has timed out, and if it is determined that the time has expired, the process advances to step S1208.
  • the sleep control unit 3011 activates the frame transfer processing unit 302. Also, the sleep control unit 3011 returns the processing capability of the control unit 301 that has been reduced to normal.
  • the sleep control unit 3011 causes all the communication IFs 303 that have been put to sleep to transition to the normal state, and transmits a WUP signal from these communication IFs 303 (S1209).
  • the sensor device 10 or the ECU device 50 that has received the WUP signal returns the communication IF to the normal state.
  • the sleep control unit 3011 finally confirms the link up in all the communication IFs 303 of the gateway device 30 and ends the process shown in FIG. 8 (S1210).
  • the sleep control unit 3011 acquires the sleep target of the sleep instruction frame, specifies the communication IF 303 to be the sleep target, and transmits an LPS signal from the communication IF 303. (S1211).
  • the sleep target communication IF 303 is specified by the identifier of the connected device, the communication IF 303 may be specified by referring to the transfer database (not shown). Since the device that has received the LPS signal transmits an ACK signal as a response, the gateway device 30 receives the ACK signal (S1212).
  • the sleep control unit 3011 sets the communication IF 303 that has received the ACK signal to a low power state (S1213). Further, the sleep control unit 3011 reduces the processing power of the control unit 301 according to the number of communication IFs 303 in the power saving state, thereby reducing the power consumption of the control unit 301.
  • the sleep control unit 3011 determines whether or not the sleep end time has come (S1214). If an affirmative determination is made, the process proceeds to S1208, and if a negative determination is made, the process returns to S1214. That is, the sleep control unit 3011 monitors the sleep timeout, and proceeds to S1214 when the timeout occurs.
  • the sleep control unit 3011 sets the communication IF 303 that has been sleeping to a normal state, transmits a WUP signal (S1215), and proceeds to the above-described S1210.
  • the communication interface of another device that has received this WUP signal is returned to the normal state.
  • the sleep control unit 3011 returns the processing capability of the control unit 301 that has been decreased in S1213 to normal.
  • the sleep control unit 3011 determines whether any of the communication IFs 303 has received an LPS signal. When it is determined that any communication IF 303 has received the LPS signal, the process proceeds to S1217, and when it is determined that none of the communication IFs 303 has received the LPS signal, the process illustrated in FIG. In S1217, the sleep control unit 3011 transmits an ACK signal in the communication IF 303 that has received the LPS signal, and sets the communication IF 303 to a low power state (S1218). At this time, the sleep control unit 3011 reduces the processing power of the control unit 301 according to the number of communication IFs 303 in the power saving state, thereby reducing the power consumption of the control unit 301.
  • a WUP signal is received from the adjacent gateway device 30 (S1219).
  • the sleep control unit 3011 activates the corresponding communication IF 303, returns the processing capability of the control unit 301 that has been reduced in S1218 to normal, and proceeds to the above-described S1210 (S1220).
  • the sleep control unit 3011 of the gateway device 30 causes the designated sleep target to sleep for the designated sleep period in accordance with the sleep instruction frame received from the ECU device 50. Further, when the communication IF 303 of the adjacent gateway device 30 transitions to the low power state, the communication IF 303 connected to the communication IF 303 can be set to the low power state by receiving the LPS signal, and further the adjacent gateway When the device 30 transitions to the normal state, it can be returned to the normal state by receiving the WUP signal.
  • the gateway device 30 can take various sleep states. When communication becomes unnecessary in some communication IFs 303 of the gateway device 30, the communication IF 303 may be in a sleep state in which a frame cannot be received but a WUP signal can be received. Further, when one or more communication IFs 303 are set in the sleep state, the processing capability of the frame transfer processing unit 302 or the control unit 301 may be reduced to further reduce power consumption. The reduction in processing capability can be realized, for example, by reducing the operating frequency or reducing the number of operating processor cores.
  • the operation of the frame transfer processing unit 302 may be stopped in addition to setting all the communication IFs 303 to a low power state. Further, the control unit 301 may be set in a low power state within a range where the operation can be started in accordance with the WUP signal.
  • FIG. 9 is a sequence diagram illustrating an example of a sleep operation in the in-vehicle network system S.
  • an operation in the case of starting from mode 0 and changing to mode 1 and then returning to mode 0 is shown.
  • the operation mode is mode 0, and all devices are in the normal state.
  • the ECU 1 detects a trigger to be changed to mode 1.
  • the trigger is, for example, detection of a failure of the ECU 2 by the ECU 1 when a failure occurs in the ECU 2.
  • the mode management unit 5011 determines the mode to be set in the next cycle as the mode 1 based on this trigger.
  • the sleep instruction control unit 5013 determines the gateway device 30 that is a sleep target in the case of mode 1 and the communication IF 303 that is a sleep target. In this example, all ports of the gateway 2F and all ports of the gateway 2R become sleep targets.
  • the ECU 1 determines the operation mode and the sleep range, the ECU 1 notifies the ECU 2 of the determined mode, and shares the mode in which the ECU 1 and the ECU 2 should be operated.
  • the ECU 1 transmits a sleep instruction frame to the gateway 2F and the gateway 2R, which are sleep target gateways. Note that the sleep period specified in this sleep instruction frame is from time t1s to time t1e.
  • the gateway 2F and the gateway 2R perform a sleep control operation based on the received sleep instruction frame.
  • the gateway 2F and the gateway 2R transmit LPS signals from all the communication IFs 303 that are sleep targets.
  • the gateway 2F transmits to the sensor 2A, sensor 2B, gateway 1F, gateway 2R, and ECU2.
  • the gateway 2R transmits to the sensor 2C, the sensor 2D, the gateway 1R, and the gateway 2F.
  • Each device that receives the LPS signal transmits an ACK signal to the transmission source.
  • the gateway 2R since the LPS signal from the gateway 2F to the gateway 2R has been transmitted first, the gateway 2R transmits an ACK signal to the gateway 2F.
  • the sensor device 10 or the ECU device 50 that has received the LPS signal sets the communication interface to a low power state.
  • the sensor device 10 and the ECU device 50 may be in a low power state for portions other than the communication interface.
  • the processing clock frequency of the processor provided in the sensor device 10 or the ECU device 50 may be lowered, or the power is turned off except for the part necessary for starting the device when a WUP signal is received through the communication interface. May be.
  • the gateway 1F that has received the LPS signal sets the communication IF 303 connected to the gateway 2F to the low power state, and the other communication IFs 303 maintain the normal state.
  • the gateway 1R that has received the LPS signal sets the communication IF 303 connected to the gateway 2R to the low power state, and the other communication IFs 303 maintain the normal state. Further, the gateway 2F and the gateway 2R cause the frame transfer processing unit 302 to transition to the sleep state in order to put all the communication IF 303 ports to sleep.
  • a WUP signal is transmitted to all the ports.
  • the sensor device 10 and the ECU device 50 that have received the WUP signal return to the normal state.
  • the gateway 2F and the gateway 2R also return the frame transfer processing unit 302 and the communication IF 303 to the normal state.
  • the predetermined time is the time required to return from the sleep state to the normal state.
  • the reason why the WUP signal is transmitted a predetermined time before is to return to the normal state at the sleep end time.
  • the mode is determined, the device and the port that are the sleep target are determined, the target portion is caused to sleep, and the normal state is restored.
  • mode 1 is set also in the second cycle. Assume that the ECU 1 detects a trigger for changing to mode 0 in the middle of the second period. For example, the trigger is set to mode 1 due to a failure of the ECU 2, but detection of the recovery of the failure of the ECU 2 can be mentioned.
  • the sleep to the gateway device or sensor is executed until the end period, and the operation mode is determined to be mode 0 at the start of the third period, which is the next period.
  • the operation mode suitable for the situation can be periodically set, and the sensor and the gateway device can be set to the sleep state based on the operation mode.
  • the operation mode is set to mode 1 and the gateway 2F and the gateway 2R enter the sleep state.
  • the same operation is possible when the operation mode is set to other modes such as mode 2 and mode 3.
  • the operation mode is set to mode 2
  • the gateway 1R and the gateway 1F are in the sleep state.
  • the gateway 2R enters a sleep state.
  • the communication management unit and the sleep instruction control unit 5013 are mounted on the ECU 1, but the present invention is not necessarily limited thereto.
  • the ECU 1 may be communicable with a device different from the ECU 1.
  • one of the gateway devices for example, a communication management unit and a sleep instruction control unit 5013 may be mounted on the gateway 30-1F.
  • the in-vehicle network system S includes the ECU device 50, the plurality of gateway devices 30, and the plurality of sensor devices 10 that collect surrounding information that is information around the vehicle 100, and is mounted on the vehicle 100.
  • Each of the sensor devices 10 communicates with the ECU device 50 via at least one gateway device 30.
  • the ECU device 50 is connected based on a mode management unit 5011 that determines one of the plurality of operation modes associated with the sensor device 10 to be operated, and an operation mode that the mode management unit 5011 determines.
  • a sleep instruction control unit 5013 that identifies the gateway device 30 in which the sensor device 10 does not operate and causes the gateway device 30 to transition to a low-power state.
  • the gateway device 30 is connected to a plurality of sensor devices 10 that do not operate in any one of the same operation modes without passing through another gateway device 30.
  • the processing capability of the gateway device 30 connected to the sensor device 10 can be reduced, and a transition to a low power consumption state can be made.
  • the connection between the sensor device 10 and the gateway device 30 is designed so as to shorten the wiring length. Therefore, in the example of FIG. 1, the sensor 1C and the sensor 2C are conventionally connected to the gateway 1R, and the sensor 1D and the sensor 2D are connected to the gateway. Connected to 2R. In this case, the gateway 1R and the gateway 2R can stop the frame transfer processing unit 302 only when both the first group and the second group do not operate.
  • the gateway device 30 is connected to the plurality of sensor devices 10 that are not operated in any one of the same operation modes without passing through the other gateway device 30.
  • the gateway 1R is directly connected to the sensors 1C and 1D that do not operate in the same mode 2. Therefore, in mode 2, the gateway 1R does not need to transfer ambient information output from the sensor device 10, and power consumption can be reduced.
  • the gateway device 30 reduces the processing capability according to the number of devices that are connected and do not need communication in a low power state. Even if there are many connected devices, if the number of devices that communicate in a certain operation mode decreases, the processing will not be saturated even if the processing capacity is reduced according to the rate of the phenomenon. Can be reduced.
  • the sleep instruction control unit 5013 determines that the gateway device 30 that does not operate the directly connected sensor device 10 does not need to relay communication with other gateway devices 30. Then, the gateway device 30 stops the communication function.
  • the gateway device 30 can also achieve a certain power saving effect by setting each communication IF 303 to a low power state. However, further power saving effect can be obtained by stopping the communication function itself.
  • the in-vehicle network system S includes a plurality of ECU devices 50.
  • a first group including the first ECU device 50 and the first sensor device 10 and a second group including the second ECU device 50 and the second sensor device 10 are configured.
  • the first sensor device 10 is connected to the first ECU device 50 via the first gateway device 30.
  • the second sensor device 10 is connected to the second ECU device 50 via the second gateway device 30.
  • the mode management unit 5011 determines the operation mode to be the mode 2 in which the degeneration operation using the second group is performed when a failure of the first ECU device 50 is detected, and changes the operation mode when the failure of the second ECU device 50 is detected.
  • the mode 1 is determined in which the degeneration operation using the first group is performed.
  • the sleep instruction control unit 5013 causes the first gateway device 30 to transition to the low power state in mode 2, and causes the second gateway device 30 to transition to the low power state in mode 1.
  • the ECU device 50 is mounted on the vehicle 100 by communicating with the plurality of gateway devices 30 and the plurality of sensor devices 10 that collect the surrounding information that is the surrounding information of the vehicle 100.
  • a mode management unit 5011 that determines one of the operation modes, and the sensor device 10 that is connected operates based on the operation mode that the mode management unit 5011 determines.
  • a sleep instruction control unit 5013 that identifies the gateway device 30 that is not to be used and causes the gateway device 30 to transition to a low power state. Therefore, the ECU device 50 can cause the appropriate gateway device 30 to transition to the low power state.
  • the gateway device 30 collects ambient information, which is information about the surroundings of the vehicle 100, and an ECU device 50 that determines one of the multiple operation modes associated with the sensor device 10 to be operated. It mediates communication with the sensor device 10.
  • the plurality of sensor devices 10 that do not operate in any one of the operation modes are connected to each other without going through another gateway device 30. Therefore, since the plurality of sensor devices 10 connected in a certain operation mode do not operate, the gateway device 30 can transition the communication IF 303 connected to the sensor devices 10 to the low power state, and further, the communication IF 303 in the low power state.
  • the power consumption of the gateway device 30 can be further reduced by reducing the processing capability of the control unit 301 in accordance with the number of the gateways 30.
  • the sleep instruction control unit 5013 of the ECU device 50 transmits a sleep instruction frame to the gateway device 30.
  • indication frame transmitted the LPS signal with respect to the sensor apparatus 10 and ECU apparatus 50, and made the own apparatus change to a sleep state.
  • the ECU device 50 may output a sleep instruction frame to the sensor device 10 or the ECU device 50, and thereafter cause the gateway device 30 to shift to the sleep state.
  • FIG. 10 is a sequence diagram showing an example of the sleep operation in the first modification.
  • FIG. 10 corresponds to FIG. 9 in the first embodiment.
  • the sleep instruction control unit 5013 transmits a sleep instruction frame to the sensor device 10 or the ECU device 50, and the sensor device 10 or ECU 50 that has received the sleep instruction frame transmits to the gateway device 30.
  • the LPS signal is transmitted.
  • the gateway device 30 receives an LPS signal from the connected sensor device 10 or ECU device 50, the gateway device 30 determines whether or not communication with another gateway device is necessary, and transitions to a sleep state when determining that it is unnecessary. Further, when the designated time comes, the sensor device 10 and the ECU device 50 are activated and transmit a WUP signal to the gateway device 30.
  • the gateway device 30 that has received the WUP signal activates another communication IF 303 in a low power state to transmit the WUP signal, and returns all the communication IFs 303 to the normal state.
  • the sleep instruction frame is output to the arithmetic processing unit 102.
  • the arithmetic processing unit 102 outputs the sleep instruction frame to the sleep control unit 1011 based on the destination of the sleep instruction frame.
  • the sleep control unit 1011 analyzes the sleep instruction frame, and acquires the sleep target and the sleep period. In this modification, the control unit 101 manages the time synchronized with the entire in-vehicle network system S.
  • the sleep control unit 1011 When the designated sleep start time is reached, the sleep control unit 1011 outputs an LPS signal to the gateway device 30, and receives an ACK signal from the gateway device 30, the communication IF 105, the arithmetic processing unit 102, And the measurement part 103 is changed to a sleep state.
  • the sensor device 10 When the designated sleep end time is reached, the sensor device 10 outputs a WUP signal to the gateway device 30 and changes the measurement unit 103 and the arithmetic processing unit 102 to a normal state. Also in this modification, based on the set operation mode, the gateway device 30, the sensor device 10, and the ECU device 50 can be set in a low power state.
  • the transmission cycle of the ambient information transmitted by the sensor device 10 is constant regardless of the operation mode.
  • the amount of communication increases compared to other operation modes, and the processing load on the ECU device 50 increases.
  • the number of sensor devices 10 that operate is reduced, so that the amount of information that can be collected is reduced, and the performance of recognizing the surrounding environment of the vehicle 100 may be reduced.
  • the number of sensor devices 10 that operate is reduced, there is a possibility that detection of a trigger for changing the operation mode may be delayed.
  • the transmission cycle of the sensor device 10 used for each operation mode is controlled.
  • the combination of the sensor and ECU to be used is set as the operation mode.
  • the combination of the sensor to be used, the ECU, and the transmission cycle of the sensor to be used is referred to as the operation mode.
  • the same components as those in the first embodiment are denoted by the same reference numerals, and different points will be mainly described. Points that are not particularly described are the same as those in the first embodiment.
  • the second embodiment since it is possible to select more various operation modes, it is possible to set the operation mode more suitable for the situation.
  • the second embodiment will be described focusing on the differences from the first embodiment.
  • the main difference between the two is the operation mode management table and the operation of the sleep instruction control.
  • the sensor device 10 performs the following operations in addition to the operations in the first embodiment. That is, the sensor device 10 receives a transmission cycle instruction frame including information on a transmission cycle to be set and a period for changing the transmission cycle from the sleep instruction control unit 5013 of the ECU device 50. And the sensor apparatus 10 acquires a transmission period from a transmission period instruction
  • the transmission cycle of the frame including the ambient information is the same as the cycle of measuring the sensor value, but the cycle of both may be different.
  • the transmission cycle instruction frame received by the sensor device 10 is input to the management unit 1012 of the control unit 101.
  • the management unit 1012 analyzes the input transmission cycle instruction frame, and acquires a transmission cycle to be set and a period for changing the transmission cycle. Then, the management unit 1012 issues a sampling cycle change instruction to the measurement unit 103 during the designated period.
  • FIG. 11 is a diagram illustrating an example of an operation mode management table according to the second embodiment.
  • the difference from the first embodiment is that only information on whether or not to use each mode is stored in the first embodiment, whereas each mode is used in the second embodiment.
  • FIG. 11 shows that when the sensor 1A is in mode 0, the transmission cycle is T0_1a, and when in mode 1, the transmission cycle is T1_1a.
  • the cycle in which the sensor device 10 transmits the ambient information is constant regardless of the operation mode.
  • the transmission cycle for transmitting the ambient information varies depending on the operation mode. sell.
  • the value of the transmission cycle itself is stored, but instead, the value of the ratio may be stored with reference to the transmission cycle in mode 0.
  • the value of each transmission cycle must be determined in consideration of the maximum communication rate in each section of the in-vehicle network in each mode.
  • the combination of the sensor and the ECU to be used differs depending on the operation mode, but the combination of the sensor and the ECU is the same, but a mode that differs only in the transmission cycle of the sensor may be prepared.
  • mode 4A may be prepared in which the sensor and ECU used are the same as in mode 4, but only the transmission cycle is different.
  • the transmission cycle value is prepared for each sensor and mode.
  • a uniform value may be prepared for each mode. For example, in mode 1, it may be 0.5 times the transmission cycle in mode 0. By setting in this way, the data size of the operation mode management table can be reduced.
  • the processing load on the sensor, the gateway device, and the ECU in the normal mode can be reduced, and the power can be reduced in the normal mode. Further, since the transmission cycle in the low power state is shortened, it can be recognized by the sensor more quickly. Furthermore, it becomes possible to detect a trigger for returning to the normal mode earlier in the low power state.
  • FIG. 12 is a flowchart illustrating the operation of the sleep instruction control unit 5013 according to the second embodiment.
  • the difference from the first embodiment is that after obtaining the operation mode in S1101, the process of determining the transmission cycle of the usage target sensor (S2102), and issuing a transmission cycle instruction frame to the usage target sensor, The transmission process (S2103) is added.
  • the processes after S1104 are the same as those in the first embodiment, and therefore are not shown.
  • the operation mode management table is referred to determine the transmission cycle of the usage target sensor.
  • a transmission cycle instruction frame storing the transmission cycle acquired in S2102 is issued to the usage target sensor and transmitted to the usage target sensor.
  • the sleep instruction control unit 5013 of the ECU device 50 determines the cycle in which the sensor device 10 transmits the ambient information based on the operation mode determined by the mode management unit 5011, and the ambient information at the cycle determined by the sensor device 10. To send. Therefore, the operation mode of vehicle 100 can be increased, more various situations can be handled, and power consumption can be reduced.
  • the surrounding information transmitted by the sensor device 10 to be used is transmitted without duplication regardless of the operation mode.
  • the surrounding information transmitted by the sensor device 10 to be used is transmitted without duplication regardless of the operation mode.
  • frame loss that occurs during the transmission of surrounding information leads to a decrease in recognition performance and a delay in detection of surrounding objects. there is a possibility.
  • the number of duplicate transmissions in the sensor device 10 is controlled. That is, in the second embodiment, the transmission cycle of the usage target sensor is controlled based on the operation mode, whereas in the third embodiment, the number of overlapping transmissions of the usage target sensor based on the operation mode.
  • the third embodiment will be described with a focus on differences from the second embodiment. The main differences are the function of the sensor device 10, the configuration of the operation mode management table, and the operation of the sleep instruction control unit 5013.
  • FIG. 13 is a diagram illustrating an example of an operation mode management table according to the third embodiment.
  • the operation mode management table in the third embodiment is similar to the operation mode management table in the second embodiment, and the value of the transmission cycle is stored in the second embodiment.
  • the value of the number of duplicate transmissions is stored.
  • the number of duplicate transmissions that do not perform duplicate transmission for all sensor devices 10 is 0, and in mode 1 and mode 2, all of the sensor devices 10 that are used have the number of duplicate transmissions 1. It is.
  • the sensor 1C and the sensor 1D have a duplicate transmission number 2
  • the other sensor devices 10 have a duplicate transmission number 1.
  • the sensor device 10 performs the following operations in addition to the operations in the first embodiment. That is, the sensor device 10 receives the duplicate transmission number instruction frame from the sleep instruction control unit 5013 and acquires the duplicate transmission number. Then, the sensor device 10 copies and transmits the information including the surrounding information for the designated number of duplicate transmissions. For example, when the number of duplicate transmissions is 1, one identical frame is added to generate a total of two, which are transmitted to the gateway device. When the sensor device 10 receives the duplicate transmission number instruction frame, the frame is input to the management unit 1012 of the control unit.
  • the management unit 1012 analyzes the input duplicate transmission count instruction frame, and acquires the duplicate transmission count to be set and the period for changing the duplicate transmission count. Then, the management unit 1012 issues an instruction to change the number of duplicate transmissions to the arithmetic processing unit 102 during the designated period.
  • the arithmetic processing unit 102 generates a frame including ambient information based on the signal received from the measurement unit 103. Then, the arithmetic processing unit 102 duplicates the frame based on the designated number of duplicate transmissions and outputs it to the communication IF 105.
  • FIG. 14 is a flowchart illustrating the operation of the sleep instruction control unit 5013 according to the third embodiment. The difference from the first embodiment is that, after executing S1101, after executing S3102 and S3103, the process proceeds to S3104. However, in FIG. 14, the processing after S1104 is the same as that of the first embodiment, and is not shown.
  • the sleep instruction control unit 5013 refers to the operation mode management table based on the operation mode acquired in the process of S1101 and determines the number of overlapping transmissions of the usage target sensor. In S3103, the sleep instruction control unit 5013 issues a duplicate transmission count instruction frame storing the duplicate transmission count acquired in S3102 to the usage target sensor, and transmits the frame to the usage target sensor.
  • the sleep instruction control unit 5013 of the ECU device 50 determines the number of times that the sensor device 10 transmits the surrounding information redundantly based on the operation mode determined by the mode management unit 5011, and the number of times determined by the sensor device 10 Only duplicate the surrounding information. Therefore, in a low power state where the number of sensor devices 10 to be used is small, it is possible to reduce the substantial frame loss rate in the in-vehicle network, and to prevent the detection delay of the trigger for returning to the normal mode or the recognition performance deterioration. Can do.
  • the designated sleep period ends to return to the normal state. I had to wait until.
  • the sensor device 10 used in the low power state fails, it is desirable that the mode can be changed at an early stage because the recognition performance of the surrounding environment may deteriorate.
  • the gateway device 30, the sensor device 10, and the ECU device 50 in the sleep state are activated without waiting for the sleep end time.
  • the communication IF of the gateway device 30 or the sensor device 10 is in a low power state, the frame transmitted by the ECU device 50 cannot be received and cannot be activated. Therefore, when detecting a trigger to return to mode 0, ECU device 50 transmits a sleep release instruction frame to gateway device 30 in the normal state. Then, the gateway device 30 activates the communication IF 303 in a low power state and transmits a WUP signal to activate adjacent devices.
  • the main differences are the sleep control sequence, the sleep instruction control operation, and the sleep control operation of the gateway device 30.
  • FIG. 15 is a sequence diagram illustrating an example of the sleep control operation in the fourth embodiment.
  • the gateway 1R detects a trigger for changing the operation mode from mode 0 to mode 1 and returning to mode 0 during the mode 1 period.
  • the difference from the first embodiment is the operation after the detection of the trigger to mode 0, and only this part will be described.
  • the gateway 1R When the gateway 1R detects the trigger of mode 0, the gateway 1R transmits a frame for notifying the ECU 1 that the trigger has been detected. This frame is transmitted to the ECU 1 via the gateway 1F. Next, when the ECU 1 receives a notification of trigger detection, the ECU 1 transmits a frame for instructing the sleep release to all the gateway devices 30, the ECU device 50, and the sensor device 10.
  • the gateway 1R and the gateway 1F that have received the sleep release instruction frame transmit WUP signals from all the communication IFs 303 in the low power state.
  • the gateway 1R transmits a WUP signal to the gateway 2R
  • the gateway 1F transmits a WUP signal to the gateway 2F.
  • the sleep control unit 3011 shifts the respective components to the normal state, and the WUP is transmitted from the other communication IF 303 in the low power state.
  • Gateway 2R transmits a WUP signal to gateway 1F, sensor 2C, and sensor 2D.
  • the gateway 2F transmits a WUP signal to the ECU 2, the sensor 2A, and the sensor 2B.
  • the device in the sleep state that has received this WUP signal transitions to the normal state.
  • the ECU 1 changes the operation mode to mode 0 and notifies the ECU 2 that it has changed to mode 0. Thereby, the whole vehicle-mounted network system returns to a normal state at the time t1m.
  • the mode is changed to mode 0 at time t1e which is later than time t1m.
  • FIG. 16 is a flowchart illustrating the operation of the sleep instruction control unit 5013 according to the fourth embodiment. Since the processing from S1101 to S1110 is the same as that in the first embodiment, a part of the description and illustration is omitted. In the fourth embodiment, the processes after S1110 are different.
  • the sleep instruction control unit 5013 waits until the sleep end time after transmitting the sleep instruction frame to the gateway device 30. However, in the fourth embodiment, it is monitored whether a trigger for returning to mode 0 is detected at a time before the sleep end time (S4112). If the sleep instruction control unit 5013 does not detect the trigger until the sleep end time, the sleep instruction control unit 5013 ends the process. When the sleep instruction control unit 5013 detects a trigger, the sleep instruction control unit 5013 transmits a sleep release instruction frame to all the activated gateway devices 30 (S4113) and ends the process.
  • the detection of the trigger for returning to mode 0 may be performed directly by the ECU 1 or may be detected by another device and notified to the ECU 1 and detected by the ECU 1.
  • each gateway device 30 may transmit the frame. In that case, the gateway device 30 has a function of transmitting a sleep release instruction frame.
  • FIG. 17 is a flowchart illustrating the processing of the sleep control unit 3011 in the fourth embodiment.
  • the difference from the flowchart of FIG. 8 shown in the first embodiment is that S4208 is executed if a negative determination is made in S1207, and S4216 and S4217 are executed if a negative determination is made in S1215. Explanation and illustration of the same processing as in the first embodiment is omitted.
  • the sleep control unit 3011 determines whether it is a sleep time-out when all ports are set to sleep in S1206 (S1207). If the sleep control unit 3011 determines that the time-out has not occurred, the sleep control unit 3011 determines whether or not a WUP signal has been received (S4208).
  • the sleep control unit 3011 determines whether or not a sleep timeout has occurred when a part of the ports are caused to sleep in S1213 (S1214). If the sleep control unit 3011 determines that the time-out has not occurred, the sleep control unit 3011 determines whether a WUP signal or a sleep release frame has been received (S4216). To do. The reason why the wake-up frame is transmitted here is to notify other devices connected to the communication interface in the normal state that the wake-up should be canceled and to return the entire in-vehicle network to the normal state. Next, the sleep control unit 3011 proceeds to S1215. Since the subsequent processing is the same as that of the first embodiment, description thereof is omitted.
  • the sleep instruction control unit 5013 detects the trigger to the operation mode in which no device is in the power saving state.
  • the signal is output and the gateway device 30 and the sensor device 10 receive the WUP signal
  • the low power state ends.
  • the gateway device 30 receives the sleep release instruction frame
  • the gateway device 30 can start up the device without waiting for the sleep end time, and transmits a WUP signal or a sleep release frame to another device to propagate the sleep release instruction. Can be made.
  • the operation mode is set at a constant cycle. Therefore, the length of time for which all the operation modes continue is the same. However, considering the time when each device actually transitions to the sleep state after the ECU device 50 transmits the sleep instruction frame and the time when the device transitions from the sleep state to the normal state, in order to increase the power consumption reduction effect, It is desirable that the operation mode in the power state is longer than the operation mode that is not in the low power state. Therefore, in the fifth embodiment, the length of the sleep period specified by the sleep instruction frame is set based on the newly set operation mode.
  • the third embodiment will be described with a focus on differences from the first embodiment. The main difference is the operation of sleep instruction control.
  • FIG. 18 is a flowchart illustrating the operation of the sleep instruction control unit 5013 according to the fifth embodiment.
  • the difference from the first embodiment is that after acquiring the operation mode in S1101, the length of the period of the next operation mode is determined (S1101P), and then the process proceeds to S1102.
  • the sleep instruction control unit 5013 refers to a table (not shown) and adopts a predetermined period length for each operation mode. Since the sleep instruction control unit 5013 determines the sleep period based on the length of the period of the operation mode to be executed next, the sleep instruction control unit 5013 determines the length of time to shift to the low power state for each operation mode. Then it can be paraphrased.
  • the sleep instruction control unit 5013 determines the length of time during which the gateway device 30 is shifted to the low power state based on the operation mode determined by the mode management unit 5011. Therefore, the effect of reducing power consumption can be enhanced.
  • the following problem occurs when communication relay is required. there were. That is, since the gateway device 30 needs to continue the operation of the frame transfer processing unit 302, the frame transfer processing unit 302 cannot be stopped, which hinders further reduction in power consumption. Therefore, in the sixth embodiment, when the operation mode is changed, the communication path between the sensor device 10 and the ECU device 50 is changed, thereby further reducing power consumption.
  • FIG. 19 is a flowchart illustrating the operation of the sleep instruction control unit 5013 according to the sixth embodiment. The description and illustration of the same processing as in the first embodiment will be omitted. The following processing is added between S1103B and S1110 in the first embodiment.
  • the sleep instruction control unit 5013 determines whether there is a gateway device 30 that performs only the relay processing (S6110).
  • the gateway device 30 that performs only the relay processing is a gateway device 30 that relays communication of other gateway devices 30 although the connected sensor device 10 and ECU device 50 are not used in the next operation mode. .
  • the sleep instruction control unit 5013 proceeds to S6111 if affirmative determination is made in S6110, and proceeds to S1110 if negative determination is made.
  • step S6111 the sleep instruction control unit 5013 identifies a sensor that communicates with the corresponding gateway device 30 and its destination (S6111).
  • step S6112 the sleep instruction control unit 5013 determines whether there is an alternative communication path that does not pass through the gateway to the sensor and the destination (S6112). However, the presence / absence of an alternative communication path considers the communication band, not the simple determination of the presence / absence of a path. If the sleep instruction control unit 5013 determines that there is no alternative communication path, the process proceeds to S1110, and if it determines that there is an alternative path, the process proceeds to S6113.
  • the sleep instruction control unit 5013 determines the change contents of the transfer database built in the gateway device 30 so as to use the alternative communication path determined to exist in S6112. Then, the sleep instruction control unit 5013 transmits a transfer database change instruction to the corresponding gateway device 30 (S6113). In response to this, the sleep instruction control unit 5013 updates the communication path management table managed by each ECU device 50 and proceeds to S1110. Since the processing after S1110 is the same as that of the first embodiment, the description thereof is omitted.
  • the communication management unit 3012 performs the following operation in addition to the operation according to the first embodiment. That is, when the communication management unit 3012 receives a control frame representing a transfer database change instruction from the sleep instruction control unit 5013, the communication management unit 3012 changes the gateway transfer database stored in the gateway device 30 in accordance with the instruction.
  • Redundant wiring is provided so that there are a plurality of paths connecting the sensor device 10 and the ECU device 50.
  • the sleep instruction control unit 5013 relays communication between the gateway device 30 that does not require sensor relay and another gateway device 30. So that the communication path between the sensor device 10 and the ECU device 50 is set. Therefore, it is possible to change the communication path so as to eliminate the gateway device 30 that performs only the relay processing, and determine the sleep target when the changed communication path is reached.
  • the sensor device 10 is connected to a single gateway device 30.
  • each sensor device 10 is connected to a plurality of gateway devices 30. With this configuration, the sensor device 10 can transmit ambient information to the ECU device 50 via another gateway device 30 even if a gateway device 30 fails.
  • the seventh embodiment will be described focusing on differences from the first embodiment. The main differences are the configuration of the in-vehicle network system and the operation of sleep instruction control.
  • FIG. 20 is a configuration diagram of the in-vehicle network system S according to the seventh embodiment.
  • each sensor device 10 is connected to two gateway devices 30.
  • the sensor 1C is connected to the gateway 1R and the gateway 2R. Therefore, communication between the sensor and the ECU can be maintained even if any one of the gateway devices 30 breaks down.
  • the sensor device 10 includes only one communication IF 105. However, in the seventh embodiment, the sensor device 10 includes two communication IFs 105.
  • the sensor device 10 performs the following operation in addition to the operation in the first embodiment.
  • the sensor device 10 receives from the ECU device 50 a transmission port instruction frame including information on a transmission port for outputting ambient information and information on a period for changing the transmission port. Then, the transmission port instruction frame is analyzed to identify the transmission port, and the surrounding information is output from the designated transmission port.
  • the frame is input to the management unit 1012 of the control unit 101.
  • the management unit 1012 analyzes the input transmission port instruction frame, and acquires a transmission port for outputting the surrounding information and a period for changing the transmission port. Then, the management unit 1012 outputs a transmission port change instruction to the arithmetic processing unit 102 and the communication IF 105 during the designated period.
  • the arithmetic processing unit 102 generates a frame including ambient information based on the signal received from the measurement unit 103, and outputs the frame to the communication IF 105 corresponding to the designated transmission port.
  • the transmission port that outputs a frame including ambient information may be one of the two communication IFs 105 or both.
  • the arithmetic processing unit 102 duplicates the frame and outputs it to the communication IF 105 corresponding to each transmission port. In this case, since the same surrounding information is transmitted from the sensor device 10 to the ECU device 50 via two different routes, the ECU device 50 performs processing for eliminating duplication of frames received from a plurality of routes. Do further.
  • FIG. 21 is a flowchart showing the operation of the sleep instruction control unit 5013 in the seventh embodiment.
  • the sleep instruction control unit 5013 acquires the operation mode (S1101), and determines the transmission port of the usage target sensor (S7101). For example, the transmission port of the sensor 1C is both the gateway 1R and the gateway 2R in the mode 0, and only the gateway 1R in the mode 1.
  • the sleep instruction control unit 5013 issues a transmission port instruction frame, and transmits the control frame to the use target sensor (S7103).
  • the sleep instruction control unit 5013 proceeds to S1102, and thereafter performs the same processing as in the first embodiment.
  • the sleep instruction control unit 5013 does not consider all the connected sensor devices 10 in the determination of S1104, but only the sensor device 10 that transmits the surrounding information to the gateway device 30 in the operation mode. Consider. Therefore, even when the sensor device 10 is connected to a plurality of gateway devices 30, the gateway device 30 can be shifted to the sleep state.
  • the gateway 2R can determine that all the connected sensor devices 10 are out of use for the following reason.
  • the sensor 2C and the sensor 2D are not used in mode 1.
  • the sensor 1C and the sensor 1D are out of consideration because, in the mode 1, the surrounding information is output only to the gateway 1R and not to the gateway 2R according to the instruction from the sleep instruction control unit 5013. Therefore, the gateway 2R can determine that all the connected sensor devices 10 are not used.
  • the sensor device 10 is directly connected to two or more gateway devices 30, and the sleep instruction control unit 5013 designates the transmission destination of ambient information to the sensor device 10 based on the operation mode determined by the mode management unit 5011. .
  • the sensor apparatus 10 which transmits surrounding information with respect to the gateway apparatus 30 in the operation mode used as object is considered. Even when the sensor device 10 is connected to a plurality of gateway devices 30, the gateway device 30 can be shifted to the sleep state. As a result, it is possible to achieve both ensuring of communication path redundancy and reduction of power consumption.
  • the gateway 2R always receives not only the second group of sensor devices 10 but also the neighboring information of the first group of sensor devices 10 from the adjacent gateway device 30. Therefore, it is not possible to transition to the sleep state.
  • the sleep instruction control unit 5013 transmits the transmission port instruction frame to the gateway device 30 so that the gateway device 30 outputs only to one of the routes. In this way, for example, when the mode 1 is set, the gateway 2R does not receive the neighboring information of the first group around the gateway device 30 and can therefore transition to the sleep state.
  • FIG. 22 an eighth embodiment of the in-vehicle network system S will be described.
  • the same components as those in the first embodiment are denoted by the same reference numerals, and different points will be mainly described. Points that are not particularly described are the same as those in the first embodiment.
  • the eighth embodiment will be described with a focus on differences from the first embodiment. The main difference is the functional configuration of the gateway device.
  • one physical gateway device 30 functions as one gateway device 30 as it is, one physical gateway device 30 is one logical gateway. It was functioning as a device.
  • one physical gateway device 30 functions as two logical gateway devices.
  • one physical gateway device 30 may function as three or more logical gateway devices.
  • the gateway 1R and the gateway 2R in the first embodiment are realized by a single gateway device 30, and the gateway 1F and the gateway 2F are realized by another single gateway device 30.
  • FIG. 22 is a functional configuration diagram of the gateway device 30A according to the eighth embodiment.
  • the gateway device 30A includes a control unit 301, a first logical gateway 30A-1, and a second logical gateway 30A-2.
  • Each logical gateway includes a communication IF 303 and a frame transfer processing unit 302.
  • a communication IF 303-4 and a communication IF 303-7 are connected for communication between the first logical gateway 30A-1 and the second logical gateway 30A-2.
  • Each communication IF 303 of the first logical gateway 30A-1, the frame transfer processing unit 302-1 of the first logical gateway 30A-1, each communication IF 303 of the second logical gateway 30A-2, and the second logical gateway 30A-2 The frame transfer processing unit 302-2 can transition to the sleep state independently. Therefore, the communication IF 303 and the frame transfer processing unit 302 of the gateway device 30 in the first embodiment are shifted to the sleep state, and the entire logical gateway of the gateway device 30A in the eighth embodiment is The transition to the sleep state corresponds, and in the eighth embodiment, the power consumption can be reduced as in the first embodiment. Further, when a sleep instruction frame is received from the ECU 1, it is received by the sleep control unit 3011 of the control unit 301 as in the first embodiment, and processing is performed in accordance with the instruction.
  • Two or more gateway devices 30 included in the plurality of gateway devices 30 are logically configured and realized by one hardware device. According to the eighth embodiment, even when a plurality of logical gateway devices are configured in one physical gateway device 30A, the sensor device 10 and the ECU device 50 that are not used in a specific operation mode are used. The connected logical gateway can be shifted to the sleep state. In addition, even if you want to change the grouping of each sensor by rewriting the program or logic circuit that implements the logical gateway, the logical gateway that is the connection destination of each sensor can be changed without changing the cable connection between the sensor and gateway. Can be changed.
  • a wiring switching unit capable of dynamically switching the wiring may be provided.
  • the wiring switching unit can dynamically change the correspondence between input and output based on a manual switch or an instruction from the control unit 301. According to this modification, the connection destination can be easily changed, and the logical gateway can be easily shifted to the sleep state according to the situation.
  • the logic gateway according to the eighth embodiment may be configured by a dynamically rewritable logic circuit, for example, an FPGA (Field Programmable Gate Array). According to this modification, the connection destination switching function can be incorporated into the logic circuit.
  • FPGA Field Programmable Gate Array
  • DESCRIPTION OF SYMBOLS 10 ... Sensor apparatus 30 ... Gateway apparatus 50 ... ECU apparatus 100 ... Vehicle 101 ... Control part 102 ... Arithmetic processing part 103 ... Measurement part 104 ... Internal bus 105 ... Communication interface 301 ... Control part 302 ... Frame transfer process part 501 ... Control part 502 ... Arithmetic processing unit 1011 ... Sleep control unit 1012 ... Management unit 3011 ... Sleep control unit 3012 ... Communication management unit 5011 ... Mode management unit 5012 ... Communication management unit 5013 ... Sleep instruction control unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mechanical Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

車載ネットワークシステムは、電子制御装置、複数のゲートウェイ装置、および車両の周囲の情報である周囲情報を収集する複数のセンサ装置を備え車両に搭載される車載ネットワークシステムであって、センサ装置のそれぞれは、少なくとも1つのゲートウェイ装置を介して電子制御装置と通信を行い、電子制御装置は、稼働させるセンサ装置と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部と、モード管理部が決定する運転モードに基づき、接続されるセンサ装置が稼働しないゲートウェイ装置であるセンサ中継不要ゲートウェイ装置を特定し、センサ中継不要ゲートウェイ装置を処理能力が低下した低電力状態に遷移させるスリープ指示制御部とを備え、ゲートウェイ装置はいずれかの同一の運転モードにおいて稼働しない複数のセンサ装置と他のゲートウェイ装置を介さずに接続される。

Description

車載ネットワークシステム、電子制御装置、ゲートウェイ装置
 本発明は、車載ネットワークシステム、電子制御装置、およびゲートウェイ装置に関する。
 自動車においては、自動運転の高度化とともに車載に搭載するセンサ数、センサ種別が増大している。また、自動運転の高信頼化を図るために、自動運転用電子制御装置の冗長化に加え、異種のセンサを設けて冗長化することが検討されており、センサ数、センサ種別が増加すると考えられる。また、センサの性能の向上とともにするセンサが送信するデータ量も増加傾向にある。このようにセンサ数、センサ種別の増加にともない、多数のセンサやアクチュエータと電子制御装置との配線長、配線数が増加するため、車載ネットワークシステムでは、配線をシンプルにするため、センサ、アクチュエータ、電子制御装置をゲートウェイで集線し、ゲートウェイがバックボーンネットワークに接続されるネットワーク構成へ移行すると考えられる。また、このようにセンサ数、センサ種別、センサあたりの通信量の増加とともに、車載ネットワークでの帯域が増大するため、車載ネットワークでの消費電力の増大が懸念される。さらに、環境負荷の低減や、車両の燃費向上という観点からも車載ネットワークの低消費電力化が望まれる。
 特許文献1には、自車両周辺の物体を検出するセンシング機器と、前記センシング機器の計測結果を収集し、必要に応じて前記センシング機器の動作状態の切り換えを指示する電子制御ユニットと、前記センシング機器と前記電子制御ユニットとの間で信号を送受信するためのバス型ネットワークと、を備え、前記センシング機器は、通常の動作を行う通常状態での動作状態と、消費電力を削減する省電力状態での動作状態をとり得るように構成され、前記電子制御ユニットは、前記センシング機器の前記動作状態を管理するセンシング機器動作状態管理部を備え、前記センシング機器動作状態管理部は、前記センシング機器から取得したセンシング結果から、自車両の周辺環境を認識する周辺環境認識処理部と、前記周辺環境認識処理部の認識結果に基づいて、前記通常状態での動作状態にて動作中の前記センシング機器を前記省電力状態での動作状態へ移行させるか否か、又は、前記省電力状態での動作状態にて動作中の前記センシング機器を前記通常状態での動作状態へ移行させるか否かを判定し、前記判定に基づいて前記バス型ネットワークを介して前記センシング機器へ動作状態を切り換えるよう指示する動作状態切り換え処理部と、を備え、前記周辺環境認識処理部は、前記センシング機器の計測結果から、自車両周辺に存在する物体の、位置、若しくは速度、又はその双方に関する情報を算出し、前記算出の結果に基づいて、自車両と周辺に存在する物体との相対的な関係を認識し、前記動作状態切り換え処理部は、自車両周辺に存在する物体の相対位置と相対速度が予め定めた閾値を上回った場合には、現在省電力状態での動作状態にある前記センシング機器を通常状態での動作状態に切り換える必要があると判定し、前記バス型ネットワークを介して前記センシング機器へ通常状態での動作状態に切り換えるよう指示し、自車両周辺に存在する物体の数が予め定めた閾値を上回った場合には、現在省電力状態での動作状態にある前記センシング機器を通常状態での動作状態に切り換える必要があると判定し、前記バス型ネットワークを介して前記センシング機器へ通常状態での動作状態に切り換えるよう指示する、ことを特徴とする車両制御装置が開示されている。
日本国特許5701354号 明細書
 特許文献1に記載されている発明では、消費電力の低減が十分でない。
 本発明の第1の態様による車載ネットワークシステムは、電子制御装置、複数のゲートウェイ装置、および車両の周囲の情報である周囲情報を収集する複数のセンサ装置を備え前記車両に搭載される車載ネットワークシステムであって、前記センサ装置のそれぞれは、少なくとも1つのゲートウェイ装置を介して前記電子制御装置と通信を行い、前記電子制御装置は、稼働させる前記センサ装置と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部と、前記モード管理部が決定する運転モードに基づき、接続される前記センサ装置が稼働しない前記ゲートウェイ装置であるセンサ中継不要ゲートウェイ装置を特定し、前記センサ中継不要ゲートウェイ装置を処理能力が低下した低電力状態に遷移させるスリープ指示制御部とを備え、前記ゲートウェイ装置はいずれかの同一の前記運転モードにおいて稼働しない複数の前記センサ装置と他の前記ゲートウェイ装置を介さずに接続される。
 本発明の第2の態様による電子制御装置は、複数のゲートウェイ装置、および車両の周囲の情報である周囲情報を収集する複数のセンサ装置と通信し前記車両に搭載される電子制御装置であって、稼働させる前記センサ装置と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部と、前記モード管理部が決定する運転モードに基づき、接続される前記センサ装置が稼働しない前記ゲートウェイ装置であるセンサ中継不要ゲートウェイ装置を特定し、前記センサ中継不要ゲートウェイ装置を処理能力が低下した低電力状態に遷移させるスリープ指示制御部とを備える。
 本発明の第3の態様によるゲートウェイ装置は、稼働させるセンサ装置と関連付けられた複数の運転モードのうちいずれかの運転モードを決定する電子制御装置と、車両の周囲の情報である周囲情報を収集する複数の前記センサ装置との通信を仲介するゲートウェイ装置であって、いずれかの同一の前記運転モードにおいて稼働しない複数の前記センサ装置と他の前記ゲートウェイ装置を介さずに接続される。
 本発明によれば、消費電力を低減することができる。
車両100に搭載される車載ネットワークシステムSの構成図 センサ装置10の共通する構成を示すブロック図 ゲートウェイ装置30の共通する構成を示すブロック図 ECU装置50の共通する構成を示すブロック図 運転モード管理テーブルの一例を示す図 通信経路管理テーブルの一例を示す図 スリープ指示制御部5013の処理を示すフローチャート スリープ制御部3011の処理を示すフローチャート スリープ動作の一例を示すシーケンス図 変形例1におけるスリープ動作の一例を示すシーケンス図 第2の実施の形態における運転モード管理テーブルの一例を示す図 第2の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第3の実施の形態における運転モード管理テーブルの一例を示す図 第3の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第4の実施の形態におけるスリープ動作の一例を示すシーケンス図 第4の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第4の実施の形態におけるスリープ制御部3011の処理を示すフローチャート 第5の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第6の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第7の実施の形態における車載ネットワークシステムSの構成図 第7の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャート 第8の実施の形態におけるゲートウェイ装置30Aの機能構成図
―第1の実施の形態―  
 以下、図1~図9を参照して、本発明に係る車載ネットワークシステムSの第1の実施の形態を説明する。
(用語の定義)
 本実施の形態では、装置のいずれかの構成要素を消費電力を低減させている状態を「低電力状態」や「スリープ状態」と呼び、消費電力を低減させない状態を「通常状態」と呼ぶ。低電力状態では通常状態に比べて処理能力が低下する。低電力状態とはたとえば、ある構成要素へ電力を全く供給せず動作が停止している状態や、動作を低速にして消費電力を低減している状態である。本実施の形態では、稼動させるECUとセンサの組み合わせを運転モードと呼ぶ。
(車載ネットワークシステムSの構成)
 図1は、車両100に搭載される車載ネットワークシステムSの構成図である。
 車載ネットワークシステムSは、ECU50-1~ECU50-2、ゲートウェイ30-1F,ゲートウェイ30-1R、ゲートウェイ30-2F、ゲートウェイ30-2R、センサ10-1A~センサ10-1D、およびセンサ10-2A~センサ10-2Dを備える。以下では上述したそれぞれのECUを特に区別しない場合にECU装置50と呼び、上述したそれぞれのゲートウェイを特に区別しない場合にゲートウェイ装置30と呼び、上述したそれぞれのセンサを特に区別しない場合にセンサ装置10と呼ぶ。また以下ではそれぞれのセンサ装置10に共通する符号である「10-」を省略して、センサ10-1Aを「センサ1A」と記載する場合がある。また同様にゲートウェイ30-1Rを「ゲートウェイ1R」、ECU50-1を「ECU1」などと表記する場合がある。
 センサ装置10およびECU装置50は2つのグループに分類される。センサ10-1A~10-1D、およびECU50-1は第1のグループに所属し、センサ10-2A~10-2D、およびECU50-2は第2のグループに属する。ゲートウェイ30-1Fおよびゲートウェイ30-1Rはグループ1のセンサ装置10を集線し、ゲートウェイ30-2F、およびゲートウェイ30-2Rはグループ2のセンサ装置10を集線するように接続される。
 図1では、センサ10-1A,センサ10-1B、およびECU50-1がゲートウェイ30-1Fに直接接続され、センサ10-2A,センサ10-2B、およびECU50-2がゲートウェイ30-2Fに直接接続され、センサ10-1Cおよびセンサ10-1Dがゲートウェイ30-1Rに直接接続され、センサ10-2Cおよびセンサ10-2Dがゲートウェイ30-2Rに直接接続される。なお、あるセンサ装置10がゲートウェイ装置30に直接接続されるとは、間に他のゲートウェイ装置30を介在させずに接続することをいう。
 ゲートウェイ装置30同士は、リング状に接続される。具体的には、ゲートウェイ30-1Rとゲートウェイ30-1F間、ゲートウェイ30-1Fとゲートウェイ30-2F間、ゲートウェイ30-2Fとゲートウェイ30-2R間、ゲートウェイ30-2Rとゲートウェイ30-1R間が接続される。ゲートウェイ装置30同士はリング状に接続されているので、いずれかのゲートウェイ間の1箇所が故障して通信不可となっても迂回する経路があるため、省配線かつ高信頼なネットワークが実現される。
 これら2つのグループは、後述する運転モードにおける使用の有無により分類されている。たとえばある運転モードでは第1のグループの機器のみが使用され、別なあるモードでは第2のグループの機器のみが使用される。またそれぞれのセンサ装置10は、車両100の周囲の情報を収集する。収集する情報によりその取り付け場所は制限されるので、それぞれのセンサ装置10の車両100内での設置位置が制限される。たとえばセンサ10-1Aが車両100の左前方を撮影するカメラである場合は、センサ10-1Aは車両100の左前方に設置される。
 ゲートウェイ装置30は、車両100におけるエリアも考慮して配置される。たとえば同じ第1のグループに属する2つのゲートウェイ装置30は、車両100の前方にゲートウェイ30-1Fが、車両100の後方にゲートウェイ30-1Rが配置される。これにより、車載ネットワークの配線を長くせずに、グループ毎に分けてセンサ装置10とゲートウェイ装置30間を接続することが可能である。
 またグループ分けを縮退動作を基準として決定することで、ECU1やECU2、ECU1と第1グループのセンサ装置10をつなぐゲートウェイ装置30、ECU2と第2のグループのセンサ装置10をつなぐゲートウェイ装置のいずれかが故障しても、縮退動作が可能となる。この場合は、ECU50-1が主体となって動作する縮退動作で用いるセンサ装置10を第1のグループとし、ECU50-2が主体となって動作する縮退動作で用いるセンサ装置10を第2のグループとする。またこの場合は、車載ネットワークの高信頼化という利点を有する。
(通信)
 車載ネットワークシステムSの通信について説明する。それぞれのセンサ装置10が取得したセンサ情報は、所定の通信規格に従った形式にてゲートウェイ装置30に送信される。これらのセンサ情報は1つ以上のゲートウェイ装置30を介してECU1またはECU2に送信される。ただしセンサ情報がECU1とECU2の両方に送信されてもよい。
 第1のグループに属するセンサを利用しない場合には、第1のグループに属するセンサのセンサ情報をECUに伝達する役割を有するゲートウェイ30-1Fおよびゲートウェイ30-1Rは、他の役割を有しなければ一時的な動作停止、すなわちスリープが可能である。同様に、第2のグループに属するセンサを利用しない場合には、第1のグループに属するセンサ装置10のセンサ情報をECU装置50に伝達する役割を有するゲートウェイ30-2Fおよびゲートウェイ30-2Rは他の役割を有しなければ一時的な動作停止、すなわちスリープが可能である。
 なおスリープはグループ単位でなく、センサ装置10が接続されるゲートウェイ単位でおこなってもよい。たとえば、第1のグループに属するセンサ10-1Cとセンサ10-2Cを利用しない場合には、センサ装置10としてはセンサ10-1Cとセンサ10-2Cのみに接続されるゲートウェイ30-1Rが他の役割を有しない場合に、ゲートウェイ30-1Rをスリープ状態に遷移させることができる。
 このように、ゲートウェイ装置30に異なるグループのセンサ装置10やECU装置50をできるだけ混在しないように接続することにより、以下の利点を有する。すなわち、センサ装置10やECU装置50を一定期間利用しないときに、利用しないセンサ装置10やECU装置50だけでなく、それらが接続されたゲートウェイ装置30の消費電力を低減させることができる。
 なお図1では車載ネットワークシステムSは、センサ装置10を8台、ゲートウェイ装置30を4台、ECU装置50を2台備えるが、車載ネットワークシステムSの構成はこれに限定されない。たとえば図1では、ゲートウェイ装置30間はリング型で接続されているが、ゲートウェイ30-1Rとゲートウェイ30-1Fとの間、ゲートウェイ30-1Fとゲートウェイ30-2Fとの間、ゲートウェイ30-2Fとゲートウェイ30-2Rとの間が接続される構成にしても、グループ毎のセンサ装置10やECU装置50を分けて集線できる。
 また図1では、それぞれのゲートウェイ装置30に2台のセンサ装置10が接続されていたが、それぞれのゲートウェイ装置30ごとに接続されるセンサ装置10やECU装置50の数が異なっていてもよい。また図1では、第1のグループを集線するゲートウェイ装置30の数と第2のグループを集線するゲートウェイ装置30の数はともに2台であったが、異なってもよい。
(センサ装置10の構成)
 図2は、センサ装置10の共通する構成を示すブロック図である。すなわち図1に示したように車載ネットワークシステムSには複数のセンサが含まれ、それらの詳細な構成は必ずしも同一でないが、ここではこれらセンサ装置10に共通する構成を説明する。
 センサ装置10は、制御部101と、演算処理部102と、計測部103と、通信インタフェース(以下、「通信IF」と呼ぶ)105と、を備える。以下では、制御部101、演算処理部102、計測部103、および通信IF105をまとめて「センサ装置10の各構成部」と呼ぶ。センサ装置10の各構成部は内部バス104を介して相互に接続されており、相互に制御用のデータをやりとりすることが可能である。
 制御部101および演算処理部102は、特定用途向けの集積回路、すなわちASIC(application specific integrated circuit)である。ただし制御部101および演算処理部102はCPU,ROM,およびRAMから構成され、ROMに格納されたプログラムをCPUがRAMに展開して実行することにより実現されてもよい。制御部101および演算処理部102の具体的な機能は後述する。
 計測部103は、車両の周辺環境を予め設定されたサンプリング周波数でセンシングする。そして計測部103は、そのセンシングした物理量を電気信号に変換し、その電気信号をデジタル信号に変換して、演算処理部102に出力する。計測部103はたとえば、画像センサやミリ波センサである。
 演算処理部102は、計測部103から取得したデジタル信号に基づいて、各種演算処理を行い、演算した結果(以下、「周囲情報」と呼ぶ)をフレーム形式のペイロード部に格納し、フレームを通信IF105に出力する。また演算処理部102は、通信IF105から入力されたフレームのヘッダ部の記載された宛先がその装置の識別子と一致する場合に、受信したフレームを制御部101に出力する。
 通信IF105は、演算処理部102から取得したフレームを通信規格に従う形式に変換して、接続されたゲートウェイ装置30に出力する。また、ゲートウェイ装置30から入力された信号をフレームに変換して演算処理部102に出力する。通信IF105が接続されるネットワークの規格はたとえば、車載用に工夫されたIEEE802.3や、CAN(登録商標)、CAN-FDなどである。なお図2では通信IF105は一つのみ備えるが、通信の高信頼化のために、複数の通信IF105を備えてもよい。
 通信IF105は物理的な通信インタフェース、たとえばRJ45コネクタと制御回路の組み合わせである。制御部101および演算処理部102は、処理の過程で仮想的な通信の接続口を想定しており、これを「通信ポート」や「ポート」とも呼ぶ。制御部101および演算処理部102が規定する通信ポートと通信IF105の対応はあらかじめ定められている。そのためたとえば、制御部101や演算処理部102がデータを出力する通信ポートを決定すると、データを出力する通信IF105も一意に定まる。
 通信IF105は、接続先であるゲートウェイ装置30とLPS(Low Power Sleep)信号をやりとりして低電力状態に遷移できる。また通信IF105は、低電力状態においてWakeUp(以下、「WUP」)信号を受信すると、低電力状態から通常状態に遷移する。さらに通信IF105は、低電力状態においてWUP信号を受信すると、通信IF105を起動して内部バス104を介してスリープ制御部1011にWUP信号の受信を通知する。また通信IF105は、通常状態にある場合にLPS信号を受信すると、内部バス104を介してスリープ制御部1011にLPS信号の受信を通知する。
 制御部101は、スリープ制御部1011と管理部1012とを備える。スリープ制御部1011は、センサ装置10の各構成部の電力状態を制御する。たとえば、接続されているゲートウェイ装置30から低電力状態への遷移指令であるLPS信号を受信すると、スリープ制御部1011はセンサ装置10の各構成部を低電力状態に遷移させてスリープ状態に移行する。ただしスリープ制御部1011は、低電力状態に遷移させる対象から制御部101を除外してもよい。
 管理部1012は、計測部103および演算処理部102の動作を制御および管理する。たとえば管理部1012は、計測部103に対してセンシングの周期の変更指示を出したり、演算処理部102に対して動作周波数の変更指示を出したりする。なお、スリープ制御部1011と管理部1012は、連携して動作してもよい。
 センサ装置10は以上説明した構成を有するので、通信IF105、演算処理部102、および計測部103を低電力状態にすることが可能である。また、ゲートウェイ装置30から受信した信号に基づいて、通常状態からスリープ状態に変更したり、スリープ状態から通常状態に変更することができる。
(ゲートウェイ装置30の構成)
 図3は、ゲートウェイ装置30の共通する構成を示すブロック図である。ゲートウェイ装置30は、制御部301と、フレーム転送処理部302と、1または複数の通信IF303とを備える。以下では、制御部301と、フレーム転送処理部302と、通信IF303とをまとめて、「ゲートウェイ装置30の各構成部」と呼ぶ。ゲートウェイ装置30の各構成部は、バス304を介して相互に接続されており、相互に制御用のデータをやりとりする。
 制御部301およびフレーム転送処理部302は、ASICである。ただし制御部301およびフレーム転送処理部302はCPU,ROM,およびRAMから構成され、ROMに格納されたプログラムをCPUがRAMに展開して実行することにより実現されてもよい。制御部301およびフレーム転送処理部302の具体的な機能は後述する。
 通信IF303は物理的な通信インタフェース、たとえばRJ45コネクタと制御回路の組み合わせである。制御部301およびフレーム転送処理部302は、処理の過程で仮想的な通信の接続口を想定しており、これを「通信ポート」や「ポート」とも呼ぶ。制御部301およびフレーム転送処理部302が規定する通信ポートと通信IF303の対応はあらかじめ定められている。そのためたとえば、制御部301およびフレーム転送処理部302がデータを出力する通信ポートを決定すると、データを出力する通信IF303も一意に定まる。
 制御部301は、スリープ制御部3011と通信管理部3012とを備える。スリープ制御部3011は、ゲートウェイ装置30の各構成部の電力状態を制御する。スリープ制御部3011は、他のECUから受信したスリープ指示フレームに従って、ゲートウェイ装置30の各構成部を低電力状態に設定する。また、ゲートウェイ装置30が通信IF303を介してLPS信号を受信した場合に、LPS信号を受信した通信IF303を低電力状態にすべきか否かを判断する。
 なお前述のとおりセンサ装置10はLPS信号を受信すると装置全体を低電力状態にするスリープ状態に移行したが、ゲートウェイ装置30はLPS信号を受信してもスリープ状態には移行しない。ゲートウェイ装置30はLPS信号を受信しても、最大限でLPS信号を受信した通信IF303を低電力状態に遷移させるだけである。
 通信管理部3012は、ゲートウェイ装置30が転送するフレームの経路情報や転送先情報、帯域情報、優先度情報、および障害情報などを管理する。
 それぞれの通信IF303は、ECU装置50やセンサ装置10、または他のゲートウェイ装置30と通信する。本実施の形態における通信IF303は1対1接続であり、ゲートウェイ装置30は接続される装置の数と同等以上の通信IF303を備える。たとえば図1においてゲートウェイ30-1Fは、2つのセンサ装置10、2つのゲートウェイ装置30、および1つのECU装置50と接続されるので、ゲートウェイ30-1Fは少なくとも5つの通信IF303を備える。
 通信IF303は、ネットワークを介して受信したデータをフレーム転送処理部302に出力し、また、フレーム転送処理部302から入力されたデータをネットワークに出力する。それぞれの通信IF303が対応する通信規格は特に制限されない。通信IF303はたとえば車載用に工夫されたIEEE802.3や、CAN、CAN-FDなどに対応する。また、それぞれの通信IF303は異なる通信規格に対応してもよい。
 通信IF303は、スリープ制御部3011から低電力状態への遷移指示を受けると、接続先にLPS信号を送信するとともに通常状態から低電力状態に遷移する。通信IF303は、スリープ制御部3011から通常状態への遷移指示を受けると、低電力状態から通常状態に遷移するとともに、接続先にWUP信号を送信する。通信IF303は、低電力状態であってもWUP信号は常に受け付けており、接続先からWUP信号を受信すると通常状態に遷移して制御部301にWUP信号の受信を通知する。通信IF303は、通常状態にある場合にLPS信号を受信すると、制御部301にLPS信号の受信を通知する。
 フレーム転送処理部302は、通信IF303から入力されたフレームを処理対象とし、そのフレームのヘッダ部に格納された宛先から出力すべき通信IF303を決定し、そのフレームをその通信IF303に出力する。フレーム転送処理部302は、通信IF303から入力されたフレームのヘッダ部に格納された宛先がそのゲートウェイ装置30である場合は、フレームのペイロードを制御部301に出力する。フレーム転送処理部302は、たとえばそのゲートウェイ装置30を宛先とするスリープ指示フレームが、通信IF303から入力されると、スリープ指示フレームのペイロードをスリープ制御部3011に出力する。フレーム転送処理部302は、転送データベースを備えており、入力されたフレームの出力先を決めるのに用いられる。フレーム転送処理部302が転送するフレームには、スリープ指示フレームも含まれる。
 それぞれのゲートウェイ装置30は、通信IF303およびフレーム転送処理部302を低電力状態に遷移できる。また、他のECUから受信したスリープ指示フレームを受信して、それに基づいてスリープ制御方法を決めることができる。またゲートウェイ装置30は、通信IF303を介してLPS信号を送信することにより、接続しているセンサ装置10やECUに対して低消費電力状態への遷移を促すことができる。
(ECU装置の構成)
 図4は、ECU装置50の共通する構成を示すブロック図である。ECU装置50は、制御部501と、演算処理部502と、1以上の通信IF503とを備える。以下では、制御部501、演算処理部502、および通信IF503をまとめて「ECU装置50の各構成部」と呼ぶ。ECU装置50の各構成部はバス504を介して相互に接続されており、相互に制御用のデータをやりとりする。
 制御部501および演算処理部502は、ASICである。ただし制御部501および演算処理部502はCPU,ROM,およびRAMから構成され、ROMに格納されたプログラムをCPUがRAMに展開して実行することにより実現されてもよい。制御部501および演算処理部502の具体的な機能は後述する。
 通信IF503は物理的な通信インタフェース、たとえばRJ45コネクタと制御回路の組み合わせである。制御部501および演算処理部502は、処理の過程で仮想的な通信の接続口を想定しており、これを「通信ポート」や「ポート」とも呼ぶ。制御部501および演算処理部502が規定する通信ポートと通信IF503の対応はあらかじめ定められている。
 制御部501は、モード管理部5011、通信管理部5012、およびスリープ指示制御部5013を備える。モード管理部5011は、演算処理部502での演算結果や他のセンサ装置10やECU装置50から受信したデータに基づいて検出した、周辺オブジェクトの数、車両との距離、天候の情報などに基づいて、運転モードを決定する。
 通信管理部5012は、車載ネットワーク全体における通信の経路情報、帯域情報、優先度情報、障害情報などを管理する。経路情報は、たとえば、車載ネットワーク内にあるセンサ装置10やECU装置50がどのECU装置50と通信し、どのゲートウェイ装置30をどの順序で経由して通信しているかの情報をもつ。帯域情報は、たとえば、各センサ装置10やECU装置50と他のECU装置50間で通信するデータ量およびその送信周期などの情報を管理する。優先度情報は、たとえば、各センサ装置10やECU装置50と他のECU装置50間で通信するデータに対する優先度の値を管理する。障害情報は、たとえば、どの通信区間でどのような障害が発生しているかを管理する。通信管理部5012が管理している情報は、スリープ指示制御部5013により利用される。
 スリープ指示制御部5013は、モード管理部5011で決定された運転モードに基づいて、スリープ対象となる機器、およびスリープさせる期間を決定する。そして、スリープ対象とスリープ期間を含むスリープ指示フレームを発行し、演算処理部502および通信IF503を介して送信する。演算処理部502は、通信IF503を介してセンサ装置10や他のECU装置50から入力された情報に基づいて演算を行う。演算処理部502の具体的な演算内容は特に限定されない。演算処理部502の演算結果は、通信IF503を介して他のECUに送信される。
 それぞれの通信IF503は、他のECU装置50やゲートウェイ装置30と通信する。本実施の形態における通信IF503は1対1接続であり、ECU装置50は接続される装置の数と同等以上の通信IF503を備える。通信IF503は、ネットワークを介して受信したデータを演算処理部502や制御部501に出力し、また、演算処理部502や制御部501から入力されたデータをネットワークに出力する。それぞれの通信IF503が対応する通信規格は特に制限されない。通信IF305はたとえば車載用に工夫されたIEEE802.3や、CAN、CAN-FDなどに対応する。また、それぞれの通信IF503は異なる通信規格に対応してもよい。
 このようにECU装置50は、車載ネットワークに接続されているセンサ装置10や他のECUからのデータに基づいて演算を行い、他のECUに演算結果を送信する。またECU装置50は運転モードを決定し、決定した運転モードに基づいてスリープ状態に遷移させる装置および期間を決定する。そしてECU装置50は、スリープ指示フレームをスリープ対象となる装置に送信する。
(運転モード管理テーブル)
 図5は、ECU装置50に格納される運転モード管理テーブルの一例を示す図である。運転モード管理テーブルには、運転モードごとに利用する装置が示される。なお以下では、ある運転モードにおいて利用する装置を「利用対象」の装置と呼び、利用しない装置を「利用対象外」の装置と呼ぶことがある。運転モード管理テーブルはたとえば図5に示すように表形式で表され、行がそれぞれの装置に対応し、列がそれぞれの運転モードに対応する。ただし図5では左端の列には装置のIDが記載され、上端の段にはモードの名称が記載されている。表の各要素は、各運転モードでその装置を利用するか否かを表す値が入力される。図5では利用する場合にはOが記入され、利用しない場合には空欄となっている。
 たとえばモード0では、すべての装置が利用される。モード1では、第1のグループのみ、すなわちECU1とセンサ1A~センサ1Dが利用される。モード2では、第2のグループのみ、すなわちECU2とセンサ2A~センサ2Dが利用される。モード3では、センサ2Cとセンサ2Dを除く機器が利用される。モード4では、ECU1、ECU2、およびセンサ1A~センサ1Dが利用される。 
 モード管理部5011は、たとえば以下のようにモードを選択する。モード管理部5011は、車両の周辺にあるオブジェクトが多い状況、天候が良好でなく多種のセンサによる認識が必要な状況など、他のモードでの対応が不適切な場合にモード0を選択する。モード管理部5011は、自動運転ECU2やそれに接続されたゲートウェイ装置が故障し、自動運転ECU1で縮退動作する場合にモード1を選択する。
 モード管理部5011は、自動運転ECU1やそれに接続されたゲートウェイが故障し、自動運転ECU2で縮退動作する場合にモード2を選択する。モード管理部5011は、車両が認識すべきオブジェクトが比較的少ない高速道におり、車両の周辺のオブジェクトが少ない場合にモード3を選択する。モード管理部5011は、天候がよく周辺の視界が良好で複数種のセンサを利用しなくても認識が可能な場合にモード4を選択する。
(通信経路管理テーブル)
 図6は、ECU50の通信管理部5012に備えられる通信経路管理テーブルの一例を示す図である。通信経路管理テーブルは、送信元、送信先、経由するゲートウェイ装置の項目から構成され、送信元、送信先のペアに対して、その通信で経由するゲートウェイ装置の識別子のリストが記載される。たとえば、センサ1AがECU1にセンサ情報を送信する場合には、ゲートウェイ1Fのみが経由される。また、センサ1AがECU2に送信する場合には、ゲートウェイ1F、2Fの順に経由される。また、センサ2XがECU2に送信する場合には、ゲートウェイ2R、1R、1F、2Fの順に経由される。
 通信管理部5012は通信経路管理テーブルを参照することで、各センサや各ECUが接続されているゲートウェイ装置の特定や、各通信で中継処理に用いられるゲートウェイを特定することができる。たとえば経由するゲートウェイ装置が1つである場合には、送信元端末および送信先端末のいずれもそのゲートウェイ装置に接続されていると判断できる。たとえばセンサ1AからECU1へは経由するゲートウェイ装置がゲートウェイ1Fのみなので、センサ1AおよびECU1のいずれもがゲートウェイ1Fに接続されていると判断できる。
 また経由するゲートウェイ装置が2つの場合には、送信元端末が1つ目のゲートウェイ装置に接続され、送信先端末が2つめのゲートウェイ装置に接続されていると判断できる。また、経由するゲートウェイ装置が3つ以上である場合は、送信元端末が最初のゲートウェイ装置に接続され、送信先端末が最後のゲートウェイ装置に接続され、それ以外のゲートウェイ装置が中継に利用されていると判断できる。たとえばセンサ2XからECU2へは経由するゲートウェイ装置がゲートウェイ2R、ゲートウェイ1R、ゲートウェイ1F、ゲートウェイ2Fの4つなので、センサ2Xが1つ目のゲートウェイ装置であるゲートウェイ2Rに接続され、ECU2が最後のゲートウェイ装置であるゲートウェイ2Fに接続され、ゲートウェイ1Rおよびゲートウェイ1Fが中継に利用されていると判断できる。
(スリープ指示制御部5013のフローチャート)
 図7は、ECU装置50が備えるスリープ指示制御部5013の処理を示すフローチャートである。本実施の形態では運転モードはある一定の時間周期ごとに設定される。運転モードが設定されるとスリープ指示制御部5013により図7に示す処理が実行され、一定の時間が経過すると、すなわち次に運転モードが設定されると再び図7に示す処理が実行される。
 スリープ指示制御部5013は、まずモード管理部5011から次の周期で設定すべき運転モードの番号を取得する(S1101)。次にスリープ指示制御部5013は、取得した運転モードが通常モードすなわちモード0であるか否かを判定する(S1102)。スリープ指示制御部5013は、取得した運転モードが通常モードでないと判断する場合には、S1103に進み、後述するようにスリープ指示を決定するための一連の処理を行う。スリープ指示制御部5013は、取得した運転モードが通常モードであると判断する場合には、スリープさせる機器が存在しないので図7に示す処理を終了する。
 スリープ指示制御部5013は、取得した運転モードが通常モードでないと判断する場合には、運転モード番号および運転モード管理テーブルからその運転モードにおいて利用するセンサ装置10およびECU装置50を特定する(S1103)。たとえばスリープ指示制御部5013は、図5に示す運転モード管理テーブルにおいて、対応する運転モードでOが記載されているセンサ装置10およびECU装置50を抽出すればよい。
 次にスリープ指示制御部5013は、S1103AからS1103Bまでの処理をそれぞれのゲートウェイ装置30を処理対象として実行する。たとえばスリープ指示制御部5013は、1回目はゲートウェイ1Fを処理対象としてS1103AからS1103Bまでの処理を実行し、次にゲートウェイ1Rを処理対象としてS1103AからS1103Bまでの処理を実行し、同様にゲートウェイ2F、ゲートウェイ2Rを処理対象とする。全てのゲートウェイ装置を処理対象として処理が完了するとS1110に進む。
 S1104ではスリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されるセンサ装置10およびECU装置50が全て利用対象外であるか否かを判定する(S1104)。この判定には、まず処理対象のゲートウェイ装置30に接続しているセンサ装置10やECU装置50を、通信経路管理テーブルを用いて特定する。次に、処理対象のゲートウェイ装置30に接続しているセンサ装置10やECU装置50がそれぞれ利用対象か否かを判断する。スリープ指示制御部5013は、接続されたすべてのセンサ装置10やECU装置50が利用対象外であると判断する場合にはS1105に進む。スリープ指示制御部5013は、利用対象となるセンサ装置10やECU装置50が1つ以上あると判断する場合には、S1106に進む。
 たとえば、ゲートウェイ1Fに直接接続されるECU装置50やセンサ装置10は、図6に示す通信経路管理テーブルによれば、ECU1、センサ1A、およびセンサ1Bであり、これらが利用対象であるか否かにより判定すればよい。たとえば運転モードがモード2である場合には、ECU1、センサ1A、およびセンサ1Bはすべて利用対象外であると判定される。
 S1105ではスリープ指示制御部5013は、処理対象のゲートウェイ装置30で中継が必要な利用対象のセンサ装置10またはECU装置50があるか否かを判断する。本ステップの判断は次のように行われる。スリープ指示制御部5013はまず、処理対象のゲートウェイ装置30で中継が必要なセンサ装置10またはECU装置50を特定し、特定したセンサ装置10またはECU装置50が利用対象か否かを判定することで、中継が必要な利用対象のセンサ装置10またはECU装置50があるかを判定できる。たとえば、ゲートウェイ1Fはセンサ2Xの通信を中継する必要があり、運転モードがモード2である場合には、センサ2Xは利用対象外であるため、中継が必要なセンサ装置10またはECU装置50がないと判定される。スリープ指示制御部5013は、処理対象のゲートウェイ装置30で中継が必要な利用対象のセンサ装置10またはECU装置50がないと判断する場合にはS1107に進み、あると判断する場合にはS1108に進む。
 スリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されるセンサ装置10またはECU装置50がすべて利用対象外で、かつ、中継が必要な利用対象センサ装置10またはECU装置50が存在しないと判断する場合には、処理対象のゲートウェイ装置30の全ての通信IF303をスリープ対象として決定する(S1107)。スリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されるセンサ装置10またはECU装置50がすべて利用対象外で、かつ、中継が必要な利用対象のセンサ装置10またはECU装置50が存在すると判断する場合には、センサ装置10やECU装置50が接続されている通信IFをスリープ対象として決定する(S1108)。
 S1104において否定判断された場合にはスリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されているセンサ装置10やECU装置50すべてが利用対象か否かを判断する(S1106)。すべてが利用対象でない、すなわち利用対象外となるセンサ装置10またはECU装置50が1つ以上存在すると判断する場合には、S1109に進む。S1106において否定判断された場合には、スリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されていて、センサ装置10やECU装置50で利用対象外となる通信IFのみをスリープ対象として決定する。S1106において肯定判断された場合にはスリープ指示制御部5013は、処理対象のゲートウェイ装置30に接続されたすべてのセンサ装置10やECU装置50が利用対象であるため、処理対象のゲートウェイ装置30に関連するスリープ対象がないと判断してS1110に進む。
 たとえば図1に示す構成において運転モードがモード2に設定される場合では、ゲートウェイ1F、1R、2F、2RについてS1104からS1109までの処理を行う。S1104からS1109までの処理により、ゲートウェイ1Fおよびゲートウェイ1Rは全ポートがスリープ対象と判断され、ゲートウェイ2Fおよびゲートウェイ2Rはスリープ対象ではないと判断される。
 すべてのゲートウェイ装置30を処理対象としてS1103AからS1103Bまでの処理が実行されると、スリープ対象となるゲートウェイ装置およびポートが決定される。そしてスリープ指示制御部5013は、スリープ対象となるゲートウェイ装置30に対して、スリープ指示フレームを発行し、そのゲートウェイ装置30に送信して(S1110)、図6に示す処理を終了する。スリープ指示フレームには、スリープ対象となる箇所すなわち全ポートか否か、そして全ポートでない場合はスリープ対象のポートを特定する情報、およびスリープの期間すなわちスリープ開始時刻および終了時刻の情報が含まれる。
 スリープ対象のポートはゲートウェイ装置30のポートを一意に指定できればどのような情報でもよい。たとえば、スリープ対象のポートに接続されているセンサ装置10の識別子を用いることができ、センサ装置10の識別子はIEEE802.3を利用している場合にはMACアドレスを使用できる。またMACアドレスを用いる代わりに、ゲートウェイ装置30の物理ポート番号を直接指定してもよい。その場合には、スリープ指示制御部5013が参照する通信経路管理テーブルにおいて、接続されているポート番号を含めて記載する。
 また、それぞれのゲートウェイ装置30にスリープ指示フレームを送信する代わりに、全てのゲートウェイ装置30に単一のスリープ指示フレームを送信してもよい。その場合にはスリープ指示フレームには、前述の情報に加えて対象となるゲートウェイ装置30を特定する情報をさらに含める。
 以上の処理により、スリープ指示制御部5013は、指定された運転モードで低電力状態にさせるべきゲートウェイ装置30やゲートウェイ装置30のポートを特定し、該当するゲートウェイ装置30にスリープ指示を送信することができる。また、ゲートウェイ装置30に接続しているセンサ装置10およびECU装置50がすべて利用対象外でも、そのゲートウェイ装置30が利用対象の他のセンサ装置10などの中継処理に用いられる場合には利用対象のセンサ装置10の通信を維持することができる。
 なお上記では、センサ装置10やECU装置50の通信に用いるデータ通信用のケーブルを介して、ゲートウェイ装置30にスリープ指示フレームを送信していた。しかしデータ通信用のケーブルとは別にスリープ指示フレームを送信するための通信ネットワークを別途用意してもよい。
(ゲートウェイのスリープ制御部3011のフローチャート)
 図8は、ゲートウェイ装置30が備えるスリープ制御部3011の処理を示すフローチャートである。スリープ制御部3011の処理は大きく2つある。第1の処理は、ECU装置50からスリープ指示フレームを受信して行う処理である。第2の処理は、隣接しているゲートウェイ装置30のポートがスリープ状態への移行に伴いLPS信号を出力し、そのLPS信号を受けたポートをスリープさせる処理である。スリープ制御部3011は、スリープ指示制御部5013が動作するごとに図8に示す処理を実行する。
 スリープ制御部3011はまず、スリープ指示フレームの受信有無を確認する(S1201)。スリープ制御部3011は、スリープ指示フレームを受信したと判断する場合にはS1202に進み、S1202からS1215にかけて前述の第1の処理を実行する。スリープ制御部3011は、スリープ指示フレームを受信しなかったと判断する場合には、S1216に進む。
 S1216ではスリープ制御部3011は、通信IF303でLPS信号を受信した否かを判定する(S1216)。LPS信号を受信したと判断する場合には、S1217からS1220にかけて前述の第2の処理を実行する。スリープ制御部3011は、LPS信号を受信しなかったと判断する場合は図8に示す処理を終了する。
 S1202ではスリープ制御部3011は、全ポートがスリープ対象か否かを判断する(S1202)。具体的にはスリープ制御部3011は、受信したスリープ指示フレームに含まれるスリープ対象から判定する。スリープ制御部3011は、全ポートがスリープ対象であると判断する場合にはS1203に進み、一部のポートのみが対象であると判断する場合はS1211に進む。
 S1203ではスリープ制御部3011は、全ポート、すなわち全ての通信IF303からLPS信号を送信させる(S1203)。LPS信号を受信した装置は受信応答であるACK信号を送信するので、そのACK信号をゲートウェイ装置30が受信する(S1204)。次にスリープ制御部3011は、ACK信号を受信した通信IF303を低電力状態に移行させ(S1205)、フレーム転送処理部302を低電力状態にする(S1206)。またS1206ではスリープ制御部3011は、制御部301の処理能力を大きく低下させて制御部301の消費電力を減少させる。
 次にスリープ制御部3011は、スリープ終了時刻になったか否かを判断する(S1207)。スリープ制御部3011は、肯定判断する場合にはS1208に進み、否定判断する場合にはS1207に戻る。すなわち、スリープがタイムアウトになったかを監視し、タイムアウトになったと判断する場合にS1208に進む。S1208ではスリープ制御部3011は、フレーム転送処理部302を起動する。またスリープ制御部3011は、低下させていた制御部301の処理能力を通常に戻す。
 次にスリープ制御部3011は、スリープさせていた全ての通信IF303を通常状態に遷移させ、それらの通信IF303からWUP信号を送信する(S1209)。WUP信号を受信したセンサ装置10やECU装置50は、その通信IFを通常状態に戻す。スリープ制御部3011は、最後にゲートウェイ装置30の全ての通信IF303においてリンクアップを確認し、図8に示す処理を終了する(S1210)。
 S1202において否定判断されるとスリープ制御部3011は、スリープ指示フレームのスリープ対象を取得してスリープ対象となる通信IF303を特定し、その通信IF303からLPS信号を送信する。(S1211)。なお、スリープ対象の通信IF303が接続される装置の識別子で特定される場合には、前述の不図示の転送データベースを参照することで通信IF303を特定すればよい。LPS信号を受信した装置は応答であるACK信号を送信するので、そのACK信号をゲートウェイ装置30が受信する(S1212)。
 次にスリープ制御部3011は、ACK信号を受信した通信IF303を低電力状態にする(S1213)。またスリープ制御部3011は、省電力状態にした通信IF303の数に応じて制御部301の処理能力を低下させて制御部301の消費電力を減少させる。次にスリープ制御部3011は、スリープ終了時刻になったか否かを判断し(S1214)、肯定判断する場合にはS1208に移り、否定判断する場合にはS1214に戻る。すなわちスリープ制御部3011は、スリープのタイムアウトを監視し、タイムアウトになった場合にS1214に進む。
 次にスリープ制御部3011は、スリープさせていた通信IF303を通常状態にし、WUP信号を送信させ(S1215)、前述のS1210に進む。このWUP信号を受信した他の装置の通信インタフェースは、通常状態に戻される。またS1215ではスリープ制御部3011は、S1213において低下させていた制御部301の処理能力を通常に戻す。
 S1201において否定判断されるとスリープ制御部3011は、いずれかの通信IF303がLPS信号を受信したか否かを判断する。いずれかの通信IF303がLPS信号を受信したと判断する場合はS1217に進み、いずれの通信IF303もLPS信号を受信していないと判断する場合は図8に示す処理を終了する。S1217ではスリープ制御部3011は、LPS信号を受信した通信IF303においてACK信号を送信し、その通信IF303を低電力状態にする(S1218)。このときスリープ制御部3011は、省電力状態にした通信IF303の数に応じて制御部301の処理能力を低下させて制御部301の消費電力を減少させる。
 その後、隣接しているゲートウェイ装置のスリープ期間が終了すると、隣接するゲートウェイ装置30からWUP信号を受信する(S1219)。スリープ制御部3011は、WUP信号を受信すると該当する通信IF303を起動し、S1218において低下させていた制御部301の処理能力を通常に戻して前述のS1210に進む(S1220)。
 以上説明した処理によれば、ゲートウェイ装置30のスリープ制御部3011は、ECU装置50から受信したスリープ指示フレームにしたがい、指定されたスリープ対象を、指定されたスリープ期間にわたってスリープさせる。また隣接するゲートウェイ装置30の通信IF303が低電力状態に遷移する際に、LPS信号を受信することで、その通信IF303と接続された通信IF303を低電力状態にすることができ、さらに隣接したゲートウェイ装置30が通常状態に遷移するとWUP信号を受信することで通常状態に戻すことができる。
(ゲートウェイ装置30のスリープ状態の例)
 ゲートウェイ装置30は様々なスリープ状態を取りうる。ゲートウェイ装置30の一部の通信IF303において通信が不要になった際には、その通信IF303を、フレームは受信できないがWUP信号は受信可能なスリープ状態にしてもよい。また、1以上の通信IF303をスリープ状態にする場合に、フレーム転送処理部302や制御部301の処理能力を低下させて消費電力をさらに低減してもよい。処理能力の低下はたとえば、動作周波数を低下させることや、動作させるプロセッサのコアの数を減らすことで実現できる。
 また、すべての通信IF303において通信が不要となった場合には、すべての通信IF303を低電力状態にするのに加えて、フレーム転送処理部302の動作を停止してもよい。また、WUP信号に応じて動作を開始できる範囲で、制御部301を低電力状態にしてもよい。
(スリープ動作のシーケンス)
 図9は、車載ネットワークシステムSにおけるスリープ動作の一例を示すシーケンス図である。この例では、図1に示した車載ネットワークの構成において、モード0の状態から始まり、モード1に変更した後に、モード0に戻る場合の動作を示す。図9では図示上から下に向かって時間が経過している。図9の上部に示す初期状態において、運転モードがモード0であり、すべての装置が通常状態にある。
 まずECU1がモード1に変更すべきトリガを検出する。トリガはたとえば、ECU2において故障が発生し、ECU1によるECU2の故障の検出である。次にECU1において、モード管理部5011が本トリガに基づいて、次の周期で設定すべきモードをモード1に決定する。そして、スリープ指示制御部5013が、モード1の場合でのスリープ対象となるゲートウェイ装置30、およびスリープ対象となる通信IF303を決定する。この例では、ゲートウェイ2Fの全ポートとゲートウェイ2Rの全ポートがスリープ対象となる。
 次に、ECU1が運転モードとスリープ範囲を決定すると、ECU1はECU2に対して決定されたモードを通知し、ECU1とECU2で動作させるべきモードを共有する。次に、ECU1がスリープ対象のゲートウェイであるゲートウェイ2Fとゲートウェイ2Rにスリープ指示フレームを送信する。なおこのスリープ指示フレームにおいて指定されるスリープ期間は、時刻t1sから時刻t1eまでである。
 次に、ゲートウェイ2Fやゲートウェイ2Rは、受信したスリープ指示フレームに基づいてスリープ制御の動作を行う。スリープ開始時刻t1sになると、ゲートウェイ2Fおよびゲートウェイ2Rは、スリープ対象である全ての通信IF303からLPS信号を送信する。ゲートウェイ2Fは、センサ2A、センサ2B,ゲートウェイ1F、ゲートウェイ2R、ECU2に対して送信する。ゲートウェイ2Rは、センサ2C,センサ2D、ゲートウェイ1R,ゲートウェイ2Fに送信する。LPS信号を受信した各装置は、送信元にACK信号を送信する。なおここでは、ゲートウェイ2Fからゲートウェイ2RへのLPS信号が先に送信されたため、ゲートウェイ2Rはゲートウェイ2FにACK信号を送信する。
 次に、LPS信号を受けたセンサ装置10やECU装置50は、通信インタフェースを低電力状態にする。また、センサ装置10やECU装置50は、通信インタフェース以外の部分についても低電力状態にしてよい。たとえば、センサ装置10やECU装置50が備えているプロセッサの処理のクロック周波数を下げてもよいし、通信インタフェースでWUP信号を受信した際に装置を起動するのに必要な部分以外を電源OFFにしてもよい。
 LPS信号を受けたゲートウェイ1Fは、ゲートウェイ2Fと接続される通信IF303のみ低電力状態とし、他の通信IF303は通常状態を維持する。LPS信号を受けたゲートウェイ1Rは、ゲートウェイ2Rと接続される通信IF303のみ低電力状態とし、他の通信IF303は通常状態を維持する。また、ゲートウェイ2Fおよびゲートウェイ2Rは、全ての通信IF303ポートをスリープさせるため、フレーム転送処理部302もスリープ状態に遷移させる。
 ゲートウェイ2Fおよびゲートウェイ2Rは、スリープ終了時刻である時刻t1eより所定の時間前の時刻になったことを検出すると、すべてのポートに対してWUP信号を送信する。WUP信号を受信したセンサ装置10やECU装置50は通常状態に戻る。また、ゲートウェイ2Fおよびゲートウェイ2Rも、フレーム転送処理部302および通信IF303を通常状態に戻す。ここで、所定の時間は、スリープ状態から通常状態に戻すのに要する時間である。所定の時間だけ前にWUP信号を送信するのは、スリープ終了時刻には通常状態に戻せるようにするためである。以上で、第1の周期における、モードを決定し、スリープさせ、スリープが終了して元の状態に戻す一連の処理が完了する。
 第2の周期においても、第1の周期での処理と同様に、モードを決定し、スリープ対象となる装置、ポートを決定し、対象箇所をスリープさせ、通常状態に戻す。第2の周期においてもモード1が設定されるとする。第2の周期の途中において、ECU1がモード0に変更するためのトリガを検出するとする。このトリガはたとえば、ECU2の故障によりモード1に設定していたが、ECU2の故障が復旧したことの検出が挙げられる。第1の実施例では、ゲートウェイ装置やセンサへのスリープは終了期間まで実行し、次の周期である第3の周期の開始において、運転モードがモード0に決定される。
 以上のシーケンス動作によれば、周期的にその状況に適した運転モードに設定し、その運転モードに基づいてセンサ及びゲートウェイ装置をスリープ状態に設定することができる。
 上記のシーケンスの動作例では、運転モードがモード1に設定されゲートウェイ2F、ゲートウェイ2Rがスリープ状態になる場合について述べた。運転モードがモード2、モード3など他のモードに設定される場合においても同様に動作が可能である。たとえば、運転モードがモード2に設定される場合には、ゲートウェイ1R,ゲートウェイ1Fがスリープ状態になる。また、たとえば、運転モードがモード3に設定される場合には、ゲートウェイ2Rがスリープ状態になる。
 以上の説明においては、通信管理部やスリープ指示制御部5013をECU1に搭載したが、必ずしもこれに限定されない。たとえば、ECU1とは別の装置でECU1と通信可能としてもよい。また、ゲートウェイ装置の一つ、たとえば、通信管理部やスリープ指示制御部5013をゲートウェイ30-1Fに搭載してもよい。
 上述した第1の実施の形態によれば、次の作用効果が得られる。
(1)車載ネットワークシステムSは、ECU装置50、複数のゲートウェイ装置30、および車両100の周囲の情報である周囲情報を収集する複数のセンサ装置10を備え車両100に搭載される。センサ装置10のそれぞれは、少なくとも1つのゲートウェイ装置30を介してECU装置50と通信を行う。ECU装置50は、稼働させるセンサ装置10と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部5011と、モード管理部5011が決定する運転モードに基づき、接続されるセンサ装置10が稼働しないゲートウェイ装置30を特定し、そのゲートウェイ装置30を低電力状態に遷移させるスリープ指示制御部5013とを備える。ゲートウェイ装置30はいずれかの同一の運転モードにおいて稼働しない複数のセンサ装置10と他のゲートウェイ装置30を介さずに接続される。
 そのためいずれかのセンサ装置10が稼働しない運転モードにおいて、そのセンサ装置10に接続されたゲートウェイ装置30の処理能力を低下させ、低消費電力状態に遷移させることができる。一般にセンサ装置10とゲートウェイ装置30の接続は、配線長が短くなるように設計されるので、図1の例では従来はセンサ1Cとセンサ2Cがゲートウェイ1Rに接続され、センサ1Dとセンサ2Dがゲートウェイ2Rに接続された。この場合は第1グループと第2グループの両方が稼働しない場合にしかゲートウェイ1Rやゲートウェイ2Rはフレーム転送処理部302を停止させることができなかった。
 しかし本実施の形態ではゲートウェイ装置30はいずれかの同一の運転モードにおいて稼働しない複数のセンサ装置10と他のゲートウェイ装置30を介さずに接続される。たとえばゲートウェイ1Rは、同一のモード2において稼働しないセンサ1Cおよびセンサ1Dと直接接続される。そのためモード2ではゲートウェイ1Rはセンサ装置10が出力する周囲情報を転送する必要がなく、消費電力を低減させることができる。
(2)ゲートウェイ装置30は、低電力状態において、接続されておりかつ通信が不要な装置の数に応じて処理能力を低下させる。接続されている機器の数が多くても、ある運転モードにおいて通信を行う機器が減少する場合は、その現象の割合に応じて処理能力を低減しても処理が飽和しないため、消費電力をさらに低減させることができる。
(3)スリープ指示制御部5013は、モード管理部5011が決定する運転モードに基づき、直接接続されるセンサ装置10が稼働しないゲートウェイ装置30が他のゲートウェイ装置30との通信の中継が不要と判断すると、そのゲートウェイ装置30に通信機能を停止させる。ゲートウェイ装置30は、それぞれの通信IF303を低電力状態にすることでも一定の省電力効果が認められる。しかし通信機能そのものを停止することでさらなる省電力効果が得られる。
(4)車載ネットワークシステムSには、ECU装置50が複数含まれる。第1のECU装置50および第1のセンサ装置10を含む第1グループと、第2のECU装置50および第2のセンサ装置10を含む第2グループとが構成される。第1のセンサ装置10は第1のゲートウェイ装置30を経由して第1のECU装置50に接続される。第2のセンサ装置10は第2のゲートウェイ装置30を経由して第2のECU装置50に接続される。モード管理部5011は、第1のECU装置50の不具合を検出すると運転モードを第2グループを用いた縮退動作を行うモード2に決定し、第2のECU装置50の不具合を検出すると運転モードを第1グループを用いた縮退動作を行うモード1に決定する。スリープ指示制御部5013は、モード2では第1のゲートウェイ装置30を低電力状態に遷移させ、モード1では第2のゲートウェイ装置30を低電力状態に遷移させる。
(5)ECU装置50は、複数のゲートウェイ装置30、および車両100の周囲の情報である周囲情報を収集する複数のセンサ装置10と通信し車両100に搭載される。稼働させるセンサ装置10と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部5011と、モード管理部5011が決定する運転モードに基づき、接続されるセンサ装置10が稼働しないゲートウェイ装置30を特定し、そのゲートウェイ装置30を低電力状態に遷移させるスリープ指示制御部5013とを備える。そのためECU装置50は適切なゲートウェイ装置30を低電力状態に遷移させることができる。
(6)ゲートウェイ装置30は、稼働させるセンサ装置10と関連付けられた複数の運転モードのうちいずれかの運転モードを決定するECU装置50と、車両100の周囲の情報である周囲情報を収集する複数のセンサ装置10との通信を仲介する。いずれかの同一の運転モードにおいて稼働しない複数のセンサ装置10と他のゲートウェイ装置30を介さずに接続される。そのためゲートウェイ装置30は、ある運転モードにおいて接続される複数のセンサ装置10が稼働しないため、それらのセンサ装置10に接続される通信IF303を低電力状態に遷移でき、さらに低電力状態にある通信IF303の数に応じて制御部301の処理能力も低下させることで、ゲートウェイ装置30の消費電力をさらに低減できる。
(変形例1)
 上記した第1の実施の形態では、ECU装置50のスリープ指示制御部5013がゲートウェイ装置30に対してスリープ指示フレームを送信した。そして、スリープ指示フレームを受信したゲートウェイ装置30がセンサ装置10やECU装置50に対してLPS信号を送信し、自らの装置をスリープ状態へ遷移をさせた。しかしECU装置50はセンサ装置10やECU装置50に対してスリープ指示フレームを出力し、その後にゲートウェイ装置30をスリープ状態に移行させてもよい。
 図10は変形例1におけるスリープ動作の一例を示すシーケンス図である。図10は、第1の実施の形態における図9に対応する。図10に示すシーケンス図では、スリープ指示制御部5013がセンサ装置10やECU装置50に対してスリープ指示フレームを送信し、スリープ指示フレームを受信したセンサ装置10やECU装置50がゲートウェイ装置30に対してLPS信号を送信する。ゲートウェイ装置30は、接続されているセンサ装置10やECU装置50からLPS信号を受信すると、他のゲートウェイ装置との通信の要否を判断し、不要と判断する場合にスリープ状態に遷移する。また、指定された時刻になると、センサ装置10やECU装置50が起動し、ゲートウェイ装置30に対してWUP信号を送信する。WUP信号を受信したゲートウェイ装置30は、低電力状態にある他の通信IF303を起動してWUP信号を送信させ、更に、全ての通信IF303を通常状態に戻す。
(センサ装置10の動作)
 本変形例におけるセンサ装置10の動作を説明する。本変形例ではセンサ装置10は、ECU装置50が送信するスリープ指示フレームに基づいて、通常状態およびスリープ状態を設定する。
 センサ装置10の通信IF105が、ECU装置50からスリープ指示フレームを受信すると、スリープ指示フレームは演算処理部102に出力される。演算処理部102は、スリープ指示フレームの宛先に基づいて、そのスリープ指示フレームをスリープ制御部1011に出力する。スリープ制御部1011は、スリープ指示フレームを解析し、スリープ対象とスリープ期間を取得する。なおこの変形例では、制御部101が車載ネットワークシステムSの全体で同期した時刻を管理している。スリープ制御部1011は、指定されたスリープの開始時刻になると、ゲートウェイ装置30に対してLPS信号を出力し、ゲートウェイ装置30からACK信号を受信すると、センサ装置10の通信IF105、演算処理部102、および計測部103をスリープ状態に遷移する。
 センサ装置10は、指定されたスリープの終了時刻になると、ゲートウェイ装置30に対してWUP信号を出力するとともに、計測部103および演算処理部102を通常状態に変更する。この変形例においても、設定された運転モードに基づいて、ゲートウェイ装置30、センサ装置10、およびECU装置50を低電力状態にすることができる。
―第2の実施の形態―
 図11~図12を参照して、本発明に係る車載ネットワークシステムSの第2の実施の形態を説明する。第1の実施の形態では、運転モードに関係なく、センサ装置10が送信する周囲情報の送信周期は一定であるとした。しかしながら、通常モードでは他の運転モードに比べて多くのセンサ装置10やECU装置50が動作するため、他の運転モードに比べて通信量が多くなり、ECU装置50の処理負荷が大きくなる。また低電力状態では、動作するセンサ装置10の数が減るため収集可能な情報量が減少し、車両100の周囲環境を認識する性能が低下することが考えられる。さらに低電力状態では、動作するセンサ装置10の数が減るため運転モードを変更すべきトリガの検知が遅くなる可能性もある。
 そこで第2の実施の形態では、運転モードごとに利用するセンサ装置10の送信周期を制御する。第1の実施の形態では、利用するセンサ、ECUの組み合わせを運転モードとしたが、第2の実施の形態では、利用するセンサ、ECU,利用するセンサの送信周期の組み合わせを運転モードと呼ぶ。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。
 第2の実施の形態によれば、より多様な運転モードを選択することが可能となるため、状況により適した運転モードに設定することができる。また、通常モードでの送信周期を他の運転モードに比べて相対的に長く設定することにより、通常モードでの低消費電力化、低電力状態での認識性能の向上を図ることができる。
 以下では、第1の実施の形態との相違点を中心に第2の実施の形態を説明する。両者の主な相違点は、運転モード管理テーブルと、スリープ指示制御の動作である。
(センサ装置10の動作)
 第2の実施の形態によるセンサ装置10は、第1の実施の形態における動作に加えて以下の動作を行う。すなわちセンサ装置10は、ECU装置50のスリープ指示制御部5013から、設定すべき送信周期及び送信周期を変更する期間の情報を含む送信周期指示フレームを受信する。そしてセンサ装置10は、送信周期指示フレームから送信周期を取得し、周囲情報を指定された送信周期で送信する。なおここでは、周囲情報を含むフレームの送信周期は、センサの値を計測する周期と同一とするが、両者の周期が異なってもよい。
 センサ装置10が受信した送信周期指示フレームは、制御部101の管理部1012に入力される。管理部1012は、入力された送信周期指示フレームを解析し、設定されるべき送信周期と、送信周期を変更する期間を取得する。そして、管理部1012は、指定された期間になると、計測部103に対してサンプリング周期の変更指示を出す。
(運転モード管理テーブル)
 図11は、第2の実施の形態における運転モード管理テーブルの一例を示す図である。第1の実施の形態との違いは、第1の実施の形態では各モードで利用するか否かの情報のみ格納していたのに対し、第2の実施の形態では、各モード利用する場合にはセンサのデータ送信周期が格納され。図11はたとえば、センサ1Aがモード0のとき送信周期はT0_1aであり、モード1のとき送信周期はT1_1aであることを示している。第1の実施の形態ではセンサ装置10が周囲情報を送信する周期は、運転モードによらず一定であったが、第2の実施の形態では、周囲情報を送信シュル周期は運転モードによって変化しうる。
 なお、上記の例では、送信周期の値そのものを格納したが、その代わりにモード0のときの送信周期を基準として比率の値を格納してもよい。また、各送信周期の値は、各モードにおいて、車載ネットワークの各区間での最大通信レートを考慮して決める必要がある。
 また、図11の例では、運転モードによって利用するセンサ、ECUの組み合わせが異なっていたが、センサ、ECUの組み合わせは同じだが、センサの送信周期のみことなるモードを用意してもかまわない。たとえば、モード4と利用するセンサ、ECUは同一だが、送信周期のみ異なるモード4Aを用意してもよい。また、上記の例では、センサとモードごとに送信周期の値を用意していたが、モードごとに一律の値を用意してもよい。たとえば、モード1のときは、モード0のときの送信周期の0.5倍としてもよい。このように設定することで、運転モード管理テーブルのデータサイズを削減することが可能である。
 また、各運転モードのデータ送信周期に関して、通常モードでの送信周期を相対的に長く、低電力状態での送信周期を相対的に短くすると以下の利点を有する。すなわち、通常モードでのセンサやゲートウェイ装置、ECUでの処理負荷を低減することができ、通常モードでの低電力化を図ることができる。また、低電力状態での送信周期が短くなるので、より迅速にセンサにより認識することが可能となる。さらに、低電力状態において、通常モードに戻すためのトリガをより早く検知することも可能となる。
(スリープ指示制御部5013のフローチャート)
 図12は、第2の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。第1の実施の形態との相違点は、S1101で運転モードを取得した後に、利用対象センサの送信周期を決定する処理(S2102)と、利用対象センサに対して送信周期指示フレームを発行し、送信する処理(S2103)が加わった点である。ただし図12では、S1104以降の処理は第1の実施の形態と同様なので図示を省略している。
 S2102では、S2101の処理で取得した運転モードに基づいて、運転モード管理テーブルを参照して、利用対象センサの送信周期を決定する。S2103では、利用対象センサに対して、S2102で取得した送信周期を格納した送信周期指示フレームを発行し、利用対象センサに送信する。
 上述した第2の実施の形態によれば、次の作用効果が得られる。
(7)ECU装置50のスリープ指示制御部5013は、モード管理部5011が決定する運転モードに基づき、センサ装置10が周囲情報を送信する周期を決定し、センサ装置10に決定した周期で周囲情報を送信させる。そのため車両100の動作モードをより増やすことができ、より多様な状況に対応でき、かつ、低消費電力化を図ることができる。
―第3の実施の形態―
 図13~図14を参照して、車載ネットワークシステムSの第3の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。第1の実施の形態では、運転モードに関係なく、利用対象のセンサ装置10が送信する周囲情報は重複させずに送信していた。しかし、低電力状態においては、通常モードよりも少数のセンサ装置10やECU装置50が動作するため、周囲情報の送信中に発生するフレームロスが認識性能の低下や周辺オブジェクトの検知の遅れにつながる可能性がある。
 第3の実施の形態では、運転モードごとにスリープさせるゲートウェイ装置30、センサ装置10を制御するのに加え、センサ装置10での重複送信数を制御する。すなわち、第2の実施の形態では、運転モードに基づいて利用対象センサの送信周期を制御していたのに対し、第3の実施の形態では、運転モードに基づいて利用対象センサの重複送信数を制御する。以下では、第2の実施の形態との相違点を中心に第3の実施の形態を説明する。主な相違点は、センサ装置10の機能、運転モード管理テーブルの構成、およびスリープ指示制御部5013の動作である。
(運転モード管理テーブル)
 図13は、第3の実施の形態における運転モード管理テーブルの一例を示す図である。第3の実施の形態での運転モード管理テーブルは、第2の実施の形態での運転モード管理テーブルと類似しており、第2の実施の形態では送信周期の値を格納していたのに対し、第3の実施の形態では重複送信数の値を格納する。たとえば図13に示す例では、モード0では、全てのセンサ装置10について重複した送信を行わない重複送信数0であり、モード1やモード2では、利用するセンサ装置10のすべてが重複送信数1である。またモード3では、センサ1Cとセンサ1Dは重複送信数2であり、他のセンサ装置10は重複送信数1である。
(センサ装置10の動作)
 第3の実施の形態によるセンサ装置10は、第1の実施の形態における動作に加えて以下の動作を行う。すなわちセンサ装置10は、スリープ指示制御部5013から重複送信数指示フレームを受信して重複送信数を取得する。そしてセンサ装置10は、周囲情報を含むを指定された重複送信数だけコピーして送信する。たとえば、重複送信数が1である場合には、同一のフレームを1つ追加して合計2つ生成して、ゲートウェイ装置に送信する。センサ装置10は、重複送信数指示フレームを受信すると、そのフレームは制御部の管理部1012に入力される。
 管理部1012は、入力された重複送信数指示フレームを解析し、設定されるべき重複送信数と、重複送信数を変更する期間を取得する。そして管理部1012は、指定された期間になると、演算処理部102に対して重複送信数の変更指示を出す。演算処理部102は、計測部103から受信した信号に基づき周囲情報を含むフレームを生成する。そして演算処理部102は、指定された重複送信数に基づいてフレームを複製して通信IF105に出力する。
(スリープ指示制御部5013のフローチャート)
 図14は、第3の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。第1の実施の形態との相違点は、S1101を実行した後に、S3102およびS3103を実行してからS3104に進む点である。ただし図14ではS1104以降の処理は第1の実施の形態と同様なので図示を省略している。
 S3102では、スリープ指示制御部5013は、S1101の処理で取得した運転モードに基づいて、運転モード管理テーブルを参照して、利用対象センサの重複送信数を決定する。S3103では、スリープ指示制御部5013は、利用対象センサに対して、S3102で取得した重複送信数を格納した重複送信数指示フレームを発行し、利用対象センサに送信する。
 上述した第3の実施の形態によれば、次の作用効果が得られる。
(8)ECU装置50のスリープ指示制御部5013は、モード管理部5011が決定する運転モードに基づき、センサ装置10が周囲情報を重複して送信する回数を決定し、センサ装置10に決定した回数だけ重複して周囲情報を送信させる。そのため、利用するセンサ装置10が少ない低電力状態において、車載ネットワークでの実質的なフレームロス率を低減させることができ、認識性能の低下や通常モードに戻すためのトリガーの検知遅れ防止を図ることができる。
―第4の実施の形態―
 図15~図17を参照して、車載ネットワークシステムSの第4の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。
 第1の実施の形態では、スリープ指示の際に指定したスリープ期間中に、通常モードであるモード0に戻すべきトリガを検出しても、通常状態に戻るには指定されたスリープ期間が終了するまで待つ必要があった。しかしながら、低電力状態において利用しているセンサ装置10の故障した場合には、周囲環境の認識性能が低下する可能性があるため、早期にモードが変更できることが望ましい。
 第4の実施の形態では、モード0に戻すべきトリガを検出した場合には、スリープ終了時刻を待たずに、スリープ状態にあるゲートウェイ装置30、センサ装置10、およびECU装置50を起動させる。ただしゲートウェイ装置30やセンサ装置10の通信IFが低電力状態にある場合には、ECU装置50が送信するフレームを受信できず、起動させることができない。そのためECU装置50は、モード0に戻すべきトリガを検出すると、通常状態にあるゲートウェイ装置30にスリープ解除指示フレームを送信する。するとそのゲートウェイ装置30は、低電力状態にある通信IF303を起動するとともにWUP信号を送信し、隣接する装置を起動させる。
 以下では、第1の実施の形態との相違点を中心に第3の実施の形態を説明する。主な相違点は、スリープ制御のシーケンス、スリープ指示制御の動作、ゲートウェイ装置30のスリープ制御の動作である。
(スリープ制御シーケンス)
 図15は、第4の実施の形態におけるスリープ制御動作の一例を示すシーケンス図である。この例では、運転モードをモード0からモード1に変化させて、モード1の期間中にモード0に戻すトリガをゲートウェイ1Rが検出している。なお、第1の実施の形態との相違点はモード0へのトリガを検出した以降の動作であるため、この部分のみ説明する。
 ゲートウェイ1Rがモード0のトリガを検出すると、ゲートウェイ1Rはトリガを検出したことをECU1に通知するフレームを送信する。このフレームは、ゲートウェイ1Fを介してECU1に送信される。次に、ECU1がトリガ検出の通知を受信すると、ECU1は全ゲートウェイ装置30、ECU装置50,センサ装置10に対してスリープ解除を指示するフレームを送信する。
 次に、スリープ解除指示フレームを受信したゲートウェイ1Rおよびゲートウェイ1Fは、低電力状態になっているすべての通信IF303からWUP信号を送信する。この例ではゲートウェイ1Rは、ゲートウェイ2Rに対してWUP信号を送信し、ゲートウェイ1Fはゲートウェイ2Fに対してWUP信号を送信する。
 次に、スリープ状態にあったゲートウェイ2Rおよびゲートウェイ2Fは、WUP信号を受信すると、それらのスリープ制御部3011が各構成部を通常状態に遷移させ、低電力状態にあった他の通信IF303からWUP信号を送信する。ゲートウェイ2Rは、ゲートウェイ1F,センサ2C,およびセンサ2DにWUP信号を送信する。ゲートウェイ2Fは、ECU2、センサ2A、センサ2BにWUP信号を送信する。このWUP信号を受信した、スリープ状態にある装置は通常状態に遷移する。
 次に、ECU1は運転モードをモード0に変更し、ECU2にモード0に変化したことを通知する。これにより、時刻t1mに車載ネットワークシステム全体が通常状態に戻る。第1の実施の形態では、時刻t1mより遅い時刻t1eにモード0に遷移したが、この第4の実施の形態によれば、迅速にスリープ状態から通常状態に復旧することができる。
(スリープ指示制御のフローチャート)
 図16は、第4の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。S1101からS1110までの処理は第1の実施の形態と同一なので、説明および図示の一部を省略する。第4の実施の形態では、S1110以降の処理が異なる。
 第1の実施の形態ではスリープ指示制御部5013は、ゲートウェイ装置30にスリープ指示フレームを送信した後は、スリープ終了時刻まで待機していた。しかし第4の実施の形態では、スリープ終了時刻より前の時刻において、モード0に戻るトリガーが検出されたか否かを監視する(S4112)。そしてスリープ指示制御部5013は、スリープ終了時刻までトリガーを検出しなかった場合には処理を終了する。スリープ指示制御部5013はトリガーを検出した場合には、起動している全てのゲートウェイ装置30にスリープ解除指示フレームを送信して(S4113)処理を終了する。
 なお、モード0に戻るトリガーの検出は、ECU1で直接おこなってもよいし、他の装置が検出してECU1に通知し、それをECU1で検知してもよい。
 以上の処理により、スリープ終了時刻より前においても、トリガーを検出した場合に迅速に通常状態に戻すことができる。なおここではECU1がスリープ解除指示フレームを送信していたが、それぞれのゲートウェイ装置30が送信してもよい。その場合には、ゲートウェイ装置30はスリープ解除指示フレームを送信する機能を備える。
(スリープ制御部3011のフローチャート)
 図17は、第4の実施の形態におけるスリープ制御部3011の処理を示すフローチャートである。第1の実施の形態において示した図8のフローチャートとの相違は、S1207において否定判定されるとS4208を実行する点、およびS1215において否定判定されるとS4216とS4217を実行する点である。第1の実施の形態と同様の処理は、説明および図示を省略する。
 スリープ制御部3011は、S1206において全ポートをスリープさせると、スリープタイムアウトか否かを判断する(S1207)。スリープ制御部3011は、タイムアウトではないと判断するとWUP信号を受信したか否かを判断し(S4208)、WUP信号を受信するとS1208に進むみ、フレーム転送処理部の起動を直ちにおこなう。
 またスリープ制御部3011は、S1213において一部のポートをスリープさせるとスリープタイムアウトか否かを判断する(S1214)。スリープ制御部3011は、タイムアウトではないと判断すると、WUP信号またはスリープ解除フレームを受信したか否かを判断し(S4216)、いずれかを受信するとS4217に進みスリープ対象でないポートからスリープ解除フレームを送信する。ここでスリープ解除フレームを送信するのは、通常状態の通信インタフェースに接続されている他の装置にもスリープ解除すべきであることを通知し、車載ネットワーク全体を通常状態に戻すためである。次にスリープ制御部3011はS1215に進む。以後の処理は第1の実施の形態と同様なので説明を省略する。
 上述した第4の実施の形態によれば、次の作用効果が得られる。
(9)スリープ指示制御部5013は、いずれかの機器が低電力状態である場合に、いずれの機器も省電力状態としない運転モードへのトリガーを検出すると低電力状態にないゲートウェイ装置30にWUP信号を出力させ、ゲートウェイ装置30およびセンサ装置10は、WUP信号を受信すると低電力状態を終了する。ゲートウェイ装置30はスリープ解除指示フレームを受信すると、スリープ終了時刻を待たずに装置を起動することができ、また、他の装置に対してWUP信号またはスリープ解除フレームを送信し、スリープ解除指示を伝播させることができる。
―第5の実施の形態―
 図18を参照して、車載ネットワークシステムSの第5の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。
 第1の実施の形態では、一定の周期で運転モードを設定していた。そのため、いずれの運転モードも継続する時間の長さは同一であった。しかしECU装置50がスリープ指示フレームを送信してから実際に各装置がスリープ状態に遷移する時間や、スリープ状態から通常状態に遷移する時間を考慮すると、消費電力の低減効果を高めるには、低電力状態の運転モードは、低電力状態でない運転モードよりも長いことが望ましい。そこで第5の実施の形態では、スリープ指示フレームで指定するスリープ期間の長さを、新しく設定される運転モードに基づいて設定する。以下では、第1の実施の形態との相違点を中心に第3の実施の形態を説明する。主な相違点は、スリープ指示制御の動作である。
(スリープ指示制御部5013のフローチャート)
 図18は、第5の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。第1の実施の形態との相違点は、S1101で運転モードを取得した後に、次の運転モードの期間の長さを決定し(S1101P)、その後にS1102に進む。S1101Pにおける期間の長さの決定は、たとえばスリープ指示制御部5013が不図示のテーブルを参照することで、予め定められた運転モードごとの期間の長さを採用する。スリープ指示制御部5013は次に実行される運転モードの期間の長さに基づきスリープの期間を決定するので、スリープ指示制御部5013は運転モードごとに低電力状態に遷移させる時間の長さを決定すると言い換えることもできる。
 上述した第5の実施の形態によれば、次の作用効果が得られる。
(10)スリープ指示制御部5013は、モード管理部5011が決定する運転モードに基づき、ゲートウェイ装置30を低電力状態に遷移させる時間の長さを決定する。そのため、消費電力の低減効果を高めることができる。
―第6の実施の形態―
 図19を参照して、車載ネットワークシステムSの第6の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。
 第1の実施の形態では、あるゲートウェイ装置30に接続されているセンサ装置10やECU装置50がある運転モードにおいて利用対象外であっても、通信の中継が必要な場合には次の問題があった。すなわちゲートウェイ装置30はフレーム転送処理部302の動作を継続する必要があるのでフレーム転送処理部302を停止できず、さらなる消費電力の低減の妨げとなっていた。そこで第6の実施の形態では、運転モードを変更する際に、センサ装置10とECU装置50間の通信経路を変更することでさらなる低消費電力化を実現する。
(スリープ指示制御部5013のフローチャート)
 図19は、第6の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。第1の実施の形態と同一の処理は説明、および図示を省略する。第1の実施の形態におけるS1103BとS1110の間に以下の処理が加わる。スリープ指示制御部5013は、S1103Bの次に、スリープ指示制御部5013は、中継処理のみを行うゲートウェイ装置30が存在するか否かを判断する(S6110)。中継処理のみを行うゲートウェイ装置30とは、接続しているセンサ装置10やECU装置50は次の運転モードにおいて利用対象外であるが、他のゲートウェイ装置30の通信を中継するゲートウェイ装置30である。
 スリープ指示制御部5013は、S6110を肯定判断する場合はS6111に進み、否定判断する場合はS1110に進む。S6111ではスリープ指示制御部5013は、該当するゲートウェイ装置30を経由して通信するセンサとその宛先を特定する(S6111)。次にスリープ指示制御部5013は、該当センサと宛先まででそのゲートウェイを経由しない代替通信経路が存在するか否かを判断する(S6112)。ただし代替通信経路の有無は、単純な経路の有無の判断ではなく通信帯域も考慮する。スリープ指示制御部5013は代替通信経路が存在しないと判断する場合はS1110に進み、代替経路が存在すると判断する場合はS6113に進む。
 S6113ではスリープ指示制御部5013は、S6112において存在を判断した代替通信経路を使うように、ゲートウェイ装置30に内蔵される転送データベースの変更内容を決定する。そしてスリープ指示制御部5013は、該当するゲートウェイ装置30に転送データベースの変更指示を送信する(S6113)。またこれに対応してスリープ指示制御部5013は、それぞれのECU装置50で管理している通信経路管理テーブルを更新してS1110に進む。S1110以降の処理は第1の実施の形態と同様なので説明を省略する。
(通信管理部3012の動作)
 第6の実施の形態の通信管理部3012は、第1の実施の形態の動作に加えて以下の動作を行う。すなわち通信管理部3012は、スリープ指示制御部5013から転送データベース変更指示を表す制御フレームを受信すると、その指示に従いゲートウェイ装置30に格納されるゲートウェイの転送データベースを変更する。
 上述した第6の実施の形態によれば、次の作用効果が得られる。
(11)センサ装置10とECU装置50とを接続する経路が複数存在するように冗長に配線され、スリープ指示制御部5013は、センサ中継不要ゲートウェイ装置30が他のゲートウェイ装置30との通信の中継が不要となるように、センサ装置10とECU装置50との通信経路を設定する。そのため中継処理のみを行うゲートウェイ装置30をなくすように通信経路を変更し、変更後の通信経路になった場合での、スリープ対象を決めることができる。
―第7の実施の形態―
 図20~図21を参照して、車載ネットワークシステムSの第7の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。
 第1の実施の形態では、センサ装置10は単一のゲートウェイ装置30に接続された。しかし車載ネットワークの信頼性を高めるために、第7の実施の形態ではそれぞれのセンサ装置10を複数のゲートウェイ装置30に接続する。この構成によりセンサ装置10は、あるゲートウェイ装置30が故障しても別なゲートウェイ装置30を介してECU装置50に周囲情報を送信することができる。以下では、第1の実施の形態との相違点を中心に第7の実施の形態を説明する。主な相違点は、車載ネットワークシステムの構成とスリープ指示制御の動作である。
(車載ネットワーク構成)
 図20は、第7の実施の形態における車載ネットワークシステムSの構成図である。第1の実施の形態における図1との違いは、それぞれのセンサ装置10が2台のゲートウェイ装置30に接続される点である。たとえば、センサ1Cは、ゲートウェイ1Rとゲートウェイ2Rに接続されている。そのため、いずれかのゲートウェイ装置30が故障してもセンサとECU間の通信を維持することが可能である。
(センサ装置10の構成)
 第1の実施の形態では、センサ装置10は通信IF105を1つのみ備えていたが、第7の実施の形態では、センサ装置10は通信IF105を2つ備える。
(センサ装置10の動作)
 第7の実施の形態によるセンサ装置10は、第1の実施の形態における動作に加えて以下の動作を行う。センサ装置10はECU装置50から、周囲情報を出力する送信ポートおよび送信ポートを変更する期間の情報を含む送信ポート指示フレームを受信する。そして、送信ポート指示フレームを解析して送信ポートを特定し、周囲情報を指定された送信ポートから出力する。
 センサ装置10が送信ポート指示フレームを受信すると、そのフレームは制御部101の管理部1012に入力される。管理部1012は、入力された送信ポート指示フレームを解析し、周囲情報を出力する送信ポートと、送信ポートを変更する期間を取得する。そして管理部1012は、指定された期間になると、演算処理部102および通信IF105に対して送信ポートの変更指示を出力する。
 演算処理部102は、計測部103から受信した信号に基づき周囲情報を含むフレームを生成し、指定された送信ポートに対応する通信IF105に出力する。なお、周囲情報を含むフレームを出力する送信ポートは2つの通信IF105のうちの一つでもよいし、両方でもよい。両方のポートから出力する場合には、演算処理部102はフレームを複製して各送信ポートに対応する通信IF105に出力する。またこの場合は、センサ装置10から2つの異なる経路を介してECU装置50に同一の周囲情報が送信されるため、ECU装置50は、複数の経路から受信したフレームに対して重複を排除する処理をさらに行う。
(スリープ指示制御部5013のフローチャート)
 図21は、第7の実施の形態におけるスリープ指示制御部5013の動作を表すフローチャートである。スリープ指示制御部5013は、運転モードを取得し(S1101)、利用対象センサの送信ポートを決定する(S7101)。たとえばセンサ1Cの送信ポートを、モード0ではゲートウェイ1Rとゲートウェイ2Rの両方とし、モード1ではゲートウェイ1Rのみとする。スリープ指示制御部5013は、送信ポートを決定すると送信ポート指示フレームを発行し、利用対象センサにその制御フレームを送信する(S7103)。スリープ指示制御部5013は次にS1102に進み、これ以降、第1の実施の形態と同様に処理する。
 ただしスリープ指示制御部5013は、S1104の判断において、接続されている全てのセンサ装置10を考慮するのではなく、その運転モードにおいてそのゲートウェイ装置30に対して周囲情報を送信するセンサ装置10のみを考慮する。そのため、センサ装置10が複数のゲートウェイ装置30に接続されている場合においても、ゲートウェイ装置30をスリープ状態に遷移させることができる。
 たとえば、モード1ではセンサ1Cおよびセンサ1Dがゲートウェイ1Rのみに出力する場合は、ゲートウェイ2Rは次の理由により接続された全てのセンサ装置10が利用対象外と判断できる。まずセンサ2Cおよびセンサ2Dは、モード1では利用対象外となっている。またセンサ1Cおよびセンサ1Dは、モード1ではスリープ指示制御部5013からの指示により周囲情報をゲートウェイ1Rのみに出力しゲートウェイ2Rには出力しないので考慮外となる。したがってゲートウェイ2Rは接続された全てのセンサ装置10が利用対象外と判断できる。
 上述した第7の実施の形態によれば、次の作用効果が得られる。
(12)センサ装置10は、2以上のゲートウェイ装置30と直接接続され、スリープ指示制御部5013は、モード管理部5011が決定する運転モードに基づき、センサ装置10に周囲情報の送信先を指定する。また本実施の形態では、対象となる運転モードにおいてゲートウェイ装置30に対して周囲情報を送信するセンサ装置10のみを考慮する。センサ装置10が複数のゲートウェイ装置30に接続されている場合においても、ゲートウェイ装置30をスリープ状態に遷移させることができる。これにより、通信経路の冗長性の確保と消費電力の低減の両方を達成することができる。
(第7の実施の形態の変形例)
 第7の実施の形態では、センサ装置10とゲートウェイ装置30との間に複数の通信経路がある場合を説明した。類似する形態として、センサ装置10は第1の実施の形態と同様に1台のゲートウェイ装置30とした接続されないが、ゲートウェイ装置30同士を冗長性を有するように接続することが考えられる。このとき、あるゲートウェイ装置30がセンサ装置10から受信したフレームを複製し、それぞれ別々の経路を経由してECU装置50に送信される。
 このとき、運転モードをモード1に設定する場合には、ゲートウェイ2Rは、第2グループのセンサ装置10だけでなく、第1グループのセンサ装置10の周囲情報を隣接するゲートウェイ装置30から常に受信することになるため、スリープ状態に遷移できない。この場合は、スリープ指示制御部5013は、送信ポート指示フレームをゲートウェイ装置30宛てに送信し、ゲートウェイ装置30において片方の経路のみに出力するようにする。このようにすることで、たとえば、モード1に設定する場合には、ゲートウェイ2Rは、第1グループの周囲情報を隣接するゲートウェイ装置30受信しなくなるため、スリープ状態に遷移できる。
―第8の実施の形態―
 図22を参照して、車載ネットワークシステムSの第8の実施の形態を説明する。以下の説明では、第1の実施の形態と同じ構成要素には同じ符号を付して相違点を主に説明する。特に説明しない点については、第1の実施の形態と同じである。以下では、第1の実施の形態との相違点を中心に第8の実施の形態を説明する。主な相違点は、ゲートウェイ装置の機能構成である。
 第1の実施の形態では、1台の物理的なゲートウェイ装置30がそのまま1台のゲートウェイ装置30として機能していたので、いわば1台の物理的なゲートウェイ装置30が1台の論理的なゲートウェイ装置として機能していた。第8の実施の形態では、1台の物理的なゲートウェイ装置30が2台の論理的なゲートウェイ装置として機能する。ただし1台の物理的なゲートウェイ装置30が3台以上の論理的なゲートウェイ装置として機能してもよい。本実施の形態では、第1の実施の形態におけるゲートウェイ1Rとゲートウェイ2Rが単一のゲートウェイ装置30により実現され、ゲートウェイ1Fとゲートウェイ2Fが別の単一のゲートウェイ装置30により実現される。
(ゲートウェイ装置30の構成)
 図22は、第8の実施の形態におけるゲートウェイ装置30Aの機能構成図である。ゲートウェイ装置30Aは、制御部301と第1論理ゲートウェイ30A-1と第2論理ゲートウェイ30A-2とを備える。各論理ゲートウェイは、通信IF303とフレーム転送処理部302とを備える。また、第1論理ゲートウェイ30A-1と第2論理ゲートウェイ30A-2との通信のために、通信IF303-4と通信IF303-7とが接続されている。
 第1論理ゲートウェイ30A-1のそれぞれの通信IF303、第1論理ゲートウェイ30A-1のフレーム転送処理部302-1、第2論理ゲートウェイ30A-2のそれぞれの通信IF303、および第2論理ゲートウェイ30A-2のフレーム転送処理部302-2は、全て独立にスリープ状態に遷移できる。そのため、第1の実施の形態においてあるゲートウェイ装置30の通信IF303およびフレーム転送処理部302をスリープ状態に遷移させることと、第8の実施の形態においてゲートウェイ装置30Aのいずれかの論理ゲートウェイの全体をスリープ状態に遷移させることとが対応し、第8の実施の形態においても第1の実施の形態と同様に消費電力を低減することができる。また、ECU1からスリープ指示フレームを受信した場合には、第1の実施の形態と同様に制御部301のスリープ制御部3011にて受信し、その指示に応じて処理がなされる。
 上述した第8の実施の形態によれば、次の作用効果が得られる。
(13)複数のゲートウェイ装置30に含まれる2以上のゲートウェイ装置30は論理的に構成され1台のハードウエア装置により実現される。第8の実施の形態によれば、1台の物理的なゲートウェイ装置30Aに複数の論理的なゲートウェイ装置を構成した場合においても、特定の運転モードでは利用対象でないセンサ装置10やECU装置50が接続された論理ゲートウェイをスリープ状態に遷移させることができる。また、論理ゲートウェイを実現するプログラムや論理回路を書き換えることにより、各センサのグループ分けを変更したい場合においても、センサとゲートウェイのケーブル接続を変更することなく、各センサの接続先となる論理ゲートウェイを変更することができる。
(第8の実施の形態の変形例1)
 ゲートウェイ装置30Aの通信IF303において、配線を動的に切替えが可能な配線切替部を設けてもよい。この配線切替部は手動のスイッチもしくは制御部301からの指示に基づいて入力と出力の対応を動的に変更が可能とする。本変形例によれば、接続先の変更を容易にし、状況にあわせて論理ゲートウェイをスリープ状態に遷移させやすくなる。
(第8の実施の形態の変形例2)
 第8の実施の形態の論理ゲートウェイを動的に書き換え可能な論理回路、たとえばFPGA(Field Programmable Gate Array)で構成してもよい。本変形例によれば接続先の切り替え機能を論理回路に取り込むことができる。
 上述した各実施の形態および変形例は、それぞれ組み合わせてもよい。上記では、種々の実施の形態および変形例を説明したが、本発明はこれらの内容に限定されるものではない。本発明の技術的思想の範囲内で考えられるその他の態様も本発明の範囲内に含まれる。
 次の優先権基礎出願の開示内容は引用文としてここに組み込まれる。
 日本国特許出願2018-14801(2018年1月31日出願)
10…センサ装置
30…ゲートウェイ装置
50…ECU装置
100…車両
101…制御部
102…演算処理部
103…計測部
104…内部バス
105…通信インタフェース
301…制御部
302…フレーム転送処理部
501…制御部
502…演算処理部
1011…スリープ制御部
1012…管理部
3011…スリープ制御部
3012…通信管理部
5011…モード管理部
5012…通信管理部
5013…スリープ指示制御部

Claims (13)

  1.  電子制御装置、複数のゲートウェイ装置、および車両の周囲の情報である周囲情報を収集する複数のセンサ装置を備え前記車両に搭載される車載ネットワークシステムであって、
     前記センサ装置のそれぞれは、少なくとも1つのゲートウェイ装置を介して前記電子制御装置と通信を行い、
     前記電子制御装置は、
     稼働させる前記センサ装置と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部と、
     前記モード管理部が決定する運転モードに基づき、接続される前記センサ装置が稼働しない前記ゲートウェイ装置であるセンサ中継不要ゲートウェイ装置を特定し、前記センサ中継不要ゲートウェイ装置を処理能力が低下した低電力状態に遷移させるスリープ指示制御部とを備え、
     前記ゲートウェイ装置はいずれかの同一の前記運転モードにおいて稼働しない複数の前記センサ装置と他の前記ゲートウェイ装置を介さずに接続される車載ネットワークシステム。
  2.  請求項1に記載の車載ネットワークシステムにおいて、
     前記ゲートウェイ装置は、前記低電力状態において、接続されておりかつ通信が不要な装置の数に応じて処理能力を低下させる車載ネットワークシステム。
  3.  請求項1に記載の車載ネットワークシステムにおいて、
     前記スリープ指示制御部は、前記モード管理部が決定する運転モードに基づき、前記センサ中継不要ゲートウェイ装置が他の前記ゲートウェイ装置との通信の中継が不要と判断すると、前記センサ中継不要ゲートウェイ装置に通信機能を停止させる車載ネットワークシステム。
  4.  請求項1に記載の車載ネットワークシステムにおいて、
     前記電子制御装置の前記スリープ指示制御部は、前記モード管理部が決定する運転モードに基づき、前記センサ装置が前記周囲情報を送信する周期を決定し、前記センサ装置に決定した周期で前記周囲情報を送信させる車載ネットワークシステム。
  5.  請求項1に記載の車載ネットワークシステムにおいて、
     前記電子制御装置の前記スリープ指示制御部は、前記モード管理部が決定する運転モードに基づき、前記センサ装置が前記周囲情報を重複して送信する回数を決定し、前記センサ装置に決定した回数だけ重複して前記周囲情報を送信させる車載ネットワークシステム。
  6.  請求項1に記載の車載ネットワークシステムにおいて、
     前記スリープ指示制御部は、いずれかの機器が前記低電力状態である場合に、いずれの機器も省電力状態としない前記運転モードへのトリガーを検出すると前記低電力状態にない前記ゲートウェイ装置にウェイクアップ信号を出力させ、
     前記ゲートウェイ装置および前記センサ装置は、前記ウェイクアップ信号を受信すると前記低電力状態を終了する車載ネットワークシステム。
  7.  請求項1に記載の車載ネットワークシステムにおいて、
     前記スリープ指示制御部は、前記モード管理部が決定する運転モードに基づき、前記センサ中継不要ゲートウェイ装置を前記低電力状態に遷移させる時間の長さを決定する車載ネットワークシステム。
  8.  請求項1に記載の車載ネットワークシステムにおいて、
     前記センサ装置と前記電子制御装置とを接続する経路が複数存在するように冗長に配線され、
     前記スリープ指示制御部は、前記センサ中継不要ゲートウェイ装置が他の前記ゲートウェイ装置との通信の中継が不要となるように、前記センサ装置と前記電子制御装置との通信経路を設定する車載ネットワークシステム。
  9.  請求項1に記載の車載ネットワークシステムにおいて、
     前記電子制御装置は複数含まれ、
     第1の前記電子制御装置および第1の前記センサ装置を含む第1グループと、第2の前記電子制御装置および第2の前記センサ装置を含む第2グループとが構成され、
     前記第1のセンサ装置は第1の前記ゲートウェイ装置を経由して前記第1の電子制御装置に接続され、
     前記第2のセンサ装置は第2の前記ゲートウェイ装置を経由して前記第2の電子制御装置に接続され、
     前記モード管理部は、前記第1の電子制御装置の不具合を検出すると前記運転モードを前記第2グループを用いた縮退動作を行う第1縮退モードに決定し、前記第2の電子制御装置の不具合を検出すると前記運転モードを前記第1グループを用いた縮退動作を行う第2縮退モードに決定し、
     前記スリープ指示制御部は、前記第1縮退モードでは前記第1のゲートウェイ装置を低電力状態に遷移させ、前記第2縮退モードでは前記第2のゲートウェイ装置を低電力状態に遷移させる車載ネットワークシステム。
  10.  請求項1に記載の車載ネットワークシステムにおいて、
     前記センサ装置は、2以上の前記ゲートウェイ装置と直接接続され、
     前記スリープ指示制御部は、前記モード管理部が決定する運転モードに基づき、前記センサ装置に前記周囲情報の送信先を指定する車載ネットワークシステム。
  11.  請求項1に記載の車載ネットワークシステムにおいて、
     前記複数のゲートウェイ装置に含まれる2以上の前記ゲートウェイ装置は論理的に構成され1台のハードウエア装置により実現される車載ネットワークシステム。
  12.  複数のゲートウェイ装置、および車両の周囲の情報である周囲情報を収集する複数のセンサ装置と通信し前記車両に搭載される電子制御装置であって、
     稼働させる前記センサ装置と関連付けられた複数の運転モードのうち、いずれかの運転モードを決定するモード管理部と、
     前記モード管理部が決定する運転モードに基づき、接続される前記センサ装置が稼働しない前記ゲートウェイ装置であるセンサ中継不要ゲートウェイ装置を特定し、前記センサ中継不要ゲートウェイ装置を処理能力が低下した低電力状態に遷移させるスリープ指示制御部とを備える電子制御装置。
  13.  稼働させるセンサ装置と関連付けられた複数の運転モードのうちいずれかの運転モードを決定する電子制御装置と、車両の周囲の情報である周囲情報を収集する複数の前記センサ装置との通信を仲介するゲートウェイ装置であって、
     いずれかの同一の前記運転モードにおいて稼働しない複数の前記センサ装置と他の前記ゲートウェイ装置を介さずに接続されるゲートウェイ装置。
     
PCT/JP2018/047312 2018-01-31 2018-12-21 車載ネットワークシステム、電子制御装置、ゲートウェイ装置 WO2019150843A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201880086739.5A CN111615813B (zh) 2018-01-31 2018-12-21 车载网络系统、电子控制装置
US16/962,445 US11590907B2 (en) 2018-01-31 2018-12-21 In-vehicle network system, electronic control unit, and gateway device
EP18904374.8A EP3748920A4 (en) 2018-01-31 2018-12-21 VEHICLE MOUNTED NETWORK SYSTEM, ELECTRONIC CONTROL DEVICE AND GATEWAY DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-014801 2018-01-31
JP2018014801A JP6878324B2 (ja) 2018-01-31 2018-01-31 車載ネットワークシステム、電子制御装置

Publications (1)

Publication Number Publication Date
WO2019150843A1 true WO2019150843A1 (ja) 2019-08-08

Family

ID=67479623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/047312 WO2019150843A1 (ja) 2018-01-31 2018-12-21 車載ネットワークシステム、電子制御装置、ゲートウェイ装置

Country Status (5)

Country Link
US (1) US11590907B2 (ja)
EP (1) EP3748920A4 (ja)
JP (1) JP6878324B2 (ja)
CN (1) CN111615813B (ja)
WO (1) WO2019150843A1 (ja)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7207824B2 (ja) * 2019-01-22 2023-01-18 日本電気通信システム株式会社 ネットワーク制御装置及び方法とプログラム
JP6947776B2 (ja) * 2019-04-26 2021-10-13 株式会社ソニー・インタラクティブエンタテインメント コントローラ装置、その制御方法、及びプログラム
CN114726782A (zh) * 2019-05-13 2022-07-08 华为技术有限公司 车内通信系统、车内通信的方法及设备
EP3758301B1 (en) * 2019-06-25 2022-05-04 KNORR-BREMSE Systeme für Nutzfahrzeuge GmbH An apparatus and a method for providing a redundant communication within a vehicle architecture and a corresponding control architecture
EP3778309B1 (en) * 2019-08-15 2022-04-13 Apollo Intelligent Driving Technology (Beijing) Co., Ltd. Autonomous vehicle and system for autonomous vehicle
JP7252097B2 (ja) * 2019-08-30 2023-04-04 トヨタ自動車株式会社 車載ネットワークシステム
CN115716455A (zh) * 2019-09-12 2023-02-28 华为技术有限公司 实现汽车中电子控制功能的系统、方法以及汽车
CN112634371B (zh) 2019-09-24 2023-12-15 阿波罗智联(北京)科技有限公司 用于输出信息、标定相机的方法和装置
JP7352166B2 (ja) * 2019-10-31 2023-09-28 株式会社オートネットワーク技術研究所 車載通信システム、車載通信装置及び車両用通信方法
JP6918080B2 (ja) * 2019-11-27 2021-08-11 三菱電機株式会社 車載ネットワークシステム
JP2021158454A (ja) * 2020-03-25 2021-10-07 トヨタ自動車株式会社 車両制御システム、データ送信方法及びプログラム
JP7456270B2 (ja) * 2020-05-07 2024-03-27 株式会社デンソー 車両制御システム
KR102394491B1 (ko) * 2020-05-27 2022-05-06 주식회사에어플러그 네트워크에 연결된 기기들의 서비스 기반의 동작에 관한 정보를 획득하기 위한 방법과 장치
US20230324973A1 (en) * 2020-10-12 2023-10-12 Hitachi Astemo, Ltd. Electronic Control Unit and Method For Reducing Power Consumption of Electronic Control Unit
CN112311642B (zh) * 2020-12-23 2021-04-02 奥特酷智能科技(南京)有限公司 基于环形组网的汽车以太网冗余调度方法
CN113064403A (zh) * 2021-03-28 2021-07-02 重庆长安汽车股份有限公司 一种基于osek网络管理的控制器状态监控方法
US11838884B1 (en) * 2021-05-03 2023-12-05 Samsara Inc. Low power mode for cloud-connected on-vehicle gateway device
JP2022190988A (ja) * 2021-06-15 2022-12-27 トヨタ自動車株式会社 情報処理装置、車両システム、情報処理方法、およびプログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS571354B2 (ja) 1975-09-23 1982-01-11
JP2002308054A (ja) * 2001-04-09 2002-10-23 Denso Corp ゲートウェイ装置
JP2011004276A (ja) * 2009-06-19 2011-01-06 Toyota Motor Corp 車載ネットワーク、データ送信方法
JP2016124455A (ja) * 2015-01-06 2016-07-11 株式会社オートネットワーク技術研究所 車載中継装置及び中継方法
JP2018014801A (ja) 2016-07-19 2018-01-25 キヤノン株式会社 送電装置、受電装置及びそれらの制御方法、プログラム

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4483694B2 (ja) * 2004-06-22 2010-06-16 株式会社デンソー 車両用通信システム
JP4548260B2 (ja) * 2005-07-27 2010-09-22 株式会社デンソー 車両用通信システム
JP2008072414A (ja) * 2006-09-14 2008-03-27 Hitachi Ltd センサネットシステム及びセンサノード
US9461846B2 (en) * 2006-11-07 2016-10-04 Harris Corporation Multilayered configurable data fusion systems and methods for power and bandwidth efficient sensor networks
DE102010008818A1 (de) * 2010-02-22 2011-08-25 Continental Automotive GmbH, 30165 Verfahren zur Aktivierung einer Netzwerk-Komponente eines Fahrzeug-Netzwerksystems
CN103477608A (zh) * 2011-04-13 2013-12-25 瑞萨移动公司 经由移动网关的传感器网络信息采集
US9780967B2 (en) * 2013-03-14 2017-10-03 Telogis, Inc. System for performing vehicle diagnostic and prognostic analysis
CN103346959A (zh) * 2013-07-23 2013-10-09 南京联创科技集团股份有限公司 一种行业车辆用车载网关
JP5701354B2 (ja) 2013-09-11 2015-04-15 三菱電機株式会社 車両制御装置
JP6172754B2 (ja) * 2014-03-10 2017-08-02 トヨタ自動車株式会社 通信装置及び通信方法
JP5958975B2 (ja) * 2014-03-10 2016-08-02 トヨタ自動車株式会社 通信装置、通信方法及び通信システム
CN104199351B (zh) * 2014-08-21 2017-02-15 东南(福建)汽车工业有限公司 一种汽车总线休眠唤醒方法
JP6479372B2 (ja) * 2014-09-02 2019-03-06 日立オートモティブシステムズ株式会社 電源装置
WO2016065320A1 (en) * 2014-10-24 2016-04-28 Telogis, Inc. System for performing vehicle diagnostic and prognostic analysis
JP6443159B2 (ja) 2015-03-20 2018-12-26 株式会社デンソー 中継装置
JP6603617B2 (ja) * 2015-08-31 2019-11-06 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ ゲートウェイ装置、車載ネットワークシステム及び通信方法
US10093197B2 (en) * 2015-12-22 2018-10-09 Ford Global Technologies, Llc Key off energy management system
JP2017117089A (ja) * 2015-12-22 2017-06-29 ローム株式会社 センサノード、センサネットワークシステム、および監視方法
JP6439729B2 (ja) * 2016-03-24 2018-12-19 トヨタ自動車株式会社 睡眠状態推定装置
JP6485429B2 (ja) * 2016-11-04 2019-03-20 トヨタ自動車株式会社 車載ネットワークシステム
CN107027162A (zh) * 2017-06-06 2017-08-08 福建强闽信息科技有限公司 一种LoRa智能网关及其使用方法、物联网系统
WO2019082168A1 (en) * 2017-10-27 2019-05-02 Dometic Sweden Ab SYSTEMS, METHODS AND APPARATUSES FOR PROVIDING COMMUNICATIONS BETWEEN AIR CONDITIONING DEVICES IN A RECREATIONAL VEHICLE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS571354B2 (ja) 1975-09-23 1982-01-11
JP2002308054A (ja) * 2001-04-09 2002-10-23 Denso Corp ゲートウェイ装置
JP2011004276A (ja) * 2009-06-19 2011-01-06 Toyota Motor Corp 車載ネットワーク、データ送信方法
JP2016124455A (ja) * 2015-01-06 2016-07-11 株式会社オートネットワーク技術研究所 車載中継装置及び中継方法
JP2018014801A (ja) 2016-07-19 2018-01-25 キヤノン株式会社 送電装置、受電装置及びそれらの制御方法、プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3748920A4

Also Published As

Publication number Publication date
US20210061194A1 (en) 2021-03-04
JP6878324B2 (ja) 2021-05-26
EP3748920A4 (en) 2021-10-06
US11590907B2 (en) 2023-02-28
JP2019134301A (ja) 2019-08-08
CN111615813B (zh) 2021-12-28
CN111615813A (zh) 2020-09-01
EP3748920A1 (en) 2020-12-09

Similar Documents

Publication Publication Date Title
WO2019150843A1 (ja) 車載ネットワークシステム、電子制御装置、ゲートウェイ装置
JP4782823B2 (ja) ユーザ端末、マスタ・ユニット、通信システムおよびその稼動方法
EP3352423B1 (en) Industrial device and communication method
JP4904399B2 (ja) マスター/スレーブ構造を有する通信システム
CN101523310B (zh) 用于冗余控制子设备的方法及系统
US20090109841A1 (en) Layer-2 Redundancy Protocol Interconnection Device
US20170041161A1 (en) Communication network and relay device
US8805997B2 (en) Communication apparatus detecting abnormaility by communicating an effectiveness notification
CN113728585A (zh) 具有带内唤醒/睡眠命令的以太网phy-mac通信
US7593429B2 (en) System and method for time synchronizing nodes in an automotive network using input capture
EP2088684A1 (en) Information transmission system and information transmission method
CN102158383B (zh) 一种e1双向环网络的数据传输方法、装置及系统
CN111585603A (zh) 一种双无线链路热备电路及冗余通信方法
CN102918809A (zh) 网络和扩展单元以及运行网络的方法
US20220417346A1 (en) In-Vehicle Relay Device and Relay Method
US9225667B2 (en) Communication system and network relay apparatus
CN110798399A (zh) 网络自动链结备援方法与网络系统
JP3632170B2 (ja) 通信システム
JP2002073121A (ja) ネットワーク制御システム、その通信モジュール、及びリモート制御方法
WO2006044139A2 (en) System and method for time synchronizing nodes in an automotive network using input capture
US20150220471A1 (en) Communication system
JP2022517440A (ja) 複数の実行ユニットの作動
CN104363156A (zh) 一种双冗余网络拓扑结构及拓扑方法
JP2004257639A (ja) 空気調和機の制御方法
JP2002152219A (ja) 車両用多重伝送装置

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: 18904374

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018904374

Country of ref document: EP

Effective date: 20200831