WO2022102309A1 - 通信装置 - Google Patents

通信装置 Download PDF

Info

Publication number
WO2022102309A1
WO2022102309A1 PCT/JP2021/037402 JP2021037402W WO2022102309A1 WO 2022102309 A1 WO2022102309 A1 WO 2022102309A1 JP 2021037402 W JP2021037402 W JP 2021037402W WO 2022102309 A1 WO2022102309 A1 WO 2022102309A1
Authority
WO
WIPO (PCT)
Prior art keywords
control unit
signal
main control
unit
timing
Prior art date
Application number
PCT/JP2021/037402
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 株式会社デンソー
Publication of WO2022102309A1 publication Critical patent/WO2022102309A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L13/00Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00

Definitions

  • This disclosure relates to communication equipment.
  • the vehicle is equipped with a large number of ECUs (Electronic Control Units), and these ECUs electronically control various sensors and actuators installed in the vehicle while communicating. This keeps the vehicle safe.
  • ECUs Electronic Control Units
  • Patent Documents 1 to 4 Conventionally, various communication processing techniques have been proposed (see, for example, Patent Documents 1 to 4).
  • a wake-up pulse is received from the slave unit
  • a dummy pulse is transmitted from the master unit side to start the oscillation circuit on the slave unit side at an early stage and stabilize the oscillation operation.
  • a communication signal instructing the cancellation of the power saving mode is transmitted.
  • the microcomputer itself does not communicate until the startup initialization is completed. For this reason, there is a problem that the effect of shortening the time until the communication of the contents of the event that actually caused the wake-up between the slave unit and the master unit is completed is small.
  • a gateway device that relays communication between a plurality of communication buses speeds up by activating a hub connected to each bus and activating the device beyond the hub at the same time. ing.
  • the gateway device itself has not been able to achieve high-speed startup when it is necessary to wake up from the sleep state. Therefore, there is a problem that the gateway device cannot be started at high speed in response to an event requested by another communication node during sleep.
  • a gateway device that relays communication between a plurality of communication buses is a node connected to the other communication bus based on the communication content transmitted to one communication bus. It is starting up.
  • both communication buses are in the sleep state and the gateway device is also in the sleep state, it is difficult to correctly recognize the communication information initially sent to the communication bus, and the ID is used to control them. There was a problem that allocation was also required.
  • Japanese Patent No. 3282278 Japanese Patent No. 657279 Japanese Unexamined Patent Publication No. 2009-124480
  • the first aspect of the present disclosure is to provide a communication device capable of shortening the time until an event generated in a predetermined communication node is notified to a communication node that executes processing according to the content of the event.
  • a second object of the present invention is to provide a communication device capable of quickly changing the processing content according to the content of the event notification after the activation of the main control unit is completed.
  • the first aspect of the present disclosure is intended for a communication device connected to one or more communication buses, and includes a main control unit and a sub control unit.
  • the main control unit has a normal operation mode and a low power consumption mode that operates with lower power consumption than the normal operation mode, and can control communication with other communication nodes after the startup from the low power consumption mode to the normal operation mode is completed. It is composed.
  • the sub control unit includes a wakeup signal determination unit that detects a wakeup signal from the communication bus separately from the main control unit.
  • the sub-control unit can start communication with other communication nodes connected to the communication bus at the timing when the main control unit completes activation, using the detection of the wake-up signal by the wake-up signal determination unit as a trigger.
  • a bus activation signal transmission unit that activates a communication bus in which a wake-up signal is detected in advance
  • a dummy signal transmission unit that transmits a dummy signal to a communication bus in which a wake-up signal is detected in advance. It has one or more execution units.
  • the second aspect of the present disclosure is intended for a communication device connected to one or more communication buses.
  • the sub control unit includes an input monitoring unit that monitors changes in inputs such as switches, in addition to the main control unit.
  • the sub-control unit can start communication with other communication nodes connected to the communication bus at the timing when the main control unit completes activation, triggered by the detection of the input change by the input monitoring unit.
  • the above execution unit is provided.
  • the third aspect of the present disclosure is intended for a communication device connected to one or more communication buses.
  • the sub control unit includes at least two or more blocks out of the three units of the wakeup signal determination unit, the bus start signal determination unit, and the dummy reception determination unit, separately from the main control unit.
  • the wake-up signal determination unit is a block that determines the wake-up signal from the communication bus.
  • the bus start signal determination unit is a block that determines the active state of the communication bus.
  • the dummy reception determination unit is a block that determines reception of a dummy signal transmitted to the communication bus.
  • the time interval measuring unit measures the time interval of the timing determined by the predetermined two blocks among the above.
  • the main control unit can change the processing content according to the identification information after the activation is completed, and the main control unit is activated. After completion, the processing content can be changed quickly according to the content of the event notification.
  • the fourth aspect of the present disclosure is intended for a relay node connected to a first communication bus and a second communication bus and relaying communication via the first communication bus and the second communication bus.
  • the sub control unit includes a wakeup signal determination unit that detects a wakeup signal from the first communication bus separately from the main control unit.
  • the sub-control unit uses the detection of the wake-up signal by the wake-up signal determination unit as a trigger to communicate with other communication nodes connected to the second communication bus at the timing when the main control unit completes activation. Is provided with at least one execution unit of a wake-up signal transmission unit, a bus activation signal transmission unit, or a dummy signal transmission unit so that the operation can be started.
  • the wake-up signal transmission unit is a block that transmits a wake-up signal to the second communication bus in advance.
  • the bus start signal transmission unit is a block that sends a bus start signal that activates the second communication bus in advance.
  • the dummy signal transmission unit is a block that transmits a dummy signal to the second communication bus in advance.
  • the main control unit while the main control unit is being activated by a certain communication node (for example, a relay node, a master node, or a slave node), the main control unit has been conventionally used.
  • the sub-control unit can take over the preparatory processing that was being executed in.
  • the preparatory process referred to here is a process executed by the execution unit, for example, sending a wakeup signal to a communication bus to which another communication node is connected, or sending a bus start signal to activate the communication bus. It shows the process of sending and sending a dummy signal to the communication bus.
  • the time required for the preparation process can be effectively utilized, and the time until the event generated in the predetermined communication node is notified to the communication node that executes the process according to the content of the event is shortened. can.
  • FIG. 1 is a functional block diagram illustrating an electrical configuration of a relay node according to the first embodiment.
  • FIG. 2 is a functional block diagram illustrating the electrical configuration of the master node according to the first embodiment.
  • FIG. 3 is a functional block diagram illustrating the electrical configuration of the slave node according to the first embodiment.
  • FIG. 4 is a flowchart illustrating the first embodiment.
  • FIG. 5 is a flowchart illustrating the second embodiment.
  • FIG. 6 is a flowchart illustrating the third embodiment.
  • FIG. 7 is a timing chart illustrating the fourth embodiment.
  • FIG. 1 is a functional block diagram illustrating an electrical configuration of a relay node according to the first embodiment.
  • FIG. 2 is a functional block diagram illustrating the electrical configuration of the master node according to the first embodiment.
  • FIG. 3 is a functional block diagram illustrating the electrical configuration of the slave node according to the first embodiment.
  • FIG. 4 is a flowchart illustrating the first embodiment.
  • FIG. 5 is a
  • FIG. 8 is the first explanatory diagram of the activation completion timing determination method according to the fifth embodiment.
  • FIG. 9 is Part 2 of the explanatory diagram of the activation completion timing determination method according to the fifth embodiment.
  • FIG. 10 is Part 3 of the explanatory diagram of the activation completion timing determination method according to the fifth embodiment.
  • FIG. 11 is a flowchart illustrating the sixth embodiment.
  • FIG. 12 is a flowchart illustrating the seventh embodiment.
  • FIG. 13 is a timing chart illustrating the eighth embodiment.
  • FIG. 14 is a flowchart illustrating the ninth embodiment.
  • FIG. 15 is a flowchart illustrating the tenth embodiment.
  • FIG. 16 is a flowchart illustrating the eleventh embodiment.
  • FIG. 17 is a timing chart for explaining the twelfth embodiment.
  • FIG. 18 is Part 2 of the timing chart illustrating the twelfth embodiment.
  • FIG. 19 is a timing chart for explaining the thirteenth embodiment.
  • FIG. 20 is Part 2 of the timing chart illustrating the thirteenth embodiment.
  • FIG. 21 is a timing chart illustrating the 14th embodiment.
  • FIG. 22 is a timing chart illustrating the fifteenth embodiment.
  • FIG. 23 is a timing chart illustrating the 16th embodiment.
  • FIG. 24 is an explanatory diagram of a master node generation clock showing the 16th embodiment.
  • FIG. 25 is an explanatory diagram of a master node generation clock showing the 17th embodiment.
  • FIG. 26 is a flow explanatory diagram of serial communication showing the 17th embodiment.
  • FIG. 27 is a timing chart illustrating the eighteenth embodiment.
  • FIG. 28 is a timing chart illustrating the 19th embodiment.
  • FIG. 29 is a timing chart illustrating the twentieth embodiment.
  • FIG. 30 is a timing chart illustrating the 21st embodiment.
  • FIG. 31 is a timing chart illustrating the 22nd embodiment.
  • FIG. 32 is a timing chart illustrating the 23rd embodiment.
  • FIG. 33 is a timing chart illustrating the 24th embodiment.
  • FIGS. 1 to 4 A large number of ECUs (Electronic Control Units) are installed in the vehicle, and while these ECUs communicate with each other, an ECU having functions as a relay node 1, a master node 2, and a slave node 3 is installed in the vehicle. It electronically controls 100, 200, and 300 actuators such as various installed switches.
  • ECUs Electronic Control Units
  • the ECU in the vehicle performs multiplex communication based on a predetermined communication standard. 1 to 3 are shown specifically for the communication functions of the relay node 1, the master node 2, and the slave node 3. Inside the sub-control units 20, 120 and 220, only the main communication lines are shown.
  • the relay node 1 has a gateway function for transmitting / receiving data between the master node 2 and the slave node 3.
  • the relay node 1 includes a main control unit 10, a sub control unit 20, a transceiver 90, and a transceiver 91.
  • the main control unit 10 includes, for example, a control circuit 11 configured by a microcomputer equipped with a CPU, a memory such as a ROM or RAM, and a peripheral circuit by an A / D conversion circuit (not shown).
  • the control circuit 11 is configured to operate based on an input clock signal and execute various controls.
  • the control circuit 11 realizes a function as a communication control unit 12 by executing a program by a microcomputer.
  • the main control unit 10 has a normal state in the normal operation mode and a sleep state (or a standby state) in which the power consumption is lower than that in the normal operation mode.
  • the power supply is supplied. It may be in the off state.
  • the mode in which the power consumption is low is described as the sleep state.).
  • the main control unit 10 receives a start request (for example, a wakeup signal) from the start control unit 25 described later in the sleep state, the main control unit 10 starts in the normal state. It takes at least more time than the startup time of the sub-control unit 20 for the main control unit 10 to complete the startup to the normal state in which the microcomputer executes software and can transmit and receive data.
  • the main control unit 10 can execute normal communication control with other communication nodes 2 and 3 using a predetermined communication protocol such as CXPI, CAN, or LIN.
  • the sub control unit 20 is provided separately from the main control unit 10 and is configured by a custom logic circuit that starts up faster and consumes less power than the main control unit 10.
  • the sub-control unit 20 mainly executes communication control while the main control unit 10 is not activated.
  • the sub-control unit 20 incorporates a volatile memory 31 such as a register having a relatively high access speed, and further, a counter 32 for counting the internal clock and the bus clock from the start timing is a time interval measuring unit. And it is incorporated as an elapsed time measuring unit.
  • a volatile memory 31 such as a register having a relatively high access speed
  • a counter 32 for counting the internal clock and the bus clock from the start timing is a time interval measuring unit. And it is incorporated as an elapsed time measuring unit.
  • the sub-control unit 20 includes an input monitoring unit 21, a reception determination unit 40, a reception determination unit 50, a transmission control unit 60, a transmission control unit 70, an activation control unit 25, an activation timing determination unit 26, a transmission switching unit 27, and a transmission switching unit. 28, a reception switching unit 29, and a custom hardware configuration block as a reception switching unit 30 are provided.
  • the start control unit 25 has a function as a wakeup signal transmission unit that sends a wakeup signal to the main control unit 10, or a function as a power supply control unit that controls the power supply of the main control unit 10, and any of these.
  • the main control unit 10 is activated and controlled by the function of.
  • the wake-up signal mentioned here also includes an enable signal to be input to the enable terminal of the microcomputer constituting the main control unit 10, an interrupt signal for starting the microcomputer, and the like, and these wake-up signals.
  • the main control unit 10 can be activated by transmitting a signal.
  • the activation control unit 25 switches the output of the reception switching unit 29 to the input terminal of the reception signal RX of the main control unit 10, and wakes up pulse to the input terminal of the reception signal RX of the main control unit 10 through the reception switching unit 29.
  • the sub-control unit 20 is configured with OR gates 22 to 24.
  • the OR gates 22 to 24 logically sum the input signals and output them.
  • the activation necessity determination unit 33 includes OR gates 22 to 24, an activation timing determination unit 26, and an activation control unit 25.
  • the activation necessity determination unit 33 determines whether the main control unit 10 needs to be activated based on the input signals from the input monitoring unit 21, the reception determination unit 40, and the reception determination unit 50, and executes the activation control of the main control unit 10. It is a block to do.
  • the start timing determination unit 26 of the main control unit 10 determines the elapsed time from the start timing of the main control unit 10, determines the output signal output by the main control unit 10, or determines the output signal of the main control unit 10.
  • the start-up completion timing is determined by determining the elapsed time from the timing at which the output signal is started to be output. Further, the activation timing determination unit 26 generates a timing signal for signal transmission from the transmission control unit 70 based on the determined activation completion timing.
  • the transceiver 90 is composed of a transmitter 92 and a receiver 93, and is configured to send and receive frames to and from the master node 2 connected to the communication bus 80.
  • the transmitter 92 converts the input transmission signal TX into a frame based on the communication standard and sends it to the communication bus 80 connected to the master node 2.
  • the receiver 93 converts a frame input from the communication bus 80 into a signal and causes the reception switching unit 29 of the relay node 1 to input the frame as a reception signal RX.
  • it may include a decoding unit by PWM modulation.
  • the transceiver 91 is also composed of the transmitter 94 and the receiver 95, and is configured to send and receive frames to and from the slave node 3 connected to the communication bus 81.
  • the transmitter 94 converts the input transmission signal TX into a frame based on the communication standard and sends it to the communication bus 81 connected to the slave node 3.
  • the receiver 95 converts a frame input from the communication bus 81 into a signal and causes the reception switching unit 30 of the relay node 1 to input the frame as a reception signal RX.
  • the transceivers 90 and 91 may include a modulation / demodulation unit by PWM.
  • the input monitoring unit 21 is a block that monitors the switch change of the switch or the like 100 installed in the vehicle, and when the main control unit 10 detects the switch change of the switch or the like 100 while the main control unit 10 has not completed the activation, an event occurs. judge.
  • the main control unit 10 is connected so as to directly input the signal of the switch or the like 100, and the main control unit 10 directly monitors the switch change of the switch or the like 100. Therefore, when the main control unit 10 detects a switch change of 100 such as a switch after the start-up is completed, it can determine that an event has occurred.
  • the main control unit 10 is connected so as to directly input the signal of the switch or the like 100, but the output of the input monitoring unit 21 is connected to the main control unit 10 and the main control unit 10 inputs.
  • a switch change of 100 such as a switch may be detected via the monitoring unit 21.
  • the main control unit 10 cannot communicate with the master node 2 in the sleep state, but after the activation is completed, the main control unit 10 can communicate with the master node 2 through the transceiver 90 by the transmission signal TX and the reception signal RX.
  • the main control unit 10 cannot communicate with the slave node 3 in the sleep state, but can communicate with the slave node 3 through the transceiver 91 by the transmission signal TX and the reception signal RX after the activation is completed.
  • the main control unit 10 starts executing the initialization process from the sleep state or completes the activation, the main control unit 10 transmits various output signals such as a clock signal, a PWM signal, and a transmission signal TX from the control circuit 11.
  • the activation timing determination unit 26 determines whether or not the main control unit 10 has completed activation based on the output signal output by the main control unit 10, and determines the expected timing at which activation is completed. When the start timing determination unit 26 detects the start completion timing by the main control unit 10 or calculates the expected start timing, the start timing determination unit 26 outputs a timing signal to the transmission control unit 60.
  • the transmission switching unit 28 switches so that the transmission signal TX generated by the transmission control unit 60 is input to the transmitter 94 from the sleep state to the completion of activation of the main control unit 10.
  • the transmission control unit 60 switches and controls the transmission switching unit 28 so that the transmission signal TX of the main control unit 10 is input to the transmitter 94.
  • the reception switching unit 30 activates the main control unit 10 by the wake-up signal from the start control unit 25, the reception switching unit 30 sends the wake-up signal from the start control unit 25 to the main control unit 10 until the main control unit 10 completes the activation. To input.
  • the activation control unit 25 switches and controls the reception switching unit 30 so that the reception signal RX by the receiver 93 is input to the main control unit 10.
  • the reception determination unit 40 is a block that determines the content of the reception signal RX from the communication bus 80 connected to the master side, and is a wakeup signal determination unit 41, a bus start signal determination unit 42, and a dummy reception determination unit 43. , And a functional block as a time interval determination unit 44.
  • the transmission control unit 60 includes a functional block as an execution unit including a dummy signal transmission unit 61, a bus activation signal transmission unit 62, and a wakeup signal transmission unit 63.
  • the wake-up signal determination unit 41 is a block that determines whether or not a wake-up signal has been received from the communication bus 80, and outputs an active signal to the start control unit 25 through the OR gate 22 when the wake-up signal is received. ..
  • the start control unit 25 receives the active signal, it outputs a wake-up pulse to the main control unit 10 through the reception switching unit 29.
  • the wake-up signal determination unit 41 receives the wake-up signal, it outputs an active signal to the transmission control unit 60 through the OR gate 24.
  • the transmission control unit 60 receives an active signal from the wake-up signal determination unit 41 through the OR gate 24, the wake-up signal transmission unit 63 outputs the wake-up signal to the transmitter 94 through the transmission switching unit 28.
  • the transmitter 94 of the transceiver 91 receives the wake-up signal, it sends a wake-up pulse to another communication bus 81. This activates another slave node 3 connected to the communication bus 81.
  • the bus start signal determination unit 42 is a block that determines whether or not the communication bus 80 is started, and a bus start signal that activates the communication bus 80 and becomes an active state such as a bus clock is sent to the communication bus 80. Determine if it is. If the bus activation signal to be activated is transmitted to the communication bus 80, the bus activation signal determination unit 42 transmits the active signal to the transmission control unit 60 on the slave side. When the transmission control unit 60 receives the active signal, the bus activation signal transmission unit 62 transmits the active bus activation signal to the other communication bus 81.
  • the bus start signal transmission unit 62 sends a bus start signal, that is, an idle signal such as a clock, to the communication bus 81 in response to the timing signal from the start timing determination unit 26 of the main control unit 10, and another slave node. 3 receives the bus start signal, and the main control unit 10 of the slave node 3 can complete the start of communication until the main control unit 210 of the slave node 3 starts communication with the main control unit 10 of the relay node 1.
  • the main control unit 10 can receive information such as event communication from the communication bus 81 in as little wait time as possible.
  • the dummy reception determination unit 43 refers to the reception signal RX received from the communication bus 80 through the receiver 93, and whether or not the dummy signal is received from the dummy signal transmission unit 161 of the master node 2 (corresponding to another communication node), or. This block determines whether or not the received data of the dummy signal has been normally received. When the dummy reception determination unit 43 determines that the dummy signal has been received, the dummy reception determination unit 43 sequentially stores the reception data of the dummy signal in the memory 31.
  • the dummy reception determination unit 43 receives the dummy signal from the dummy signal transmission unit 161 of the master node 2, the dummy reception determination unit 43 transmits an active signal to the transmission control unit 60 on the slave side.
  • the transmission control unit 60 receives the active signal, the dummy signal transmission unit 61 transmits the dummy signal to the other communication bus 81 to transmit the dummy signal to the slave node 3.
  • the dummy signal transmission unit 61 transmits a dummy signal to the communication bus 81 in response to the timing signal from the activation timing determination unit 26 of the main control unit 10.
  • the main control unit 10 can receive information such as event communication from the communication bus 81 in as little wait time as possible.
  • a confirmation line 43a is connected between the reception determination unit 40 and the main control unit 10.
  • the confirmation line 43a confirms the reception data included in the dummy signal received by the dummy reception determination unit 43 from the main control unit 10, or indicates that the reception of the dummy signal received by the dummy reception determination unit 43 is completed.
  • the communication line to be confirmed from the main control unit 10 is shown.
  • the time interval determination unit 44 refers to the received signal RX received from the communication bus 80 through the receiver 93, and after receiving the wake-up signal, the elapsed time from receiving the wake-up signal to receiving the bus start signal. The elapsed time until the dummy signal is received or the elapsed time from the reception of the bus start signal to the reception of the dummy signal is measured as a time interval using the counter 32.
  • the time interval determination unit 44 can also determine whether or not the main control unit 10 of the relay node 1 needs to be activated based on the measured time interval. When the time interval determination unit 44 determines that activation is necessary, the time interval determination unit 44 outputs an active signal to the wakeup signal determination unit 41. When the wake-up signal determination unit 41 receives the active signal, it outputs the active signal to the start control unit 25 through the OR gate 22.
  • the activation control unit 25 activates and controls the main control unit 10 when it receives an active signal. As a result, the main control unit 10 can be activated at the timing when the time interval determination unit 44 determines that activation is necessary.
  • the reception determination unit 40 of the sub-control unit 20 can also determine the type of the event transmitted from the master node 2 on the transmitting side based on the above-mentioned time interval. Further, the reception determination unit 40 of the sub-control unit 20 can classify the control to be processed by the relay node 1 or the slave node 3 on the receiving side into several types according to the length of the time interval described above, and these types. The identification information for identifying the above is stored in the memory 31.
  • the identification information based on the time interval of the time interval determination unit 44 can be referred from the main control unit 10 through the confirmation line 43a or the like, and the main control unit 10 can determine the event type from this identification information. Therefore, the main control unit 10 can quickly change the processing content to be executed according to this information after the activation is completed.
  • the main control unit 210 of the slave node 3 can also quickly change the processing content.
  • the control contents of the main control unit 10 may be changed in consideration of the change input of 100 such as a switch. Specific examples of these will be described later.
  • the reception determination unit 40 is based on the data received from the receiver 93. Data is created and transmitted to the transmission control unit 60.
  • the reception determination unit 40 sets the data transmission timing.
  • the command signal is output to the transmission control unit 60.
  • the transmission control unit 60 sets a parameter for timing at which the wake-up signal is transmitted by the wake-up signal transmission unit 63, and a parameter for timing at which the bus start signal transmission unit 62 transmits a bus start signal that activates the communication bus 81. Is set, and the parameter of the timing at which the dummy signal is transmitted is set by the dummy signal transmission unit 61. At this time, it is desirable that the transmission control unit 60 refers to the timing signal of the start timing determination unit 26, calculates back from the timing when the main control unit 10 is expected to complete the start, and sets the timing parameter.
  • the transmission control unit 60 outputs a wake-up signal, a bus start signal, and a dummy signal to the transceiver 91 through the transmission switching unit 28 based on the set data transmission timing.
  • the transmitter 94 of the transceiver 91 creates a frame containing the input data and sends it to the communication bus 81.
  • the reception determination unit 50 configured on the slave side determines the signal input from the connected communication bus 81, and has a function as a wakeup signal determination unit 51.
  • the wake-up signal determination unit 51 is a block that determines whether or not a wake-up signal has been received from the communication bus 81. When the wake-up signal determination unit 51 receives the wake-up signal, the wake-up signal determination unit 51 outputs an active signal to the start control unit 25 through the OR gate 22. When the start control unit 25 receives the active signal, it outputs a wake-up signal to the main control unit 10 through the reception switching unit 30 of the sub control unit 20, or executes power control of the main control unit 10 to control the main control unit 10. To start.
  • the reception switching unit 30 is the activation control unit until the main control unit 10 completes the activation.
  • the wake-up signal by 25 is input to the main control unit 10.
  • the activation control unit 25 detects that the activation of the main control unit 10 is completed, the activation control unit 25 switches so that the reception signal RX by the receiver 95 is input to the main control unit 10.
  • the transmission control unit 70 includes a wake-up signal transmission unit 71.
  • the wake-up signal transmission unit 71 When the transmission control unit 70 receives the active signal, the wake-up signal transmission unit 71 outputs the wake-up signal to the transmitter 92 through the transmission switching unit 27.
  • the transmitter 92 of the transceiver 90 When the transmitter 92 of the transceiver 90 receives the wake-up signal, it sends a wake-up pulse to the communication bus 80 to activate the master node 2 connected to the communication bus 80. Further, the transmission control unit 70 switches the transmission switching unit 27 and controls the transmission of data to the master node 2 through the communication bus 80 while the main control unit 10 has not completed the activation.
  • the transmission switching unit 27 switches so that the transmission signal TX by the transmission control unit 70 is input to the transmitter 92 from the sleep state to the completion of activation of the main control unit 10.
  • the transmission control unit 70 switches and controls the transmission switching unit 27 so that the transmission signal TX of the main control unit 10 is input to the transmitter 92.
  • the reception switching unit 29 is the activation control unit until the main control unit 10 completes the activation.
  • the wake-up signal by 25 is input to the main control unit 10.
  • the activation control unit 25 detects that the activation of the main control unit 10 is completed, the activation control unit 25 switches so that the reception signal RX by the receiver 93 is input to the main control unit 10.
  • the wake-up signal determination unit 51 receives the wake-up signal from the communication bus 81 through the receiver 95, the wake-up signal determination unit 51 outputs an active signal to the transmission control unit 60.
  • the transmission control unit 60 inputs an active signal from the wake-up signal determination unit 51, the transmission control unit 60 passes through the transceiver 28 through the transmission switching unit 28 based on the data transmission timing set by the bus start signal transmission unit 62 and the dummy signal transmission unit 61 described above. A bus start signal and a dummy signal are output to 91, respectively.
  • the transmitter 94 of the transceiver 91 creates a frame containing the input data and sends it to the communication bus 81.
  • FIG. 2 shows the configuration of the master node 2 by omitting a part of the configuration of the relay node 1, but for convenience of explanation, a code in which 100 is added to the code of the component attached to FIG. 1 has the same function. It is attached to the component equipped with.
  • the components shown in FIG. 2 are listed, and the functional description of the components is omitted.
  • FIG. 2 illustrates only the components necessary for the master node 2 to communicate and connect with the relay node 1, and if it functions only as the master node 2, the functions included in the other relay nodes 1 are included. May be omitted.
  • the master node 2 includes a main control unit 110, a sub control unit 120, and a transceiver 191.
  • the main control unit 110 is configured by connecting a peripheral circuit (not shown) to the control circuit 111.
  • the control circuit 111 includes a communication control unit 112.
  • the sub-control unit 120 includes an input monitoring unit 121, a reception determination unit 150, a transmission control unit 160, an OR gate 124, a start timing determination unit 126, a start control unit 125, a transmission switching unit 128, a reception switching unit 129, a memory 131, and the like.
  • a counter 132 is provided as an elapsed time measuring unit.
  • a switch or the like 200 is connected to the input monitoring unit 121 and the control circuit 111.
  • the reception determination unit 150 includes a wakeup signal determination unit 151.
  • the transmission control unit 160 includes a dummy signal transmission unit 161, a bus activation signal transmission unit 162, and a wakeup signal transmission unit 163.
  • the transceiver 191 includes a transmitter 194 and a receiver 195.
  • the output of the OR gate 124 is connected to the start control unit 125 and the start timing determination unit 126.
  • the start timing determination unit 126 and the start control unit 25 are connected to each other.
  • FIG. 3 shows the configuration of the slave node 3 by omitting a part of the configuration of the relay node 1, but for convenience of explanation, a code in which 200 is added to the code of the component attached to FIG. 1 has the same function. It is attached to the component equipped with.
  • the components shown in FIG. 3 are listed, and the functional description of the components is omitted.
  • FIG. 3 illustrates only the components necessary for the slave node 3 to communicate and connect with the relay node 1, and if it functions only as the slave node 3, the functions included in the other relay nodes 1 are included. May be omitted.
  • the slave node 3 includes a main control unit 210, a sub control unit 220, and a transceiver 290.
  • the main control unit 210 is configured by connecting a peripheral circuit (not shown) to the control circuit 211.
  • the control circuit 211 includes a communication control unit 212.
  • the sub-control unit 220 includes an input monitoring unit 221, a reception determination unit 240, a transmission control unit 270, an OR gate 223, an activation control unit 225, an activation timing determination unit 226, a transmission switching unit 227, a reception switching unit 229, a memory 231 and the like.
  • a counter 232 is provided.
  • a switch or the like 300 is connected to the input monitoring unit 221 and the control circuit 211.
  • the activation necessity determination unit 233 is composed of an OR gate 223 and an activation control unit 225.
  • the reception determination unit 240 includes a time interval determination unit 244, a wakeup signal determination unit 241, a bus start signal determination unit 242, and a dummy reception determination unit 243.
  • a confirmation line 243a is connected between the reception determination unit 240 and the main control unit 210.
  • the transmission control unit 270 includes a wake-up signal transmission unit 271.
  • the transceiver 290 includes a transmitter 292 and a receiver 293.
  • the transmission control units 60 and 70 of the sub-control unit 20 include wake-up signal transmission units 63 and 71 that transmit wake-up pulses, and the reception determination units 40 and 50 provide wake-up signals.
  • the wake-up signal determination units 41 and 51 for determining the above are shown.
  • the transceiver 90 or the transceiver 91 may have functions of wake-up signal transmission units 63 and 71 for transmitting wake-up pulses, or functions as wake-up signal determination units 41 and 51 for determining wake-up signals. May be provided. In this case, even if the sub-control unit 20 controls the transceiver 90 and the transceiver 91, the functions as the wake-up signal transmission units 63 and 71 and the functions as the wake-up signal determination units 41 and 51 are realized. good. The same applies to the master node 2 and the slave node 3 illustrated in FIGS. 2 and 3.
  • the slave node 3 notifies the relay node 1 and the master node 2 of the event occurrence that occurs in response to the input change of the switch or the like 300 connected to the slave node 3 will be described.
  • the description will be made on the premise that the relay node 1 and the master node 2 are maintained in the sleep state.
  • FIG. 4 shows a flowchart in which when an event occurs in the slave node 3, the slave node 3 notifies the master node 2 of the event occurrence through the relay node 1.
  • the start control unit 225 calculates the timing for starting the main control unit 210 in S102 and waits so that the event occurrence can be notified to the master node 2 through the relay node 1 in a timely manner.
  • the activation control unit 225 instructs the main control unit 210 to start in S103, and activates the main control unit 210 in S104.
  • the communication bus 280 is connected to the relay node 1 through the communication bus 81, and the relay node 1 can receive the wakeup pulse in S111. After that, the slave node 3 monitors the communication bus 280 through the transceiver 290 and determines whether or not the processing condition of S106 is satisfied.
  • step S106 the bus activation signal determination unit 242 determines whether or not the communication bus 280 has been activated, and / and the dummy reception determination unit 243 determines whether or not a dummy signal has been received from the relay node 1.
  • the sub-control unit 220 determines that the communication bus 280 has been activated and received the dummy transmission in S106, and has determined that the main control unit 210 has been activated in S104. Upon confirmation by the unit 226, the preparation process ends, and the transmission switching unit 227 and the reception switching unit 229 are switched to the main control unit 210 side, so that the initiative of communication control is passed to the main control unit 210. After that, the main control unit 210 transmits to the relay node 1 that an event has occurred in S107 through the communication bus 280. Along with this, the relay node 1 can receive the event occurrence information in S114.
  • the wakeup signal determination unit 51 of the reception determination unit 50 determines that the wakeup pulse has been received through the communication bus 81.
  • the reception determination unit 50 outputs the reception information of the wake-up pulse to the transmission control unit 70, the transmission control unit 60, and the activation control unit 25.
  • the relay node 1 is mainly controlled by simultaneously processing the processes of S112 to S113, the processes of S116 to S117, and the processes of S118 to S119 according to their respective task schedules, triggered by the reception of the wakeup pulse in S111.
  • the preparation process is executed so that the communication with the slave node 3 connected to the communication bus 81 can be started at the timing when the unit 10 completes the activation.
  • Preparation processing contents of S112 to S113 The bus activation signal transmission unit 62 of the transmission control unit 60 calculates the timing at which the idle signal by the bus clock is transmitted to the communication bus 81 in S112 so that the notification of the event occurrence can be received from the slave node 3 side in a timely manner. stand by.
  • the dummy signal transmission unit 61 of the transmission control unit 60 calculates and waits for the timing of transmitting the dummy signal to the communication bus 81 in S112 so that the notification of the event occurrence can be received from the slave node 3 side in a timely manner.
  • the calculation standby process by these bus activation signal transmission unit 62 and dummy signal transmission unit 61 is performed by either one or both.
  • the relay node 1 may be calculated so as to be at a convenient timing for receiving the event occurrence notification from the slave node 3 side.
  • the bus start signal transmission unit 62 outputs a bus start signal for activating the communication bus 81 prior to receiving the event occurrence in S114 at the timing in S113. Further, the dummy signal transmission unit 61 transmits a dummy signal to the slave node 3 through the communication bus 81 prior to receiving the event occurrence in S114 at the timing in S113.
  • the relay node 1 activates the main control unit 10 in S117 by instructing the main control unit 10 to start from the activation control unit 25 in S116. At this time, in S116, a wake-up pulse is input to the input terminal of the reception signal RX of the main control unit 10 or by controlling the power supply to give an activation instruction, and in S117, the main control unit 10 is activated. It takes a considerable amount of time for the main control unit 10 to complete the activation.
  • the relay node 1 activates the transmitter 92 by the transmission control unit 70 of the sub-control unit 20, and transmits a wake-up pulse from the wake-up signal transmission unit 71 to the communication bus 80 through the transmitter 92 in S118. ..
  • the communication bus 80 is connected to the master node 2 through the communication bus 181 and the master node 2 can receive the wake-up pulse in S121. After that, the relay node 1 monitors the communication bus 80 through the receiver 93, and determines whether or not the condition of S119 is satisfied.
  • step S119 whether or not the communication bus 80 has been started by the bus start signal determination unit 42 of the sub-control unit 20, and / and the dummy signal has been received from the master node 2 by the dummy reception determination unit 43 of the sub-control unit 20. Whether or not it is determined.
  • the sub-control unit 20 starts the communication bus 81 in S113 and transmits a dummy signal to the communication bus 81.
  • the sub-control unit 20 confirms in S117 that the main control unit 10 has been activated by the activation timing determination unit 26, the sub-control unit 20 ends the preparation process, and the transmission switching unit 27, the reception switching unit 29, the transmission switching unit 28, and the reception unit 20 complete the preparation process.
  • the switching unit 30 By switching the switching unit 30 to the main control unit 10, the initiative of communication control is passed to the main control unit 10.
  • the main control unit 10 can receive the notification of the event occurrence from the slave node 3 through the communication bus 81 in S114.
  • Processing contents of S120 Upon receiving the notification of the event occurrence in S114, the main control unit 10 of the relay node 1 notifies the master node 2 of the event occurrence in S120 via the communication bus 80, provided that the condition of S119 is satisfied. Along with this, the master node 2 can receive the notification of the event occurrence in S126.
  • the wakeup signal determination unit 151 of the reception determination unit 150 determines that the wakeup pulse has been received through the communication bus 181.
  • the wake-up signal determination unit 151 outputs the reception information of the wake-up pulse to the transmission control unit 70, the transmission control unit 60, and the activation control unit 25.
  • the master node 2 When the master node 2 receives the wakeup pulse in S121 of FIG. 4, the master node 2 simultaneously performs the processes of S122 to S123 and the processes of S124 to S125 according to different task schedules.
  • the bus activation signal transmission unit 162 of the transmission control unit 170 calculates and waits for the timing of transmitting the idle signal by the bus clock to the communication bus 181 in S122 so that the notification of the event occurrence can be received from the relay node 1 side in a timely manner. do.
  • the dummy signal transmission unit 161 of the transmission control unit 170 calculates and waits for the timing of transmitting the dummy signal to the communication bus 181 in S122 so that the notification of the event occurrence can be received from the relay node 1 side in a timely manner.
  • the calculation standby process by these bus activation signal transmission unit 162 and dummy signal transmission unit 161 is performed by either one or both.
  • the master node 2 may be calculated so as to be at a convenient timing for receiving the notification of the event occurrence from the relay node 1 side.
  • the bus start signal transmission unit 162 starts the bus at the timing in S123, and the dummy signal transmission unit 161 transmits the dummy signal at the timing in S123.
  • the main control unit 110 can receive the notification of the event occurrence from the relay node 1 through the communication bus 181 in S126.
  • the main control unit 110 of the master node 2 can receive the notification of the event occurrence from the relay node 1, and can receive the notification of the event occurrence from the slave node 3 in which the event has occurred via the relay node 1.
  • Processing contents of S127 >> Upon receiving the notification of the event occurrence, the main control unit 110 of the master node 2 executes processing according to the event content in S127.
  • the slave node 3 and the master node 2 require the start-up time of the main control units 210 and 110, and the relay node.
  • the start-up time of the main control unit 10 since the start-up time of the main control unit 10 is additionally required, there is a problem that a large amount of time is required until the communication is completed.
  • ⁇ Summary of the first embodiment> when the relay node 1 and the master node 2 are in the sleep state and the event generated in the slave node 3 is notified to the master node 2, the sub-control unit 20 of the relay node 1 is notified. Triggered by detecting the wake-up pulse signal in S111, while instructing the main control unit 10 to start in S116, the communication bus 81 was started in advance in S113, and a dummy signal was transmitted to S114. It is prepared before the event notification by the main control unit 10.
  • the sub-control unit 20 of the relay node 1 activates the communication bus 81 to which the wake-up pulse has been transmitted until the main control unit 10 completes activation, and the sub-control unit 20 of the relay node 1 activates the communication bus 81 by the bus activation signal.
  • a dummy signal is transmitted at the timing when the startup is completed. As a result, the event notification can be received immediately after the main control unit 10 has been activated.
  • the sub-control unit 120 of the master node 2 triggers the detection of the wake-up pulse signal in S121 to start the communication bus 181 in advance in S123 while instructing the main control unit 110 to start in S124. By communicating a dummy signal, preparations are made before the event notification by the main control unit 110 of S126.
  • the sub-control unit 120 of the master node 2 activates the communication bus 181 to which the wake-up pulse has been transmitted until the main control unit 110 completes activation, and the main control unit 110 activates the communication bus 181 by the bus activation signal.
  • a dummy signal is transmitted at the timing when the startup is completed. As a result, the event notification can be received immediately after the main control unit 110 has been activated.
  • Preparatory processing such as bus activation and dummy signal communication can be performed simultaneously with activation processing of the main control units 10, 110, 210 for event communication, and an event is sent from the slave node 3 to the master node 2 through the relay node 1. Notification time can be shortened and event notification can be speeded up.
  • the relay node 1 is triggered by the detection of the wakeup signal from the slave node 3 by the wakeup signal determination unit 51 in S111, in accordance with the timing at which the main control unit 10 completes activation.
  • the wakeup signal transmission unit 71 Prior to the notification of the occurrence of an event in S120, the wakeup signal transmission unit 71 sends a wakeup pulse to the communication bus 80 in advance through the transceiver 90 so that communication with the master node 2 connected to the communication bus 80 can be started. are doing.
  • the sub control unit 120 can instruct the main control unit 110 of the master node 2 to start in S124, and can prepare in advance before receiving the event notification in S126. Therefore, even if the event is notified from the relay node 1 in S120, the main control unit 110 can receive the event notification in S126.
  • the mode in which the event occurs in the slave node 3 is shown, but even when the event occurs in response to an input change of 100 such as a switch connected to the relay node 1, the relay node 1 and the master node 2
  • an input change of 100 such as a switch connected to the relay node 1, the relay node 1 and the master node 2
  • the relay node 1 can be applied to a form having any one of the functions of the bus activation signal transmission unit 62 and the dummy signal transmission unit 61.
  • the slave node 3 can be applied to a form having any one of the functions of the bus activation signal transmission unit 162 and the dummy signal transmission unit 161.
  • the wakeup signal determination unit 51 receives the wakeup pulse in S111
  • the timing is measured in S112a and S113a
  • the bus start signal transmission unit 62 activates the communication buses 81 and 280 in advance. Send a bus start signal.
  • the timing is measured in S112b and S113b, and the dummy signal is transmitted to the slave node 3 in advance by the dummy signal transmission unit 61 through the communication bus 81 and 280.
  • the same step numbers as those in FIG. 4 are assigned in FIG. 5, and the description thereof will be omitted.
  • the sub-control unit 220 of the slave node 3 receives a bus start signal from the relay node 1 in S106a, and then gives a start instruction in S103 to start the main control unit 210.
  • the start of the main control unit 210 can be delayed.
  • the communication standby time of the main control unit 210 can be shortened, and the power consumption of the slave node 3 can be reduced.
  • the startup time of the main control unit 10 can be increased.
  • Preparatory processing such as bus startup and dummy signal communication can be executed in parallel with the startup processing of the main control unit 10 and main control unit 110 that communicate events between nodes, and an event occurs from the slave node 3 to the master node 2. You can shorten the time to notify.
  • the relay node 1 receives the wake-up pulse from the slave node 3 in S111, and then immediately sends the wake-up pulse to the communication bus 80 in S118 to transmit it to the master node 2.
  • the wake-up signal determination unit 151 determines that the wake-up pulse has been received in S121
  • the timing is measured in S122a and S123a
  • the bus start signal transmission unit 162 activates the communication buses 181, 80 in advance.
  • the main control unit 110 is started in S125 by instructing the start from the sub control unit 120 in S124.
  • the bus start signal transmission unit 62 measures the timing in S112a and S113a to activate the communication buses 81 and 280 in advance. Start the bus to.
  • the bus activation signal determination unit 242 since the communication bus 280 is activated in the active state through the communication bus 81, it can be determined by the bus activation signal determination unit 242 that the bus has been activated in S106a. In the slave node 3, after the bus start signal determination unit 242 determines the bus activation, the main control unit 210 is activated in S104 by instructing the activation in S103, and the dummy signal is received by the dummy reception determination unit 243 in S106b. Judge whether or not.
  • the relay node 1 is notified of the event occurrence in S107 on condition that the main control unit 210 is activated in S104 and the dummy signal is received in S106b.
  • the event notification is received in S114 on condition that the main control unit 10 has been activated in S117. Further, in the relay node 1, after determining the reception of the dummy signal from the master node 2 in S119b, the event notification received in S114 is notified to the master node 2 in S120. When the master node 2 receives the event notification in S126, the master node 2 executes processing according to the event content in S127.
  • the relay node 1 when the relay node 1 receives the wake-up pulse from the slave node 3, the relay node 1 immediately transmits the wake-up pulse to the master node 2.
  • the master node 2 receives a wake-up pulse from the slave node 3 in S121 through the relay node 1, the master node 2 sends a bus start signal for activating the communication bus 181 in advance by the bus start signal transmission unit 162 in S123a. .. Then, on the master node 2 side, the startup time of the main control unit 110 in S125 can be secured for a long time. Further, the start-up of the main control unit 210 of the slave node 3 and the main control unit 10 of the relay node 1 can be delayed, and the power consumption of the slave node 3 and the relay node 1 can be reduced.
  • the wake-up pulse signal and the communication buses 181 and 81, 280 are in the active state while the relay node 1 and the master node 2 are activating the main control units 10 and 110, respectively.
  • the transmission interval of any two of the three, the bus start signal and the dummy signal, is changed. Therefore, the start start of the main control unit 210 of the slave node 3 and the main control unit 10 of the relay node 1 can be freely changed, and the start completion timing of the main control units 210 and 10 can be adjusted. Further, the transmission interval may be changed according to the input change of 100, 200 such as the switch by the input monitoring units 21 and 121.
  • FIG. 7 shows a time sequence related to the event occurrence notification on the slave side together with a comparative example.
  • a timing chart assuming a system in which the sub-control unit 220 of the slave node 3, the sub-control unit 20 of the relay node 1, and the sub-control unit 120 of the master node 2 are not provided is described.
  • the slave node 3 is activated in response to the event occurrence at the timing t1, and the wakeup pulse is transmitted to the relay node 1 at the timing t1a.
  • the relay node 1 receives the wakeup pulse, it is activated at the timing t2a and receives the event notification from the slave node 3.
  • the relay node 1 transmits a wakeup pulse to the master node 2 at the timing t2b after receiving the event notification.
  • the master node 2 receives the wake-up pulse, it is activated at the timing t4a and receives the event notification from the relay node 1.
  • the slave node 3 starts starting the main control unit 210 at the timing t1, but the sub-control unit 220 of the slave node 3 starts during this activation. Is transmitting a wakeup pulse to the relay node 1. Therefore, as compared with the comparative example, the time until the slave node 3 transmits the wake-up pulse to the relay node 1 can be shortened.
  • the sub-control unit 20 of the relay node 1 after the sub-control unit 20 of the relay node 1 receives the wake-up pulse at the timing t2, the sub-control unit 20 of the relay node 1 immediately relays the wake-up pulse to the relay node. It is sending to 1. Therefore, compared to the comparative example, the time required for the relay node 1 to transmit the wakeup pulse to the master node 2 can be shortened.
  • the timing t5 at which the master node 2 completes receiving the reception data of the event notification generated by the slave node 3 is faster than the timing ta at which the reception data is completed in the comparative example, and the time can be shortened during this period. ..
  • FIG. 7 does not describe in detail the operation of the sub-control units 20, 120, 220 in each node, the communication used between the slave node 3 and the relay node 1, the relay node 1 and the master node 2. It is applicable even if the protocols are different.
  • FIGS. 4 to 6 and the timing chart of FIG. 7 exemplify the case where the slave node 3 notifies the master node 2 of the event occurrence via the relay node 1, but the slave node 3 and the master Even when the node 2 is directly connected, the communication response delay can be shortened and the power consumption can be reduced.
  • the fifth embodiment will be described with reference to FIGS. 8 to 10.
  • a method for the master node 2, the relay node 1, and the slave node 3 activation timing determination units 26, 126, and 226 to determine the activation completion timing of the main control units 10, 110, and 210 will be described. ..
  • the relay node 1 will be described as an example, but the same can be made for both the master node 2 and the slave node 3.
  • the sub-control unit 20 of the relay node 1 is before communication with the slave node 3 by the transmission control unit 60 and the reception determination unit 50 until the main control unit 10 is started up. Is performed, and the transmission control unit 70 and the reception determination unit 40 perform preparatory processing before communication with the master node 2.
  • the sub control unit 20 switches the transmission switching units 27 and 28 and the reception switching units 29 and 30 to the main control unit 10. Passing the initiative of communication control.
  • the start timing determination unit 26 of the sub control unit 20 determines the start completion timing of the main control unit 10 will be described.
  • the activation timing determination unit 26 determines whether or not the main control unit 10 has been activated by using the output signal of the main control unit 10 until the activation of the main control unit 10 is completed.
  • the start timing determination unit 26 may determine the start completion timing using the voltage of the output signal of the main control unit 10, the pulse period of the output signal, or the pulse width.
  • the output signals of the main control unit 10 used by the start timing determination unit 26 to determine the start completion timing of the main control unit 10 include an internal clock output, a PWM signal output, a general-purpose I / O output port, and sleep.
  • the output of the request signal, the output of the transmission signal TX, the output for monitoring the watchdog timer, and the like can be mentioned.
  • the start timing determination unit 26 has a voltage of an output port of a general-purpose I / O provided in the main control unit 10, an output voltage of a transmission signal TX, or an output terminal voltage of a sleep request signal or the like. It is preferable to detect the DC level of Vout and determine it as the start completion timing ta when the output terminal voltage Vout satisfies a predetermined condition.
  • the start completion timing ta when the upper limit of the DC level of the output terminal voltage Vout is ⁇ 1 and the lower limit is ⁇ 1, and one or more of Vout ⁇ 1, ⁇ 1 ⁇ Vout, and ⁇ 1 ⁇ Vout ⁇ 1 are satisfied. It is good to judge that it is the start completion timing ta. For example, it may be determined that the start completion timing ta is satisfied when the condition of being equal to or more than the threshold voltage, equal to or less than the threshold voltage, or within the range of the two threshold voltages is satisfied.
  • the start timing determination unit 26 may determine the timing at which the voltage of the internal clock output from the output terminal of the main control unit 10 is detected as the start completion timing ta. At this time, it is desirable to determine that the start-up is completed when the voltage cycle T of the internal clock satisfies a predetermined condition. It may be applied to the cycle T of the output pulse such as the output of the PWM signal voltage and the output for watchdog monitoring.
  • the activation is completed when any one or more of T ⁇ 2, ⁇ 2 ⁇ T, and ⁇ 2 ⁇ T ⁇ 2 are satisfied. It is good to judge it as timing ta.
  • the start timing determination unit 26 uses the timing at which the clock output voltage or PWM signal voltage output from the output terminal of the main control unit 10 or the watch dock monitoring output is detected as the start completion timing ta. Is also good. At this time, it is desirable to determine that the activation is completed when the on period Ton and / and the off period Toff of the output signal voltage satisfy a predetermined predetermined condition.
  • the upper limit value of the on period Ton of the output signal voltage is ⁇ 3
  • the lower limit value is ⁇ 3
  • the upper limit value of the off period Toff is ⁇ 4
  • the lower limit value is ⁇ 4, Ton ⁇ 3, ⁇ 3 ⁇ Ton, ⁇ 3 ⁇ Ton.
  • the timing at which the time has elapsed may be determined as the activation completion timing ta of the main control unit 10.
  • the timing at which a certain time has elapsed from the timing when the main control unit 10 detects the input change of the switch or the like 100 may be determined as the activation completion timing ta of the main control unit 10.
  • the relay node 1 has been described, but the same applies to the slave node 3 and the master node 2.
  • the activation timing determination units 26, 126, and 226 may be provided as needed. For example, in FIG. 4, if the activation completion timing of the main control unit 10, 110, or 210 can be estimated in advance by the timing generation process of S102, S112, S122, etc., each main control unit 20, 120, or 220 can be used. This is because it is not necessary to detect the activation completion timing ta of 10, 110, and 210.
  • FIG. 11 shows a flowchart in which when an event occurs in the master node 2, the master node 2 notifies the slave node 3 of the event occurrence through the relay node 1.
  • the start control unit 125 instructs the main control unit 110 to start in S203, and starts the main control unit 210 in S204.
  • the bus activation signal transmission unit 162 and the dummy signal transmission unit 161 of the sub-control unit 120 transmit the bus activation timing and the dummy signal in S202 so that the event occurrence can be notified to the slave node 3 through the relay node 1 in a timely manner. Calculate the timing to do and wait.
  • the communication bus 181 is connected to the relay node 1 through the communication bus 80, and the relay node 1 can receive the wakeup pulse in S211. After that, the bus start signal transmission unit 162 of the master node 2 transmits the bus start signal to the communication bus 181 when the bus start timing arrives, and the dummy signal transmission unit 161 relays the dummy signal when the dummy signal transmission timing arrives. Send to 1.
  • the sub-control unit 120 of the master node 2 transmits a bus start signal of the communication bus 180 in S206 and a dummy transmission, and the start timing determination unit 126 indicates that the main control unit 110 has been started in S204.
  • the preparation process is terminated, and the transmission switching unit 128 and the reception switching unit 130 are switched to the main control unit 110 side, so that the initiative of communication control is passed to the main control unit 110.
  • the main control unit 110 transmits to the relay node 1 that an event has occurred in S207 through the communication bus 181.
  • the relay node 1 can receive the event occurrence information in S214.
  • the wakeup signal determination unit 41 of the reception determination unit 40 determines that the wakeup pulse has been received through the communication bus 80.
  • the reception determination unit 40 outputs an active signal indicating that the wake-up pulse has been received to the transmission control unit 70, the transmission control unit 60, and the activation control unit 25.
  • the relay node 1 uses the reception of the wakeup pulse in S211 as a trigger to simultaneously perform the processing of S213, the processing of S216 to S217, and the processing of S218, S212, and S219 in parallel according to the individual task schedules, thereby performing the main control.
  • a preparatory process is executed so that communication with the master node 2 connected to the communication bus 80 can be started in S214 at the start-up completion timing of the unit 10.
  • step S213 the relay node 1 determines whether or not the communication bus 80 has been activated by the bus activation signal determination unit 42, and whether or not the dummy reception determination unit 43 has received the dummy transmission from the master node 2.
  • the communication bus 81 is connected to the slave node 3 through the communication bus 280, and the slave node 3 can receive the wake-up pulse in S221.
  • the relay node 1 starts the bus in S212 so that the event occurrence can be notified to the slave node 3 through the relay node 1 in a timely manner by the bus start signal transmission unit 62 and the dummy signal transmission unit 61 of the sub-control unit 20. And wait by calculating the timing to transmit a dummy signal.
  • the calculation standby process by these bus activation signal transmission unit 62 and dummy signal transmission unit 61 is performed by either one or both.
  • the relay node 1 may be calculated so as to have a convenient timing for notifying the slave node 3 of the event occurrence after receiving the event occurrence notification from the master node 2 side.
  • the bus start signal transmission unit 62 outputs a bus start signal for activating the communication bus 81 prior to the notification of the event occurrence in S220 at the timing in S219. Further, the dummy signal transmission unit 61 transmits a dummy signal to the slave node 3 through the communication bus 81 prior to the notification of the event occurrence in S220 at the timing in S219.
  • the sub-control unit 20 of the relay node 1 determines in S213 that the communication bus 80 is activated, and / or determines that a dummy signal is received through the communication bus 80.
  • the sub-control unit 20 confirms in S217 that the main control unit 10 has been started by the start timing determination unit 26, the sub-control unit 20 ends the preparation process and switches the transmission switching unit 27 and the reception switching unit 29 to the main control unit 10 side.
  • the initiative of communication control with the master node 2 is passed to the main control unit 10.
  • the main control unit 10 can receive the notification of the event occurrence from the master node 2 through the communication bus 80 in S214.
  • the transmission control unit 60 transfers the initiative of communication control with the slave node 3 to the main control unit 10 by switching the transmission switching unit 28 and the reception switching unit 30 to the main control unit 10.
  • Processing contents of S220 Upon receiving the notification of the event occurrence, the main control unit 10 of the relay node 1 notifies the slave node 3 of the event occurrence through the communication bus 81 in S220, provided that the condition of S219 is satisfied. Along with this, the slave node 3 can receive the notification of the event occurrence in S226.
  • the wakeup signal determination unit 241 of the reception determination unit 240 determines that the wakeup pulse has been received through the communication bus 280.
  • the wake-up signal determination unit 241 outputs an active signal indicating that the wake-up pulse has been received to the transmission control unit 260 and the start control unit 225.
  • the slave node 3 When the slave node 3 receives the wake-up pulse in S221 of FIG. 11, the slave node 3 simultaneously performs the processing of S223 and the processing of S224 to S225 according to different task schedules.
  • step S223 the slave node 3 determines whether or not the communication bus 280 has been activated by the bus activation signal determination unit 242, and / and whether or not the dummy reception determination unit 243 has received the dummy transmission from the relay node 1. judge.
  • the slave node 3 determines whether or not the communication bus 280 has started in S223 and determines whether or not a dummy signal has been received from the communication bus 280.
  • the sub-control unit 220 satisfies the condition of S223 and confirms in S225 that the main control unit 210 has been started by the start timing determination unit 226 (not shown)
  • the preparation process is completed, and the transmission switching unit 227 and the reception switching unit 227 and the reception switching unit
  • the initiative of communication control is passed to the main control unit 210.
  • the main control unit 210 can receive the notification of the event occurrence from the relay node 1 through the communication bus 280 in S226.
  • the main control unit 210 of the slave node 3 can receive the notification of the event occurrence from the relay node 1, and can receive the notification of the event occurrence from the master node 2 in which the event has occurred via the relay node 1.
  • Processing contents of S227 >> Upon receiving the notification of the event occurrence, the main control unit 210 of the slave node 3 executes processing according to the event content in S227.
  • the event generated by the switch or the like 200 is notified from the master node 2 to the relay node 1.
  • the sub-control unit 20 of the relay node 1 uses the detection of the wake-up signal in S211 as a trigger to instruct the main control unit 10 to start in S216, and in S213, determines the bus start of the communication bus 81 in advance and makes a dummy signal. Is prepared by the reception determination before the event notification by the main control unit 10 of S214.
  • the sub-control unit 220 of the slave node 3 determines in advance that the communication bus 280 is started in S223 while instructing the main control unit 210 to start in S224, triggered by the detection of the wake-up signal in S221. However, by determining the reception of the dummy signal, preparations are made before the event notification by the main control unit 210 of S226.
  • preparatory processing such as bus activation and dummy signal communication can be performed simultaneously with activation processing of the main control units 10, 110, and 210 for communicating events between the nodes, and the master node 2 can perform slaves. It is possible to shorten the time for notifying node 3 of the occurrence of an event.
  • the sub-control unit 20 of the relay node 1 is triggered by the detection of the wake-up signal from the master node 2 by the wake-up signal determination unit 41 in S211 to complete the activation of the main control unit 10.
  • the bus activation signal transmission unit 62 transmits a bus activation signal for activating the communication bus 81 in advance.
  • a dummy signal is transmitted to the communication bus 81 in advance.
  • the sub control unit 220 can instruct the main control unit 210 of the slave node 3 to start in S224, and can prepare in advance before receiving the event notification in S226. Therefore, in the slave node 3, even if the relay node 1 notifies the event occurrence in S220, the main control unit 210 can receive the event occurrence notification in S226 at this timing. As a result, the time from the event occurrence in the master node 2 to the reception of the event occurrence notification in the slave node 3 can be shortened.
  • the wake-up signal transmission unit 63 of the sub-control unit 20 receives the wake-up signal from the first communication bus 80, the wake-up signal is transmitted to the second communication bus 81. Further, when the bus activation signal transmission unit 62 receives the bus activation signal from the first communication bus 80, the bus activation signal transmission unit 62 transmits the bus activation signal to be activated to the second communication bus 81.
  • the relay node 1 can relay the wake-up signal, the bus start signal, or the dummy signal received from the communication bus 80 to the communication bus 81.
  • an event occurs in the master node 2 and the event occurrence is notified to the slave node 3 through the relay node 1.
  • the same processing as described above is performed.
  • the slave node 3 can be notified, and the same operation and effect as described above can be obtained.
  • the seventh embodiment will be described with reference to FIG. When it is assumed that the startup time of the main control unit 110 of the master node 2 is relatively long, it is preferable to execute the execution as shown in FIG.
  • the master node 2 notifies the event generated in S201, the wake-up pulse transmission timing is generated in S202a and waits in parallel with the activation instruction to the main control unit 110 in S203, and then S205. Wake-up pulse may be transmitted to the relay node 1 in.
  • the same step numbers as those in FIG. 11 are assigned in FIG. 12, and the description thereof will be omitted.
  • the start time of the main control unit 110 can be increased on the master node 2 side.
  • the start-up of the main control unit 10 of the relay node 1 and the main control unit 210 of the slave node 3 can be delayed, and the power consumption can be reduced.
  • FIGS. 11 and 12 show a flowchart when the relay node 1 is included, even when the slave node 3 and the master node 2 are directly connected, the communication response delay is shortened and consumed in the same manner. Both reductions in power can be achieved.
  • FIG. 13 shows a time sequence at the time of an event on the master side together with a comparative example.
  • a timing chart assuming a system in which the sub-control unit 220 of the slave node 3, the sub-control unit 20 of the relay node 1, and the sub-control unit 120 of the master node 2 are not provided is described.
  • the master node 2 is activated in response to the occurrence of an input change event of 200 such as a switch at the timing t11, and a wakeup pulse is transmitted to the relay node 1 at the timing t11a.
  • an input change event of 200 such as a switch at the timing t11
  • a wakeup pulse is transmitted to the relay node 1 at the timing t11a.
  • the relay node 1 receives the wakeup pulse, it is activated at the timing t12a and receives the event notification from the slave node 3.
  • the relay node 1 transmits a wakeup pulse to the slave node 3 at the timing t12b after receiving the event notification.
  • the slave node 3 receives the wakeup pulse, it is activated at the timing t14a and receives the event notification from the relay node 1.
  • the sub-control unit 20 of the relay node 1 after the sub-control unit 20 of the relay node 1 receives the wake-up pulse at the timing t12, the sub-control unit 20 of the relay node 1 immediately slaves the wake-up pulse. It is transmitting to node 3. Therefore, the time required for the relay node 1 to transmit the wakeup pulse to the slave node 3 can be shortened as compared with the comparative example.
  • the timing t15 at which the slave node 3 completes receiving the reception data of the event notification generated at the master node 2 is faster than the timing ta at which the reception data is completed in the comparative example, and the time can be shortened during this period. ..
  • FIG. 13 does not describe in detail the operation of the sub-control units 20, 120, and 220 in the communication nodes 1, 2, and 3, it is between the master node 2 and the relay node 1, the relay node 1 and the slave node. It is applicable even if the communication protocol used among the three is different, for example, CXPI, CAN, LIN and the like.
  • FIGS. 11 and 12 and the timing chart of FIG. 13 illustrate the case where the master node 2 notifies the slave node 3 of the event occurrence via the relay node 1, but the master node 2 and the slave Even when the node 3 is directly connected, the communication response delay can be shortened and the power consumption can be reduced.
  • FIG. 14 shows a flowchart when event communication is selectively performed from the master node 2 to the relay node 1 or the slave node 3.
  • the relay node 1 receives the wake-up pulse from the master node 2 in S211 and immediately sends the wake-up pulse to the slave node 3 in S218, the wake-up pulse is quickly sent to the slave node 3. Can be sent and the response delay can be minimized.
  • the sub-control unit 20 of the relay node 1 receives the wake-up pulse in S211 and transmits the wake-up pulse to the slave node 3 in S218. do.
  • the relay node 1 measures the time T1 from the timing when the wakeup pulse is received in S211 to the timing when the communication bus 80 becomes active in S213 by the counter 32, or receives the wakeup pulse in S211.
  • the counter 32 measures the time T1 from the timing to the timing when the dummy signal is received from the communication bus 80 in S213.
  • the processing content of the relay node 1 is determined on the system according to these changes in the time T1, and for example, the relay node 1 executes the processing as follows.
  • the sub-control unit 20 of the relay node 1 compares the elapsed time T1 with a preset predetermined time b, and for example, when the elapsed time T1 is shorter than the predetermined time b, the sub-control unit 20 is activated by the main control unit 10 in S216 and S217.
  • the main control unit 10 is activated by instructing.
  • the main control unit 10 of the relay node 1 can be selectively started.
  • the elapsed time T1 is equal to or longer than the predetermined time b, the process ends without instructing the main control unit 10 to start.
  • the sub-control unit 20 of the relay node 1 compares with a preset predetermined time a (however, a ⁇ b), and for example, when the elapsed time T1 is the predetermined time a or more, the process according to the event content in S214a. Is executed and the process is terminated, and the event notification is not sent to the slave node 3. As a result, the relay node 1 can selectively execute the process according to the content of the event notification received in S214 in S214a.
  • a preset predetermined time a (however, a ⁇ b)
  • the timing of the wait time T2 is generated and waited in S212, and the bus start signal is transmitted to the communication bus 81 or the dummy signal is transmitted in S219. .. After that, if the main control unit 10 of the relay node 1 receives the event notification in S214, the event notification is transmitted to the slave node 3 in S220.
  • the slave node 3 determines whether or not the communication bus 280 has become active in S223, and / and determines whether or not a dummy signal has been received.
  • the elapsed time T2 from the timing when the wakeup signal is received in S221 to the timing when the communication bus 280 becomes active is measured by the counter 232, or / and a dummy signal is received from the communication bus 280.
  • the elapsed time T2 until the timing is measured by the counter 232.
  • the processing content to be executed by the main control unit 210 of the slave node 3 is predetermined on the system in response to these changes in the time T2.
  • the sub-control unit 220 of the slave node 3 is compared with a preset predetermined time c, and when the elapsed time T2 is, for example, the predetermined time c or more, the sub-control unit 220 ends without instructing the main control unit 210 to start.
  • the sub-control unit 220 of the slave node 3 causes the sub-control unit 220 to instruct the main control unit 210 to start in S224, so that the main control unit 210 in S225. Is started, and an event notification is received in S226. Then, the main control unit 210 executes processing according to the event content in S227.
  • the main control unit 10 of the relay node 1 is selectively activated, and the time T1 is shorter than the predetermined time a.
  • the main control unit 210 of the slave node 3 can also be activated.
  • the time threshold has a relationship of (c + ⁇ ) ⁇ a ⁇ b.
  • represents a positive margin time, but may be 0.
  • the master node 2 arbitrarily sets the wait time T1 or the relay node 1 arbitrarily sets the wait time T2 according to the contents of the input events of 100 and 200 of each switch and the like. Then, a specific communication node (for example, slave node 3 and / and relay node 1) can be started.
  • a specific communication node for example, slave node 3 and / and relay node 1.
  • the relay node 1 is an ECU communication device that controls a switch or the like 100 of an electric retractable mirror, an electric mirror is connected to the slave node 3 as an actuator, and a remote control key for operating the electric mirror is connected to the master node 2.
  • the relay node 1 is an ECU communication device that controls a switch or the like 100 of an electric retractable mirror, an electric mirror is connected to the slave node 3 as an actuator, and a remote control key for operating the electric mirror is connected to the master node 2.
  • the master node 2 When an event occurs in the master node 2 by the user operating the remote control key, the master node 2 stores and operates the electric mirror by notifying the slave node 3 of the event occurrence. At this time, the relay node 1 receives a wake-up signal for wake-up of the slave node 3 from the master node 2 that has received the remote control operation.
  • the relay node 1 When the relay node 1 detects by using the sensor that the switch or the like 100 has already been switched so that the mirror is in the retracted state, the relay node 1 sets the wait time T2 to a large value to set the main control unit 210 of the slave node 3 to a large value. It is good to end it without starting it.
  • the relay node 1 may notify the master node 2 that it is in the mirror stored state.
  • the wait time T2 is set short so as to activate the slave node 3, and communication from the master node 2 is performed. It is good to relay. As a result, the slave node 3 can retract and operate the electric mirror.
  • the elapsed time from the timing when the sub-control units 20 and 220 of the relay node 1 and the slave node 3 determine that the wake-up signal has been received to the timing when the communication buses 80 and 280 are determined to be in the active state respectively.
  • T1 and T2 and the elapsed time T1 and T2 from the timing when it is determined that the wakeup signal is received to the timing when the dummy signal is received are measured, the present invention is not limited to this.
  • the relay node 1 and the slave node 3 measure the transition time from the timing when the communication bus 80 and 280 are activated to the timing when the dummy signal is received, and the main control units 10 and 210 are measured according to the transition time. It may be determined whether or not to activate, and the activation control units 25 and 225 may activate the main control units 10 and 210 when necessary. Also in this embodiment, the main control unit 10 of the relay node 1 and the main control unit 210 of the slave node 3 can be selectively activated.
  • FIG. 15 shows a modification of FIG. 14.
  • the sub-control unit 20 of the relay node 1 does not transmit the wake-up signal to the slave node 3 immediately after receiving the wake-up signal from the master node 2 in S211.
  • the sub-control unit 20 of the relay node 1 detects that the time T1 is shorter than the predetermined time a, determines that the event notification is surely transmitted to the slave node 3, and needs to send the wakeup signal to the communication bus 81. After determining that, in S218, the wakeup signal transmission unit 63 transmits the wakeup signal to the slave node 3 through the communication bus 81. As a result, unnecessary activation of the slave node 3 can be reliably prevented.
  • the relay node 1 has a time interval determined by the time interval determination unit 44 based on whether the time T1 is less than the predetermined time a or less than the predetermined time a2.
  • Which communication bus B1 or B2 of the plurality of communication buses B1 or B2 is used, and which main of A or B of the slave node 3 connected to the communication buses B1 and B2 is used.
  • the relay node 1 may notify A or B of the slave node 3 of the event occurrence through the communication bus B1 or B2.
  • the predetermined time a2 is an arbitrary time that can be appropriately set. As a result, unnecessary activation of the slave node 3 can be reliably prevented.
  • the flowchart in the case where the relay node 1 is included is described in FIGS. 11 to 16, but when the slave node 3 and the master node 2 are directly connected, the slave node 3 is described. The same can be achieved with node 3.
  • the communication node can be selectively activated by selectively transmitting the wake-up signal, the response delay of communication can be shortened, unnecessary activation of the communication node can be prevented, and power consumption can be reduced.
  • the elapsed times T1 and T2 until the reception of any two signals of the wakeup signal, the bus start signal, and the dummy signal are measured, and based on these measurement results. , It is possible to determine whether or not the main control unit 10 of the relay node 1 and the main control unit 210 of the slave node 3 need to be started.
  • the master node 2 changes the transmission interval between any two of the wake-up signal, the bus start signal, and the dummy signal transmitted to the connected communication bus 181 via the communication bus 181.
  • the main control unit 10 of the relay node 1 connected to the communication buses 80 and 280 or the main control unit 210 of the slave node 3 can be selectively activated. As a result, power consumption can be reduced by avoiding unnecessary activation of the communication node.
  • the sub-control unit 120 of the master node 2 and the sub-control unit 20 of the relay node 1 communicate bus 181 from the timing when the wake-up signal is transmitted according to the input signals detected by the input monitoring units 121 and 21, respectively.
  • One or more of the third time until transmission may be changed and controlled.
  • the twelfth embodiment will be described with reference to FIGS. 17 and 18.
  • a specific example of a method for measuring the timing of communicating a dummy signal will be described with reference to FIGS. 17 and 18.
  • a method in which the relay node 1 generates the timing in S112 of FIG. 4 will be described as an example.
  • the relay node 1 When the relay node 1 receives the wake-up pulse in S111 shown in FIG. 4, the relay node 1 can start communication with the slave node 3 connected to the communication bus 81 at the timing when the main control unit 10 completes activation in S117. , The activation timing determination unit 26 generates a timing signal in S112.
  • the start control unit 25 of the sub control unit 20 sets the timing of instructing the main control unit 10 to start in S116 of FIG. 4 to t10, the internal clock is counted by the counter 32.
  • the start timing determination unit 26 may compare and determine this count value with a comparator and regard the timing when the count value reaches a predetermined threshold value k1 to k4 as a timing signal.
  • the threshold values k1 to k4 are values set for each of the communication nodes 1 to 3, and as described later, they may be learned immediately after the sub-control unit 20 is started and stored in the volatile memory 31.
  • the activation timing determination unit 26 sets the transmission timing of the bus activation signal to the timing t12 when the threshold value k2 is reached, and sets the transmission timing of the dummy signal to the timing t13 when the threshold value k3 is reached. Then, the activation completion timing is determined as the timing t14 when the threshold value k4 is reached.
  • the transmission control unit 60 of the sub-control unit 20 has a bus start signal transmission unit 62 and a dummy signal transmission unit according to a schedule in which the count value of the internal clock reaches a predetermined threshold value k1 to k4 based on the timing signal of the start timing determination unit 26.
  • the preparatory process according to 61 is executed. As a result, bus activation and dummy communication are executed by the time when the activation completion timing t14 of the main control unit 10 arrives.
  • the start timing determination unit 26 may start charging the capacitor from the built-in current source and generate the timing by detecting the charge voltage with a comparator such as a comparator. At this time, the start timing determination unit 26 may use the timing when the charging voltage reaches a predetermined threshold value k21 to k24. Further, the start timing determination unit 26 may start discharging from the capacitor stored in advance and use the timing when the discharged voltage reaches a predetermined threshold value k21 to k24 as a timing signal.
  • the activation timing determination unit 26 sets the transmission timing of the bus activation signal to the timing t22 that reaches the threshold value k22, and sets the transmission timing of the dummy signal to the timing t23 that reaches the threshold value k23.
  • the timing of the completion of activation when the threshold value k24 is reached may be regarded as t24.
  • the transmission control unit 60 of the sub-control unit 20 has a bus start signal transmission unit 62 and a dummy signal transmission unit 61 according to a schedule in which the charging voltage of the capacitor reaches a predetermined threshold value k21 to k24 based on the timing signal of the start timing determination unit 26. Execute the preparatory process related to. As a result, bus activation and dummy communication can be executed by the time when the activation completion timing t24 of the main control unit 10 arrives.
  • the threshold values k1 to k4 and k21 to k24 exemplified in FIGS. 17 and 18 may be fixed values, or may be set in advance from the main control unit 10.
  • the initial value of the threshold value k4 is set to a sufficiently large value in advance, the main control unit 10 starts counting at the start of the first start, and the main control unit 10 completes the start. It is preferable to set the count value + ⁇ having the value counted at the timing or the margin as the threshold value k4 and store it in the memory 31.
  • the initial voltage of the threshold value k24 is set to 0 in advance, the main control unit 10 starts charging the capacitor at the first start-up, and the main control unit 10 completes the start-up. It is preferable to store the voltage value charged at the same timing or the voltage value + ⁇ with a margin in the memory 31 as the threshold value k24.
  • the activation timing determination unit 26 back-calculates the values corresponding to the times from the threshold values k4 and k24 to the dummy communication, bus activation, and wakeup signal transmission timings to obtain and set the threshold values k1 to k3 and k21 to k23, respectively.
  • the timing parameters related to the wake-up signal, bus activation, and dummy communication can be automatically set at activation. By processing in this way, the response delay can be minimized without the designer being aware of it at the time of programming.
  • the relay node 1 has been described here, the same applies to the slave node 3 and the master node 2.
  • the thirteenth embodiment will be described with reference to FIGS. 19 and 20.
  • a specific example of performing multiplex communication related to CXPI (Clock Extension Peripheral Interface) between the master node 2 and the slave node 3 without going through the relay node 1 will be described.
  • the CSMA / CD method is adopted, and a transmission / reception schedule between each communication node that becomes a master / slave is established. Then, the frame corresponding to the event is communicated by using the PWM method according to the periodic request response sequence.
  • the master node 2 constantly supplies a clock to the communication buses 181 and 280 to synchronize the entire system, and the master node 2 and the slave node 3 transmit a PWM signal in which data is superimposed on the clock to perform bits. Data can be communicated in synchronization.
  • the master node 2 receives and activates a wake-up pulse at t31a to t32a, and after the master node 2 transmits a bus start signal at t33a to t34a, it transmits periodic transmission data to communication buses 181 and 280 at t34a to t35a. do. Due to the protocol, the slave node 3 cannot notify the occurrence of an event at t35a to t36a until the reception of the periodic transmission data transmitted from the master node 2 is completed.
  • FIG. 20 exemplifies a time chart at the time of event communication for a slave-side event in CXPI communication together with a comparative example.
  • FIG. 20 shows a time chart when the relationship of start time Tmw ⁇ bus start time Tbw + periodic communication time Ts of the main control unit 110 of the master node 2 is satisfied.
  • a timing chart assuming a system in which the sub-control unit 220 of the slave node 3 and the sub-control unit 120 of the master node 2 are not provided is described in accordance with the communication protocol shown in FIG.
  • the sub-control unit 120 of the master node 2 receives the wake-up pulse at t31 to t32, the main control unit 110 of the master node 2 is activated at t32 to t33. While the main control unit 110 of the master node 2 is starting, the sub control unit 120 starts the bus at t32 to t34 and transmits a dummy signal at t34 to t35 when the bus finishes starting.
  • the dummy signal in the present embodiment indicates a data signal corresponding to the periodic transmission data related to the above-mentioned CXPI communication protocol. Therefore, the sub-control unit 220 of the slave node 3 can notify the master node 2 of the event occurrence at t35 to t36 by normally receiving and determining the dummy signal.
  • the timing t36 at which the master node 2 completes receiving the reception data of the event notification generated in the slave node 3 becomes faster than the timing ta at which the reception data is completed in the comparative example, and the time is shortened during this period. can.
  • the master node 2 can transmit a dummy signal corresponding to the conventional initial periodic transmission data by the sub control unit 120 of the master node 2 at the timing when the main control unit 110 completes activation.
  • the slave node 3 can notify the occurrence of an event after the main control unit 110 of the master node 2 has been activated.
  • the sub-control unit 120 receives the clock from the main control unit 110 and operates, it is necessary to wait until the sub-control unit 120 receives the clock, but the sub-control unit 120 should be provided with the clock independently. For example, a dummy signal can be transmitted from the timing t34 to the slave node 3.
  • FIG. 21 shows a time sequence related to CXPI communication together with a comparative example.
  • FIG. 21 is an embodiment of a time sequence in which the relationship of start time Tmw> bus start time Tbw + periodic communication time Ts of the main control unit 110 of the master node 2 is satisfied. That is, the embodiment in the case where the start time of the main control unit 110 of the master node 2 is relatively long is shown.
  • the comparative example is described in the same manner as in FIG. 20, the post-startup process in the master node 2 is not shown.
  • the sub control unit 120 of the master node 2 receives the wakeup pulse from t30 to t32, the main control unit 110 of the master node 2 is activated from t32 to t33. While the main control unit 110 of the master node 2 is running, the sub control unit 120 starts the bus at t32 to t37, and when it finishes starting, transmits a dummy signal at t37 to t35.
  • the dummy signal indicates a data signal corresponding to the above-mentioned periodic transmission data. Therefore, the sub-control unit 220 of the slave node 3 normally receives and determines the reception of this dummy signal, and the main control unit 210 of the slave node 3 can notify the master node 2 of the event occurrence at t35 to t36.
  • the timing t36 at which the master node 2 completes receiving the reception data of the event notification generated in the slave node 3 becomes faster than the timing ta at which the reception data is completed in the comparative example, and the time is shortened during this period. can.
  • the master node 2 cannot periodically transmit until the main control unit 110 completes activation, and the event cannot be transmitted from the slave node 3 until the periodic transmission is completed, resulting in a large delay.
  • the master node 2 can transmit a dummy signal corresponding to the conventional initial periodic transmission data by the sub control unit 120 of the master node 2 at the timing when the main control unit 110 completes activation.
  • the slave node 3 receives the dummy signal, it is possible to notify the occurrence of an event after the main control unit 110 of the master node 2 has been activated.
  • the sub-control unit 120 receives the clock from the main control unit 110 and operates, it is necessary to wait until the sub-control unit 120 receives the clock, but the sub-control unit 120 is independently provided with the clock. Then, the dummy signal can be transmitted to the slave node 3 from the time point of t34 shown in FIG.
  • the fifteenth embodiment will be described with reference to FIG. Since the flow shown in FIG. 22 is almost the same as the flow shown in FIG. 20, only the differences will be described. The difference between the flow shown in FIG. 22 and the flow shown in FIG. 20 is that the sub-control unit 220 intentionally delays the start-up start of the main control unit 210 of the slave node 3 to t32. By doing so, the power consumption of the main control unit 210 can be minimized.
  • the sixteenth embodiment will be described with reference to FIGS. 23 and 24. Since the flow shown in FIG. 23 is almost the same as the flow shown in FIG. 20, only the differences will be described. The difference between the flow shown in FIG. 23 and the flow shown in FIG. 20 is that a bus start signal is transmitted and a dummy signal is transmitted using a CXPI clock signal that is an output signal of the main control unit 110 of the master node 2. I'm here.
  • the main control unit 110 of the master node 2 Since the main control unit 110 of the master node 2 is activated according to a predetermined sequence, it outputs a CXPI clock signal during the activation. If the main control unit 110 of the master node 2 outputs a clock signal from t33 during its activation, the sub control unit 120 starts the bus using this CXPI clock signal and transmits a dummy signal. May be.
  • the main control unit 110 starts to output the CXPI clock signal as quickly as possible, so that the period of alternative communication by the sub control unit 120 can be lengthened. The delay can be minimized.
  • the sub-control unit 120 inserts a wait time Tm so that the main control unit 110 can receive the event notification, so that the activation completion timing of the main control unit 110 is set to the event notification reception timing. You can match as much as possible. Power consumption can be reduced by intentionally delaying the activation of the main control unit 110.
  • FIG. 25 shows an example in which the built-in clock of the sub-control unit 120 is used for the CXPI communication clock in the master node 2.
  • the sub-control unit 120 returns to the sleep state and the standby state once while measuring the time after receiving the wake-up signal in order to match the reception timing of the event occurrence notification by the main control unit 110.
  • the sub-control unit 120 generates a clock for CXPI communication using the built-in clock signal, it is within the period Tz until the timing when the main control unit 110 is started or the timing when the sub-control unit 120 is restarted.
  • CXPI communication clock can be started to be generated using the built-in clock signal.
  • the sub-control unit 120 can send a bus start signal or a dummy signal immediately after the restart, and the sub-control unit 120 communicates regardless of the order of the start sequence of the main control unit 110. It can be replaced and the delay can be minimized. In this case, the clock signal by the main control unit 110 is not required.
  • the sub-control unit 120 can increase or decrease the number of bits of the IBS to reduce the deviation of the clock signal to 1 bit or less, adjust the communication cycle Ty, and perform continuous communication. It is possible.
  • IBS Inter Byte Space
  • the cycle (frequency) tolerance of the clock signal is ⁇ 1% with respect to the reference clock, the phase difference occurring in the 10 bits between the start bit STA and the stop bit STO is about 20% at the maximum. Yes, it can be absorbed by changing the IBS by ⁇ 1.
  • FIG. 27 illustrates a time chart at the time of event communication for a slave-side event in CAN communication together with a comparative example.
  • FIG. 27 shows a time chart when the relationship of start time Tmw ⁇ bus start time Tbw + periodic communication time Ts of the main control unit 110 of the master node 2 is satisfied.
  • the comparative example shows a timing chart assuming a system in which the sub-control unit 220 of the slave node 3 and the sub-control unit 120 of the master node 2 are not provided, and is the same as the flow shown in FIG. 19 in the thirteenth embodiment. The flow of is illustrated.
  • the slave node 3 can shorten the time until the wake-up pulse is started to be transmitted to the master node 2 with respect to the comparative example. Further, the master node 2 becomes faster than the timing ta when the reception data of the event notification generated in the slave node 3 is completed, and the time can be shortened during this period.
  • FIG. 28 illustrates a time chart at the time of event communication for a slave-side event in CAN communication together with a comparative example.
  • FIG. 28 shows a time chart when the relationship of start time Tmw> bus start time Tbw + periodic communication time Ts of the main control unit 110 of the master node 2 is satisfied. That is, the embodiment in the case where the start time of the main control unit 110 of the master node 2 is relatively long is shown.
  • a timing chart assuming a system in which the sub-control unit 220 of the slave node 3 and the sub-control unit 120 of the master node 2 are not provided is shown, which is the same as the flow shown in FIG. 20 in the 14th embodiment. The flow of is illustrated.
  • the slave node 3 can shorten the time until the wake-up pulse is started to be transmitted to the master node 2 with respect to the comparative example. Further, the timing t36 at which the master node 2 completes receiving the reception data of the event notification generated by the slave node 3 is faster than the timing ta of the comparative example, and the time can be shortened during this period.
  • the twentieth embodiment will be described with reference to FIG. 29. Since the flow shown in FIG. 29 is almost the same as the flow shown in FIG. 27, only the differences will be described.
  • the difference between the flow shown in FIG. 29 and the flow shown in FIG. 27 is that the sub-control unit 220 intentionally delays the start-up of the main control unit 210 of the slave node 3 to t32. By doing so, the main control unit 210 can be started at the same time as the main control unit 110, so that the final data communication time can be shortened. Moreover, the power consumption of the main control unit 210 can be minimized.
  • the twentieth embodiment will be described with reference to FIG. Since the flow shown in FIG. 30 is almost the same as the flow shown in FIG. 27, only the differences will be described.
  • the difference between the flow shown in FIG. 30 and the flow shown in FIG. 27 is that the CAN clock signal, which is the output signal of the main control unit 110 of the master node 2, is used to send a bus start signal and a dummy to replace the periodic transmission data. I'm sending a signal.
  • the main control unit 110 of the master node 2 Since the main control unit 110 of the master node 2 is activated according to a predetermined sequence, it outputs a CAN clock signal during the activation. If the main control unit 110 of the master node 2 outputs a clock signal, the sub control unit 120 may form a CAN clock signal, start the bus, and transmit a dummy signal.
  • the main control unit 110 starts to output the CXPI clock signal as quickly as possible, so that the period during which the sub control unit 120 performs alternative communication can be increased as much as possible. , The delay can be minimized.
  • the 22nd embodiment will be described with reference to FIG. 31.
  • the 22nd embodiment describes the embodiment applied to the LIN (Local Interconnect Network).
  • LIN is used for chassis control and power train control in in-vehicle communication, and is a communication standard that is widely used for in-vehicle use as a sub-network of CAN.
  • FIG. 31 exemplifies a time chart at the time of event communication for an event on the slave side in LIN communication together with a comparative example.
  • a timing chart assuming a system in which the sub-control unit 220 of the slave node 3 and the sub-control unit 120 of the master node 2 are not provided is shown.
  • the sub-control unit 120 of the master node 2 When applied to LIN communication, the sub-control unit 120 of the master node 2 transmits the header of the event trigger frame as a dummy signal at t33 to t35, and receives the response from the slave node 3 at t35 to t36. Allows the delay to be minimized.
  • it is not necessary to send a signal corresponding to the bus start signal shown in the above-described embodiment.
  • the slave node 3 can shorten the time until the wake-up pulse is started to be transmitted to the master node 2 with respect to the comparative example. Further, the timing t36 at which the master node 2 completes receiving the reception data of the event notification generated by the slave node 3 is faster than the timing ta of the comparative example, and the time can be shortened during this period.
  • the 23rd embodiment will be described with reference to FIG. 32. Since the flow shown in FIG. 32 is almost the same as the flow shown in FIG. 31, only the differences will be described. The difference between the flow shown in FIG. 32 and the flow shown in FIG. 31 is that the sub-control unit 220 intentionally delays the start-up start of the main control unit 210 of the slave node 3 to t32. By doing so, the main control unit 210 can be started at the same time as the main control unit 110, so that the final data communication time can be shortened. Moreover, the power consumption of the main control unit 210 can be minimized.
  • the 24th embodiment will be described with reference to FIG. 33. Since the flow shown in FIG. 33 is almost the same as the flow shown in FIG. 31, only the differences will be described. The difference between the flow shown in FIG. 33 and the flow shown in FIG. 31 is that the sub-control unit 220 intentionally delays the start-up start of the main control unit 210 of the slave node 3 to t32. By doing so, the power consumption of the main control unit 210 can be minimized.
  • the sub-control unit 120 of the master node 2 transmits the header of the event trigger frame and receives the response.
  • the main control unit 110 can be activated while the sub control unit 120 is transmitting and receiving. Again, the response delay can be minimized.
  • 1 is a relay node as a communication device
  • 2 is a master node as a communication device
  • 3 is a slave node as a communication device
  • 10, 110 and 210 are main control units
  • 20, 120 and 220 are sub control units.
  • 21, 121, 221 indicate an input monitoring unit
  • 25, 225 indicate an activation control unit
  • 26, 126, 226 indicate an activation timing determination unit.
  • 50, 150 and 250 are reception determination units
  • 25, 125 and 225 are activation control units
  • 32 and 232 are counters as elapsed time measurement units
  • 41 and 241 are wakeup signal determination units
  • 43 and 243 are dummy reception determination units.
  • 44, 244 indicate a time interval determination unit.
  • 51 and 151 indicate a wake-up signal determination unit
  • 80, 81, 181 and 280 indicate a communication bus, a first communication bus, and a second communication bus.
  • 63, 163, 71, 271 indicate a wake-up signal transmission unit as an execution unit
  • 62, 162 indicate a bus activation signal transmission unit as an execution unit
  • 61, 161 indicate a dummy signal transmission unit as an execution unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

主制御部(10、110)は、低消費電力モードから通常動作モードに起動完了した後に他の通信ノードとの間で通信制御可能に構成される。副制御部(20、120)は、通信バスからウェイクアップ信号を検出するウェイクアップ信号判定部(51、151)を備える。副制御部は、ウェイクアップ信号判定部によりウェイクアップ信号が検出されたことをトリガとして、主制御部が起動完了するタイミングに合わせて通信バスに接続された他の通信ノードとの通信を開始できるように、前もってウェイクアップ信号が検出された通信バスをアクティブ状態にするバス起動信号送出部(62、162)、又は、前もってウェイクアップ信号が検出された通信バスへダミー信号を送信するダミー信号送出部(61、161)、の少なくとも一つ以上の実行部を備える。

Description

通信装置 関連出願の相互参照
 本出願は、2020年11月10日に出願された日本出願番号2020-187218号に基づくもので、ここにその記載内容を援用する。
 本開示は、通信装置に関する。
 車両内には多数のECU(Electronic Control Unit)が装備されており、これらのECUが通信しながら車両内に設置された様々なセンサ及びアクチュエータを電子制御している。これにより、車両の安全性を保っている。
 従来より、通信処理技術は様々に提案されている(例えば、特許文献1~4参照)。特許文献1記載の技術によれば、子機からウェイクアップパルスを受信した際に、親機側からダミーパルスを送信することで、子機側の発振回路を早期に起動させ、発振動作が安定した状態で省電力モードの解除等を指令する通信信号が送信されるようにしている。マイコン自体が起動初期化が完了するまで通信を行わない。このため、実際に子機と親機の間でウェイクアップの要因となったイベントの内容の通信が完了するまでの時間の短縮効果は小さいという問題があった。
 また、特許文献2記載の技術によれば、複数の通信バス間で通信を中継するゲートウエイ装置が、各バスに接続されたハブの起動とそのハブの先の装置を同時に起動させることで高速化している。ゲートウェイ装置自身が、スリープ状態からの起動が必要な場合の起動高速化を実現できていない。このため、ゲートウェイ装置がスリープ中に他の通信ノードから要求されるイベントに対して高速に起動できないという問題があった。
 また、特許文献3記載の技術によれば、複数の通信バス間で通信を中継するゲートウエイ装置が、一方の通信バスに送出された通信内容に基づいて、他方の通信バスに接続されたノードの起動を行っている。しかし、双方の通信バスがスリープ状態で、且つ、ゲートウェイ装置もスリープ状態の場合では、最初に通信バスに送出されてきた通信情報を正しく認識することは難しく、それらの制御のために、IDの割振りなども必要になる問題があった。
特許第3282278号公報 特許第6572779号公報 特開2009-124480号公報
 本開示は、ある所定の通信ノードにて発生したイベントを、当該イベント内容に応じた処理を実行する通信ノードに通知するまでの時間を短縮できるようにした通信装置を提供することを第1の目的とする。また主制御部が起動完了した後にイベント通知の内容に応じて処理内容を迅速に変更できる通信装置を提供することを第2の目的とする。
 本開示の第一の態様は、1つ以上の通信バスに接続される通信装置を対象としており、主制御部及び副制御部を備える。主制御部は、通常動作モード及び通常動作モードより低消費電力で動作する低消費電力モードを備え低消費電力モードから通常動作モードに起動完了した後に他の通信ノードとの間で通信制御可能に構成される。副制御部は、通信バスからウェイクアップ信号を検出するウェイクアップ信号判定部を主制御部とは別に備える。
 副制御部は、ウェイクアップ信号判定部によりウェイクアップ信号が検出されたことをトリガとして、主制御部が起動完了するタイミングに合わせて通信バスに接続された他の通信ノードとの通信を開始できるように、前もってウェイクアップ信号が検出された通信バスをアクティブ状態にするバス起動信号送出部、又は、前もってウェイクアップ信号が検出された通信バスへダミー信号を送信するダミー信号送出部、の少なくとも一つ以上の実行部を備える。
 本開示の第二の態様は、1つ以上の通信バスに接続される通信装置を対象としている。副制御部は、スイッチ等の入力の変化を監視する入力監視部を主制御部とは別に備える。副制御部は、入力監視部により入力変化を検出したことをトリガとして、主制御部が起動完了するタイミングに合わせて、通信バスに接続される他の通信ノードとの通信を開始できるように、前もって通信バスへウェイクアップ信号を送信するウェイクアップ信号送出部、前もって通信バスをアクティブ状態にするバス起動信号送出部、又は、前もって通信バスにダミー信号を送信するダミー信号送出部、の少なくとも一つ以上の実行部を備える。
 本開示の第三の態様は、1つ以上の通信バスに接続される通信装置を対象としている。副制御部は、ウェイクアップ信号判定部、バス起動信号判定部、又はダミー受信判定部の3つのうち少なくとも2つ以上のブロックを主制御部とは別に備える。
 ウェイクアップ信号判定部は、通信バスからのウェイクアップ信号を判定するブロックである。バス起動信号判定部は、通信バスのアクティブ状態を判定するブロックである。ダミー受信判定部は、通信バスに送出されるダミー信号を受信判定するブロックである。
 時間間隔測定部は、上記のうち所定の2つのブロックが判定したタイミングの時間間隔を測定する。本開示の第三の態様によれば、時間間隔に基づく識別情報が主制御部から参照できるため、主制御部は起動完了後に当該識別情報に応じて処理内容を変更でき、主制御部が起動完了した後にイベント通知の内容に応じて処理内容を迅速に変更できる。
 本開示の第四の態様は、第1の通信バス及び第2の通信バスに接続され第1の通信バス及び第2の通信バスを介して通信を中継する中継ノードを対象としている。副制御部は、第1の通信バスからのウェイクアップ信号を検出するウェイクアップ信号判定部を主制御部とは別に備える。
 副制御部は、ウェイクアップ信号判定部によりウェイクアップ信号が検出されたことをトリガとして、主制御部が起動完了するタイミングに合わせて第2の通信バスに接続された他の通信ノードとの通信を開始できるように、ウェイクアップ信号送出部、バス起動信号送出部、又はダミー信号送出部、の少なくとも一つ以上の実行部を備える。
 ウェイクアップ信号送出部は、前もって第2の通信バスへウェイクアップ信号を送出するブロックである。バス起動信号送出部は、前もって第2の通信バスをアクティブ状態にするバス起動信号を送出するブロックである。ダミー信号送出部は、前もって第2の通信バスへダミー信号を送信するブロックである。
 本開示の第一、第二、第四の態様によれば、ある通信ノード(例えば中継ノード、マスタノード、スレーブノード)にて主制御部を起動している最中に、従来、主制御部にて実行していた準備処理を副制御部が代行できる。ここでいう準備処理とは、実行部により実行される処理であり、例えば、他の通信ノードが接続される通信バスへウェイクアップ信号を送出したり、通信バスをアクティブ状態にするバス起動信号を送出したり、通信バスにダミー信号を送信する処理を示している。これにより、準備処理に要していた時間を有効活用できるようになり、所定の通信ノードにて発生したイベントを、当該イベント内容に応じた処理を実行する通信ノードに通知するまでの時間を短縮できる。
 本開示についての上記目的およびその他の目的、特徴や利点は、添付の図面を参照しながら下記の詳細な記述により、より明確になる。その図面は、
図1は、第1実施形態に係る中継ノードの電気的構成を説明する機能ブロック図であり、 図2は、第1実施形態に係るマスタノードの電気的構成を説明する機能ブロック図であり、 図3は、第1実施形態に係るスレーブノードの電気的構成を説明する機能ブロック図であり、 図4は、第1実施形態を説明するフローチャートであり、 図5は、第2実施形態を説明するフローチャートであり、 図6は、第3実施形態を説明するフローチャートであり、 図7は、第4実施形態を説明するタイミングチャートであり、 図8は、第5実施形態に係る起動完了タイミングの判定方法の説明図のその1であり、 図9は、第5実施形態に係る起動完了タイミングの判定方法の説明図のその2であり、 図10は、第5実施形態に係る起動完了タイミングの判定方法の説明図のその3であり、 図11は、第6実施形態を説明するフローチャートであり、 図12は、第7実施形態を説明するフローチャートであり、 図13は、第8実施形態を説明するタイミングチャートであり、 図14は、第9実施形態を説明するフローチャートであり、 図15は、第10実施形態を説明するフローチャートであり、 図16は、第11実施形態を説明するフローチャートであり、 図17は、第12実施形態を説明するタイミングチャートのその1であり、 図18は、第12実施形態を説明するタイミングチャートのその2であり、 図19は、第13実施形態を説明するタイミングチャートのその1であり、 図20は、第13実施形態を説明するタイミングチャートのその2であり、 図21は、第14実施形態を説明するタイミングチャートであり、 図22は、第15実施形態を説明するタイミングチャートであり、 図23は、第16実施形態を説明するタイミングチャートであり、 図24は、第16実施形態について示すマスタノードの生成クロックの説明図であり、 図25は、第17実施形態について示すマスタノードの生成クロックの説明図であり、 図26は、第17実施形態について示すシリアル通信の流れ説明図であり、 図27は、第18実施形態を説明するタイミングチャートであり、 図28は、第19実施形態を説明するタイミングチャートであり、 図29は、第20実施形態を説明するタイミングチャートであり、 図30は、第21実施形態を説明するタイミングチャートであり、 図31は、第22実施形態を説明するタイミングチャートであり、 図32は、第23実施形態を説明するタイミングチャートであり、 図33は、第24実施形態を説明するタイミングチャートである。
 以下、幾つかの実施形態について図面を参照しながら説明する。以下に説明する各実施形態において同一又は類似の動作を行う構成、処理ステップについては、同一又は類似の符号を付し、必要に応じて説明を省略する。
 (第1実施形態)
 以下、第1実施形態について図1から図4を参照しながら説明する。車両内には多数のECU(Electronic Control Unit)が装備されており、これらのECUが相互に通信しながら、中継ノード1、マスタノード2、スレーブノード3としての機能を備えるECUが、車両内に設置された様々なスイッチ等100、200、300のアクチュエータを電子制御している。
 車両内のECUは、所定の通信規格に基づいて多重通信している。図1~図3には、特に中継ノード1、マスタノード2、スレーブノード3の通信機能に特化して図示している。なお副制御部20、120、220の内部では主要な通信線だけを図示している。
 以下、中継ノード1の通信機能に係る電気的構成を説明する。中継ノード1は、マスタノード2及びスレーブノード3の間のデータ送受信中継を行うゲートウェイ機能を備える。中継ノード1は、主制御部10、副制御部20、トランシーバ90、及びトランシーバ91を備える。
 主制御部10は、例えばCPUや、ROM、RAMなどのメモリなどを具備したマイクロコンピュータにより構成された制御回路11や、図示しないA/D変換回路などによる周辺回路を備える。制御回路11は、入力されるクロック信号に基づいて動作し各種制御を実行するように構成される。制御回路11は、マイコンがプログラムを実行することで通信制御部12としての機能を実現する。
 主制御部10は、通常動作モードの通常状態、及び、通常動作モードよりも低消費電力となるスリープ状態(もしくはスタンバイ状態。副制御部20が主制御部10の電源を制御する場合は、電源オフ状態でも良い。以後、低消費電力となるモードをスリープ状態と記載。)に遷移するように構成される。主制御部10は、スリープ状態において後述する起動制御部25から起動要求(例えばウェイクアップ信号)を受け付けると通常状態に起動する。主制御部10は、マイクロコンピュータがソフトウェアを実行してデータを送受信可能になる通常状態に起動完了するまで、少なくとも副制御部20の起動時間より時間を要する。主制御部10は、起動完了した後、他の通信ノード2、3との間でCXPI、CAN、LINなどの所定の通信プロトコルを用いて通常の通信制御を実行できる。
 他方、副制御部20は、主制御部10とは別に備えられ、主制御部10よりも起動が速く低消費電力なカスタムロジック回路により構成される。副制御部20は、主に主制御部10が未起動中の通信制御を実行する。また副制御部20には、レジスタなどアクセス速度の比較的速い揮発性のメモリ31が組み込まれており、さらに、起動開始タイミングから内部クロックやバスクロックをカウントするためのカウンタ32が時間間隔測定部及び経過時間測定部として組み込まれている。これらのメモリ31やカウンタ32は、副制御部20に構成された全ての各ブロックからアクセス可能になっている。
 副制御部20は、入力監視部21、受信判定部40、受信判定部50、送信制御部60、送信制御部70、起動制御部25、起動タイミング判定部26、送信切替部27、送信切替部28、受信切替部29、及び受信切替部30としてのカスタムハードウェア構成ブロックを備える。
 起動制御部25は、ウェイクアップ信号を主制御部10に送出するウェイクアップ信号送出部としての機能、又は、主制御部10の電源を制御する電源制御部としての機能を備え、これらの何れかの機能により主制御部10を起動制御する。
 ここで挙げたウェイクアップ信号とは、主制御部10を構成するマイクロコンピュータのイネーブル端子に入力させるイネーブル信号、マイクロコンピュータの起動用の割込信号、なども含まれるものであり、これらのウェイクアップ信号を送出することで主制御部10を起動させることができる。
 例えば、起動制御部25は、主制御部10の受信信号RXの入力端子に受信切替部29の出力を切替えると共に、受信切替部29を通じて主制御部10の受信信号RXの入力端子にウェイクアップパルスを受信信号RXとして入力させることで主制御部10を起動できる。
 また副制御部20にはORゲート22~24が構成されている。ORゲート22~24は、それぞれ入力される信号を論理和して出力する。起動要否判定部33は、ORゲート22~24、起動タイミング判定部26、及び、起動制御部25により構成される。
 起動要否判定部33は、入力監視部21、受信判定部40、受信判定部50からの入力信号に基づいて主制御部10の起動要否の判定を行い主制御部10の起動制御を実行するブロックである。
 主制御部10の起動タイミング判定部26は、主制御部10の起動開始タイミングから経過時間を判定したり、主制御部10により出力される出力信号を判定したり、又は、主制御部10の出力信号を出力開始したタイミングから経過時間を判定することで起動完了タイミングを判定する。また、起動タイミング判定部26は、判定した起動完了タイミングに基づいて、送信制御部70から信号送信するためのタイミング信号を生成する。
 トランシーバ90は、トランスミッタ92及びレシーバ93により構成され、通信バス80に接続されるマスタノード2との間でフレームを送受信するように構成されている。
 トランスミッタ92は、入力される送信信号TXを通信規格に基づくフレームに変換しマスタノード2に接続される通信バス80に送出する。レシーバ93は、通信バス80から入力されるフレームを信号変換し受信信号RXとして中継ノード1の受信切替部29に入力させる。なお、PWM変調を使用する通信の場合は、PWM変調による復号化部を含むものであっても良い。
 トランシーバ91もまたトランスミッタ94及びレシーバ95により構成され、通信バス81に接続されたスレーブノード3との間でフレームを送受信するように構成されている。
 トランスミッタ94は、入力される送信信号TXを通信規格に基づくフレームに変換しスレーブノード3に接続される通信バス81に送出する。レシーバ95は、通信バス81から入力されるフレームを信号変換し受信信号RXとして中継ノード1の受信切替部30に入力させる。なお、PWM変調を使用する通信規格に適用する場合、トランシーバ90、91はPWMによる変復調部を含むものであっても良い。
 <制御構成>
 入力監視部21は、車両内に設置されたスイッチ等100のスイッチ変化を監視するブロックであり、主制御部10が起動完了していない間に、スイッチ等100のスイッチ変化を検出するとイベント発生と判定する。
 また図1に示すように、主制御部10がスイッチ等100の信号を直接入力するように接続しており、主制御部10がスイッチ等100のスイッチ変化を直接監視している。このため、主制御部10は、起動完了後にスイッチ等100のスイッチ変化を検出するとイベント発生と判定できる。なお図1には、主制御部10が、スイッチ等100の信号を直接入力するように接続しているが、入力監視部21の出力を主制御部10に接続し、主制御部10が入力監視部21を介してスイッチ等100のスイッチ変化を検出するようにしても良い。
 主制御部10は、スリープ状態ではマスタノード2との間で通信不能であるが、起動完了した後には、マスタノード2との間で送信信号TX及び受信信号RXによりトランシーバ90を通じて通信できる。主制御部10は、スリープ状態ではスレーブノード3との間で通信不能であるが、起動完了した後には、スレーブノード3との間で送信信号TX及び受信信号RXによりトランシーバ91を通じて通信できる。主制御部10は、スリープ状態から初期化処理を実行し始めたり起動完了すると、制御回路11からクロック信号、PWM信号、送信信号TXなどの各種の出力信号を送出する。
 起動タイミング判定部26は、主制御部10が出力する出力信号に基づいて主制御部10が起動完了したか否かを判定したり、起動完了する想定タイミングを判定したりする。起動タイミング判定部26は、主制御部10による起動完了タイミングを検出したり、起動完了する想定タイミングを算出すると、送信制御部60にタイミング信号を出力する。
 送信切替部28は、主制御部10がスリープ状態から起動完了するまでの間、送信制御部60により生成される送信信号TXをトランスミッタ94に入力させるように切替える。送信制御部60は、主制御部10の起動が完了した場合、主制御部10の送信信号TXをトランスミッタ94に入力させるように送信切替部28を切替制御する。
 受信切替部30は、起動制御部25からのウェイクアップ信号により主制御部10を起動させる場合、主制御部10が起動完了するまでの間、起動制御部25からウェイクアップ信号を主制御部10に入力させる。起動制御部25は、主制御部10の起動が完了した場合、レシーバ93による受信信号RXを主制御部10に入力させるように受信切替部30を切替制御する。
 他方、受信判定部40は、マスタ側に接続された通信バス80からの受信信号RXの内容を判定するブロックであり、ウェイクアップ信号判定部41、バス起動信号判定部42、ダミー受信判定部43、及び時間間隔判定部44としての機能ブロックを備える。送信制御部60は、ダミー信号送出部61、バス起動信号送出部62、及びウェイクアップ信号送出部63を備える実行部としての機能ブロックを備える。
 ウェイクアップ信号判定部41は、通信バス80からウェイクアップ信号を受信したか否かを判定するブロックであり、ウェイクアップ信号を受信したときにORゲート22を通じて起動制御部25にアクティブ信号を出力する。起動制御部25は、アクティブ信号を受け付けると受信切替部29を通じてウェイクアップパルスを主制御部10に出力する。
 またウェイクアップ信号判定部41は、ウェイクアップ信号を受信したときにORゲート24を通じて送信制御部60にアクティブ信号を出力する。送信制御部60は、ウェイクアップ信号判定部41からORゲート24を通じてアクティブ信号を受け付けると、ウェイクアップ信号送出部63から送信切替部28を通じてウェイクアップ信号をトランスミッタ94に出力する。トランシーバ91のトランスミッタ94は、ウェイクアップ信号を受け付けるとウェイクアップパルスを他の通信バス81に送出する。これにより通信バス81に接続される他のスレーブノード3を起動する。
 バス起動信号判定部42は、通信バス80が起動されているか否かを判定するブロックであり、通信バス80が起動し当該通信バス80にバスクロック等のアクティブ状態となるバス起動信号が送出されているか否かを判定する。バス起動信号判定部42は、アクティブ状態となるバス起動信号が通信バス80に送出されていれば、スレーブ側の送信制御部60にアクティブ信号を送信する。送信制御部60は、アクティブ信号を受け付けると、バス起動信号送出部62によりアクティブ状態となるバス起動信号を他の通信バス81に送出する。
 このときバス起動信号送出部62は、主制御部10の起動タイミング判定部26によるタイミング信号に対応してバス起動信号、すなわち、クロック等のアイドル信号を通信バス81に送出し、他のスレーブノード3がバス起動信号を受信し、スレーブノード3の主制御部210が中継ノード1の主制御部10との間で通信開始するまでの間に、主制御部10が起動完了できるようにする。主制御部10は、通信バス81からのイベント通信等の情報を極力少ないウェイト時間で受信できるようになる。
 ダミー受信判定部43は、通信バス80からレシーバ93を通じて受信した受信信号RXを参照し、マスタノード2(他の通信ノード相当)のダミー信号送出部161からダミー信号を受信したか否か、又はダミー信号の受信データを正常に受信したか否か判定するブロックである。ダミー受信判定部43は、ダミー信号を受信したことを判定すると、ダミー信号の受信データをメモリ31に逐次記憶させる。
 また、ダミー受信判定部43は、マスタノード2のダミー信号送出部161からダミー信号を受信すると、スレーブ側の送信制御部60にアクティブ信号を送信する。送信制御部60は、アクティブ信号を受け付けると、ダミー信号送出部61により他の通信バス81に送出することで、スレーブノード3にダミー信号を送信する。
 このときダミー信号送出部61は、主制御部10の起動タイミング判定部26によるタイミング信号に対応して、通信バス81に対してダミー信号を送信する。ダミー通信が完了するまでに主制御部10が起動完了できるようにすることで、主制御部10は、通信バス81からのイベント通信等の情報を極力少ないウェイト時間で受信できるようになる。
 他方、受信判定部40と主制御部10との間には確認線43aが接続されている。確認線43aは、ダミー受信判定部43により受信したダミー信号に含まれる受信データを主制御部10から確認したり、又は、ダミー受信判定部43に受信されたダミー信号の受信が完了したことを主制御部10から確認する通信線を示す。
 確認線43aを設けることで、主制御部10が起動完了した後にメモリ31に記憶されたダミー信号の受信データを確認することができ、主制御部10の起動完了後に主制御部10がダミー信号の受信データを活用できる。
 時間間隔判定部44は、通信バス80からレシーバ93を通じて受信した受信信号RXを参照し、ウェイクアップ信号を受信してからバス起動信号を受信するまでの経過時間、ウェイクアップ信号を受信してからダミー信号を受信するまでの経過時間、又は、バス起動信号を受信してからダミー信号を受信するまでの経過時間、をカウンタ32を用いて時間間隔として測定する。
 また時間間隔判定部44は、測定された時間間隔に基づいて中継ノード1の自身の主制御部10の起動の要否を判定することもできる。時間間隔判定部44は起動必要と判定するとウェイクアップ信号判定部41にアクティブ信号を出力する。ウェイクアップ信号判定部41は、アクティブ信号を受け付けると、ORゲート22を通じて起動制御部25にアクティブ信号を出力する。
 起動制御部25は、アクティブ信号を受け付けると主制御部10を起動制御する。これにより、時間間隔判定部44が起動必要と判定したタイミングで主制御部10を起動できる。
 また副制御部20の受信判定部40は、前述の時間間隔に基づいて、送信側のマスタノード2から送信されたイベントの種類を判別することもできる。また副制御部20の受信判定部40は、前述の時間間隔の長さに応じて、受信側の中継ノード1又はスレーブノード3が処理すべき制御を数種類に分別することができ、これらの種類を識別するための識別情報をメモリ31に記憶させる。
 時間間隔判定部44の時間間隔に基づく識別情報は、確認線43aなどを通じて主制御部10から参照可能になっており、主制御部10はこの識別情報からイベントの種類を判別できる。したがって主制御部10は、起動完了後にこの情報に応じて実行する処理内容を迅速に変更できる。なお、ここでは詳細説明を省略するが、スレーブノード3でも上述同様の時間間隔を測定すれば、スレーブノード3の主制御部210でも同様に処理内容を迅速に変更できる。上述の内容に加え、スイッチ等100の変化入力も考慮して主制御部10の制御内容を変更しても良い。これらの具体例は後述する。
 また時間間隔判定部44が、スレーブノード3に対する各種データ送信の要否を判定し、スレーブノード3へのデータ送信を必要と判定した場合、受信判定部40は、レシーバ93から受信したデータに基づいてデータを作成し、送信制御部60へ送信する。
 また時間間隔判定部44が、スレーブノード3に対する各種データ送信の要否を判定し、スレーブノード3へのデータ送信を必要と判定した場合、受信判定部40は、データ送信タイミングを設定するための指令信号を送信制御部60に出力する。
 送信制御部60は、ウェイクアップ信号送出部63によりウェイクアップ信号を送出するタイミングのパラメータを設定し、バス起動信号送出部62により通信バス81をアクティブ状態にするバス起動信号を送信するタイミングのパラメータを設定し、ダミー信号送出部61によりダミー信号を送信するタイミングのパラメータを設定する。このとき、送信制御部60は、起動タイミング判定部26のタイミング信号を参照し、主制御部10が起動完了することが想定されるタイミングから逆算して、タイミングのパラメータを設定することが望ましい。
 送信制御部60は、設定されたデータ送信タイミングに基づいて送信切替部28を通じてトランシーバ91に、ウェイクアップ信号、バス起動信号、ダミー信号を出力する。トランシーバ91のトランスミッタ94は、入力されたデータを含むフレームを作成し通信バス81に送出する。
 他方、スレーブ側に構成された受信判定部50は、接続された通信バス81から入力される信号の判定を行うもので、ウェイクアップ信号判定部51としての機能を備える。
 ウェイクアップ信号判定部51は、通信バス81からウェイクアップ信号を受信したか否かを判定するブロックである。ウェイクアップ信号判定部51は、ウェイクアップ信号を受信したときにORゲート22を通じて起動制御部25にアクティブ信号を出力する。起動制御部25は、アクティブ信号を受け付けると副制御部20の受信切替部30を通じてウェイクアップ信号を主制御部10に出力したり、主制御部10の電源制御を実行することで主制御部10を起動する。
 スレーブノード3側からの起動指示に応じて起動制御部25からウェイクアップ信号により主制御部10を起動させる場合、主制御部10が起動完了するまでの間、受信切替部30は、起動制御部25によるウェイクアップ信号を主制御部10に入力させる。起動制御部25は、主制御部10の起動完了したことを検出した場合、レシーバ95による受信信号RXを主制御部10に入力させるように切替える。
 またウェイクアップ信号判定部51は、ウェイクアップ信号を受信したときにORゲート23を通じて送信制御部70にアクティブ信号を出力する。送信制御部70は、ウェイクアップ信号送出部71を備える。
 送信制御部70は、アクティブ信号を受け付けると、ウェイクアップ信号送出部71から送信切替部27を通じてウェイクアップ信号をトランスミッタ92に出力する。トランシーバ90のトランスミッタ92は、ウェイクアップ信号を受け付けるとウェイクアップパルスを通信バス80に送出し、通信バス80に接続されるマスタノード2を起動させる。また送信制御部70は、主制御部10が起動完了していない間、送信切替部27を切替えて通信バス80を通じてマスタノード2にデータを送信制御する。
 送信切替部27は、主制御部10がスリープ状態から起動完了するまでの間、送信制御部70による送信信号TXをトランスミッタ92に入力させるように切替える。送信制御部70は、主制御部10が起動完了した場合、主制御部10の送信信号TXをトランスミッタ92に入力させるように送信切替部27を切替制御する。
 マスタノード2側からの起動指示に応じて起動制御部25からウェイクアップ信号により主制御部10を起動させる場合、主制御部10が起動完了するまでの間、受信切替部29は、起動制御部25によるウェイクアップ信号を主制御部10に入力させる。起動制御部25は、主制御部10の起動完了したことを検出した場合、レシーバ93による受信信号RXを主制御部10に入力させるように切替える。 
 またウェイクアップ信号判定部51は、レシーバ95を通じて通信バス81からウェイクアップ信号を受信したときには、送信制御部60にアクティブ信号を出力する。送信制御部60は、ウェイクアップ信号判定部51からアクティブ信号を入力すると、前述したバス起動信号送出部62、ダミー信号送出部61により、設定されたデータ送信タイミングに基づいて送信切替部28を通じてトランシーバ91に、バス起動信号及びダミー信号をそれぞれ出力する。トランシーバ91のトランスミッタ94は、入力されたデータを含むフレームを作成し通信バス81に送出する。
 図2には、中継ノード1の構成を一部省略してマスタノード2の構成を示しているが、説明の便宜上、図1に付した構成要素の符号に100を加入した符号を、同一機能を備えた構成要素に付している。説明の便宜上、図2に示した構成要素を列挙し、構成要素の機能説明を省略する。
 図2には、マスタノード2が、中継ノード1と通信接続するために必要な構成要素だけを図示しており、マスタノード2としてだけ機能するのであれば、その他の中継ノード1に含まれる機能を省いても良い。
 マスタノード2は、主制御部110、副制御部120、及びトランシーバ191を備える。主制御部110は、制御回路111に図示しない周辺回路を接続して構成されている。制御回路111は、通信制御部112を備える。副制御部120は、入力監視部121、受信判定部150、送信制御部160、ORゲート124、起動タイミング判定部126、起動制御部125、送信切替部128、受信切替部129、メモリ131、及び経過時間測定部としてのカウンタ132を備える。入力監視部121及び制御回路111にはスイッチ等200が接続されている。
 受信判定部150は、ウェイクアップ信号判定部151を備える。送信制御部160は、ダミー信号送出部161、バス起動信号送出部162、及びウェイクアップ信号送出部163を備える。トランシーバ191は、トランスミッタ194、及びレシーバ195を備える。ORゲート124の出力は、起動制御部125及び起動タイミング判定部126に接続されている。起動タイミング判定部126と起動制御部25とは接続されている。
 また図3には、中継ノード1の構成を一部省略してスレーブノード3の構成を示しているが、説明の便宜上、図1に付した構成要素の符号に200を加入した符号を同一機能を備えた構成要素に付している。説明の便宜上、図3に示した構成要素を列挙し、構成要素の機能説明を省略する。
 図3には、スレーブノード3が、中継ノード1と通信接続するために必要な構成要素だけを図示しており、スレーブノード3としてだけ機能するのであれば、その他の中継ノード1に含まれる機能を省いても良い。
 スレーブノード3は、主制御部210、副制御部220、及びトランシーバ290を備える。主制御部210は、制御回路211に図示しない周辺回路を接続して構成されている。制御回路211は、通信制御部212を備える。
 副制御部220は、入力監視部221、受信判定部240、送信制御部270、ORゲート223、起動制御部225、起動タイミング判定部226、送信切替部227、受信切替部229、メモリ231、及びカウンタ232を備える。入力監視部221及び制御回路211にはスイッチ等300が接続されている。起動要否判定部233は、ORゲート223及び起動制御部225により構成される。
 受信判定部240は、時間間隔判定部244、ウェイクアップ信号判定部241、バス起動信号判定部242、及びダミー受信判定部243を備える。受信判定部240と主制御部210との間には確認線243aが接続されている。
 送信制御部270は、ウェイクアップ信号送出部271を備える。トランシーバ290は、トランスミッタ292、及びレシーバ293を備える。
 なお図1に例示した構成では、副制御部20の送信制御部60、70が、ウェイクアップパルスを送出するウェイクアップ信号送出部63、71を備えたり、受信判定部40、50がウェイクアップ信号を判定するウェイクアップ信号判定部41、51を備える形態を示した。
 しかしトランシーバの種類によっては、トランシーバ90又はトランシーバ91によりウェイクアップパルスを送出するウェイクアップ信号送出部63、71の機能を備えたり、ウェイクアップ信号を判定するウェイクアップ信号判定部41、51としての機能を備える場合もある。この場合、副制御部20が、トランシーバ90及びトランシーバ91を制御することで、ウェイクアップ信号送出部63、71としての機能、ウェイクアップ信号判定部41、51としての機能を実現するようにしても良い。図2、図3に例示したマスタノード2、スレーブノード3でも同様である。
 以下、スレーブノード3に接続されるスイッチ等300の入力変化に応じて生じるイベント発生を、スレーブノード3から中継ノード1、マスタノード2に通知する流れの具体例を説明する。なお、中継ノード1及びマスタノード2はスリープ状態に維持されていることを前提として説明する。
 <スレーブノード3からイベント通知>
 図4は、スレーブノード3にてイベント発生した場合に、当該スレーブノード3から中継ノード1を通じてマスタノード2にイベント発生を通知する場合のフローチャートを示している。
 <スレーブノード3を主体とした動作説明>
 図4に例示したように、スイッチ等300の入力変化に伴い、スレーブノード3の入力監視部221が、S101にてイベント発生を検出すると、下記のS102~S104の処理、及びS105~S106の処理を、それぞれ別々のタスクスケジュールに基づいて同時並行処理する。
 <<S102~S104の処理内容>>
 起動制御部225は、タイミング良くイベント発生を中継ノード1を通じてマスタノード2に通知できるように、S102において主制御部210を起動させるタイミングを計算して待機する。
 その後、起動制御部225は、S103において主制御部210に起動指示し、S104において主制御部210を起動させる。
 <<S105~S106の処理内容>>
 また、S101にて入力監視部221により入力変化を検出したことをトリガとして、副制御部220のウェイクアップ信号送出部271は、スリープ状態のトランスミッタ292を起動すると共に、S105において受信切替部229及びトランスミッタ292を通じてウェイクアップパルスを通信バス280に送出する。
 通信バス280は、通信バス81を通じて中継ノード1に接続されており、中継ノード1はS111においてウェイクアップパルスを受信できる。その後、スレーブノード3は、トランシーバ290を通じて通信バス280を監視し、S106の処理条件を満たしたか否かを判定する。
 ステップS106では、バス起動信号判定部242により通信バス280が起動したか否か、又は/及び、ダミー受信判定部243により中継ノード1からダミー信号を受信したか否か、を判定する。
 <<S106~S107の処理内容>>
 その後、スレーブノード3において、副制御部220は、S106にて通信バス280が起動し且つダミー送信を受信したと判定し、且つS104にて主制御部210が起動完了したことを、起動タイミング判定部226により確認すると準備処理を終了し、送信切替部227及び受信切替部229を主制御部210側に切替えることで、主制御部210に通信制御の主導権を渡す。この後、主制御部210が、S107において通信バス280を通じてイベント発生したことを中継ノード1に送信する。これに伴い、中継ノード1ではS114においてイベント発生の情報を受信できる。
 <中継ノード1を主体とした動作説明>
 スレーブノード3が、S105においてウェイクアップパルスを通信バス280及び通信バス81を通じて中継ノード1に送出すると、中継ノード1はS111において通信バス81を通じてウェイクアップパルスをレシーバ95から受信できる。
 受信判定部50のウェイクアップ信号判定部51は、通信バス81を通じてウェイクアップパルスを受信したと判定する。受信判定部50は、送信制御部70、送信制御部60、及び起動制御部25にウェイクアップパルスの受信情報を出力する。
 中継ノード1は、S111においてウェイクアップパルスを受信したことをトリガとして、S112~S113の処理、S116~S117の処理、S118~S119の処理をそれぞれのタスクスケジュールにより同時並行処理することで、主制御部10が起動完了するタイミングに合わせて通信バス81に接続されたスレーブノード3との通信を開始できるように準備処理を実行する。
 <<S112~S113の準備処理内容>>
 送信制御部60のバス起動信号送出部62は、タイミング良くイベント発生の通知をスレーブノード3の側から受信できるように、S112においてバスクロックによるアイドル信号を通信バス81に送出するタイミングを計算して待機する。
 送信制御部60のダミー信号送出部61は、タイミング良くイベント発生の通知をスレーブノード3の側から受信できるように、S112においてダミー信号を通信バス81に送出するタイミングを計算して待機する。
 これらのバス起動信号送出部62、ダミー信号送出部61による計算待機処理は、何れか一方又は双方により行われる。要するに、中継ノード1は、スレーブノード3の側からイベント発生の通知を受信するのに都合の良いタイミングとするように計算すると良い。
 バス起動信号送出部62は、S113においてタイミングを見計らって、S114におけるイベント発生の受信に先立ち、通信バス81をアクティブ状態とするためのバス起動信号を出力する。またダミー信号送出部61は、S113においてタイミングを見計らって、S114におけるイベント発生の受信に先立ち、通信バス81を通じてスレーブノード3にダミー信号を送信する。
 <<S116~S117の処理内容>>
 中継ノード1は、S116において起動制御部25から主制御部10に起動指示することで、S117において主制御部10を起動させる。このときS116においてウェイクアップパルスを主制御部10の受信信号RXの入力端子に入力させたり電源制御することで起動指示し、S117において主制御部10を起動させる。主制御部10は、起動完了するまでに相当時間を要する。
 <<S118~S119の処理内容>>
 また同時並行して、中継ノード1は、副制御部20の送信制御部70によりトランスミッタ92を起動すると共に、S118においてウェイクアップ信号送出部71からトランスミッタ92を通じてウェイクアップパルスを通信バス80に送出する。
 通信バス80は、通信バス181を通じてマスタノード2に接続されており、マスタノード2は、S121においてウェイクアップパルスを受信できる。その後、中継ノード1は、レシーバ93を通じて通信バス80を監視し、S119の条件を満たしたか否かを判定する。
 ステップS119では、副制御部20のバス起動信号判定部42により通信バス80が起動したか否か、又は/及び、副制御部20のダミー受信判定部43によりマスタノード2からダミー信号を受信したか否か、を判定する。
 <<S113~S114の処理内容>>
 中継ノード1では、副制御部20が、S113において通信バス81をバス起動すると共に通信バス81にダミー信号を送信している。副制御部20は、S117にて主制御部10が起動完了したことを起動タイミング判定部26により確認すると準備処理を終了し、送信切替部27、受信切替部29、送信切替部28、及び受信切替部30を主制御部10側に切替えることで、主制御部10に通信制御の主導権を渡す。これにより、主制御部10は、S114において通信バス81を通じてスレーブノード3からイベント発生の通知を受信できる。
 <<S120の処理内容>>
 中継ノード1の主制御部10は、S114においてイベント発生の通知を受信すると、S119の条件を満たしていることを条件として、S120において通信バス80を通じてイベント発生をマスタノード2に通知する。これに伴い、マスタノード2では、S126においてイベント発生の通知を受信できる。
 <マスタノード2を主体とした動作説明>
 中継ノード1が、S118においてウェイクアップパルスを通信バス80及び181を通じてマスタノード2に送出すると、マスタノード2はS121において通信バス181を通じてウェイクアップパルスをレシーバ195を通じて受信できる。
 受信判定部150のウェイクアップ信号判定部151は、通信バス181を通じてウェイクアップパルスを受信したと判定する。ウェイクアップ信号判定部151は、ウェイクアップパルスの受信情報を、送信制御部70、送信制御部60、及び起動制御部25に出力する。
 マスタノード2は、図4のS121においてウェイクアップパルスを受信すると、S122~S123の処理、S124~S125の処理を別々のタスクスケジュールにより同時並行処理する。
 <<S122~S123の処理内容>>
 送信制御部170のバス起動信号送出部162は、タイミング良くイベント発生の通知を中継ノード1側から受信できるように、S122においてバスクロックによるアイドル信号を通信バス181に送出するタイミングを計算して待機する。
 送信制御部170のダミー信号送出部161は、タイミング良くイベント発生の通知を中継ノード1の側から受信できるように、S122においてダミー信号を通信バス181に送出するタイミングを計算して待機する。
 これらのバス起動信号送出部162、ダミー信号送出部161による計算待機処理は、何れか一方又は双方により行われる。マスタノード2は、中継ノード1側からイベント発生の通知を受信するのに都合の良いタイミングとするように計算すると良い。
 バス起動信号送出部162は、S123においてタイミングを見計らってバス起動し、ダミー信号送出部161は、S123においてタイミングを見計らってダミー信号を送信する。
 <<S124~S125の処理内容>>
 マスタノード2では、S124において起動制御部125から主制御部110を起動指示する。主制御部110は、起動完了するまでに相当時間を要する。
 <<S126の処理内容>>
 マスタノード2では、S123において通信バス181をバス起動すると共に通信バス181にダミー信号を送信している。副制御部120は、S125にて主制御部110が起動完了したことを起動タイミング判定部126により確認すると準備処理を終了し、送信切替部128、及び受信切替部130を主制御部110側に切替えることで、主制御部110に通信制御の主導権を渡す。
 この後、主制御部110は、S126において通信バス181を通じて中継ノード1からイベント発生の通知を受信できる。これにより、マスタノード2の主制御部110は、中継ノード1からイベント発生の通知を受信でき、イベント発生したスレーブノード3から中継ノード1を介してイベント発生の通知を受信できる。
 <<S127の処理内容>>
 マスタノード2の主制御部110は、イベント発生の通知を受信すると、S127においてイベント内容に応じた処理を実行する。
 <比較例説明>
 従来、スレーブノード3は、スリープ状態においてスイッチ入力の変化等に基いてウェイクアップパルスを送出するため、まず主制御部210が起動完了するまでの時間が必要になり、通信完了するまでの遅延が大きくなるという問題があった。
 この場合、スレーブノード3から中継ノード1を通じてマスタノード2へ何等かのイベント通信を行う場合、スレーブノード3及びマスタノード2にて主制御部210、110の起動時間が必要となる上、中継ノード1においても主制御部10の起動時間も追加で必要となるため、通信完了するまでの時間が大幅に必要となるという問題があった。
 <第1実施形態のまとめ>
 第1実施形態によれば、中継ノード1及びマスタノード2がスリープ状態とされているときに、スレーブノード3にて発生したイベントをマスタノード2に通知する際、中継ノード1の副制御部20は、S111にてウェイクアップパルス信号を検出したことをトリガとして、S116において主制御部10を起動指示しながら、S113において前もって通信バス81をバス起動し、ダミー信号を送信することで、S114の主制御部10によるイベント通知前に準備している。
 本形態では、中継ノード1の副制御部20は、主制御部10が起動完了するまでの間にウェイクアップパルスが送信されてきた通信バス81をバス起動信号により起動し、主制御部10の起動完了タイミングを見計らってダミー信号を送信している。これにより、主制御部10が起動完了した直後にイベント通知を受信できる。
 同様に、マスタノード2の副制御部120は、S121にてウェイクアップパルス信号を検出したことをトリガとして、S124において主制御部110を起動指示しながら、S123において前もって通信バス181をバス起動し、ダミー信号を通信することで、S126の主制御部110によるイベント通知前に準備している。
 本形態では、マスタノード2の副制御部120は、主制御部110が起動完了するまでの間にウェイクアップパルスが送信されてきた通信バス181をバス起動信号により起動し、主制御部110の起動完了タイミングを見計らってダミー信号を送信している。これにより主制御部110が起動完了した直後にイベント通知を受信できる。
 バス起動やダミー信号通信などの事前準備処理を、イベント通信する主制御部10、110、210の起動処理と同時並行して行うことができ、スレーブノード3から中継ノード1を通じてマスタノード2にイベント通知する時間を短縮でき、イベント通知を高速化できる。
 また第1実施形態によれば、中継ノード1は、S111においてウェイクアップ信号判定部51によりスレーブノード3からウェイクアップ信号を検出したことをトリガとして、主制御部10が起動完了するタイミングに合わせて通信バス80に接続されたマスタノード2との通信を開始できるように、S120におけるイベント発生の通知に先立ち、S118においてウェイクアップ信号送出部71により前もって通信バス80へトランシーバ90を通じてウェイクアップパルスを送出している。
 マスタノード2では、副制御部120がS124においてマスタノード2の主制御部110に起動指示して起動でき、S126におけるイベント通知の受信前に事前準備できる。このため、S120において中継ノード1からイベント通知されたとしても、S126において主制御部110がイベント通知を受信できる。
 第1実施形態では、スレーブノード3にてイベント発生した形態を示したが、中継ノード1に接続されるスイッチ等100の入力変化に応じてイベント発生した場合でも、中継ノード1とマスタノード2が前述と同様の処理を実行することで前述同様の作用効果を奏する。したがって、スレーブノード3又は中継ノード1でのイベント発生からマスタノード2でのイベント通知を受信するまでの時間を短縮できる。中継ノード1は、バス起動信号送出部62、ダミー信号送出部61の機能を何れか一つ備える形態に適用できる。スレーブノード3は、バス起動信号送出部162、ダミー信号送出部161の機能を何れか一つ備える形態に適用できる。
 (第2実施形態)
 中継ノード1の主制御部10の起動時間が比較的長いことが想定される場合、図5に示すように実行することが望ましい。スレーブノード3が、S101にて発生したイベントを通知する場合、S105にてウェイクアップパルスを送信した後、S106aにおいて通信バス280が起動されたか判定する。
 中継ノード1では、ウェイクアップ信号判定部51によりS111にてウェイクアップパルスを受信した後、S112a及びS113aにおいてタイミングを計り、バス起動信号送出部62により、前もって通信バス81、280をアクティブ状態とするバス起動信号を送出する。その後、S112b及びS113bにおいてタイミングを計り、ダミー信号送出部61により、前もってダミー信号を通信バス81、280を通じてスレーブノード3に送信する。その他の処理は、図5中に図4と同一のステップ番号を付して説明を省略する。
 スレーブノード3の副制御部220は、S106aにおいて中継ノード1からバス起動信号を受信した後、S103において起動指示して主制御部210を起動させる。これにより、スレーブノード3では、主制御部210の起動開始を遅らせることができる。この結果、主制御部210の通信待機時間を短縮でき、スレーブノード3の消費電力を低減できる。中継ノード1側では、主制御部10の起動時間を稼ぐことができる。
 バス起動やダミー信号通信などを事前準備処理を、ノード間でイベントを通信する主制御部10、主制御部110の起動処理と同時並行して実行でき、スレーブノード3からマスタノード2にイベント発生を通知する時間を短縮できる。
 (第3実施形態)
 マスタノード2の主制御部110の起動時間が比較的長いことが想定される場合、図6に示すように実行することが望ましい。スレーブノード3が、S101にて発生したイベントを通知する場合、S105にてウェイクアップパルスを送信した後、S106aにおいて通信バス280の起動したか否かを判定、待機する。
 中継ノード1では、S111にてスレーブノード3からウェイクアップパルスを受信した後、直ぐにS118においてウェイクアップパルスを通信バス80に送出することでマスタノード2に送信する。
 マスタノード2では、ウェイクアップ信号判定部151によりS121においてウェイクアップパルスを受信したと判定すると、S122a及びS123aにおいてタイミングを計り、バス起動信号送出部162により前もって通信バス181、80をアクティブ状態にするためのバス起動信号を送出する。マスタノード2では、バス起動信号を送信した後、S124において副制御部120から起動指示することで、S125において主制御部110を起動させる。
 中継ノード1では、バス起動信号判定部42によりS119aにおいて通信バス80がアクティブ状態になったと判定すると、S112a及びS113aにおいて、タイミングを計りバス起動信号送出部62により前もって通信バス81、280をアクティブ状態にするようにバス起動する。
 スレーブノード3では、通信バス81を通じて通信バス280がアクティブ状態に起動されるため、バス起動信号判定部242によりS106aにおいてバス起動したと判定できる。スレーブノード3では、バス起動信号判定部242によりバス起動判定した後、S103において起動指示することでS104において主制御部210を起動させると共に、S106bにおいてダミー受信判定部243によりダミー信号を受信したか否かを判定する。
 そしてスレーブノード3では、S104において主制御部210が起動し且つS106bにおいてダミー信号を受信したことを条件としてS107においてイベント発生を中継ノード1に通知する。
 中継ノード1においても、S113bにおいてダミー信号をスレーブノード3側に送信した後、S117にて主制御部10が起動完了したことを条件として、S114においてイベント通知を受信することになる。また中継ノード1では、S119bにおいてマスタノード2からダミー信号を受信判定した後、S114で受信したイベント通知について、S120においてマスタノード2に通知する。マスタノード2が、S126にてイベント通知を受信するとS127にてイベント内容に応じた処理を実行する。
 第3実施形態によれば、中継ノード1は、スレーブノード3からウェイクアップパルスを受信すると、直ぐにウェイクアップパルスをマスタノード2に送信している。マスタノード2は、S121においてスレーブノード3から中継ノード1を通じてウェイクアップパルスを受信すると、S123aにおいてバス起動信号送出部162により前もって通信バス181をアクティブ状態にするためのバス起動信号を送出している。すると、マスタノード2の側では、S125における主制御部110の起動時間を長時間確保できる。またスレーブノード3の主制御部210、中継ノード1の主制御部10の起動開始を遅らせることができ、スレーブノード3及び中継ノード1の消費電力を低減できる。
 第1から第3実施形態によれば、中継ノード1、マスタノード2がそれぞれ主制御部10、110を起動している最中に、ウェイクアップパルス信号、通信バス181、81、280をアクティブ状態にするバス起動信号、ダミー信号の3つのうち何れか2つの送信間隔を変化させている。このため、スレーブノード3の主制御部210、中継ノード1の主制御部10の起動開始を自在に変更でき、主制御部210、10の起動完了タイミングを調整できる。また、入力監視部21、121によるスイッチ等100、200の入力変化に応じて送信間隔を変更しても良い。
 (第4実施形態)
 図7には、スレーブ側イベント発生通知に係るタイムシーケンスを比較例と共に示している。比較例には、スレーブノード3の副制御部220、中継ノード1の副制御部20、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを記載している。
 <比較例の説明>
 比較例においては、タイミングt1においてスレーブノード3がイベント発生を受けて起動し、タイミングt1aにおいてウェイクアップパルスを中継ノード1に送信する。中継ノード1は、ウェイクアップパルスを受信するとタイミングt2aにおいて起動し、スレーブノード3からイベント通知を受信する。中継ノード1は、イベント通知を受信した後にタイミングt2bにおいてウェイクアップパルスをマスタノード2に送信する。マスタノード2は、ウェイクアップパルスを受信するとタイミングt4aにおいて起動し、中継ノード1からイベント通知を受信する。
 <本実施形態に係るスレーブ側イベントの流れと比較例に対する効果>
 これに対し、本実施形態に係る図7に示すスレーブ側イベントの流れにおいては、タイミングt1においてスレーブノード3が主制御部210を起動開始するものの、この起動中にスレーブノード3の副制御部220がウェイクアップパルスを中継ノード1に送信している。このため、比較例に対し、スレーブノード3が、中継ノード1にウェイクアップパルスを送信するまでの時間を短縮できる。
 また、図7に示すスレーブ側イベントの流れにおいては、タイミングt2において中継ノード1の副制御部20がウェイクアップパルスを受信した後、中継ノード1の副制御部20がウェイクアップパルスを直ぐに中継ノード1に送信している。このため、比較例に対し、中継ノード1が、マスタノード2にウェイクアップパルスを送信するまでの時間を短縮できる。
 この結果、マスタノード2がスレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングt5は、比較例にて受信データを受信完了するタイミングtaに対して速くなり、この間、時間短縮できる。
 図7の記載では、各ノードにおける副制御部20、120、220の動作について詳細な記述はしていないものの、スレーブノード3及び中継ノード1間、中継ノード1及びマスタノード2間で使用する通信プロトコルが、それぞれ異なっていても適用可能である。
 図4から図6に示したフローチャート、図7のタイミングチャートは、スレーブノード3から中継ノード1を経由してマスタノード2にイベント発生を通知する場合を例示しているが、スレーブノード3及びマスタノード2が直接接続される場合でも同様に通信の応答遅延を短縮でき、消費電力を低減できる。
 (第5実施形態)
 第5実施形態について図8から図10を参照しながら説明する。第5実施形態では、マスタノード2、中継ノード1、スレーブノード3起動タイミング判定部26、126、226が、各主制御部10、110、210の起動完了タイミングを判定するための方法を説明する。ここでは、中継ノード1を例に挙げて説明するが、マスタノード2でもスレーブノード3でも同様に判定できる。
 前述実施形態でも説明したように、中継ノード1の副制御部20は、主制御部10が起動完了するまでの間、送信制御部60及び受信判定部50によりスレーブノード3との間の通信前の準備処理を行い、送信制御部70及び受信判定部40によりマスタノード2との間の通信前の準備処理を行う。
 そして副制御部20は、主制御部10が起動完了したことを起動タイミング判定部26により確認した後、送信切替部27、28、受信切替部29、30を切替えることで、主制御部10に通信制御の主導権を渡している。ここでは、副制御部20の起動タイミング判定部26が、どのように主制御部10の起動完了タイミングを判定するか説明する。
 起動タイミング判定部26は、主制御部10が起動完了するまでの間、主制御部10が起動したか否かを判定するために、主制御部10の出力信号を用いて判定する。ここで起動タイミング判定部26は、主制御部10の出力信号の電圧、出力信号のパルス周期、又はパルス幅を用いて起動完了タイミングを判定すると良い。
 起動タイミング判定部26が、主制御部10の起動完了タイミングを判定するために用いる主制御部10の出力信号としては、内部クロックの出力、PWM信号の出力、汎用I/Oの出力ポート、スリープ要求信号の出力、送信信号TXの出力、又は、ウォッチドッグタイマの監視用出力、等を挙げることができる。
 例えば、図8に示すように、起動タイミング判定部26は、主制御部10に備えられる汎用I/Oの出力ポートの電圧、送信信号TXの出力電圧、又は、スリープ要求信号等の出力端子電圧VoutのDCレベルを検出し、出力端子電圧Voutが所定の条件を満たしたときに起動完了タイミングtaとして判定すると良い。
 例えば、出力端子電圧VoutのDCレベルの上限値をα1、下限値をβ1としたときに、Vout<α1、β1<Vout、β1<Vout<α1の何れか一つ以上の条件を満たしたときに起動完了タイミングtaと判定すると良い。例えば、閾値電圧以上、閾値電圧以下、又は2つの閾値電圧の範囲内となる条件を満たしたときに起動完了タイミングtaと判定しても良い。
 例えば、図9に示すように、起動タイミング判定部26は、主制御部10の出力端子から出力される内部クロックの電圧を検出したタイミングを起動完了タイミングtaと判定しても良い。このとき、内部クロックの電圧の周期Tが予め定められる所定の条件を満たしているときに起動完了したと判定することが望ましい。PWM信号電圧の出力、ウオッチドッグ監視用出力等の出力パルスの周期Tに適用しても良い。
 例えば、内部クロックの周期Tの上限値をα2、下限値をβ2としたときに、T<α2、β2<T、β2<T<α2の何れか一つ以上の条件を満たしたときを起動完了タイミングtaと判定すると良い。
 また図10に示すように、起動タイミング判定部26は、主制御部10の出力端子から出力されるクロック出力電圧やPWM信号電圧、又はウォッチドック監視用出力を検出したタイミングを起動完了タイミングtaとしても良い。このとき、出力信号電圧のオン期間Ton又は/及びオフ期間Toffが予め定められる所定の条件を満たしているときに起動完了したと判定することが望ましい。
 例えば、出力信号電圧のオン期間Tonの上限値をα3、下限値をβ3とし、オフ期間Toffの上限値をα4、下限値をβ4としたときに、Ton<α3、β3<Ton、β3<Ton<α3、Toff<α4、β4<Toff、β4<Toff<α4、の何れか一つ以上の条件を満たしたときを起動完了タイミングtaと判定すると良い。
 主制御部10を起動開始させるタイミング、通信バス80、81からウェイクアップ信号を受信したタイミング、主制御部10の出力信号を検出するタイミング、又は、主制御部10がリセット解除したタイミング、から一定時間を経過したタイミングを、主制御部10の起動完了タイミングtaと判定しても良い。主制御部10が、スイッチ等100の入力変化を検出したタイミングから一定時間を経過したタイミングを、主制御部10の起動完了タイミングtaとして判定しても良い。
 中継ノード1について説明したが、スレーブノード3、マスタノード2でも同様である。なお、起動タイミング判定部26、126、226は、必要に応じて設ければ良い。例えば図4では、S102、S112、S122などのタイミング生成処理により、主制御部10、110、又は210の起動完了タイミングを予め推測できれば、各副制御部20、120、又は220により各主制御部10、110、210の起動完了タイミングtaを検出する必要がなくなるためである。
 (第6実施形態)
 第6実施形態について図11を参照しながら説明する。図11は、マスタノード2にてイベント発生した場合に、当該マスタノード2から中継ノード1を通じてスレーブノード3にイベント発生を通知する場合のフローチャートを示している。
 <マスタノード2を主体とした動作説明>
 図11に例示したように、スイッチ等200の入力変化に伴い、マスタノード2が、S201において入力監視部121によりイベント発生を検出すると、下記のS203~S204の処理、及びS205、S202、S206の処理を、それぞれ別々のタスクスケジュールにより同時並行処理する。
 <<S203~S204の処理内容>>
 起動制御部125は、S203において主制御部110に起動指示し、S204において主制御部210を起動させる。
 <<S205、S202、S206の処理内容>>
 また、S201の処理直後において、副制御部120のウェイクアップ信号送出部163は、スリープ状態のトランスミッタ194を起動すると共に、S205において送信切替部128及びトランスミッタ194を通じてウェイクアップパルスを通信バス181に送出する。
 その後、副制御部120のバス起動信号送出部162、ダミー信号送出部161は、タイミング良くイベント発生を中継ノード1を通じてスレーブノード3に通知できるように、S202においてバス起動するタイミングやダミー信号を送信するタイミングを計算して待機する。
 通信バス181は、通信バス80を通じて中継ノード1に接続されており、中継ノード1はS211においてウェイクアップパルスを受信できる。その後、マスタノード2のバス起動信号送出部162は、バス起動タイミングが到来するとバス起動信号を通信バス181に送信し、ダミー信号送出部161は、ダミー信号送信タイミングが到来するとダミー信号を中継ノード1に送信する。
 <<S206~S207の処理内容>>
 その後、マスタノード2の副制御部120は、S206にて通信バス180のバス起動信号を送信し且つダミー送信し、且つ、S204にて主制御部110が起動完了したことを起動タイミング判定部126により確認すると準備処理を終了し、送信切替部128及び受信切替部130を主制御部110側に切替えることで、主制御部110に通信制御の主導権を渡す。この後、主制御部110が、S207において通信バス181を通じてイベント発生したことを中継ノード1に送信する。これに伴い、中継ノード1では、S214においてイベント発生の情報を受信できる。
 <中継ノード1を主体とした動作説明>
 マスタノード2が、S205においてウェイクアップパルスを通信バス181及び80を通じて中継ノード1に送出すると、中継ノード1はS211において通信バス80を通じてウェイクアップパルスをレシーバ93を通じて受信できる。
 受信判定部40のウェイクアップ信号判定部41は、通信バス80を通じてウェイクアップパルスを受信したと判定する。受信判定部40は、送信制御部70、送信制御部60、及び起動制御部25にウェイクアップパルスを受信した旨を示すアクティブ信号を出力する。
 中継ノード1は、S211においてウェイクアップパルスを受信したことをトリガとして、S213の処理、S216~S217の処理、S218、S212、S219の処理を個別のタスクスケジュールにより同時並行処理することで、主制御部10の起動完了タイミングに合わせて、S214にて通信バス80に接続されたマスタノード2との通信を開始できるように準備処理を実行する。
 <<S213の処理内容>>
 ステップS213では、中継ノード1は、バス起動信号判定部42により通信バス80が起動したか否か、ダミー受信判定部43によりマスタノード2からダミー送信を受信したか否か、を判定する。
 <<S216~S217の処理内容>>
 中継ノード1は、S211にてウェイクアップパルスを受信すると、S213の処理と同時並行して、S216において起動制御部25から主制御部10に起動指示することで、S217において主制御部10を起動させる。例えば、S216においてウェイクアップパルスを主制御部10の受信信号RXの入力端子に入力させたり電源制御することで起動指示する。主制御部10は、起動完了するまでに相当時間を要する。
 <<S218、S212、S219の処理内容>>
 中継ノード1では、S211にてウェイクアップパルスを受信すると、S213及びS216、S217の処理と同時並行して、副制御部20の送信制御部60によりトランスミッタ94を起動すると共に、S218においてウェイクアップ信号送出部63からトランスミッタ94を通じてウェイクアップパルスを通信バス81に送出する。
 通信バス81は、通信バス280を通じてスレーブノード3に接続されており、スレーブノード3は、S221においてウェイクアップパルスを受信できる。その後、中継ノード1は、副制御部20のバス起動信号送出部62、ダミー信号送出部61により、タイミング良くイベント発生を中継ノード1を通じてスレーブノード3に通知できるように、S212においてバス起動するタイミングやダミー信号を送信するタイミングを計算して待機する。
 これらのバス起動信号送出部62、ダミー信号送出部61による計算待機処理は、何れか一方又は双方により行われる。中継ノード1は、マスタノード2側からイベント発生の通知を受信してから、スレーブノード3側にイベント発生を通知するのに都合の良いタイミングとするように計算すると良い。
 バス起動信号送出部62は、S219においてタイミングを見計らって、S220におけるイベント発生の通知に先立ち、通信バス81をアクティブ状態とするためのバス起動信号を出力する。またダミー信号送出部61は、S219においてタイミングを見計らって、S220におけるイベント発生の通知に先立ち、通信バス81を通じてスレーブノード3にダミー信号を送信する。
 <<S213~S214の処理内容>>
 他方、中継ノード1の副制御部20は、S213において通信バス80のバス起動判定し、又は/及び、通信バス80を通じてダミー信号を受信判定している。副制御部20は、S217にて主制御部10が起動完了したことを起動タイミング判定部26により確認すると準備処理を終了し、送信切替部27、受信切替部29を主制御部10側に切替えることで、主制御部10にマスタノード2との間の通信制御の主導権を渡す。これにより主制御部10は、S214において通信バス80を通じてマスタノード2からイベント発生の通知を受信できる。また、送信制御部60は、送信切替部28、受信切替部30を主制御部10側に切替えることでスレーブノード3との間の通信制御の主導権を主制御部10に渡す。
 <<S220の処理内容>>
 中継ノード1の主制御部10は、イベント発生の通知を受信すると、S219の条件を満たしていることを条件として、S220において通信バス81を通じてイベント発生をスレーブノード3に通知する。これに伴い、スレーブノード3では、S226においてイベント発生の通知を受信できる。
 <スレーブノード3を主体とした動作説明>
 中継ノード1が、S218においてウェイクアップパルスを通信バス81及び280を通じてスレーブノード3に送出すると、スレーブノード3はS221において通信バス280を通じてウェイクアップパルスをレシーバ293を通じて受信する。
 受信判定部240のウェイクアップ信号判定部241は、通信バス280を通じてウェイクアップパルスを受信したと判定する。ウェイクアップ信号判定部241は、ウェイクアップパルスを受信した旨を示すアクティブ信号を、送信制御部260及び起動制御部225に出力する。
 スレーブノード3は、図11のS221においてウェイクアップパルスを受信すると、S223の処理、S224~S225の処理を別々のタスクスケジュールにより同時並行処理する。
 <<S223の準備処理内容>>
 ステップS223では、スレーブノード3は、バス起動信号判定部242により通信バス280が起動したか否か、又は/及び、ダミー受信判定部243により中継ノード1からダミー送信を受信したか否か、を判定する。
 <<S224~S225の処理内容>>
 スレーブノード3は、S221にてウェイクアップパルスを受信すると、S223の処理と同時並行して、S224において起動制御部225から主制御部210に起動指示することで、S225において主制御部210を起動させる。例えば、S224においてウェイクアップパルスを主制御部210の受信信号RXの入力端子に入力させたり電源制御することで起動指示する。主制御部210は、起動完了するまでに相当時間を要する。
 <<S226の処理内容>>
 スレーブノード3では、S223において通信バス280が起動したか否かを判定すると共に通信バス280からダミー信号を受信したか否かを判定している。副制御部220は、S223の条件を満たすと共にS225にて主制御部210が起動完了したことを図示しない起動タイミング判定部226により確認すると準備処理を終了し、送信切替部227、及び受信切替部229を主制御部210側に切替えることで、主制御部210に通信制御の主導権を渡す。
 この後、主制御部210は、S226において通信バス280を通じて中継ノード1からイベント発生の通知を受信できる。これにより、スレーブノード3の主制御部210は、中継ノード1からイベント発生の通知を受信でき、イベント発生したマスタノード2から中継ノード1を介してイベント発生の通知を受信できる。
 <<S227の処理内容>>
 スレーブノード3の主制御部210は、イベント発生の通知を受信すると、S227においてイベント内容に応じた処理を実行する。
 <従来説明>
 従来、マスタノード2は、スリープ状態においてスイッチ入力の変化等に基いてウェイクアップパルスを送出するため、まず主制御部110が起動完了するまでの時間が必要になり、通信完了するまでの遅延が大きくなるという問題があった。この場合、マスタノード2からスレーブノード3へ何等かのイベント発生の通知を行う場合、マスタノード2及びスレーブノード3にて主制御部110、210の起動時間が必要となる上、中継ノード1においても主制御部10の起動時間も追加で必要となるため、通信完了するまでの時間が大幅に必要となるという問題があった。
 <第6実施形態のまとめ>
 第6実施形態によれば、中継ノード1及びスレーブノード3がスリープ状態とされているときに、スイッチ等200にて発生したイベントをマスタノード2から中継ノード1に通知する。中継ノード1の副制御部20は、S211にてウェイクアップ信号を検出したことをトリガとして、S216において主制御部10を起動指示しながら、S213において前もって通信バス81のバス起動判定し、ダミー信号を受信判定することで、S214の主制御部10によるイベント通知前に準備している。
 同様に、スレーブノード3の副制御部220は、S221にてウェイクアップ信号を検出したことをトリガとして、S224において主制御部210を起動指示しながら、S223において前もって通信バス280をバス起動を判定し、ダミー信号の受信判定することで、S226の主制御部210によるイベント通知前に準備している。
 このため、バス起動やダミー信号通信などの事前準備処理を、各ノード間でイベントを通信する主制御部10、110、210の起動処理と同時並行して行うことができ、マスタノード2からスレーブノード3にイベント発生を通知する時間を短縮できる。
 また第6実施形態によれば、中継ノード1の副制御部20は、S211においてウェイクアップ信号判定部41によりマスタノード2からウェイクアップ信号を検出したことをトリガとして、主制御部10が起動完了するタイミングに合わせて通信バス81に接続されたスレーブノード3との通信を開始できるように、S220におけるイベント発生の通知に先立ち、S218においてウェイクアップ信号送出部63により前もって通信バス81へウェイクアップパルスを送出する。またS219においてバス起動信号送出部62により前もって通信バス81をアクティブ状態にするバス起動信号を送出する。また前もって通信バス81へダミー信号を送信するようにしている。
 これによりスレーブノード3では、副制御部220がS224においてスレーブノード3の主制御部210に起動指示して起動でき、S226におけるイベント通知の受信前に事前準備できる。このため、スレーブノード3では、S220において中継ノード1からイベント発生が通知されたとしても、S226において主制御部210がこのタイミングに合わせてイベント発生の通知を受信できる。これにより、マスタノード2におけるイベント発生から、スレーブノード3にてイベント発生通知を受信するまでの時間を短縮できる。
 具体的に、副制御部20のウェイクアップ信号送出部63は、第1の通信バス80からウェイクアップ信号を受信すると第2の通信バス81にウェイクアップ信号を送出する。またバス起動信号送出部62は、第1の通信バス80からバス起動信号を受信すると、第2の通信バス81にアクティブ状態とするバス起動信号を送信している。
 また、ダミー信号送出部61は通信バス80からダミー信号を受信すると通信バス81にダミー信号を送信している。これにより、中継ノード1は、通信バス80から受信したウェイクアップ信号、バス起動信号、又はダミー信号を通信バス81に中継できる。
 第6実施形態では、マスタノード2にてイベント発生し、このイベント発生を中継ノード1を通じてスレーブノード3に通知する形態を示したが、中継ノード1にてイベント発生した場合でも前述と同様に処理を実行することで、スレーブノード3に通知することができ、前述と同様の作用効果を奏する。
 (第7実施形態)
 第7実施形態について図12を参照しながら説明する。マスタノード2の主制御部110の起動時間が比較的長いことが想定される場合、図12に示すように実行すると良い。マスタノード2が、S201にて発生したイベントを通知する場合、S203において主制御部110に起動指示するのと同時並行して、S202aにおいてウェイクアップパルスの送信タイミングを生成して待機した後、S205においてウェイクアップパルスを中継ノード1に送信すると良い。
 その他の処理は、図12中に図11と同一のステップ番号を付して説明を省略する。これにより、マスタノード2の側では主制御部110の起動時間を稼ぐことができる。中継ノード1の主制御部10やスレーブノード3の主制御部210の起動開始を遅らせることができ消費電力を低減できる。
 また図11、図12には、中継ノード1を含む場合のフローチャートを記載しているが、スレーブノード3とマスタノード2とが直接接続される場合においても同様に通信の応答遅延の短縮と消費電力の低減の両方を実現することができる。
 (第8実施形態)
 第8実施形態について図13を参照しながら説明する。図13には、マスタ側イベント時のタイムシーケンスを比較例と共に示している。比較例には、スレーブノード3の副制御部220、中継ノード1の副制御部20、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを記載している。
 <比較例の説明>
 比較例においては、タイミングt11においてマスタノード2がスイッチ等200の入力変化のイベント発生を受けて起動し、タイミングt11aにおいてウェイクアップパルスを中継ノード1に送信する。中継ノード1は、ウェイクアップパルスを受信するとタイミングt12aにおいて起動し、スレーブノード3からイベント通知を受信する。
 中継ノード1は、イベント通知を受信した後にタイミングt12bにおいてウェイクアップパルスをスレーブノード3に送信する。スレーブノード3は、ウェイクアップパルスを受信するとタイミングt14aにおいて起動し、中継ノード1からイベント通知を受信する。
 <本実施形態に係るマスタ側イベント通知の流れと比較例に対する効果>
 これに対し、図13に示すマスタ側イベント通知の流れにおいては、タイミングt11においてマスタノード2が主制御部110を起動開始するものの、この起動中にマスタノード2の副制御部120がウェイクアップパルスを中継ノード1に送信している。このため、比較例に対し、マスタノード2が、中継ノード1にウェイクアップパルスを送信するまでの時間を短縮できる。
 また、図13に示すマスタ側イベント通知の流れにおいては、タイミングt12において中継ノード1の副制御部20がウェイクアップパルスを受信した後、中継ノード1の副制御部20がウェイクアップパルスを直ぐにスレーブノード3に送信している。このため、比較例に対して、中継ノード1がスレーブノード3にウェイクアップパルスを送信するまでの時間を短縮できる。
 この結果、スレーブノード3がマスタノード2にて発生したイベント通知の受信データを受信完了するタイミングt15は、比較例にて受信データを受信完了するタイミングtaに対して速くなり、この間、時間短縮できる。
 図13の記載では、各通信ノード1、2、3における副制御部20、120、220の動作について詳細な記述はしていないものの、マスタノード2及び中継ノード1間、中継ノード1及びスレーブノード3の間で使用する通信プロトコルが、例えばCXPI,CAN、LINなどそれぞれ異なっていても適用可能である。
 図11、図12に示したフローチャート、図13のタイミングチャートは、マスタノード2から中継ノード1を経由してスレーブノード3にイベント発生を通知する場合を例示しているが、マスタノード2及びスレーブノード3が直接接続される場合でも同様に通信の応答遅延を短縮でき、消費電力を低減できる。
 (第9実施形態)
 第9実施形態について図14を参照しながら説明する。図14は、マスタノード2から中継ノード1又はスレーブノード3に対し選択的にイベント通信を行う場合のフローチャートを示している。
 図14に示すように、中継ノード1が、S211においてウェイクアップパルスをマスタノード2から受信した後、S218において直ぐにスレーブノード3にウェイクアップパルスを送出することで、いち早くスレーブノード3までウェイクアップパルスを送信でき、応答遅延を最小にできる。
 また、図14記載のS202のタイミング生成のウェイト時間をT1とし、S212のタイミング生成のウェイト時間をT2とし、T2=T1-αと定義した場合の動作を説明する。
 例えば、マスタノード2の副制御部120が、S205においてウェイクアップパルスを送信すると、中継ノード1の副制御部20はS211においてウェイクアップパルスを受信し、S218においてウェイクアップパルスをスレーブノード3に送信する。
 中継ノード1は、S211においてウェイクアップパルスを受信したタイミングからS213において通信バス80がアクティブ状態となったタイミングまでの時間T1をカウンタ32により測定したり、又は、S211にてウェイクアップパルスを受信したタイミングからS213において通信バス80からダミー信号を受信したタイミングまでの時間T1をカウンタ32により測定したりする。本実施形態では、これらの時間T1の変化に応じて、中継ノード1の処理内容がシステム上で定められており、例えば中継ノード1は下記のように処理を実行する。
 例えば、中継ノード1の副制御部20は、経過時間T1を予め設定された所定時間bと比較し、例えば経過時間T1が所定時間bよりも短いときには、S216、S217において主制御部10に起動指示することで主制御部10を起動する。これにより、中継ノード1の主制御部10を選択的に起動できる。
経過時間T1が所定時間b以上のときには主制御部10に起動指示することなく終了する。
 また例えば、中継ノード1の副制御部20は、予め設定された所定時間a(但しa<b)と比較し、例えば経過時間T1が所定時間a以上のときには、S214aにおいてイベント内容に応じた処理を実行して終了し、スレーブノード3にイベント通知を送信しない。これにより、中継ノード1が、S214にてイベント通知を受信した内容に応じた処理を、S214aにて選択的に実行できる。
 また、例えば経過時間T1が所定時間aよりも短いときには、S212においてウェイト時間T2のタイミングを生成して待機し、S219においてバス起動信号を通信バス81に送出したり、ダミー信号を送信したりする。その後、中継ノード1の主制御部10が、S214においてイベント通知を受信すれば、S220においてイベント通知をスレーブノード3に送信する。
 スレーブノード3では、S223において通信バス280がアクティブ状態になったか否かを判定したり、又は/及び、ダミー信号を受信したか否かを判定する。スレーブノード3では、S221においてウェイクアップ信号を受信したタイミングから通信バス280がアクティブ状態となるタイミングまでの経過時間T2をカウンタ232により測定したり、又は/及び、通信バス280からダミー信号を受信するタイミングまでの経過時間T2をカウンタ232により測定したりする。
 本実施形態では、これらの時間T2の変化に応じて、スレーブノード3の主制御部210が実行する処理内容がシステム上で予め定められている。例えば、スレーブノード3の副制御部220は、予め設定された所定時間cと比較し、例えば経過時間T2が所定時間c以上のときには、主制御部210を起動指示することなく終了する。
 逆に、スレーブノード3の副制御部220は、例えば経過時間T2が所定時間cよりも短いときには、S224において副制御部220が主制御部210に起動指示することで、S225において主制御部210を起動し、S226においてイベント通知を受信する。そして主制御部210はS227においてイベント内容に応じた処理を実行する。
 これにより、時間T1が所定時間bよりも短く、且つ、所定時間a以上であるときには、中継ノード1の主制御部10だけが選択的に起動することになり、時間T1が所定時間aよりも短く、且つ、時間T2が所定時間cより短いときには、スレーブノード3の主制御部210も起動させることができる。
 時間閾値については、(c+α)<a<bの関係性とすることが望ましい。このような関係性に設定することで、時間T1を短く設定するほど、末端側のスレーブノード3を素早く起動できるため、最大遅延を最小限にできる。この式において、αは正の余裕時間を表すものであるが0でも良い。
 本実施形態によれば、各スイッチ等100、200の入力イベントの内容に応じて、マスタノード2がウェイト時間T1を任意に設定し、又は、中継ノード1がウェイト時間T2を任意に設定することで、特定の通信ノード(例えばスレーブノード3、又は/及び、中継ノード1)を起動できるようになる。
 ここで、本実施形態に適用可能な具体例を説明する。例えば、中継ノード1が、電動格納ミラーのスイッチ等100を制御するECUの通信装置であり、スレーブノード3にアクチュエータとして電動ミラーが接続されると共に、マスタノード2には電動ミラー操作用のリモコンキーが接続されている場合を考える。
 ユーザがリモコンキーを操作することで、マスタノード2にイベント発生した場合、マスタノード2はスレーブノード3にイベント発生を通知することで電動ミラーを格納操作する。このとき中継ノード1は、リモコン操作を受け付けたマスタノード2からスレーブノード3をウェイクアップさせるためのウェイクアップ信号を受け付ける。
 中継ノード1は、ミラーが格納状態となるようにスイッチ等100が既に切り替わっていることをセンサを用いて検出した場合、ウェイト時間T2を大きく設定することで、スレーブノード3の主制御部210を起動させることなく終了させると良い。
 このとき、中継ノード1は、ミラー格納状態にあることをマスタノード2に通知しても良い。逆に、中継ノード1が、ミラー開状態となるようにスイッチ等100が切替わっている場合には、スレーブノード3を起動するようにウェイト時間T2を短く設定し、マスタノード2からの通信を中継すると良い。これによりスレーブノード3は、電動ミラーを格納操作できる。
 前述では、中継ノード1及びスレーブノード3の副制御部20、220は、それぞれ、ウェイクアップ信号を受信したと判定したタイミングから通信バス80、280がアクティブ状態になったと判定したタイミングまでの経過時間T1、T2や、ウェイクアップ信号を受信したと判定したタイミングからダミー信号を受信したタイミングまでの経過時間T1、T2を測定する形態を示したが、これに限定されるものではない。
 例えば、中継ノード1、スレーブノード3は、通信バス80、280がアクティブ状態になったタイミングからダミー信号を受信したタイミングまでの遷移時間を測定し、この遷移時間に応じて主制御部10、210を起動するか否かを判定し、必要なときに起動制御部25、225により主制御部10、210を起動させるようにしても良い。この形態でも、中継ノード1の主制御部10、スレーブノード3の主制御部210を選択的に起動できる。
 (第10実施形態)
 第10実施形態について図15を参照しながら説明する。図15に図14の変形例を示している。本実施形態においては、中継ノード1の副制御部20は、S211においてウェイクアップ信号をマスタノード2から受信しても、その直後にスレーブノード3にウェイクアップ信号を送信していない。
 中継ノード1の副制御部20は、時間T1が所定時間aよりも短いことを検出し、スレーブノード3にイベント通知を確実に送信することを決定し、ウェイクアップ信号を通信バス81に送出要と判定してから、S218においてウェイクアップ信号送出部63によりウェイクアップ信号を通信バス81を通じてスレーブノード3に送信している。これにより、不必要なスレーブノード3の起動を確実に防ぐことができる。
 (第11実施形態)
 第11実施形態について図16を参照しながら説明する。図16に図15の変形例を示している。図16のS230、S232~S234に示すように、時間T1が所定時間a未満であるか、所定時間a2未満であるかに基づいて、中継ノード1は、時間間隔判定部44により時間間隔が何れの範囲に属するか判定し、複数の通信バスB1、B2の何れの通信バスB1、B2を使用するか、さらに通信バスB 1、B2に接続されるスレーブノード3のA又はBの何れの主制御部210を起動するか判定する。その上で、中継ノード1は、通信バスB1又はB2を通じてスレーブノード3のA又はBにイベント発生を通知しても良い。ここで、所定時間a2は、適宜設定可能な任意の時間である。これにより、不必要なスレーブノード3の起動を確実に防ぐことができる。
 また第7実施形態から第11実施形態においては、図11から図16において中継ノード1を含む場合のフローチャートを記載しているが、スレーブノード3及びマスタノード2が直接接続される場合に、スレーブノード3でも同様に実現できる。これにより、ウェイクアップ信号を選択的に送信することで通信ノードを選択的に起動でき、通信の応答遅延を短縮しつつ、不必要な通信ノードの起動を防止し、消費電力を低減できる。
 第9実施形態から第11実施形態においては、ウェイクアップ信号、バス起動信号、ダミー信号のうち何れか2つの信号を受信するまでの経過時間T1、T2を測定し、これらの測定結果に基づいて、中継ノード1の主制御部10、スレーブノード3の主制御部210の起動の要否を決定できる。
 マスタノード2は、接続された通信バス181に対して送信する、ウェイクアップ信号、バス起動信号、ダミー信号のうち、何れか2つの間の送信間隔を変更することで、通信バス181を介して通信バス80、280に接続された中継ノード1の主制御部10、又は、スレーブノード3の主制御部210を選択的に起動できる。これにより、不必要な通信ノードの起動を避けることで消費電力を低減できる。
 また、マスタノード2の副制御部120、中継ノード1の副制御部20は、それぞれ入力監視部121、21により検出される入力信号に応じて、ウェイクアップ信号を送出したタイミングからそれぞれ通信バス181、81をアクティブ状態にするタイミングまでの第1時間、ウェイクアップ信号を送出したタイミングからダミー信号を送出するまでの第2時間、又は、通信バス181、81をアクティブ状態にしたタイミングからダミー信号を送信するまでの第3時間、のうち1つ以上を変更制御するようにしても良い。
 (第12実施形態)
 第12実施形態について図17及び図18を参照しながら説明する。マスタノード2、中継ノード1、スレーブノード3の各副制御部120、20、220は、主制御部110、10、210の起動完了までの間に、ウェイクアップ信号やバス起動信号を送信するタイミングや、ダミー信号を通信するタイミングを計る方法の具体例について、図17及び図18を参照して説明する。ここでは、中継ノード1が、図4のS112においてタイミングを生成する方法を例に挙げて説明する。
 中継ノード1は、図4に示すS111においてウェイクアップパルスを受信すると、S117で主制御部10が起動完了するタイミングに合わせて通信バス81に接続されたスレーブノード3との通信を開始できるように、起動タイミング判定部26がS112においてタイミング信号を生成する。
 副制御部20の起動制御部25が、図4のS116において主制御部10に起動指示するタイミングをt10としたとき、内部クロックをカウンタ32によりカウントする。起動タイミング判定部26は、このカウント値を比較器により比較判定しカウント値が所定の閾値k1~k4に達したタイミングをタイミング信号として見做すようにしても良い。閾値k1~k4は、各通信ノード1~3毎に設定される値であり、後述するように副制御部20の起動直後に学習して揮発性のメモリ31に記憶させると良い。
 例えば、図17に示したように、起動タイミング判定部26は、バス起動信号の送信タイミングを閾値k2に達したタイミングt12に設定し、ダミー信号の送信タイミングを閾値k3に達したタイミングt13に設定し、起動完了タイミングを閾値k4に達したタイミングt14として判定する。
 副制御部20の送信制御部60は、起動タイミング判定部26のタイミング信号に基づいて、内部クロックのカウント値が所定の閾値k1~k4に達するスケジュールに従ってバス起動信号送出部62及びダミー信号送出部61に係る準備処理を実行する。これにより、主制御部10の起動完了のタイミングt14が到来するまでに、バス起動及びダミー通信を実行する。
 また図18に示すように、起動タイミング判定部26は、内蔵される電流源からコンデンサに充電を開始し、当該充電電圧をコンパレータなどの比較器により検知することでタイミングを生成しても良い。このとき、起動タイミング判定部26は、当該充電電圧が所定の閾値k21~k24に達したタイミングを使用すると良い。また、起動タイミング判定部26は、予め蓄電されたコンデンサから放電開始し、この放電された電圧が所定の閾値k21~k24に達するタイミングをタイミング信号として使用しても良い。
 例えば、図18に示したように、起動タイミング判定部26は、バス起動信号の送信タイミングを閾値k22に達するタイミングt22に設定し、ダミー信号の送信タイミングを閾値k23に達するタイミングt23に設定し、閾値k24に達する起動完了のタイミングをt24とみなすようにしても良い。
 副制御部20の送信制御部60は、起動タイミング判定部26のタイミング信号に基づいて、コンデンサの充電電圧が所定の閾値k21~k24に達するスケジュールに従ってバス起動信号送出部62及びダミー信号送出部61に係る準備処理を実行する。これにより、主制御部10の起動完了のタイミングt24が到来するまでに、バス起動及びダミー通信を実行できる。
 また図17、図18に例示した閾値k1~k4、k21~k24は、固定値としてもよく、また予め主制御部10から設定できるようにしても良い。カウンタ32のカウント値を用いて計測するときには、閾値k4の初期値を十分大きい値に予め設定しておき、主制御部10が初回の起動開始時にカウント開始し、主制御部10が起動完了したタイミングでカウントされた値もしくはマージンを持たせた、カウント値+αを閾値k4として設定してメモリ31に記憶させると良い。
 また、コンデンサの充電電圧を用いて計測するときには、閾値k24の初期電圧を0に予め設定しておき、主制御部10が初回の起動開始時にコンデンサへ充電開始し、主制御部10が起動完了したタイミングで充電された電圧値をもしくはマージンを持たせた、電圧値+αを閾値k24としてメモリ31に記憶させると良い。
 閾値k1~k3、k21~k23については、各通信に必要な時間に相当するカウント値もしくは電位差だけ、閾値k4もしくはk24より低い閾値をそれぞれの閾値に設定すると良い。すなわち、起動タイミング判定部26が、閾値k4、k24からダミー通信、バス起動、ウェイクアップ信号送出タイミングまでの時間に相当する値を逆算して閾値k1~k3、k21~k23を求めてそれぞれ設定することで、ウェイクアップ信号、バス起動及びダミー通信に係るタイミングのパラメータを起動時に自動的に設定できる。このように処理することで、設計者がプログラム時に意識することなく、応答遅延を最小にできる。ここでは中継ノード1について説明したが、スレーブノード3、マスタノード2でも同様である。
 (第13実施形態)
 第13実施形態について図19及び図20を参照しながら説明する。第13実施形態では、中継ノード1を介することなくマスタノード2とスレーブノード3との間でCXPI(Clock Extension Peripheral Interface)に係る多重通信を行う場合の具体例を説明する。
 CXPI通信方式では、CSMA/CD方式を採用すると共に、マスタ/スレーブとなる各通信ノードの間の送受信スケジュールを確立する。そして、定期的な要求応答シーケンスに沿ってイベントに対応したフレームをPWM方式を用いて通信する。
 CXPI通信では、マスタノード2が通信バス181及び280に常にクロックを供給することでシステム全体を同期させ、マスタノード2、スレーブノード3はデータをクロックに重畳させたPWM信号を送信することでビット同期してデータを通信できる。
 CXPI通信では、図19に示すように、スレーブノード3にてスイッチ等300の変化入力などのイベントが発生した場合、スレーブノード3がt30~t31aにおいて起動した後、t31a~t32aにおいてウェイクアップパルスを通信バス280及び181を通じてマスタノード2に送信する。
 マスタノード2は、t31a~t32aにおいてウェイクアップパルスを受信して起動し、マスタノード2がt33a~t34aにおいてバス起動信号を送信した後、t34a~t35aにおいて通信バス181及び280に定期送信データを送信する。スレーブノード3では、プロトコルの規定上、マスタノード2から送信される定期送信データの受信を完了するまで、t35a~t36aにおいてイベント発生を通知することができない。
 <タイムシーケンスによる説明>
 図20はCXPI通信においてのスレーブ側イベントに対するイベント通信時のタイムチャートを比較例と共に例示している。この図20には、マスタノード2の主制御部110の起動時間Tmw<バス起動時間Tbw+定期通信時間Tsの関係を満たす場合のタイムチャートを示している。比較例には、スレーブノード3の副制御部220、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを、図19に示した通信プロトコルに合わせて記載している。
 <本実施形態に係るスレーブ側イベントの流れと比較例に対する効果>
 図20に示すように、タイミングt30においてスレーブノード3が主制御部210を起動開始するものの、この起動中にスレーブノード3の副制御部220がウェイクアップパルスをマスタノード2に送信している。このため、比較例に対し、スレーブノード3が、マスタノード2にウェイクアップパルスを送信開始するまでの時間を短縮できる。
 また、図20に示すスレーブ側イベントの流れにおいては、t31~t32においてマスタノード2の副制御部120がウェイクアップパルスを受信すると、t32~t33においてマスタノード2の主制御部110は起動する。マスタノード2の主制御部110が起動中に、副制御部120はt32~t34においてバス起動すると共に起動し終わるとt34~t35においてダミー信号を送信する。
 本実施形態におけるダミー信号は、前述したCXPI通信プロトコルに係る定期送信データに対応したデータ信号を示している。このため、スレーブノード3の副制御部220は、このダミー信号を正常に受信判定することで、t35~t36においてイベント発生をマスタノード2に通知できる。
 この結果、マスタノード2が、スレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングt36は、比較例にて受信データを受信完了するタイミングtaに対して速くなり、この間、時間短縮できる。
 <比較例と本実施形態との差異説明>
 比較例では、マスタノード2は主制御部110が起動完了するまで定期送信することができず、さらに定期送信を完了するまで、スレーブノード3からイベント送信できず、遅延が大きくなってしまう。
 本実施形態では、マスタノード2は、主制御部110が起動完了するタイミングを見計らって、マスタノード2の副制御部120により従来の初回定期送信データに対応してダミー信号を送信できるようになり、スレーブノード3がダミー信号を受信することで、マスタノード2の主制御部110が起動完了した後にイベント発生を通知できる。
 なお、副制御部120が、主制御部110からクロックを受信して動作するのであればクロックを受信するまで待機することも必要になるが、副制御部120内にクロックを独立に備えていれば、ダミー信号をタイミングt34からスレーブノード3に送信できる。
 (第14実施形態)
 第14実施形態について図21を参照しながら説明する。図21には、CXPI通信に係るタイムシーケンスを比較例と共に示している。この図21は、マスタノード2の主制御部110の起動時間Tmw>バス起動時間Tbw+定期通信時間Tsの関係を満たす場合のタイムシーケンスの実施形態である。つまり、マスタノード2の主制御部110の起動時間が比較的長い場合の実施形態を示している。比較例には、図20と同様に記載しているが、マスタノード2における起動後の処理は図示を省略している。
 <本実施形態に係るスレーブ側イベントの流れその1と比較例に対する効果>
 図21に示すように、タイミングt30においてスレーブノード3が主制御部210を起動開始するものの、この起動中にスレーブノード3の副制御部220がウェイクアップパルスをマスタノード2に送信している。このためスレーブノード3が、マスタノード2にウェイクアップパルスを送信するまでの時間を比較例に対して短縮できる。
 また、t30~t32においてマスタノード2の副制御部120がウェイクアップパルスを受信すると、t32~t33においてマスタノード2の主制御部110は起動する。マスタノード2の主制御部110が起動中には、副制御部120はt32~t37においてバス起動すると共に、起動し終わるとt37~t35においてダミー信号を送信する。
 ダミー信号は、前述した定期送信データに対応したデータ信号を示している。このため、スレーブノード3の副制御部220は、このダミー信号を正常に受信判定することになり、スレーブノード3の主制御部210はt35~t36においてイベント発生をマスタノード2に通知できる。
 この結果、マスタノード2が、スレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングt36は、比較例にて受信データを受信完了するタイミングtaに対して速くなり、この間、時間短縮できる。
 なお、バス起動までのウェイト時間Twb(=t32~t34)は、マスタノード2の主制御部110の起動時間Tmw(=t32~t33)<バス起動時間Tbw(=t34~t37)+定期送信時間Ts+ウェイト時間Twbの関係性を満たすように設定すると良い。すると、マスタノード2は、イベント受信するまでの間に主制御部110が起動完了できる。
 <比較例と本実施形態との差異説明>
 比較例では、マスタノード2は主制御部110が起動完了するまで定期送信することができず、定期送信が完了するまでスレーブノード3からのイベント送信ができず、遅延が大きくなってしまう。
 本実施形態では、マスタノード2は、主制御部110が起動完了するタイミングを見計らって、マスタノード2の副制御部120により従来の初回定期送信データに対応したダミー信号を送信できるようになり、スレーブノード3がダミー信号を受信することで、マスタノード2の主制御部110が起動完了した後にイベント発生を通知できる。
 なお、副制御部120が、主制御部110からクロックを受信して動作するのであればクロックを受信するまで待機することも必要になるが、副制御部120の内部にクロックを独立に備えていればダミー信号を図21に示すt34の時点からスレーブノード3に送信できる。
 (第15実施形態)
 第15実施形態について図22を参照しながら説明する。図22に示す流れは、図20に示す流れとほぼ同様であるため、異なるところのみ説明する。図22に示す流れが図20に示す流れと異なるところは、副制御部220が、スレーブノード3の主制御部210の起動開始を故意にt32まで遅らせているところである。このようにすることで、主制御部210の消費電力を最小にできる。
 (第16実施形態)
 第16実施形態について図23及び図24を参照しながら説明する。図23に示す流れは、図20に示す流れとほぼ同様であるため、異なるところのみ説明する。図23に示す流れが図20に示す流れと異なるところは、マスタノード2の主制御部110の出力信号となるCXPI用クロック信号を用いて、バス起動信号を送出すると共にダミー信号を送信しているところである。
 マスタノード2の主制御部110は、予め定められたシーケンスに沿って起動するため、その起動中にCXPI用クロック信号を出力する。マスタノード2の主制御部110は、その起動途中のt33からクロック信号を出力するのであれば、副制御部120が、このCXPI用クロック信号を用いてバス起動し、ダミー信号を送信するようにしても良い。
 主制御部110のその他の起動処理は、t33~t35において副制御部120が実行するバス起動信号の送信処理やダミー信号の送信処理と並行して行うことができ、前述実施形態と同様にt35~t36においてイベント通知を受信できる。
 図24に示すように、主制御部110の起動シーケンスにおいて、主制御部110がCXPI用クロック信号を極力速く出力し始めることで、副制御部120が代替通信する期間を長くすることができ、遅延を最小限にできる。
 また図24に示すように、主制御部110がイベント通知を受信できるように、副制御部120はウェイト時間Tmを挿入することで主制御部110の起動完了のタイミングをイベント通知の受信タイミングに極力合わせることができる。主制御部110の起動を故意に遅らせることで消費電力を削減できる。
 (第17実施形態)
 第17実施形態について図25及び図26を参照しながら説明する。図25は、マスタノード2におけるCXPI通信用クロックに副制御部120の内蔵クロックを使用する場合の例を示している。このとき、副制御部120は、主制御部110によるイベント発生通知の受信タイミングに合わせるために、ウェイクアップ信号を受信した後、時間を計測しながら一旦スリープ状態、待機状態に戻る。そして、副制御部120が、内蔵クロック信号を用いてCXPI通信用クロックを生成する場合、主制御部110を起動開始するタイミング、ないし、副制御部120が再起動するタイミングまでの期間Tz内に、内蔵クロック信号を用いてCXPI通信用クロックを生成開始できるようにしておく。
 このため、副制御部120が、再起動直後にバス起動信号を送出したり、ダミー信号を送信することができ、主制御部110の起動シーケンスの順序によらず、副制御部120が通信を代替でき、遅延を最小限にできる。この場合、主制御部110によるクロック信号は必要ない。
 また図26に示すように、主制御部110においてIBS(Inter Byte Space)を2~8ビットに設定することで、副制御部120で使用するクロック信号と、主制御部110が出力するクロック信号にずれが生じた場合でも、副制御部120がIBSのビット数を増減することでクロック信号のずれを1ビット以下にすることができ、通信周期Tyを合わせることができ、連続通信することが可能である。
 なおクロック信号の周期(周波数)の公差が、基準クロックに対してそれぞれ±1%であれば、スタートビットSTAからストップビットSTOの間の10ビットの中で生じる位相差は最大でも20%程度であり、IBSを±1変化させることで吸収可能になる。
 (第18実施形態)
 第18実施形態について図27を参照しながら説明する。第18実施形態はCAN(Controller Area Network)通信に適用して説明する。図27はCAN通信におけるスレーブ側イベントに対するイベント通信時のタイムチャートを比較例と共に例示している。この図27には、マスタノード2の主制御部110の起動時間Tmw<バス起動時間Tbw+定期通信時間Tsの関係を満たす場合のタイムチャートを示している。
 比較例には、スレーブノード3の副制御部220、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを示しており、第13実施形態において図19に示した流れと同一の流れを例示している。
 CAN通信に適用した本実施形態でも第13実施形態と同様に、スレーブノード3は、比較例に対してマスタノード2にウェイクアップパルスを送信開始するまでの時間を短縮できる。またマスタノード2が、スレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングtaに対して速くなり、この間、時間短縮できる。
 (第19実施形態)
 第19実施形態について図28を参照しながら説明する。図28はCAN通信におけるスレーブ側イベントに対するイベント通信時のタイムチャートを比較例と共に例示している。この図28には、マスタノード2の主制御部110の起動時間Tmw>バス起動時間Tbw+定期通信時間Tsの関係を満たす場合のタイムチャートを示している。つまり、マスタノード2の主制御部110の起動時間が比較的長い場合の実施形態を示している。
 比較例には、スレーブノード3の副制御部220、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを示しており、第14実施形態において図20に示した流れと同一の流れを例示している。
 CAN通信に適用した本実施形態でも第13実施形態と同様に、スレーブノード3は、比較例に対してマスタノード2にウェイクアップパルスを送信開始するまでの時間を短縮できる。またマスタノード2が、スレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングt36が、比較例のタイミングtaに比較して速くなり、この間、時間短縮できる。
 (第20実施形態)
 第20実施形態について図29を参照しながら説明する。図29に示す流れは、図27に示す流れとほぼ同様であるため、異なるところのみ説明する。図29に示す流れが図27に示す流れと異なるところは、副制御部220が、スレーブノード3の主制御部210を起動開始させることを故意にt32まで遅らせているところである。このようにすることでも、主制御部210を主制御部110と同時に起動できるため、最終的なデータ通信時間を短縮できる。しかも、主制御部210の消費電力を最小にできる。
 (第21実施形態)
 第20実施形態について図30を参照しながら説明する。図30に示す流れは、図27に示す流れとほぼ同様であるため、異なるところのみ説明する。図30に示す流れが図27に示す流れと異なるところは、マスタノード2の主制御部110の出力信号となるCAN用クロック信号を用いて、バス起動信号を送出すると共に定期送信データに代わるダミー信号を送信しているところである。
 マスタノード2の主制御部110は、予め定められたシーケンスに沿って起動するため、その起動中にCAN用クロック信号を出力する。マスタノード2の主制御部110がクロック信号を出力するのであれば、副制御部120がCAN用クロック信号を成形してバス起動しダミー信号を送信するようにしても良い。
 主制御部110のその他の起動処理は、副制御部120が実行するバス起動信号の送信処理やダミー信号の送信処理と並行して行うことができ、前述実施形態と同様にt35~t36においてイベント通知を受信できる。
 図30に示すように、主制御部110の起動シーケンスにおいて、主制御部110がCXPI用クロック信号を極力速く出力し始めることで、副制御部120が代替通信する期間を極力多くすることができ、遅延を最小限にできる。
 (第22実施形態)
 第22実施形態について図31を参照しながら説明する。第22実施形態は、LIN(Local Interconnect Network)に適用した形態を説明する。LINは、車載通信の中でもシャシー制御やパワートレイン制御に用いられており、CANのサブネットワークとして車載向けに普及している通信規格である。
 図31はLIN通信におけるスレーブ側イベントに対するイベント通信時のタイムチャートを比較例と共に例示している。比較例には、スレーブノード3の副制御部220、マスタノード2の副制御部120を設けていないシステムを想定したタイミングチャートを示している。
 LIN通信に適用した場合、マスタノード2の副制御部120が、t33~t35においてイベントトリガフレームのヘッダをダミー信号として送信し、t35~t36においてそのレスポンスをスレーブノード3から受信しており、これにより遅延を最小にできる。なお、LIN通信に適用した場合、前述実施形態に示したバス起動信号に対応した信号を送出する必要はない。
 LIN通信に適用した本実施形態でも第13実施形態と同様に、スレーブノード3は、比較例に対してマスタノード2にウェイクアップパルスを送信開始するまでの時間を短縮できる。また、マスタノード2が、スレーブノード3にて発生したイベント通知の受信データを受信完了するタイミングt36が比較例のタイミングtaに比較して速くなり、この間、時間短縮できる。
 (第23実施形態)
 第23実施形態について図32を参照しながら説明する。図32に示す流れは、図31に示す流れとほぼ同様であるため、異なるところのみ説明する。図32に示す流れが図31に示す流れと異なるところは、副制御部220が、スレーブノード3の主制御部210の起動開始を故意にt32まで遅らせているところである。このようにすることでも、主制御部210を主制御部110と同時に起動できるため、最終的なデータ通信時間を短縮できる。しかも主制御部210の消費電力を最小にできる。
 (第24実施形態)
 第24実施形態について図33を参照しながら説明する。図33に示す流れは、図31に示す流れとほぼ同様であるため、異なるところのみ説明する。図33に示す流れが図31に示す流れと異なるところは、副制御部220が、スレーブノード3の主制御部210の起動開始を故意にt32まで遅らせているところである。このようにすることで、主制御部210の消費電力を最小にできる。
 また、マスタノード2の副制御部120がイベントトリガフレームのヘッダを送信すると共にレスポンスを受信している。副制御部120が送受信している間に主制御部110が起動できる。この場合もまた応答遅延を最小にできる。
 (他の実施形態)
 本開示は、前述実施形態に限定されるものではなく、例えば、以下に示す変形又は拡張が可能である。
 車両用のECUに搭載した通信装置に適用したが、産業機器に搭載しても良い。
 図面中、1は通信装置としての中継ノード、2は通信装置としてのマスタノード、3は通信装置としてのスレーブノード、10、110、210は主制御部、20、120、220は副制御部を示す。21、121、221は入力監視部、25、225は起動制御部、26、126、226は起動タイミング判定部を示す。50、150、250は受信判定部、25、125、225は起動制御部、32、232は経過時間測定部としてのカウンタ、41、241はウェイクアップ信号判定部、43、243はダミー受信判定部、44、244は時間間隔判定部を示す。51、151はウェイクアップ信号判定部、80、81、181、280は通信バス、第1の通信バス、第2の通信バスを示す。63、163、71、271は実行部としてのウェイクアップ信号送出部、62、162は実行部としてのバス起動信号送出部、61、161は実行部としてのダミー信号送出部、を示す。
 また、前述の実施形態の構成の少なくとも一部を、同様の機能を有する公知の構成に置き換えてもよい。また、前述の2以上の実施形態の構成の一部又は全部を必要に応じて互いに組み合わせて付加しても置換しても良い。前述実施形態の一部を、課題を解決できる限りにおいて省略した態様も実施形態と見做すことが可能である。また、特許請求の範囲に記載した文言によって特定される本開示の本質を逸脱しない限度において考え得るあらゆる態様も実施形態と見做すことが可能である。
 本開示は、前述した実施形態に準拠して記述したが、当該実施形態や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範畴や思想範囲に入るものである。
 

Claims (24)

  1.  1つ以上の通信バス(80、81、181)に接続される通信装置(1、2)であって、
     通常動作モード及び前記通常動作モードより低消費電力で動作する低消費電力モードを備え前記低消費電力モードから前記通常動作モードに起動完了した後に他の通信ノードとの間で通信制御可能に構成される主制御部(10、110)と、
     前記通信バスからウェイクアップ信号を検出するウェイクアップ信号判定部(51、151)を前記主制御部とは別に備える副制御部(20、120)と、を備え、
     前記副制御部は、
     前記ウェイクアップ信号判定部によりウェイクアップ信号が検出されたことをトリガとして、前記主制御部が起動完了するタイミングに合わせて前記通信バスに接続された他の通信ノードとの通信を開始できるように、
     前もって前記ウェイクアップ信号が検出された前記通信バスをアクティブ状態にするバス起動信号送出部(62、162)、又は、前もって前記ウェイクアップ信号が検出された前記通信バスへダミー信号を送信するダミー信号送出部(61、161)、の少なくとも一つ以上の実行部を備える通信装置。
  2.  1つ以上の通信バス(80、81、181、280)に接続される通信装置(1、2、3)であって、
     通常動作モード及び前記通常動作モードより低消費電力で動作する低消費電力モードを備え、前記低消費電力モードから前記通常動作モードに起動完了した後に他の通信ノードとの間で通信制御可能に構成される主制御部(10、110、210)と、
     スイッチ等の入力の変化を監視する入力監視部(21、121、221)を前記主制御部とは別に備える副制御部(20、120、220)と、を備え、
     前記副制御部は、
     前記入力監視部により入力変化を検出したことをトリガとして、前記主制御部が起動完了するタイミングに合わせて、前記通信バスに接続される他の通信ノードとの通信を開始できるように、
     前もって前記通信バスへのウェイクアップ信号を送出するウェイクアップ信号送出部(63、163、271)、前もって前記通信バスをアクティブ状態にするバス起動信号送出部(62、162)、又は、前もって前記通信バスにダミー信号を送信するダミー信号送出部(61、161)、の少なくとも一つ以上の実行部を備える通信装置。
  3.  1つ以上の通信バス(80、81、280)に接続される通信装置であって、
     通常動作モード及び前記通常動作モードより低消費電力で動作する低消費電力モードを備え、前記低消費電力モードから前記通常動作モードに起動完了した後に他の通信ノードとの間で通信制御可能に構成される主制御部(10、210)と、
     前記通信バスからのウェイクアップ信号を判定するウェイクアップ信号判定部(41、241)、前記通信バスのアクティブ状態を判定するバス起動信号判定部(42、242)、前記通信バスに送出されるダミー信号を受信判定するダミー受信判定部(43、243)の3つのブロックのうち、少なくとも2つ以上の前記ブロックを前記主制御部とは別に備える副制御部(20、220)と、
     所定の2つの前記ブロックが判定したタイミングの時間間隔を測定する時間間隔測定部(32、232)と、を備え、
     前記時間間隔測定部による時間間隔に基づく識別情報を前記主制御部から参照可能に構成されている通信装置。
  4.  スイッチ等の入力変化を検出する入力監視部(21、221)を備え、
     前記主制御部は、前記主制御部から前記入力監視部によるスイッチ等の入力変化及び前記時間間隔に基づく識別情報に応じて処理内容を変更する請求項3記載の通信装置。
  5.  前記通信バスとは異なる他の通信バスへのウェイクアップ信号を送信するウェイクアップ信号送出部(63)、前記通信バスとは異なる他の通信バスをアクティブ状態にするバス起動信号送出部(62)、又は、前記通信バスとは異なる他の通信バスにダミー信号を送信するダミー信号送出部(61)、の少なくとも一つ以上の実行部を前記主制御部とは別に備える請求項3又は4に記載の通信装置。
  6.  第1の通信バス(80、81)及び第2の通信バス(81、80)に接続され前記第1の通信バス及び前記第2の通信バスを介して通信を中継する中継ノード(1)による通信装置であって、
     通常動作モード及び前記通常動作モードより低消費電力で動作する低消費電力モードを備え前記低消費電力モードから前記通常動作モードに起動完了した後に他の通信ノード(3、2)との間で通信制御可能に構成される主制御部(10)と、
     前記第1の通信バスからウェイクアップ信号を検出するウェイクアップ信号判定部(41、51)を前記主制御部とは別に備える副制御部(20)と、を備え、
     前記副制御部は、
     前記ウェイクアップ信号判定部によりウェイクアップ信号が検出されたことをトリガとして、前記主制御部が起動完了するタイミングに合わせて前記第2の通信バスに接続された他の通信ノード(3、2)との通信を開始できるように、
     前もって前記第2の通信バスへウェイクアップ信号を送出するウェイクアップ信号送出部(63、71)、前もって前記第2の通信バスをアクティブ状態にするバス起動信号を送出するバス起動信号送出部(62)、又は、前もって前記第2の通信バスへダミー信号を送信するダミー信号送出部(61)、の少なくとも一つ以上の実行部を備える通信装置。
  7.  前記実行部がウェイクアップ信号送出部(63)を備える場合、前記ウェイクアップ信号送出部は前記第1の通信バスからウェイクアップ信号を受信すると前記第2の通信バスにウェイクアップ信号を送出し、又は、
     前記実行部がバス起動信号送出部(62)を備える場合、前記バス起動信号送出部(62)は、前記第1の通信バスからバス起動信号を受信すると前記第2の通信バスをアクティブ状態にするバス起動信号を送出する、請求項6記載の通信装置。
  8.  前記実行部がダミー信号送出部(61)を備える場合、前記ダミー信号送出部(61)は、前記第1の通信バスからダミー信号を受信すると前記第2の通信バスにダミー信号を送信する請求項6記載の通信装置。
  9.  他の通信ノードのダミー信号送出部からダミー信号を受信するダミー受信判定部(43、243)を備え、
     前記ダミー受信判定部により受信した前記ダミー信号に含まれる受信データを前記主制御部から確認する確認線(43a、243a)、又は、前記ダミー受信判定部により受信された前記ダミー信号の受信が完了したことを確認する確認線(43a、243a)、を備える請求項1から8の何れか一項に記載の通信装置。
  10.  通信バスからウェイクアップ信号を受信したタイミングを判定するウェイクアップ信号判定部(41、241)と、
     同一の前記通信バスがアクティブ状態になったと判定したタイミングを判定するバス起動信号判定部(42、242)と、
     前記通信バスからウェイクアップ信号を受信したと判定したタイミングから前記通信バスがアクティブ状態になったと判定したタイミングまでの遷移時間(T1、T2)を測定する経過時間測定部(32、232)と、
     を前記主制御部とは別に備える請求項1から9の何れか一項に記載の通信装置。
  11.  通信バスから前記ウェイクアップ信号を受信したタイミングを判定するウェイクアップ信号判定部(41、241)と、
     同一の前記通信バスから前記ダミー信号を受信したタイミングを判定するダミー受信判定部(43、243)と、
     前記ウェイクアップ信号を受信したタイミングから前記ダミー信号を受信したタイミングまでの経過時間(T1、T2)を測定する経過時間測定部(32、232)と、
     を前記主制御部とは別に備える請求項1から9の何れか一項に記載の通信装置。
  12.  通信バスがアクティブ状態になったと判定したタイミングを判定するバス起動信号判定部(42、242)と、
     同一の前記通信バスから前記ダミー信号を受信したタイミングを判定するダミー受信判定部(43、243)と、
     前記通信バスがアクティブ状態になったと判定したタイミングから前記ダミー信号を受信したタイミングまでの経過時間(T1、T2)を測定する経過時間測定部(32、232)と、
     を前記主制御部とは別に備える請求項1から9の何れか一項に記載の通信装置。
  13.  前記経過時間測定部による測定結果に基づいて前記主制御部が起動必要と判定されたことを条件として前記主制御部を起動制御する起動制御部(25、225)、を備える請求項10から12の何れか一項に記載の通信装置。
  14.  前記経過時間測定部による測定結果に基づいて他の前記通信バスへのウェイクアップ信号を送出要と判定されたことを条件として他の通信バスへウェイクアップ信号を送出するウェイクアップ信号送出部(63)を備える請求項10から12の何れか一項に記載の通信装置。
  15.  前記経過時間測定部による測定結果に基づいて使用する通信バス(B1、B2)を判定する時間間隔判定部(44、244)、を前記主制御部とは別に備える請求項10から12の何れか一項に記載の通信装置。
  16.  通信バスからウェイクアップ信号を検出したことをトリガとして前記主制御部を起動制御する起動制御部(25、125、225)を前記主制御部とは別に備える請求項1から15の何れか一項に記載の通信装置。
  17.  スイッチ等の入力信号の変化を検出する入力監視部(21、121、221)と、
     変化した前記入力信号に応じて前記主制御部を起動制御する起動制御部(25、125、225)と、を前記主制御部とは別に備える請求項1から16の何れか一項に記載の通信装置。
  18.  スイッチ等の入力信号の変化を検出する入力監視部(21、121)を備え、
     前記入力監視部により検出される入力信号に応じて、
     ウェイクアップ信号を送出したタイミングから通信バスをアクティブ状態にするタイミングまでの第1時間、ウェイクアップ信号を送出したタイミングからダミー信号を送出するまでの第2時間、又は、通信バスをアクティブ状態にしたタイミングからダミー信号を送信するまでの第3時間、のうち1つ以上を変更制御する、請求項1から17の何れか一項に記載の通信装置。
  19.  前記起動制御部(25、125、225)は、
     ウェイクアップ信号を前記主制御部に送信するウェイクアップ信号送出部、又は、前記主制御部の電源を制御する電源制御部により構成される請求項16又は17記載の通信装置。
  20.  前記主制御部を起動開始させるタイミング、通信バスからウェイクアップ信号を受信したタイミング、前記主制御部の出力信号を検出するタイミング、又は、前記主制御部がリセット解除したタイミング、
     から一定時間を経過したタイミングを、前記主制御部の起動完了タイミングとして判定する起動タイミング判定部(26、126、226)を備える請求項1から19の何れか一項に記載の通信装置。
  21.  スイッチ等の入力変化を検出したタイミングから一定時間を経過したタイミングを、前記主制御部の起動完了タイミングとして判定する起動タイミング判定部(26、126、226)を備える請求項1から19の何れか一項に記載の通信装置。
  22.  前記主制御部の出力信号の電圧、パルスの周期、又はパルス幅を用いて前記主制御部の起動完了タイミングを判定する起動タイミング判定部(26、126、226)を備える請求項1から19の何れか一項に記載の通信装置。
  23.  前記実行部が前記ウェイクアップ信号送出部を備える場合には前記ウェイクアップ信号送出部がウェイクアップ信号を送出するタイミングのパラメータを設定し、
     前記実行部が前記バス起動信号送出部を備える場合には通信バスをアクティブ状態にするタイミングのパラメータを設定し、
     前記実行部が前記ダミー信号送出部を備える場合にはダミー信号を送信するタイミングのパラメータを設定する請求項2、5、6の何れか一項に記載の通信装置。
  24.  起動タイミング判定部により前記主制御部が起動完了すると判定されるタイミングから逆算して、前記タイミングのパラメータを設定する請求項23記載の通信装置。
     
PCT/JP2021/037402 2020-11-10 2021-10-08 通信装置 WO2022102309A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-187218 2020-11-10
JP2020187218A JP2022076702A (ja) 2020-11-10 2020-11-10 通信装置

Publications (1)

Publication Number Publication Date
WO2022102309A1 true WO2022102309A1 (ja) 2022-05-19

Family

ID=81600939

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/037402 WO2022102309A1 (ja) 2020-11-10 2021-10-08 通信装置

Country Status (2)

Country Link
JP (1) JP2022076702A (ja)
WO (1) WO2022102309A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024029323A1 (ja) * 2022-08-05 2024-02-08 株式会社オートネットワーク技術研究所 中継装置、スリープ制御方法およびスリープ制御プログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261100A (ja) * 1993-03-02 1994-09-16 Nissan Motor Co Ltd 通信システム
JP2004135168A (ja) * 2002-10-11 2004-04-30 Furukawa Electric Co Ltd:The 多重通信装置
JP2008283492A (ja) * 2007-05-10 2008-11-20 Toyota Motor Corp ゲートウェイ装置、車載通信システム
JP2013062722A (ja) * 2011-09-14 2013-04-04 Denso Corp 通信システム及び、当該通信システムを構成するスレーブノード
JP2013107453A (ja) * 2011-11-18 2013-06-06 Denso Corp 故障診断システム、及び、故障診断システムを構成する診断支援装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261100A (ja) * 1993-03-02 1994-09-16 Nissan Motor Co Ltd 通信システム
JP2004135168A (ja) * 2002-10-11 2004-04-30 Furukawa Electric Co Ltd:The 多重通信装置
JP2008283492A (ja) * 2007-05-10 2008-11-20 Toyota Motor Corp ゲートウェイ装置、車載通信システム
JP2013062722A (ja) * 2011-09-14 2013-04-04 Denso Corp 通信システム及び、当該通信システムを構成するスレーブノード
JP2013107453A (ja) * 2011-11-18 2013-06-06 Denso Corp 故障診断システム、及び、故障診断システムを構成する診断支援装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024029323A1 (ja) * 2022-08-05 2024-02-08 株式会社オートネットワーク技術研究所 中継装置、スリープ制御方法およびスリープ制御プログラム

Also Published As

Publication number Publication date
JP2022076702A (ja) 2022-05-20

Similar Documents

Publication Publication Date Title
CN107360072B (zh) 一种可同步休眠的can网络及其控制方法
EP1594253B1 (en) Method and device to wake-up nodes in a serial data bus.
CN108933719B (zh) 车载can网络管理方法、车载can网络、车辆
EP1879326B1 (en) Communication network system and wakeup method for un-wakeup node
EP3044043B1 (en) Startup control of devices
US11775045B2 (en) Managing power at a station via a physical layer device and related systems, methods and devices
US20080215908A1 (en) Sleep Watchdog Circuit For Asynchronous Digital Circuits
WO2022102309A1 (ja) 通信装置
US9411609B2 (en) Electronic control apparatus
JP2012049885A (ja) トランシーバ及び通信装置
JP5662188B2 (ja) 通信システム、トランシーバ、ノード
CN108349449B (zh) 用于在机动车辆的起动阶段期间管理电子控制单元的功率供应的方法
KR101443276B1 (ko) 차량용 이더넷을 위한 제어기 및 그 제어방법
JP2019084942A (ja) 電子制御装置
JP5617795B2 (ja) 通信システム及び、当該通信システムに用いられるマスタノード、スレーブノード
JP2012028865A (ja) ノード
JP2009124480A (ja) 車載ゲートウェイ及び車両用通信システム
JP5434833B2 (ja) 通信システムおよびノード
JP2015155259A (ja) 通信回路
JP2020088568A (ja) 電子制御装置
WO2014203501A1 (ja) 電子制御装置
JP7347391B2 (ja) 通信装置
Suermann et al. Power saving in automotive Ethernet
JP2014024439A (ja) 車両用電子制御装置
JP5678843B2 (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: 21891556

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21891556

Country of ref document: EP

Kind code of ref document: A1