WO2022075064A1 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
WO2022075064A1
WO2022075064A1 PCT/JP2021/034809 JP2021034809W WO2022075064A1 WO 2022075064 A1 WO2022075064 A1 WO 2022075064A1 JP 2021034809 W JP2021034809 W JP 2021034809W WO 2022075064 A1 WO2022075064 A1 WO 2022075064A1
Authority
WO
WIPO (PCT)
Prior art keywords
control unit
main control
node
communication
unit
Prior art date
Application number
PCT/JP2021/034809
Other languages
French (fr)
Japanese (ja)
Inventor
直人 横山
Original Assignee
株式会社デンソー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社デンソー filed Critical 株式会社デンソー
Publication of WO2022075064A1 publication Critical patent/WO2022075064A1/en

Links

Images

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 3 Conventionally, various communication processing techniques have been proposed (see, for example, Patent Documents 1 to 3). According to the system described in Patent Document 1, when the ECUs are connected to the same communication bus, only the ECUs that need to operate are turned on, thereby reducing the current consumption during communication. There is.
  • a specific one or a plurality of ECU groups are waked up by preparing a plurality of types of pulses and patterns for wakeup. This reduces the current consumption.
  • the object of the present disclosure is to provide a communication device capable of suppressing adverse effects on the communication schedule of another node while maintaining the low power consumption state of the own node as much as possible.
  • One aspect of the present disclosure is intended for a communication device having a function of identifying whether or not communication is related to a local node based on an ID included in a frame connected to the communication bus and transmitted to the communication bus.
  • the main control unit is configured to be able to control communication with other nodes after the startup is completed.
  • the sub control unit is provided separately from the main control unit and identifies whether or not the communication includes an ID related to the own node based on the detection result of the frame sent to the communication bus, and the communication related to the own node. Maintains the main control unit in low power consumption mode when is not performed. Therefore, when communication including an ID not related to the own node is performed on the communication bus, the main control unit can be maintained in a low power consumption state.
  • the sub-control unit activates the main control unit from the low power consumption mode when the communication related to the own node is performed, and retransmits the communication related to the own node until the main control unit completes the activation. Since communication control is performed instead of the main control unit to prompt the user, even if the main control unit is running, it is possible to appropriately deal with other nodes. The other node can retransmit the communication, and the adverse effect on the communication schedule of the other node can be suppressed.
  • FIG. 1 is a functional block diagram illustrating an electrical configuration of a communication node according to the first embodiment.
  • FIG. 2 is a network connection diagram according to the first embodiment.
  • FIG. 3 is a frame format of the CXPI communication standard for explaining the first embodiment.
  • FIG. 4 is a flowchart illustrating the first embodiment.
  • FIG. 5 is a timing chart illustrating the first embodiment.
  • FIG. 6 is the first explanatory diagram of the relationship between the reception order, the frame ID, and the priority at the time of communication according to the first embodiment.
  • FIG. 1 is a functional block diagram illustrating an electrical configuration of a communication node according to the first embodiment.
  • FIG. 2 is a network connection diagram according to the first embodiment.
  • FIG. 3 is a frame format of the CXPI communication standard for explaining the first embodiment.
  • FIG. 4 is a flowchart illustrating the first embodiment.
  • FIG. 5 is a timing chart illustrating the first embodiment.
  • FIG. 6 is the first explanatory diagram of the relationship between
  • FIG. 7 is Part 2 of the explanatory diagram of the relationship between the reception order, the frame ID, and the priority at the time of communication according to the first embodiment.
  • FIG. 8 is a flowchart illustrating the second embodiment.
  • FIG. 9 is a flowchart illustrating the third embodiment.
  • FIG. 10 is a flowchart illustrating the fourth embodiment.
  • FIG. 11 is a flowchart illustrating the fifth embodiment.
  • FIG. 12 is a frame format of the LIN communication standard for explaining the sixth embodiment.
  • FIG. 13 is a flowchart illustrating the sixth embodiment.
  • FIG. 14 is a flowchart illustrating the seventh embodiment.
  • FIG. 15 is a flowchart illustrating the eighth embodiment.
  • FIG. 16 is the first explanatory diagram of the timekeeping method from the start timing to the start completion timing for the ninth embodiment.
  • FIG. 17 is Part 2 of the explanatory diagram of the timekeeping method from the start timing to the start completion timing for the ninth embodiment.
  • FIG. 18 is Part 3 of an explanatory diagram of a timekeeping method from the start timing to the start completion timing for the ninth embodiment.
  • FIG. 19 is the first explanatory diagram of the activation completion timing determination method according to the ninth embodiment.
  • FIG. 20 is Part 2 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment.
  • FIG. 21 is Part 3 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment.
  • FIG. 22 is Part 4 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment.
  • FIG. 23 is Part 1 of the flowchart illustrating the tenth embodiment.
  • FIG. 24 is Part 2 of the flowchart illustrating the tenth embodiment.
  • FIG. 25 is Part 3 of the flowchart illustrating the tenth embodiment.
  • FIGS. 1 to 7 A large number of ECUs (Electronic Control Units) are installed in the vehicle, and as shown in FIG. 2, these ECUs are equipped with communication nodes 1a to 1c which are communication devices configured to be able to communicate with each other, and communicate with each other. Communicate with each other through bus 2. Each ECU electronically controls actuators such as various switches installed in the vehicle.
  • the communication nodes 1a to 1c in the vehicle perform multiplex communication through the communication bus 2 based on a predetermined communication standard.
  • FIG. 1 is shown specifically for the communication function by the communication node 1a, only the main communication lines are shown inside the sub-control unit 20.
  • a multiplex communication method related to CXPI Lock Extension Peripheral Interface
  • CXPI Chip Extension Peripheral Interface
  • the CSMA / CD method is adopted, and the transmission / reception schedule between the master / slave communication nodes is established. Then, the frame FR corresponding to the event is communicated by using the PWM method according to the periodic request response sequence.
  • the master constantly supplies a clock to the communication bus 2 to synchronize the entire system, and the master / slave can communicate data by bit synchronization by transmitting a PWM signal in which the data is superimposed on the clock.
  • the frame FR of CXPI is classified into three types, a normal frame FR, a burst frame, and a sleep frame, and the normal frame FR and the burst frame are used for data transmission.
  • the normal frame FR can be divided into a header H and a response RE as shown in FIG.
  • An interframe space IFS is provided between the normal frame FRs to allow a space between the frames.
  • the frame slot FRS is usually configured by adding an interframe space IFS to the frame FR.
  • the header H is composed of an 8-bit protected ID, that is, a PID sandwiched between a start bit S and an end bit E.
  • the response RE is configured by sandwiching an 8-bit frame information FI, 8-bit data DATA, and 8-bit CRC data, respectively, between a start bit S and an end bit E.
  • the frame information FI is composed of 4 bits for data length, 2 bits for sleep / wakeup processing, and 2 bits for counter information indicating the continuity of frame FR.
  • the CRC code data is an error detection area by CRC.
  • an interbyte space IBS is provided between the protected ID (PID), the frame information FI, the data DATA, and the CRC code data as an interval for each byte data.
  • the protected ID may be abbreviated as an ID as necessary.
  • Each communication node 1a to 1c determines the frame FR transmitted to the communication bus 2 based on the above-mentioned protected ID (PID).
  • PID protected ID
  • the master communication node (here, 1a) transmits the header H as the transmission signal TXmas to the communication bus 2
  • the communication node (here, 1b) corresponding to the PID of the header H responds as a slave. Responds to the communication bus 2.
  • a PWM signal in which the NRZ of the UART frame is encoded is transmitted to the communication bus 2, but the PWM waveform is omitted in FIG.
  • each communication node 1a to 1c connected to the communication bus 2 is regulated so that the frame FR can be freely transmitted after confirming the idle state of the communication bus 2 in the event trigger method.
  • the communication nodes 1a to 1c that have transmitted the frame FR can transmit the frame FR again after detecting the interframe space IFS.
  • an event occurs simultaneously on the communication bus 2, that is, when a plurality of communication nodes (for example, 1b and 1c) simultaneously output a transmission signal TX to the communication bus 2, non-destructive arbitration is performed and the arbitration is performed. It is regularized so that the frame FR of the winning node (for example, 1b) is prioritized.
  • the internal modes of the communication nodes 1a to 1c will be described together with the configurations of the communication nodes 1a to 1c. Since the configurations of the communication nodes 1a to 1c have the same configuration, the configuration of the communication node 1a will be described, and the configuration description of the other communication nodes 1b to 1c will be omitted. Further, since the communication node 1a is mainly described, the communication node 1a may be described as the own node 1a, and the communication nodes 1b and 1c may be described as the other nodes 1b and 1c, if necessary.
  • the communication node 1a includes a main control unit 10, a sub control unit 20, and a transceiver 30.
  • the main control unit 10 is configured by connecting the peripheral circuit 15 to the control circuit 11.
  • the control circuit 11 is configured by, for example, a microcomputer, operates based on an input clock signal, and includes a CPU 12, a memory 13 such as a ROM, a RAM, an I / O, and the like. Further, the peripheral circuit 15 is based on an A / D conversion circuit or the like, and the control circuit 11 executes various controls using the peripheral circuit 15.
  • the main control unit 10 has a low power consumption mode in which it is in a standby state or a normal operation mode in which it is in a normal state, and is configured to mutually transition to a low power consumption mode or a normal operation mode.
  • the main control unit 10 receives the wakeup signal in the low power consumption mode, the main control unit 10 is activated in the normal operation mode and can execute normal communication control.
  • the sub control unit 20 is composed of hardware different from the main control unit 10, for example, the power supply control unit 21, the start completion determination unit 22, the transmission control unit 23, the transmission switching unit 24, and the self-ID learning.
  • Various controls are realized as a unit 25, an ID identification unit 26, a wakeup signal transmission unit 27, and a reception switching unit 28.
  • the sub-control unit 20 is configured by a custom logic circuit that starts faster than the main control unit 10 and consumes less power, and mainly executes communication control while the main control unit 10 is not started.
  • the sub-control unit 20 incorporates a memory 33 having a relatively high access speed such as a register, and a counter 34 for counting the internal clock and the bus clock from the start timing (t0 described later).
  • the transceiver 30 is composed of a transmitter 31 and a receiver 32, and transmits / receives data to / from other nodes 1b and 1c.
  • the transmitter 31 converts the transmission signal TX input from the sub-control unit 20 into a frame FR based on the communication standard and sends it to the communication bus 2.
  • the receiver 32 converts the frame FR input from the communication bus 2 into a signal and causes the receiver 32 to input the frame FR as a reception signal RX to the reception switching unit 28 of the own node 1a.
  • it may include a decoding unit by PWM modulation.
  • the main control unit 10 outputs a sleep signal to the power supply control unit 21 when it enters the standby state and shifts to the low power consumption mode. Then, the power supply control unit 21 can shift the transmitter 31 to the standby state by outputting the sleep request signal to the transmitter 31. This makes it possible to shift to the low power consumption mode.
  • the main control unit 10 cannot communicate with other nodes 1b and 1c in the low power consumption mode, but after the start-up is completed in the normal operation mode, the transmission signal TX and reception with the other nodes 1b and 1c Communication can be performed through the transceiver 30 by the signal RX.
  • the main control unit 10 starts executing the initialization process from the low power consumption mode or completes the activation in the normal operation mode, the main control unit 10 sends out various output signals such as a clock signal, a PWM signal, and a transmission signal TX.
  • the activation completion determination unit 22 of the sub-control unit 20 detects a signal output by the main control unit 10 during the initialization process from the low power consumption mode, or outputs the signal after the main control unit 10 completes the activation to the normal operation mode. By detecting the signal, the main control unit 10 determines when the activation is completed or whether the activation is completed. Further, the activation completion determination unit 22 can determine that the main control unit 10 has not been activated by detecting the sleep signal output by the main control unit 10. A desirable activation completion determination method by the activation completion determination unit 22 of the sub-control unit 20 will be described later.
  • the sub control unit 20 keeps the main control unit 10 in the standby state and maintains the low power consumption mode when the communication related to the own node 1a is not performed.
  • the sub-control unit 20 is configured to activate the main control unit 10 from the low power consumption mode to the normal operation mode when communication related to the own node 1a is performed.
  • the sub-control unit 20 communicates with other nodes 1b to 1c instead of the main control unit 10 so as to prompt the retransmission of the communication related to the own node 1a until the main control unit 10 is started up in the normal operation mode. Provided for.
  • the transmission control unit 23 executes switching control of the transmission switching unit 24 in the sleep state in which the main control unit 10 is not activated, generates a transmission signal TX instead of the main control unit 10, and transmits the transmission switching unit 24 and the transmitter.
  • the transmission signal TX is transmitted through 31. Further, when the transmission signal TX transmitted to the communication bus 2 overlaps with the other nodes 1b and 1c, the transmission control unit 23 executes arbitration for the other nodes 1b and 1c. In this case, a transmission signal TX including an ID that wins arbitration based on the ID related to the own node 1a identified by the ID or the like identification unit 26 will be generated, which will be described in detail later.
  • the self-ID learning unit 25 learns the ID of the own node 1a from the transmission signal TX and the reception signal RX, and outputs the learned ID to the ID identification unit 26.
  • the ID identification unit 26 detects the frame FR transmitted to the communication bus 2 as a reception signal RX through the receiver 32 and the reception switching unit 28, and at least the ID transmitted to the communication bus 2 instead of the main control unit 10 is on the way. It functions as an ID intermediate monitoring unit or an ID monitoring unit that monitors up to or all of them and identifies whether or not the communication includes an ID related to the own node 1a.
  • the ID and the like identification unit 26 identifies the ID and the like from the received signal RX and determines whether or not the own node 1a needs to be activated.
  • the ID identification unit 26 informs the power supply control unit 21, the activation completion determination unit 22, the transmission control unit 23, etc. to that effect, if necessary. Is output.
  • the wake-up signal transmission unit 27 can control the power supply of the reception switching unit 28 or transmit the wake-up signal to the main control unit 10 through the reception switching unit 28 in the sleep state in which the main control unit 10 is not activated.
  • the wake-up signal transmission unit 27 has a function as an activation unit for activating the main control unit 10.
  • the power supply control unit 21 has a function as a start-up unit for activating the main control unit 10 by outputting a power supply or a start-up request signal to the main control unit 10 based on an input command.
  • the wake-up signal transmission unit 27 outputs the wake-up signal to the main control unit 10 through the reception switching unit 28, the power supply control unit 21 does not necessarily have to output the start request signal to the main control unit 10.
  • the self-ID learning unit 25 receives the ID received by the receiver 32 according to whether or not the main control unit 10 transmits the response RE as the transmission signal TX with respect to the ID included in the reception signal RX received through the receiver 32. It is determined whether or not the ID is related to the own node 1a.
  • the sub control unit 20 (for example, the ID identification unit 26) has a communication line 35 for setting different from the communication lines of the transmission signal TX and the reception signal RX with the main control unit 10. It may be connected and information can be transmitted / received to / from the main control unit 10 through the setting communication line 35.
  • the sub control unit 20 directly inputs information for determining the ID of the own node 1a from the main control unit 10 and stores it in the memory 33. You can leave it.
  • the sub-control unit 20 previously transmits data such as a transmission signal TX to be responded to from the transmission control unit 23 to the other nodes 1b and 1c from the transmission control unit 23 through the setting communication line 35 until the main control unit 10 completes activation. It may be input during the activation of 10 and stored in the memory 33 in advance.
  • the memory 33 may be configured to be accessible from the outside.
  • Information for determining the ID of the own node 1a and / or data such as a transmission signal TX that responds to the other nodes 1b and 1c from the transmission control unit 23 until the main control unit 10 completes activation are externally transmitted. It may be possible to set from. Then, convenience can be improved.
  • the ID or the like identification unit 26 determines that it is necessary to start the own node 1a based on the identification result of the ID or the like identification unit 26, the ID or the like identification unit 26 outputs a power-on command to the power supply control unit 21.
  • the power control unit 21 turns on the power of the main control unit 10 and the transmitter 31, or activates the transmitter 31 from the sleep state.
  • the power supply control unit 21 does not have to execute the power supply control of the transmitter 31.
  • the power supply control unit 21 is an unnecessary functional block when the main control unit 10 is wake-up controlled by the wake-up signal transmission unit 27 and the reception switching unit 28.
  • the detailed operation of the sub-control unit 20 will be described in particular.
  • the description will be made on the premise that the own node 1a is in the sleep state and the other nodes 1b and 1c are communication devices that are normally activated.
  • the sub-control unit 20 of the own node 1a constantly determines in S1 whether or not the main control unit 10 has been activated by the activation completion determination unit 22.
  • the activation completion determination unit 22 is in a state where the activation is completed based on the output of the signal output by the main control unit 10, for example, the clock signal, the sleep signal, or the transmission signal TX.
  • the main control unit 10 has been activated by determining whether or not the predetermined fixed time has elapsed from the timing when the ID or the like identification unit 26 has determined the activation of the own node 1a. It determines whether or not it is in a state.
  • the timing when the output signal of the main control unit 10 changes is set in advance until normal communication with the other nodes 1b and 1c becomes possible.
  • the start-up completion determination unit 22 completes the start-up after a predetermined fixed time longer than the time difference has elapsed after the output signal of the main control unit 10 has changed. It may be determined that.
  • the activation completion determination unit 22 determines YES in S1 if the main control unit 10 has been activated, and communicates the transmission signal TX and the reception signal RX with the main control unit 10 through the communication bus 2 in S2. Switch. However, if the main control unit 10 has not completed the activation, the activation completion determination unit 22 determines NO in S1 and switches to communicate with the sub control unit 20 in S3.
  • the sub-control unit 20 of the own node 1a waits for the received signal RX.
  • the transceiver 30 detects the frame FR transmitted from another node (for example, 1b) by detecting the communication bus 2 by the receiver 32, it is determined in S4 that there is a signal.
  • the sub-control unit 20 receives the first N bits of the protected ID (PID) by the ID identification unit 26 in S5, and identifies the PID of the frame FR transmitted to the communication bus 2 halfway. Then, the ID identification unit 26 determines whether or not the ID should be answered in S6.
  • PID protected ID
  • the wake-up signal is input to the main control unit 10 as a reception signal RX to activate the main control unit 10.
  • the wake-up signal is a pulse signal for wake-up.
  • the sub-control unit 20 is subjected to the protected ID (PID) through the transmission switching unit 24 by the transmission control unit 23 in S8.
  • PID protected ID
  • the area where the protected ID (PID) is intentionally changed is shown in the transmission signal TX2 of the frame FR in FIG.
  • the frame ID used by the main control unit 10 of the own node 1a at the time of normal startup is 28h or 68h shown in FIG.
  • the other node 1b sends data to the communication bus 2 in the order of 00010 in LSB first to the own node 1a.
  • the sub-control unit 20 of the own node 1a determines that it is the ID of the own node 1a, and forcibly sets the 6th bit as dominant. By setting it to, you can win the mediation with the frame ID of 08h or 48h.
  • the frame ID used by the main control unit 10 of the own node 1a at the time of normal startup is 64h shown in FIG.
  • the other node 1b sends data to the communication bus 2 in the order of 001001 in LSB first to the own node 1a.
  • the sub-control unit 20 of the own node 1a determines that the ID of the own node 1a is 001001 when the 6 bits from the beginning of the protected ID (PID) are 004101 in LSB first, and forcibly sets the 7th bit. By setting the dominant "0", you can win the mediation with the frame ID of 24h.
  • the transmission control unit 23 of the sub-control unit 20 may prompt the retransmission by transmitting the data defined in advance in the response RE in S9 of FIG.
  • the pre-defined data is data defined on the protocol that the other node 1b is urging retransmission from the own node 1a, and the other node 1b receives this defined data from the own node 1a. It can be determined that resending is being prompted.
  • the transmission control unit 23 of the sub control unit 20 inputs data including a count value corresponding to the time until the main control unit 10 completes activation for the other node 1b that has received the received signal RX. It may be sent to the communication bus 2 to prompt the retransmission. As a result, the sub-control unit 20 can urge the main control unit 10 to retransmit the communication related to the own node 1a from the standby state to the completion of startup.
  • the transmission control unit 23 of the sub-control unit 20 sets the difference counter value D1 at the timing t2 in the data DATA of the frame FR and transmits the data.
  • the difference counter value D1 indicates a count value from the timing t2 until the counter 34 of the sub-control unit 20 counts the built-in clock to reach a predetermined threshold value.
  • the main control unit 10 when the main control unit 10 receives the data DATA of the response RE through the receiver 32, the data DATA is read.
  • the main control unit 10 of the other node 1b waits for a time corresponding to the difference counter value D1, and then at the timing t5, the other node 1b again sends a frame FR including the same protected ID (PID) to the communication bus 2. ..
  • PID protected ID
  • the frame FR for communicating with the other node (for example, 1c) is sent to the communication bus 2 and the timing is set.
  • Data communication can be performed with another node 1c for a predetermined time from the timing t2a after t2.
  • the other node 1b can utilize the standby time corresponding to the difference counter value D1 for other communication.
  • the usage efficiency of the communication bus 2 can be improved.
  • the other node 1c has the difference count value D2.
  • the communication with the own node 1a is retried at the timing t5.
  • the other node 1b and the other node 1c simultaneously send the frame FR to the communication bus 2, but at this time, normal arbitration is performed, and the own node 1a is the other node 1b or the other node. Can communicate with any of 1c.
  • the sub control unit 20 when the frame FR related to the own node 1a is sent to the communication bus 2 while the main control unit 10 is in the standby state, the sub control unit 20 is in the main control. While starting the unit 10 from the standby state, communication control is performed with another node 1b instead of the main control unit 10 so as to prompt the retransmission of the frame FR related to the own node 1a until the main control unit 10 completes the activation. ing. As a result, even if the frame FR is sent to the own node 1a by the time the main control unit 10 completes activation, it can be appropriately dealt with. When communication including an ID not related to the own node 1a is performed via the communication bus 2, the main control unit 10 can be maintained in the standby state.
  • the sub-control unit 20 activates the main control unit 10 from the low power consumption mode to the normal operation mode, and the main control unit 10 switches to the normal operation mode.
  • the communication is controlled instead of the main control unit 10 so as to prompt the retransmission of the communication related to the own node 1a, so that even if the main control unit 10 is running, it is with the other nodes 1b and 1c.
  • the other nodes 1b and 1c can retransmit the communication, and the adverse effect on the communication schedule and the like of the other nodes 1b and 1c can be suppressed.
  • the main control unit 10 is activated, the original data can be transmitted and received, and the influence on the communication schedule and the like to the other nodes 1b and 1c can be minimized.
  • the ID and the like identification unit 26 identifies the ID sent to the communication bus 2 instead of the main control unit 10 halfway. Then, when the ID and the like identification unit 26 determines that the ID is for the own node 1a, the transmission control unit 23 of the sub-control unit 20 changes the ID to an ID that wins arbitration and transmits the ID to the communication bus 2.
  • the transmission control unit 23 transmits data including the difference counter value D1 corresponding to the time until the activation is completed.
  • the other node 1b can retry communication with the own node 1a after waiting for the time corresponding to the difference counter value D1. Moreover, in the other node 1b, the time until the retry can be utilized for communication with another node (for example, 1c), and the usage efficiency of the communication bus 2 can be improved.
  • FIG. 8 is a flowchart shown in place of FIG.
  • the sub-control unit 20 of the own node 1a constantly determines whether or not the main control unit 10 has been activated by the activation completion determination unit 22.
  • the activation completion determination unit 22 determines YES in S1 if the main control unit 10 has been activated, and communicates the transmission signal TX and the reception signal RX with the main control unit 10 through the communication bus 2 in S2. Switch. However, if the main control unit 10 has not completed the activation, the activation completion determination unit 22 determines NO in S1 and switches to communicate with the sub control unit 20 in S3.
  • the sub-control unit 20 of the own node 1a monitors the communication bus 2 and waits for a signal.
  • the transceiver 30 detects the frame FR on the communication bus 2 from another node (for example, 1b) by the receiver 32, the sub-control unit 20 determines that there is a signal in S4.
  • the sub-control unit 20 receives all the protected IDs (PIDs) by the ID identification unit 26 in S5a, and determines whether or not the ID is an ID to be responded to in S6.
  • PIDs protected IDs
  • the sub-control unit 20 processes the processes of steps S7 and S9a in parallel on condition that there is no error in the header H in S10.
  • the sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
  • the sub-control unit 20 controls the other node 1b that received the signal in S9a of FIG.
  • the count value corresponding to the time until the start of the unit 10 is completed is transmitted to the communication bus 2 as data DATA. In this case, the same effect as that of the first embodiment is obtained.
  • the sub-control unit 20 may transmit data defined in advance so as to intentionally include an error in the error detection code by the CRC code added to the data in S9a of FIG.
  • the area where an error is intentionally caused is shown in the transmission signal TX3 in FIG.
  • the handshake between the own node 1a and the other node 1b is intentionally not established and retransmitted to the other node 1b. Can be urged.
  • the second embodiment also has the same effect as that of the first embodiment.
  • FIG. 9 is a flowchart shown in place of FIG. 4, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 4 described in the first embodiment, the description thereof will be omitted.
  • the sub-control unit 20 determines that the ID should be responded to in S6, the sub-control unit 20 processes steps S7 and S8a in parallel.
  • the sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
  • the sub-control unit 20 has the transmitter 31 as the error driving unit protected in S8a of FIG.
  • the communication bus 2 is driven so as to cause a bit error or the like.
  • the bit region that intentionally causes an error is shown in the transmission signal TX4 of FIG.
  • the third embodiment also has the same effect as that of the first embodiment.
  • FIG. 10 shows an explanatory diagram of the fourth embodiment.
  • FIG. 10 is a flowchart shown in place of FIG. 4, and since the processes of S3 to S9 are the same as the processes shown in FIG. 4 described in the first embodiment, the description thereof will be omitted. As shown in FIG. 10, it may be executed only when the main control unit 10 is in the standby state.
  • the sub-control unit 20 determines in S1 that the activation completion determination unit 22 has completed the activation of the main control unit 10 and then switches the main control unit 10 so that the main control unit 10 can communicate through the communication bus 2 in S2, the sub-control unit 20 will be able to perform the operation.
  • the control process may be terminated by transferring the initiative of communication control to the main control unit 10.
  • the sub-control unit 20 switches so that the main control unit 10 can communicate through the communication bus 2 in S2 after the activation completion determination unit 22 determines that the main control unit 10 has been activated in S1. ..
  • the sub control unit 20 when the power supply control unit 21 of the sub control unit 20 inputs a sleep request indicating that the main control unit 10 shifts to the sleep state in S11, the sub control unit 20 is between the other nodes 1b and 1c in S3. The communication may be switched so that the sub-control unit 20 restarts the communication control.
  • LIN Local Interconnect Network
  • FIG. 12 shows the frame format of the LIN communication standard.
  • the header H is an area that the master sends to the communication bus 2 as a transmission signal TXmas, and can be divided into a break field BF, a sync byte field SBF, and a protection field PIF from the beginning.
  • the break field BF marks the beginning of the frame FR.
  • the sync byte field SBF is based on a plurality of pulses and indicates a reference clock for error detection of each communication node.
  • the protected field PIF is composed of a 6-bit ID, a DLC, and a 2-bit parity.
  • the sync byte field SBF and the protection field PIF are fields configured by sandwiching the start bit S and the end bit E.
  • the response RE indicates an area to be transmitted to the communication bus 2 by the master or the slave specified by the ID specified by the master in the header H, and is based on 1-byte to 8-byte data DATA and checksum CS fields. It is composed.
  • the checksum CS is provided for data error detection.
  • FIG. 13 is a flowchart shown in place of FIG. Since the processing contents of S1 to S4 are the same as the processing contents shown with reference to FIG. 8 in the second embodiment, the description thereof will be omitted.
  • the sub-control unit 20 receives the first N bits of the ID included in the header H by the ID identification unit 26 in S5b, and identifies the ID transmitted to the communication bus 2 halfway instead of the main control unit 10. .. Then, the ID identification unit 26 determines whether or not the ID should be answered in S6.
  • the sub-control unit 20 processes the processes of steps S7 and S9b in parallel on condition that there is no error in the header H in S10.
  • the sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
  • the sub-control unit 20 refers to the other node 1b that has received the received signal RX in S9b of FIG. , Data including a count value corresponding to the time until the main control unit 10 completes activation is transmitted to the communication bus 2.
  • the sub-control unit 20 can urge the other node 1b to retransmit as in the first embodiment, and the other node 1b can retransmit after this time has elapsed. As a result, the same effect as that of the first embodiment is obtained.
  • the sub-control unit 20 may transmit data defined in advance so as to intentionally include an error in the error detection code of the checksum CS added to the data in S9b of FIG.
  • the area where an error is intentionally caused is shown in the transmission signal TX3 in FIG.
  • the sub-control unit 20 can urge the node 1b to retransmit as in the second embodiment. Even when applied to LIN as shown in the sixth embodiment, the same action and effect as those of the second embodiment are similarly obtained.
  • the present invention by receiving the first Nbit of the ID in S5b, it is determined whether it is an ID for the own node 1a and whether it is an ID to be responded to, but the present invention is not limited to this, and all IDs are received. After that, it may be determined whether it is an ID for the own node 1a and whether it is an ID to be responded to.
  • FIG. 14 is a flowchart shown in place of FIG. 13, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 13 described in the sixth embodiment, the description thereof will be omitted.
  • the sub-control unit 20 After processing S6, the sub-control unit 20 processes the processes of steps S7 and S8b in parallel regardless of the presence or absence of an error in the header H.
  • the sub control unit 20 is activated by causing the wakeup signal transmission unit 27 to input the wakeup signal to the main control unit 10 through the reception switching unit 28 in S7.
  • the sub-control unit 20 stops the ID from the transmitter 31 which is the error driving unit in S8b of FIG.
  • the communication bus 2 is driven so as to cause a bit error by driving the bit E dominantly.
  • the area where an error is intentionally caused is shown in the transmission signal TX4 of FIG.
  • the seventh embodiment also has the same effect as that of the sixth embodiment.
  • the present invention by receiving the ID at the beginning Nbit in S5b, it is determined whether it is an ID for the own node 1a and whether it is an ID to be responded to, but the present invention is not limited to this, and all IDs are not limited to this. It may be possible to identify whether it is an ID for its own node 1a and determine whether it is an ID to respond after receiving.
  • FIG. 15 is a flowchart shown in place of FIG. 14, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 13 described in the sixth embodiment, the description thereof will be omitted.
  • the sub-control unit 20 serves as an error driving unit in S8c of FIG. 31 drives the communication bus 2 so as to intentionally generate an error by driving it dominantly so that an ID parity error occurs in the parity bits after N + 1 bits of the ID.
  • the area where an error is intentionally caused is shown in the transmission signal TX5 in FIG.
  • the eighth embodiment also has the same effects as those of the sixth and seventh embodiments.
  • a ninth embodiment will be described with reference to FIGS. 16 to 22.
  • the sub control unit 20 transmits a wakeup signal from the wakeup signal transmission unit 27 to the main control unit 10 in, for example, S7 in FIG. 4, but at this time, the main control unit 10 transmits the wakeup signal to the CPU 12. It takes time to complete the startup to the normal state where the software can be executed and data can be sent and received.
  • the activation completion determination unit 22 of the sub control unit 20 may determine when the activation completion timing t1 of the main control unit 10 is reached or when the activation completion timing t1 is as follows.
  • the activation completion determination unit 22 determines that the ID of the frame FR transmitted to the communication bus 2 is the ID for the own node 1a, transmits a wake-up pulse signal in S7 or the like in FIG. 4, for example, and activates the main control unit 10.
  • the timing at which the start is started is set as the start start timing t0.
  • the activation completion determination unit 22 counts the internal clock built in the own node 1a starting from the activation start timing t0, and the activation completion timing is the timing when this count value reaches a predetermined threshold value. It is good to judge it as t1.
  • the bus clock transmitted from the master to the communication bus 2 is counted from the master using the CXPI communication method starting from the start timing t0, and the timing when the count value reaches a predetermined threshold value is started. It may be determined that the completion timing is t1. A clock obtained by dividing the bus clock may be used. When the time is counted using the bus clock, synchronization with other nodes 1b and 1c can be maintained, which is particularly effective.
  • the start-up completion determination unit 22 starts charging the capacitor from the current source built in the own node 1a with the start-up start timing t0 as the starting point, and the charging voltage is measured by a comparator such as a comparator. It may be detected.
  • the start-up completion determination unit 22 may determine the timing at which the charge voltage reaches a predetermined threshold voltage as the start-up completion timing t1.
  • the start-up completion determination unit 22 starts discharging from the capacitor stored in advance, and determines that the timing at which the discharged voltage reaches a predetermined threshold voltage is set as the start-up completion timing t1. Is also good. In this way, the start-up completion determination unit 22 can determine that the start-up completion timing t1 is reached when a preset time has elapsed from the start-up start timing t0.
  • the activation completion determination unit 22 determines using the signal output by the main control unit 10 in order to determine whether or not the main control unit 10 has been activated until the main control unit 10 completes activation. Is also good.
  • the output signals of the main control unit 10 used by the activation completion determination unit 22 to determine the activation completion include an internal clock output, a PWM signal output, a general-purpose I / O output port, a sleep request signal output, and a transmission signal. TX output, watchdog timer monitoring output, etc.
  • the start-up completion determination unit 22 has a voltage of the output port of the general-purpose I / O included in the main control unit 10, an output voltage of the transmission signal TX, or an output terminal voltage Vout of a sleep request signal or the like. It is preferable to detect the DC level of the above and determine the start completion timing t1 when the output terminal voltage Vout satisfies a predetermined condition. For example, when the upper limit of the DC level of the output terminal voltage Vout is ⁇ 1 and the lower limit is ⁇ 1, and any one or more of Vout ⁇ 1, ⁇ 1 ⁇ Vout, and ⁇ 1 ⁇ Vout ⁇ 1 are satisfied. It is good to judge that the start completion timing is t1.
  • the start-up completion determination unit 22 may set 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-up completion timing t1. 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. For example, when the upper limit of the period T of the internal clock is ⁇ 2 and the lower limit is ⁇ 2, the activation is completed when any one or more of T ⁇ 2, ⁇ 2 ⁇ T, and ⁇ 2 ⁇ T ⁇ 2 are satisfied. It is good to determine the timing t1.
  • the activation completion determination unit 22 may set the timing at which the PWM signal voltage output from the output terminal of the main control unit 10 is detected as the activation completion timing t1. 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 PWM signal voltage satisfy a predetermined predetermined condition. For example, when the upper limit value of the on period Ton of the PWM signal voltage is ⁇ 3, the lower limit value is ⁇ 3, the upper limit value of the off period Toff is ⁇ 4, and the lower limit value is ⁇ 4, Ton ⁇ 3, ⁇ 3 ⁇ Ton, ⁇ 3 ⁇ Ton. When any one or more of ⁇ 3, Toff ⁇ 4, ⁇ 4 ⁇ Toff, ⁇ 4 ⁇ Toff ⁇ 4 is satisfied, it is preferable to determine the start completion timing t1.
  • the activation completion determination unit 22 determines whether or not the activation completion of the main control unit 10 is completed by using the pulse defined by the communication bus 2 output as the transmission signal TX from the output terminal of the main control unit 10. Is also good. For example, as shown in FIG. 22, when the activation completion determination unit 22 detects the break field BF and the sync byte field SBF defined by the communication bus 2 used in the LIN communication standard as the transmission signal TX, the main control is performed. It may be determined that the timing t1 when the start of the unit 10 is completed.
  • the time set in advance may be measured by the method of the above, and the time t0 to t1 may be assumed as a margin, and it may be determined that the main control unit 10 has been activated.
  • the tenth embodiment will be described with reference to FIGS. 23 to 25.
  • the tenth embodiment describes specific examples of the self-ID learning unit 25 and the ID identification unit 26.
  • Each ECU incorporated in the vehicle is divided into roles, and the ID to be responded to by the own node 1a is held in the non-volatile memory 13 in the main control unit 10 by the time the vehicle is incorporated. Therefore, during normal operation, the main control unit 10 can communicate with other nodes 1b and 1c using the ID.
  • the sub-control unit 20 if the ID to be responded to by the own node 1a is held in a non-volatile memory or the like, the cost of parts and the cost of management increase, so it is desirable to hold the ID in the volatile memory. In this case, the storage holding information of the memory 33 is cleared every time the power to the ECU is cut off.
  • the sub-control unit 20 cannot determine whether or not the own node 1a includes the ID to be responded to in the frame FR transmitted to the communication bus 2. .. Therefore, the self-ID learning unit 25 of the sub-control unit 20 transmits an information bit string for determining that the ID is for the own node 1a from the frame FR transmitted to the communication bus 2 during the normal operation of the main control unit 10. It is good to learn by detecting the transmission signal TX.
  • the sub control unit 20 can be realized by executing the process shown in FIG. 23.
  • FIG. 23 when the sub-control unit 20 determines that the frame FR is transmitted from the other nodes 1b and 1c to the communication bus 2, it determines that there is a signal in S20, and the self-ID learning unit 25 in S21 determines that there is a signal.
  • the PID included in the header H is received.
  • the main control unit 10 receives this frame FR and recognizes the ID included in the header H.
  • the self-ID learning unit 25 of the sub-control unit 20 determines whether or not there is a transmission signal TX transmitted from the main control unit 10 as a response RE in S23, provided that there is no error in the header H in S22. ..
  • the self-ID learning unit 25 determines that the ID should be responded to. Then, the self-ID learning unit 25 calculates the value ID_INV in which the upper to lower bits of the ID are exchanged. This is because the ID is transmitted in the LSB first in the frame FR and is dominant (0), so that the value corresponding to the priority of the ID can be calculated by exchanging the upper to lower bits.
  • the self-ID learning unit 25 determines whether or not the value is smaller than the arbitration ID stored in the memory 33 in S25, and if it is smaller, overwrites the memory 33 with the value ID_INV having a higher priority. rewrite. As a result, the self-ID learning unit 25 can learn the arbitration ID used with the other nodes 1b and 1c.
  • the self-ID learning unit 25 learns the bit string of the value ID_INV that can be used for arbitration, stores it in the memory 33, and then learns the number of bits N for identifying as the ID of the own node 1a. Specifically, as illustrated in FIG. 24, the self-ID learning unit 25 loads the stored value ID_INV in the memory 33 in S27, then calculates ID_INV-1 in S28, and calculates the value ID_INV-1 in S29. The carry parity of is calculated and set as the MSB of the value ID_INV-1.
  • the self-ID learning unit 25 determines an upper N bit that matches the value ID_INV and the value ID_INV-1 in S30, and outputs N. Then, the self-ID learning unit 25 outputs the upper N bits of the value ID_INV-1 in S31 while changing the order of the upper bits to the lower bits in S33.
  • the self-ID learning unit 25 can learn the upper N bits as a bit string for identifying the ID of the self-node 1a. Further, the self-ID learning unit 25 outputs the lower 7-N bits of the value ID_INV-1 in S32 while changing the order of the upper bits to the lower bits in S34. The lower 7-N bits become bits used at the time of arbitration after recognizing the ID of the own node 1a.
  • the self-ID learning unit 25 can learn the number of bits N for identifying as the ID of the own node 1a, and can further learn the N + 1th bit and subsequent bits that can be used for arbitration.
  • An example applied to CXPI communication is shown, but each can also be applied to LIN communication as a learning method of an ID to be responded to by the own node 1a and a bit string for error generation in the ID area.
  • the own node 1a Since the self-ID learning unit 25 for learning the ID is provided, the self-ID learning unit 25 can learn the ID to be responded to according to each communication node 1a, 1b, 1c, and the main control unit 10 is not activated. Communication control can be executed instead of the main control unit 10 in between. As a result, it is not necessary to perform the above-mentioned classification and grouping, and the setting in each ECU and the processing in the master node can be minimized.
  • FIG. 25 shows a flowchart that replaces FIG. 4, and only the characteristic parts are excerpted and shown. Since the processing contents not shown in FIG. 25 are the same as the processing contents shown in FIG. 4, the description thereof will be omitted.
  • the frame FR from the other node 1b is the communication bus 2 of the ID identification unit 26. Even if it is sent to, it is determined as NO in S6 and it is determined that the ID is not a response.
  • the self-ID learning unit 25 causes the main control unit 10 to use the received signal RX.
  • the response RE for the included ID is not output, it is determined that the own node 1a needs to be started.
  • the sub-control unit 20 transmits a wake-up pulse signal from the wake-up signal transmission unit 27 as the activation unit to the main control unit 10 in S7.
  • the main control unit 10 may be activated by the power supply control unit 21.
  • the main control unit 10 can be activated, and the self-ID learning unit 25 can learn the ID to be responded to from the response RE of the main control unit 10 of the own node 1a.
  • 1a to 1c indicate a communication node, of which 1a indicates a local node, 1b and 1c indicate another node.
  • 10 is a main control unit
  • 20 is a sub control unit
  • 21 is a power supply control unit as an activation unit
  • 23 is a transmission control unit
  • 26 is an ID identification unit, an ID intermediate monitoring unit, and an ID monitoring unit.
  • Reference numeral 27 indicates a wake-up signal transmission unit as a start-up unit
  • 31 indicates a transmitter as an error drive unit.

Landscapes

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

Abstract

This communication device has a function of identifying whether a communication pertains to an own node on the basis of an ID included in a frame that is sent out to a communication bus upon connection to the communication bus. A main control unit (10) has a normal operation mode, and a low power consumption mode for causing an operation with power consumption lower than that in the normal operation mode, and is configured so as to be able to control communication with other nodes after completion of activation in the normal operation mode from the low power consumption mode. A sub-control unit (20) is provided separately from the main control unit, and identifies whether a frame including an ID pertaining to the own node has been sent out, on the basis of the frame detection result sent out to the communication bus. The sub-control unit maintains the main control unit in the low power consumption mode when an ID does not pertain to the own node, and, when an ID pertains to the own node, activates the main control unit from the low power consumption mode and executes, in place of the main control unit, communication control so as to prompt re-transmission of a frame pertaining to the own node until the activation of the main control unit is completed.

Description

通信装置Communication device 関連出願の相互参照Cross-reference of related applications
 本出願は、2020年10月9日に出願された日本出願番号2020-171201号に基づくもので、ここにその記載内容を援用する。 This application is based on Japanese Application No. 2020-171201 filed on October 9, 2020, and the contents of the description are incorporated herein by reference.
 本開示は、通信装置に関する。 This disclosure relates to communication equipment.
 車両内には多数のECU(Electronic Control Unit)が装備されており、これらのECUが通信しながら車両内に設置された様々なセンサ及びアクチュエータを電子制御している。これにより車両の安全性を保っている。 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.
 従来より、通信処理技術は様々に提案されている(例えば、特許文献1~3参照)。特許文献1記載のシステムによれば、ECUが同一の通信バスに接続されている場合、動作を必要とするECUのみの電源を投入しており、これにより、通信時の消費電流を低減している。 Conventionally, various communication processing techniques have been proposed (see, for example, Patent Documents 1 to 3). According to the system described in Patent Document 1, when the ECUs are connected to the same communication bus, only the ECUs that need to operate are turned on, thereby reducing the current consumption during communication. There is.
 しかし、この方法では、通信装置とは別に電源を制御する必要があり、電源供給されていないECUからスイッチ入力などのイベント発生の通知ができないという問題があった。またスイッチ入力などのイベント発生を通知するためには通信装置を起動する必要があった。 However, with this method, it is necessary to control the power supply separately from the communication device, and there is a problem that the ECU that is not supplied with power cannot notify the occurrence of an event such as a switch input. In addition, it was necessary to activate the communication device in order to notify the occurrence of an event such as switch input.
 また特許文献2、3記載のシステムによれば、ウェイクアップ用のパルスやパターンを複数種類用意することで、特定の1又は複数のECU群をウェイクアップさせている。これにより消費電流を低減している。 Further, according to the systems described in Patent Documents 2 and 3, a specific one or a plurality of ECU groups are waked up by preparing a plurality of types of pulses and patterns for wakeup. This reduces the current consumption.
 しかし、この方法では、ウェイクアップ用のパルス幅やパターンをECU群毎に予め定義する必要があり、クロックの精度等によりグループ分けの数が制限される。また、一部のECUがウェイクアップしている状態から、全てのECUをウェイクアップさせる場合、一旦、他の通信を止め、ウェイクアップパルス等を送信する必要がある。このため、各通信ノードの通信スケジュール等に悪影響を引き起こしてしまう。 However, in this method, it is necessary to predefine the pulse width and pattern for wakeup for each ECU group, and the number of grouping is limited by the accuracy of the clock and the like. Further, when wake-up of all ECUs from a state where some ECUs are wake-up, it is necessary to temporarily stop other communication and transmit a wake-up pulse or the like. Therefore, the communication schedule of each communication node is adversely affected.
特開2015-081021号公報JP-A-2015-081021 特表2005-529517号公報Special Table 2005-528517 特開2013-062725号公報Japanese Unexamined Patent Publication No. 2013-06725
 本開示は、自ノードの低消費電力状態を極力維持しつつ、他ノードの通信スケジュール等への悪影響を抑制できるようにした通信装置を提供することを目的とする。 The object of the present disclosure is to provide a communication device capable of suppressing adverse effects on the communication schedule of another node while maintaining the low power consumption state of the own node as much as possible.
 本開示の一態様は、通信バスに接続され通信バスに送出されるフレームに含まれるIDに基づいて自ノードに関係する通信か否かを識別する機能を備える通信装置を対象としている。主制御部は、起動完了した後に他ノードとの間で通信制御可能に構成されている。 One aspect of the present disclosure is intended for a communication device having a function of identifying whether or not communication is related to a local node based on an ID included in a frame connected to the communication bus and transmitted to the communication bus. The main control unit is configured to be able to control communication with other nodes after the startup is completed.
 副制御部は、主制御部とは別に備えられると共に通信バスに送出されるフレームの検出結果に基づいて自ノードに関係するIDを含む通信か否か識別しており、自ノードに関係する通信が行われていない場合に主制御部を低消費電力モードで維持する。このため、通信バス上で自ノードに関係しないIDを含む通信が行われている場合には、主制御部を低消費電力状態に維持できる。 The sub control unit is provided separately from the main control unit and identifies whether or not the communication includes an ID related to the own node based on the detection result of the frame sent to the communication bus, and the communication related to the own node. Maintains the main control unit in low power consumption mode when is not performed. Therefore, when communication including an ID not related to the own node is performed on the communication bus, the main control unit can be maintained in a low power consumption state.
 副制御部は、自ノードに関係する通信が行われた場合に主制御部を低消費電力モードから起動させると共に、主制御部が起動完了するまでの間、自ノードに関係する通信の再送を促すように主制御部の代わりに通信制御するため、主制御部が起動中であっても他ノードとの間で適切に対応できる。他ノードは通信の再送を行うことができ、他ノードの通信スケジュール等への悪影響を抑制できる。 The sub-control unit activates the main control unit from the low power consumption mode when the communication related to the own node is performed, and retransmits the communication related to the own node until the main control unit completes the activation. Since communication control is performed instead of the main control unit to prompt the user, even if the main control unit is running, it is possible to appropriately deal with other nodes. The other node can retransmit the communication, and the adverse effect on the communication schedule of the other node can be suppressed.
 本開示についての上記目的およびその他の目的、特徴や利点は、添付の図面を参照しながら下記の詳細な記述により、より明確になる。その図面は、
図1は、第1実施形態に係る通信ノードの電気的構成を説明する機能ブロック図であり、 図2は、第1実施形態に係るネットワーク接続図であり、 図3は、第1実施形態を説明するCXPI通信規格のフレームフォーマットであり、 図4は、第1実施形態を説明するフローチャートであり、 図5は、第1実施形態を説明するタイミングチャートであり、 図6は、第1実施形態に係る通信時の受信順、フレームID、優先順位の関係性の説明図のその1であり、 図7は、第1実施形態に係る通信時の受信順、フレームID、優先順位の関係性の説明図のその2であり、 図8は、第2実施形態を説明するフローチャートであり、 図9は、第3実施形態を説明するフローチャートであり、 図10は、第4実施形態を説明するフローチャートであり、 図11は、第5実施形態を説明するフローチャートであり、 図12は、第6実施形態を説明するLIN通信規格のフレームフォーマットであり、 図13は、第6実施形態を説明するフローチャートであり、 図14は、第7実施形態を説明するフローチャートであり、 図15は、第8実施形態を説明するフローチャートであり、 図16は、第9実施形態について起動開始タイミングから起動完了タイミングまでの計時方法の説明図のその1であり、 図17は、第9実施形態について起動開始タイミングから起動完了タイミングまでの計時方法の説明図のその2であり、 図18は、第9実施形態について起動開始タイミングから起動完了タイミングまでの計時方法の説明図のその3であり、 図19は、第9実施形態に係る起動完了タイミングの判定方法の説明図のその1であり、 図20は、第9実施形態に係る起動完了タイミングの判定方法の説明図のその2であり、 図21は、第9実施形態に係る起動完了タイミングの判定方法の説明図のその3であり、 図22は、第9実施形態に係る起動完了タイミングの判定方法の説明図のその4であり、 図23は、第10実施形態を説明するフローチャートのその1であり、 図24は、第10実施形態を説明するフローチャートのその2であり、 図25は、第10実施形態を説明するフローチャートのその3である。
The above objectives and other objectives, features and advantages of the present disclosure will be further clarified by the following detailed description with reference to the accompanying drawings. The drawing is
FIG. 1 is a functional block diagram illustrating an electrical configuration of a communication node according to the first embodiment. FIG. 2 is a network connection diagram according to the first embodiment. FIG. 3 is a frame format of the CXPI communication standard for explaining the first embodiment. FIG. 4 is a flowchart illustrating the first embodiment. FIG. 5 is a timing chart illustrating the first embodiment. FIG. 6 is the first explanatory diagram of the relationship between the reception order, the frame ID, and the priority at the time of communication according to the first embodiment. FIG. 7 is Part 2 of the explanatory diagram of the relationship between the reception order, the frame ID, and the priority at the time of communication according to the first embodiment. FIG. 8 is a flowchart illustrating the second embodiment. FIG. 9 is a flowchart illustrating the third embodiment. FIG. 10 is a flowchart illustrating the fourth embodiment. FIG. 11 is a flowchart illustrating the fifth embodiment. FIG. 12 is a frame format of the LIN communication standard for explaining the sixth embodiment. FIG. 13 is a flowchart illustrating the sixth embodiment. FIG. 14 is a flowchart illustrating the seventh embodiment. FIG. 15 is a flowchart illustrating the eighth embodiment. FIG. 16 is the first explanatory diagram of the timekeeping method from the start timing to the start completion timing for the ninth embodiment. FIG. 17 is Part 2 of the explanatory diagram of the timekeeping method from the start timing to the start completion timing for the ninth embodiment. FIG. 18 is Part 3 of an explanatory diagram of a timekeeping method from the start timing to the start completion timing for the ninth embodiment. FIG. 19 is the first explanatory diagram of the activation completion timing determination method according to the ninth embodiment. FIG. 20 is Part 2 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment. FIG. 21 is Part 3 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment. FIG. 22 is Part 4 of the explanatory diagram of the activation completion timing determination method according to the ninth embodiment. FIG. 23 is Part 1 of the flowchart illustrating the tenth embodiment. FIG. 24 is Part 2 of the flowchart illustrating the tenth embodiment. FIG. 25 is Part 3 of the flowchart illustrating the tenth embodiment.
 以下、本開示の幾つかの実施形態について図面を参照しながら説明する。以下に説明する各実施形態において同一又は類似の動作を行う構成、処理ステップについては、同一又は類似の符号を付し、必要に応じて説明を省略する。 Hereinafter, some embodiments of the present disclosure will be described with reference to the drawings. The configurations and processing steps that perform the same or similar operations in each of the embodiments described below are designated by the same or similar reference numerals, and the description thereof will be omitted as necessary.
 (第1実施形態)
 以下、第1実施形態について図1から図7を参照して説明する。車両内には多数のECU(Electronic Control Unit)が装備されており、図2に示すように、これらのECUがそれぞれ互いに通信可能に構成される通信装置となる通信ノード1a~1cを備え、通信バス2を通じて相互に通信する。そして各ECUは、車両内に設置された様々なスイッチ等のアクチュエータを電子制御している。車両内の通信ノード1a~1cは、所定の通信規格に基づいて通信バス2を通じて多重通信している。図1には、特に通信ノード1aによる通信機能に特化して図示しているが、副制御部20の内部では主要な通信線だけを図示している。
(First Embodiment)
Hereinafter, the first embodiment will be described with reference to FIGS. 1 to 7. A large number of ECUs (Electronic Control Units) are installed in the vehicle, and as shown in FIG. 2, these ECUs are equipped with communication nodes 1a to 1c which are communication devices configured to be able to communicate with each other, and communicate with each other. Communicate with each other through bus 2. Each ECU electronically controls actuators such as various switches installed in the vehicle. The communication nodes 1a to 1c in the vehicle perform multiplex communication through the communication bus 2 based on a predetermined communication standard. Although FIG. 1 is shown specifically for the communication function by the communication node 1a, only the main communication lines are shown inside the sub-control unit 20.
 本実施形態では、CXPI(Clock Extension Peripheral Interface)に係る多重通信方式を適用して説明する。CXPI通信方式では、CSMA/CD方式を採用すると共に、マスタ/スレーブとなる各通信ノードの間の送受信スケジュールを確立する。そして、定期的な要求応答シーケンスに沿ってイベントに対応したフレームFRをPWM方式を用いて通信する。 In this embodiment, a multiplex communication method related to CXPI (Clock Extension Peripheral Interface) will be applied and described. In the CXPI communication method, the CSMA / CD method is adopted, and the transmission / reception schedule between the master / slave communication nodes is established. Then, the frame FR corresponding to the event is communicated by using the PWM method according to the periodic request response sequence.
 CXPI通信では、通信バス2にマスタが常にクロックを供給することでシステム全体を同期させ、マスタ/スレーブはデータをクロックに重畳させたPWM信号を送信することでビット同期してデータを通信できる。 In CXPI communication, the master constantly supplies a clock to the communication bus 2 to synchronize the entire system, and the master / slave can communicate data by bit synchronization by transmitting a PWM signal in which the data is superimposed on the clock.
 CXPIのフレームFRは、通常のフレームFR、バーストフレーム、スリープフレームの3種類に区分され、データ送信には通常フレームFR及びバーストフレームが使用される。通常フレームFRは、図3に示すようにヘッダH及びレスポンスREに区分できる。 The frame FR of CXPI is classified into three types, a normal frame FR, a burst frame, and a sleep frame, and the normal frame FR and the burst frame are used for data transmission. The normal frame FR can be divided into a header H and a response RE as shown in FIG.
 通常フレームFRの間には、当該フレーム間の間隔を空けるためのインターフレームスペースIFSが設けられる。フレームスロットFRSは、通常フレームFRにインターフレームスペースIFSを加えて構成される。 An interframe space IFS is provided between the normal frame FRs to allow a space between the frames. The frame slot FRS is usually configured by adding an interframe space IFS to the frame FR.
 ヘッダHは、8ビットのプロテクティッドID、つまりPIDをスタートビットS及びエンドビットEで挟んで構成される。レスポンスREは、8ビットのフレーム情報FI、8ビット分のデータDATA、8ビットのCRCデータ、をそれぞれスタートビットS及びエンドビットEで挟んで構成される。 The header H is composed of an 8-bit protected ID, that is, a PID sandwiched between a start bit S and an end bit E. The response RE is configured by sandwiching an 8-bit frame information FI, 8-bit data DATA, and 8-bit CRC data, respectively, between a start bit S and an end bit E.
 フレーム情報FIは、データ長4ビット、スリープ/ウェイクアップ処理に使用する2ビット、フレームFRの連続性を表すカウンタ情報2ビットにより構成される。CRC符号データは、CRCによる誤り検出領域である。また、プロテクティッドID(PID)、フレーム情報FI、データDATA、CRC符号データの間には、各バイトデータごとの間隔としてインターバイトスペースIBSが設けられている。以下では、プロテクティッドIDのことを必要に応じてIDと略して説明することがある。 The frame information FI is composed of 4 bits for data length, 2 bits for sleep / wakeup processing, and 2 bits for counter information indicating the continuity of frame FR. The CRC code data is an error detection area by CRC. Further, an interbyte space IBS is provided between the protected ID (PID), the frame information FI, the data DATA, and the CRC code data as an interval for each byte data. In the following, the protected ID may be abbreviated as an ID as necessary.
 各通信ノード1a~1cは、前述のプロテクティッドID(PID)に基づいて通信バス2に送出されるフレームFRを判別する。マスタとなる通信ノード(ここでは1aとする)が、ヘッダHを送信信号TXmasとして通信バス2に送信すると、当該ヘッダHのPIDに対応した通信ノード(ここでは1bとする)がスレーブとしてレスポンスREを通信バス2に応答する。これによりマスタスレーブ間で通信が行われる。なお、通信バス2には、UARTフレームのNRZを符号化したPWM信号が送信されるが、図2にはPWM波形は省略している。 Each communication node 1a to 1c determines the frame FR transmitted to the communication bus 2 based on the above-mentioned protected ID (PID). When the master communication node (here, 1a) transmits the header H as the transmission signal TXmas to the communication bus 2, the communication node (here, 1b) corresponding to the PID of the header H responds as a slave. Responds to the communication bus 2. As a result, communication is performed between the master and slave. A PWM signal in which the NRZ of the UART frame is encoded is transmitted to the communication bus 2, but the PWM waveform is omitted in FIG.
 また、通信バス2に接続された各通信ノード1a~1cは、イベントトリガ方式において、通信バス2のアイドル状態を確認した上で自由にフレームFRを送信可能に規則化されている。フレームFRを送信した通信ノード1a~1cは、インターフレームスペースIFSを検出した後に再度フレームFRを送信可能になっている。 Further, each communication node 1a to 1c connected to the communication bus 2 is regulated so that the frame FR can be freely transmitted after confirming the idle state of the communication bus 2 in the event trigger method. The communication nodes 1a to 1c that have transmitted the frame FR can transmit the frame FR again after detecting the interframe space IFS.
 また、イベントが通信バス2に同時に発生した場合、すなわち、同時に複数の通信ノード(例えば1b、1c)が送信信号TXを通信バス2に出力した場合、非破壊型の調停を実施し、調停に勝利したノード(例えば1b)のフレームFRが優先されるように規則化されている。 Further, when an event occurs simultaneously on the communication bus 2, that is, when a plurality of communication nodes (for example, 1b and 1c) simultaneously output a transmission signal TX to the communication bus 2, non-destructive arbitration is performed and the arbitration is performed. It is regularized so that the frame FR of the winning node (for example, 1b) is prioritized.
 以下、通信ノード1a~1cの構成と共に、各通信ノード1a~1cの内部モードについて説明する。各通信ノード1a~1cの構成は同一構成を備えているため、通信ノード1aの構成を説明し、その他の通信ノード1b~1cの構成説明を省略する。また、通信ノード1aを主体として説明するため、必要に応じて、通信ノード1aを自ノード1a、通信ノード1b、1cを他ノード1b、1cとして説明することがある。 Hereinafter, the internal modes of the communication nodes 1a to 1c will be described together with the configurations of the communication nodes 1a to 1c. Since the configurations of the communication nodes 1a to 1c have the same configuration, the configuration of the communication node 1a will be described, and the configuration description of the other communication nodes 1b to 1c will be omitted. Further, since the communication node 1a is mainly described, the communication node 1a may be described as the own node 1a, and the communication nodes 1b and 1c may be described as the other nodes 1b and 1c, if necessary.
 通信ノード1aには、主制御部10、副制御部20、及びトランシーバ30が構成されている。主制御部10は、制御回路11に周辺回路15を接続して構成される。制御回路11は、例えばマイクロコンピュータにより構成され、入力されるクロック信号に基づいて動作し、CPU12、ROM、RAMなどのメモリ13、I/Oなどを具備している。また周辺回路15は、A/D変換回路などによるもので、制御回路11が、周辺回路15を用いて各種制御を実行する。 The communication node 1a includes a main control unit 10, a sub control unit 20, and a transceiver 30. The main control unit 10 is configured by connecting the peripheral circuit 15 to the control circuit 11. The control circuit 11 is configured by, for example, a microcomputer, operates based on an input clock signal, and includes a CPU 12, a memory 13 such as a ROM, a RAM, an I / O, and the like. Further, the peripheral circuit 15 is based on an A / D conversion circuit or the like, and the control circuit 11 executes various controls using the peripheral circuit 15.
 主制御部10は、スタンバイ状態となる低消費電力モード、又は、通常状態となる通常動作モードを備えており、低消費電力モード又は通常動作モードに相互遷移するように構成される。主制御部10は、低消費電力モードにおいてウェイクアップ信号を受け付けると通常動作モードに起動し、通常の通信制御を実行できる。 The main control unit 10 has a low power consumption mode in which it is in a standby state or a normal operation mode in which it is in a normal state, and is configured to mutually transition to a low power consumption mode or a normal operation mode. When the main control unit 10 receives the wakeup signal in the low power consumption mode, the main control unit 10 is activated in the normal operation mode and can execute normal communication control.
 他方、副制御部20は、例えば主制御部10とは別のハードウェアにより構成されるもので、電源制御部21、起動完了判定部22、送信制御部23、送信切替部24、自己ID学習部25、ID等識別部26、ウェイクアップ信号送出部27、及び受信切替部28としての各種制御を実現する。副制御部20は、主制御部10よりも起動が速く低消費電力なカスタムロジック回路により構成され、主に主制御部10が未起動中の通信制御を実行する。また副制御部20には、レジスタなどアクセス速度の比較的速いメモリ33、及び、起動開始タイミング(後述のt0)から内部クロックやバスクロックをカウントするためのカウンタ34が組み込まれている。 On the other hand, the sub control unit 20 is composed of hardware different from the main control unit 10, for example, the power supply control unit 21, the start completion determination unit 22, the transmission control unit 23, the transmission switching unit 24, and the self-ID learning. Various controls are realized as a unit 25, an ID identification unit 26, a wakeup signal transmission unit 27, and a reception switching unit 28. The sub-control unit 20 is configured by a custom logic circuit that starts faster than the main control unit 10 and consumes less power, and mainly executes communication control while the main control unit 10 is not started. Further, the sub-control unit 20 incorporates a memory 33 having a relatively high access speed such as a register, and a counter 34 for counting the internal clock and the bus clock from the start timing (t0 described later).
 トランシーバ30は、トランスミッタ31及びレシーバ32により構成され、他ノード1b、1cとの間でデータを送受信する。トランスミッタ31は、副制御部20から入力される送信信号TXを通信規格に基づくフレームFRに変換し通信バス2に送出する。レシーバ32は、通信バス2から入力されるフレームFRを信号変換し受信信号RXとして自ノード1aの受信切替部28に入力させる。なお、PWM変調を使用する通信の場合は、PWM変調による復号化部を含むものであっても良い。 The transceiver 30 is composed of a transmitter 31 and a receiver 32, and transmits / receives data to / from other nodes 1b and 1c. The transmitter 31 converts the transmission signal TX input from the sub-control unit 20 into a frame FR based on the communication standard and sends it to the communication bus 2. The receiver 32 converts the frame FR input from the communication bus 2 into a signal and causes the receiver 32 to input the frame FR as a reception signal RX to the reception switching unit 28 of the own node 1a. In the case of communication using PWM modulation, it may include a decoding unit by PWM modulation.
 主制御部10は、自身がスタンバイ状態となり低消費電力モードに移行するときにはスリープ信号を電源制御部21に出力する。すると電源制御部21は、トランスミッタ31にスリープ要求信号を出力することで、トランスミッタ31をスタンバイ状態に移行させることができる。これにより低消費電力モードに移行できる。 The main control unit 10 outputs a sleep signal to the power supply control unit 21 when it enters the standby state and shifts to the low power consumption mode. Then, the power supply control unit 21 can shift the transmitter 31 to the standby state by outputting the sleep request signal to the transmitter 31. This makes it possible to shift to the low power consumption mode.
 主制御部10は、低消費電力モードでは他ノード1b、1cとの間で通信不能であるが、通常動作モードに起動完了した後には、他ノード1b、1cとの間で送信信号TX及び受信信号RXによりトランシーバ30を通じて通信できる。主制御部10は、低消費電力モードから初期化処理を実行し始めたり通常動作モードに起動完了すると、クロック信号、PWM信号、送信信号TXなどの各種の出力信号を送出する。 The main control unit 10 cannot communicate with other nodes 1b and 1c in the low power consumption mode, but after the start-up is completed in the normal operation mode, the transmission signal TX and reception with the other nodes 1b and 1c Communication can be performed through the transceiver 30 by the signal RX. When the main control unit 10 starts executing the initialization process from the low power consumption mode or completes the activation in the normal operation mode, the main control unit 10 sends out various output signals such as a clock signal, a PWM signal, and a transmission signal TX.
 副制御部20の起動完了判定部22は、主制御部10が低消費電力モードから初期化処理中に出力する信号を検出したり、主制御部10が通常動作モードに起動完了した後に出力する信号を検出することで、主制御部10がいつ起動完了するか又は起動完了したか否かを判定する。また、起動完了判定部22は、主制御部10が出力するスリープ信号を検出することで主制御部10が起動していないと判定できる。副制御部20の起動完了判定部22による望ましい起動完了判定方法は後述する。 The activation completion determination unit 22 of the sub-control unit 20 detects a signal output by the main control unit 10 during the initialization process from the low power consumption mode, or outputs the signal after the main control unit 10 completes the activation to the normal operation mode. By detecting the signal, the main control unit 10 determines when the activation is completed or whether the activation is completed. Further, the activation completion determination unit 22 can determine that the main control unit 10 has not been activated by detecting the sleep signal output by the main control unit 10. A desirable activation completion determination method by the activation completion determination unit 22 of the sub-control unit 20 will be described later.
 副制御部20は、自ノード1aに関係する通信を行っていない場合、主制御部10をスタンバイ状態として低消費電力モードに維持させる。そして副制御部20は、自ノード1aに関係する通信が行われた場合に主制御部10を低消費電力モードから通常動作モードに起動するように構成される。副制御部20は、主制御部10が通常動作モードに起動完了するまでの間、自ノード1aに関係する通信の再送を促すように主制御部10の代わりに他ノード1b~1cと通信するために設けられる。 The sub control unit 20 keeps the main control unit 10 in the standby state and maintains the low power consumption mode when the communication related to the own node 1a is not performed. The sub-control unit 20 is configured to activate the main control unit 10 from the low power consumption mode to the normal operation mode when communication related to the own node 1a is performed. The sub-control unit 20 communicates with other nodes 1b to 1c instead of the main control unit 10 so as to prompt the retransmission of the communication related to the own node 1a until the main control unit 10 is started up in the normal operation mode. Provided for.
 送信制御部23は、主制御部10が起動していないスリープ状態において、送信切替部24の切替制御を実行し、主制御部10の代わりに送信信号TXを生成し、送信切替部24及びトランスミッタ31を通じて送信信号TXを送信する。また、送信制御部23は、通信バス2に送出された送信信号TXが他ノード1b、1cと重なった場合、他ノード1b、1cに対し調停を実行する。この場合、ID等識別部26が識別した自ノード1aに関するIDに基づいて調停勝ちするIDを含む送信信号TXを生成することになるが詳細は後述する。 The transmission control unit 23 executes switching control of the transmission switching unit 24 in the sleep state in which the main control unit 10 is not activated, generates a transmission signal TX instead of the main control unit 10, and transmits the transmission switching unit 24 and the transmitter. The transmission signal TX is transmitted through 31. Further, when the transmission signal TX transmitted to the communication bus 2 overlaps with the other nodes 1b and 1c, the transmission control unit 23 executes arbitration for the other nodes 1b and 1c. In this case, a transmission signal TX including an ID that wins arbitration based on the ID related to the own node 1a identified by the ID or the like identification unit 26 will be generated, which will be described in detail later.
 自己ID学習部25は、送信信号TX及び受信信号RXから自ノード1aのIDを学習し、学習したIDをID等識別部26に出力する。自己ID学習部25による自己ID学習処理の具体例は後述の第10実施形態にて詳細説明する。ID等識別部26は、通信バス2に送出されるフレームFRをレシーバ32及び受信切替部28を通じて受信信号RXとして検出し、主制御部10の代わりに通信バス2に送出されるIDを少なくとも途中まで又は全て監視し、自ノード1aに関係するIDを含む通信か否かを識別するID途中監視部又はID監視部として機能する。 The self-ID learning unit 25 learns the ID of the own node 1a from the transmission signal TX and the reception signal RX, and outputs the learned ID to the ID identification unit 26. A specific example of the self-ID learning process by the self-ID learning unit 25 will be described in detail in the tenth embodiment described later. The ID identification unit 26 detects the frame FR transmitted to the communication bus 2 as a reception signal RX through the receiver 32 and the reception switching unit 28, and at least the ID transmitted to the communication bus 2 instead of the main control unit 10 is on the way. It functions as an ID intermediate monitoring unit or an ID monitoring unit that monitors up to or all of them and identifies whether or not the communication includes an ID related to the own node 1a.
 ID等識別部26は、受信信号RXからID等を識別し自ノード1aの起動要否の判定を行う。ID等識別部26は、自ノード1aに関係するIDを含む通信であったときには、必要に応じて電源制御部21、起動完了判定部22、及び送信制御部23等にその旨を示す制御信号を出力する。ウェイクアップ信号送出部27は、主制御部10が起動していないスリープ状態において、受信切替部28を電源制御したり、ウェイクアップ信号を受信切替部28を通じて主制御部10に送信したりできる。ウェイクアップ信号送出部27は、主制御部10を起動させる起動部としての機能を備える。 The ID and the like identification unit 26 identifies the ID and the like from the received signal RX and determines whether or not the own node 1a needs to be activated. When the communication includes the ID related to the own node 1a, the ID identification unit 26 informs the power supply control unit 21, the activation completion determination unit 22, the transmission control unit 23, etc. to that effect, if necessary. Is output. The wake-up signal transmission unit 27 can control the power supply of the reception switching unit 28 or transmit the wake-up signal to the main control unit 10 through the reception switching unit 28 in the sleep state in which the main control unit 10 is not activated. The wake-up signal transmission unit 27 has a function as an activation unit for activating the main control unit 10.
 また電源制御部21は、入力される指令に基づいて電源もしくは起動要求信号を主制御部10に出力することで主制御部10を起動させる起動部としての機能を備える。なおウェイクアップ信号送出部27が、ウェイクアップ信号を受信切替部28を通じて主制御部10に出力する場合、電源制御部21が主制御部10に起動要求信号を必ずしも出力しなくても良い。 Further, the power supply control unit 21 has a function as a start-up unit for activating the main control unit 10 by outputting a power supply or a start-up request signal to the main control unit 10 based on an input command. When the wake-up signal transmission unit 27 outputs the wake-up signal to the main control unit 10 through the reception switching unit 28, the power supply control unit 21 does not necessarily have to output the start request signal to the main control unit 10.
 自己ID学習部25は、レシーバ32を通じて受信した受信信号RXに含まれるIDに対して、主制御部10がレスポンスREを送信信号TXとして送信したか否かに応じてレシーバ32で受信したIDが自ノード1aに関するIDであるか否かの判定を行う。 The self-ID learning unit 25 receives the ID received by the receiver 32 according to whether or not the main control unit 10 transmits the response RE as the transmission signal TX with respect to the ID included in the reception signal RX received through the receiver 32. It is determined whether or not the ID is related to the own node 1a.
 副制御部20(例えばID等識別部26)は、図1に示すように、主制御部10との間で送信信号TX及び受信信号RXの通信線とは異なる別の設定用通信線35を接続し、主制御部10との間で設定用通信線35を通じて情報を送受信可能にしても良い。副制御部20及び主制御部10が双方向通信することで、副制御部20が、主制御部10から自ノード1aのIDと判断するための情報を直接入力してメモリ33に記憶しておいても良い。 As shown in FIG. 1, the sub control unit 20 (for example, the ID identification unit 26) has a communication line 35 for setting different from the communication lines of the transmission signal TX and the reception signal RX with the main control unit 10. It may be connected and information can be transmitted / received to / from the main control unit 10 through the setting communication line 35. By bidirectional communication between the sub control unit 20 and the main control unit 10, the sub control unit 20 directly inputs information for determining the ID of the own node 1a from the main control unit 10 and stores it in the memory 33. You can leave it.
 また副制御部20は、主制御部10が起動完了までの間に送信制御部23から他ノード1b、1cに応答すべき送信信号TX等のデータを、設定用通信線35を通じて予め主制御部10の起動中に入力しておき、メモリ33に予め記憶させておいても良い。 Further, the sub-control unit 20 previously transmits data such as a transmission signal TX to be responded to from the transmission control unit 23 to the other nodes 1b and 1c from the transmission control unit 23 through the setting communication line 35 until the main control unit 10 completes activation. It may be input during the activation of 10 and stored in the memory 33 in advance.
 またメモリ33を外部からアクセス可能に構成しても良い。自ノード1aのIDと判断するための情報、又は/及び、主制御部10が起動完了するまでの間に送信制御部23から他ノード1b、1cに応答する送信信号TX等のデータを、外部から設定可能にしても良い。すると、利便性を向上できる。 Further, the memory 33 may be configured to be accessible from the outside. Information for determining the ID of the own node 1a and / or data such as a transmission signal TX that responds to the other nodes 1b and 1c from the transmission control unit 23 until the main control unit 10 completes activation are externally transmitted. It may be possible to set from. Then, convenience can be improved.
 またID等識別部26は、ID等識別部26の識別結果に基づいて自ノード1aの起動を必要と判定した場合、電源制御部21に電源投入指令を出力する。電源制御部21は、ID等識別部26から電源投入指令を入力すると、主制御部10及びトランスミッタ31の電源を投入したり、又は、トランスミッタ31をスリープ状態から起動させる。 Further, when the ID or the like identification unit 26 determines that it is necessary to start the own node 1a based on the identification result of the ID or the like identification unit 26, the ID or the like identification unit 26 outputs a power-on command to the power supply control unit 21. When the power-on command is input from the ID or the like identification unit 26, the power control unit 21 turns on the power of the main control unit 10 and the transmitter 31, or activates the transmitter 31 from the sleep state.
 なお、トランスミッタ31の消費電流を低減させる必要がない場合には、電源制御部21は、トランスミッタ31の電源制御を実行しなくても良い。電源制御部21は、ウェイクアップ信号送出部27や受信切替部28により主制御部10をウェイクアップ制御する場合には、不要な機能ブロックである。 If it is not necessary to reduce the current consumption of the transmitter 31, the power supply control unit 21 does not have to execute the power supply control of the transmitter 31. The power supply control unit 21 is an unnecessary functional block when the main control unit 10 is wake-up controlled by the wake-up signal transmission unit 27 and the reception switching unit 28.
 上記構成のうち、特に副制御部20の詳細動作を説明する。自ノード1aはスリープ状態とされており、他ノード1b、1cは通常起動している通信装置であることを前提として説明を行う。 Of the above configurations, the detailed operation of the sub-control unit 20 will be described in particular. The description will be made on the premise that the own node 1a is in the sleep state and the other nodes 1b and 1c are communication devices that are normally activated.
 図4に示すように、自ノード1aの副制御部20は、S1において起動完了判定部22により主制御部10が起動完了しているか否かを常時判定している。 As shown in FIG. 4, the sub-control unit 20 of the own node 1a constantly determines in S1 whether or not the main control unit 10 has been activated by the activation completion determination unit 22.
 このとき起動完了判定部22は、主制御部10が出力する信号、例えば、クロック信号、スリープ信号、又は送信信号TXなどの出力に基づいて、主制御部10が起動完了した状態にあるか否かを判定したり、又は、ID等識別部26が自ノード1aの起動を判定したタイミングから予め定められた一定時間が経過したか否かを判定することで、主制御部10が起動完了した状態にあるか否かを判定したりする。 At this time, the activation completion determination unit 22 is in a state where the activation is completed based on the output of the signal output by the main control unit 10, for example, the clock signal, the sleep signal, or the transmission signal TX. The main control unit 10 has been activated by determining whether or not the predetermined fixed time has elapsed from the timing when the ID or the like identification unit 26 has determined the activation of the own node 1a. It determines whether or not it is in a state.
 なお、主制御部10が初期化して起動完了する手順において、主制御部10の出力信号が変化したタイミングに対し、他ノード1b、1cとの間で正常に通信可能になるまでの間に予め定められた時間差があることが想定される場合、起動完了判定部22は、主制御部10の出力信号が変化してから当該時間差より長く予め設定された一定時間を経過してから起動完了したと判定しても良い。 In the procedure in which the main control unit 10 is initialized and the startup is completed, the timing when the output signal of the main control unit 10 changes is set in advance until normal communication with the other nodes 1b and 1c becomes possible. When it is assumed that there is a predetermined time difference, the start-up completion determination unit 22 completes the start-up after a predetermined fixed time longer than the time difference has elapsed after the output signal of the main control unit 10 has changed. It may be determined that.
 起動完了判定部22は、主制御部10が起動完了していればS1にてYESと判定し、S2にて通信バス2を通じて送信信号TX及び受信信号RXを主制御部10と通信するように切替える。しかし、起動完了判定部22は、主制御部10が起動完了していなければS1でNOと判定し、S3にて副制御部20と通信するように切替える。 The activation completion determination unit 22 determines YES in S1 if the main control unit 10 has been activated, and communicates the transmission signal TX and the reception signal RX with the main control unit 10 through the communication bus 2 in S2. Switch. However, if the main control unit 10 has not completed the activation, the activation completion determination unit 22 determines NO in S1 and switches to communicate with the sub control unit 20 in S3.
 自ノード1aの副制御部20は受信信号RXを待機する。トランシーバ30が、レシーバ32により通信バス2を検出することで他ノード(例えば1b)から送出されたフレームFRを検出するとS4において信号有りと判断する。 The sub-control unit 20 of the own node 1a waits for the received signal RX. When the transceiver 30 detects the frame FR transmitted from another node (for example, 1b) by detecting the communication bus 2 by the receiver 32, it is determined in S4 that there is a signal.
 副制御部20は、S5においてID等識別部26によりプロテクティッドID(PID)の先頭Nビットを受信し、通信バス2に送出されているフレームFRのPIDを途中まで識別する。そして、ID等識別部26は、S6において応答すべきIDであるか否かを判定する。 The sub-control unit 20 receives the first N bits of the protected ID (PID) by the ID identification unit 26 in S5, and identifies the PID of the frame FR transmitted to the communication bus 2 halfway. Then, the ID identification unit 26 determines whether or not the ID should be answered in S6.
 副制御部20は、応答すべきIDでない場合にはS1に戻って処理を繰り返すが、応答すべきIDであると判定した場合には、S7においてウェイクアップ信号送出部27により受信切替部28を通じてウェイクアップ信号を受信信号RXとして主制御部10に入力させることで当該主制御部10を起動させる。ウェイクアップ信号は、ウェイクアップ用のパルス信号である。 If the sub-control unit 20 returns to S1 and repeats the process if it is not an ID to be responded to, the sub-control unit 20 returns to S1 and repeats the process. The wake-up signal is input to the main control unit 10 as a reception signal RX to activate the main control unit 10. The wake-up signal is a pulse signal for wake-up.
 また、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、S8において送信制御部23により送信切替部24を通じてプロテクティッドID(PID)のN+1ビット目以降をドミナントとして駆動することで故意に調停勝ちさせる。図5のタイミングt1~t2参照。なお、プロテクティッドID(PID)を故意に変更する領域を、図3のフレームFRの送信信号TX2に示している。 Further, as a parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 is subjected to the protected ID (PID) through the transmission switching unit 24 by the transmission control unit 23 in S8. ) Is driven as a dominant after the N + 1th bit to intentionally win the arbitration. See timings t1 to t2 in FIG. The area where the protected ID (PID) is intentionally changed is shown in the transmission signal TX2 of the frame FR in FIG.
 例えば、通常起動時に自ノード1aの主制御部10が使用するフレームIDが図6に示す28h又は68hであった場合を考える。他ノード1bは自ノード1aに対してLSBファーストにて00010の順で通信バス2にデータを送出する。自ノード1aの副制御部20は、プロテクティッドID(PID)の先頭から5ビットがLSBファーストにて00010であった場合に、自ノード1aのIDと判定し、6ビット目を強制的にドミナントにすることで08h又は48hのフレームIDで調停勝ちできる。 For example, consider a case where the frame ID used by the main control unit 10 of the own node 1a at the time of normal startup is 28h or 68h shown in FIG. The other node 1b sends data to the communication bus 2 in the order of 00010 in LSB first to the own node 1a. When the 5th bit from the beginning of the protected ID (PID) is 00010 in LSB first, the sub-control unit 20 of the own node 1a determines that it is the ID of the own node 1a, and forcibly sets the 6th bit as dominant. By setting it to, you can win the mediation with the frame ID of 08h or 48h.
 また例えば、通常起動時に自ノード1aの主制御部10が使用するフレームIDが図7に示す64hであった場合を考える。他ノード1bは、自ノード1aに対してLSBファーストにて001001の順で通信バス2にデータを送出する。このとき、自ノード1aの副制御部20は、プロテクティッドID(PID)の先頭から6ビットがLSBファーストにて001001であった場合に自ノード1aのIDと判定し、7ビット目を強制的にドミナント「0」にすることで24hのフレームIDで調停勝ちできる。 Further, for example, consider a case where the frame ID used by the main control unit 10 of the own node 1a at the time of normal startup is 64h shown in FIG. The other node 1b sends data to the communication bus 2 in the order of 001001 in LSB first to the own node 1a. At this time, the sub-control unit 20 of the own node 1a determines that the ID of the own node 1a is 001001 when the 6 bits from the beginning of the protected ID (PID) are 004101 in LSB first, and forcibly sets the 7th bit. By setting the dominant "0", you can win the mediation with the frame ID of 24h.
 その後、副制御部20の送信制御部23は、図4のS9において、レスポンスREにおいて予め定義したデータを送信することで再送を促すようにすると良い。予め定義したデータとは、他ノード1bが自ノード1aから再送を促していることをプロトコル上で定義付けたデータであり、これにより他ノード1bがこの定義データを受信することで自ノード1aから再送が促されていることを判断できる。 After that, the transmission control unit 23 of the sub-control unit 20 may prompt the retransmission by transmitting the data defined in advance in the response RE in S9 of FIG. The pre-defined data is data defined on the protocol that the other node 1b is urging retransmission from the own node 1a, and the other node 1b receives this defined data from the own node 1a. It can be determined that resending is being prompted.
 また副制御部20の送信制御部23は、図4のS9において、受信信号RXを受信した他ノード1bに対し、主制御部10が起動完了するまでの時間に対応するカウント値を含むデータを通信バス2に送出して再送を促すようにしても良い。これにより、副制御部20は、主制御部10がスタンバイ状態から起動完了するまでの間、自ノード1aに関係する通信の再送を促すことができる。 Further, in S9 of FIG. 4, the transmission control unit 23 of the sub control unit 20 inputs data including a count value corresponding to the time until the main control unit 10 completes activation for the other node 1b that has received the received signal RX. It may be sent to the communication bus 2 to prompt the retransmission. As a result, the sub-control unit 20 can urge the main control unit 10 to retransmit the communication related to the own node 1a from the standby state to the completion of startup.
 図5に示すように、副制御部20の送信制御部23は、タイミングt2における差分カウンタ値D1をフレームFRのデータDATAに設定して送信する。この差分カウンタ値D1は、副制御部20のカウンタ34が、内蔵クロックをカウントすることでタイミングt2から予め定められた閾値まで達するまでのカウント値を示す。 As shown in FIG. 5, the transmission control unit 23 of the sub-control unit 20 sets the difference counter value D1 at the timing t2 in the data DATA of the frame FR and transmits the data. The difference counter value D1 indicates a count value from the timing t2 until the counter 34 of the sub-control unit 20 counts the built-in clock to reach a predetermined threshold value.
 他ノード1bでは、主制御部10がレシーバ32を通じてレスポンスREのデータDATAを受信するとデータDATAを読取る。他ノード1bの主制御部10は、差分カウンタ値D1に対応した時間だけ待機した後、タイミングt5において他ノード1bが再度同一のプロテクティッドID(PID)を含むフレームFRを通信バス2に送出する。これにより、他ノード1bは自ノード1aとの通信をリトライできる。 In the other node 1b, when the main control unit 10 receives the data DATA of the response RE through the receiver 32, the data DATA is read. The main control unit 10 of the other node 1b waits for a time corresponding to the difference counter value D1, and then at the timing t5, the other node 1b again sends a frame FR including the same protected ID (PID) to the communication bus 2. .. As a result, the other node 1b can retry communication with the own node 1a.
 また、他ノード1bでは、主制御部10が差分カウンタ値D1に対応した時間だけ待機する間、他ノード(例えば1c)との間で通信するためのフレームFRを通信バス2に送出し、タイミングt2の後のタイミングt2aから所定の間、他のノード1cと間でデータ通信できる。これにより、他ノード1bは、差分カウンタ値D1に対応した待機時間を、他の通信に活用できる。しかも通信バス2の使用効率を向上できる。 Further, in the other node 1b, while the main control unit 10 waits for the time corresponding to the difference counter value D1, the frame FR for communicating with the other node (for example, 1c) is sent to the communication bus 2 and the timing is set. Data communication can be performed with another node 1c for a predetermined time from the timing t2a after t2. As a result, the other node 1b can utilize the standby time corresponding to the difference counter value D1 for other communication. Moreover, the usage efficiency of the communication bus 2 can be improved.
 なお、図5のタイミングt3において、自ノード1aと他ノード1cとが通信バス2にて通信衝突を生じ、自ノード1aが他ノード1cに対し調停勝ちした場合、他ノード1cは差分カウント値D2に対応した時間だけ待機した後、タイミングt5にて自ノード1aとの通信をリトライする。この場合、他ノード1b及び他ノード1cは、フレームFRを同時に通信バス2に送出することになるが、このときには通常の調停が行われることになり、自ノード1aは、他ノード1b又は他ノード1cの何れかと通信できる。 At the timing t3 of FIG. 5, when the own node 1a and the other node 1c cause a communication collision on the communication bus 2 and the own node 1a wins the arbitration against the other node 1c, the other node 1c has the difference count value D2. After waiting for the time corresponding to the above, the communication with the own node 1a is retried at the timing t5. In this case, the other node 1b and the other node 1c simultaneously send the frame FR to the communication bus 2, but at this time, normal arbitration is performed, and the own node 1a is the other node 1b or the other node. Can communicate with any of 1c.
 以上説明したように、本実施形態によれば、主制御部10がスタンバイ状態であるときに、自ノード1aに関係するフレームFRが通信バス2に送出された場合、副制御部20は主制御部10をスタンバイ状態から起動すると共に、主制御部10が起動完了するまでの間、自ノード1aに関係するフレームFRの再送を促すように主制御部10の代わりに他ノード1bと通信制御している。これにより、主制御部10が起動完了するまでに自ノード1a宛にフレームFRが送出されたとしても適切に対応できる。自ノード1aに関係しないIDを含む通信が通信バス2を介して行われている場合には、主制御部10をスタンバイ状態に維持できる。 As described above, according to the present embodiment, when the frame FR related to the own node 1a is sent to the communication bus 2 while the main control unit 10 is in the standby state, the sub control unit 20 is in the main control. While starting the unit 10 from the standby state, communication control is performed with another node 1b instead of the main control unit 10 so as to prompt the retransmission of the frame FR related to the own node 1a until the main control unit 10 completes the activation. ing. As a result, even if the frame FR is sent to the own node 1a by the time the main control unit 10 completes activation, it can be appropriately dealt with. When communication including an ID not related to the own node 1a is performed via the communication bus 2, the main control unit 10 can be maintained in the standby state.
 自ノード1aに関係するデータが通信バス2に送出された場合、副制御部20は、主制御部10を低消費電力モードから通常動作モードに起動させると共に、主制御部10が通常動作モードに起動完了するまでの間、自ノード1aに関係する通信の再送を促すように主制御部10の代わりに通信制御するため、主制御部10が起動中であっても他ノード1b、1cとの間で適切に対応できる。他ノード1b、1cは通信の再送を行うことができ、他ノード1b、1cの通信スケジュール等への悪影響を抑制できる。主制御部10が起動した後は、本来のデータを送受信できるようになり、他ノード1b、1cへの通信スケジュール等への影響を最小限にできる。 When the data related to the local node 1a is sent to the communication bus 2, the sub-control unit 20 activates the main control unit 10 from the low power consumption mode to the normal operation mode, and the main control unit 10 switches to the normal operation mode. Until the startup is completed, the communication is controlled instead of the main control unit 10 so as to prompt the retransmission of the communication related to the own node 1a, so that even if the main control unit 10 is running, it is with the other nodes 1b and 1c. We can respond appropriately between them. The other nodes 1b and 1c can retransmit the communication, and the adverse effect on the communication schedule and the like of the other nodes 1b and 1c can be suppressed. After the main control unit 10 is activated, the original data can be transmitted and received, and the influence on the communication schedule and the like to the other nodes 1b and 1c can be minimized.
 また自ノード1aの副制御部20では、主制御部10が起動完了していないときに、ID等識別部26が、主制御部10の代わりに通信バス2に送出されるIDを途中まで識別し、ID等識別部26により自ノード1aに対するIDと判断したときに、副制御部20の送信制御部23が調停勝ちするIDに変更して通信バス2に送信している。ここで、送信制御部23は起動完了までの時間に対応する差分カウンタ値D1を含むデータを送信するようにしている。 Further, in the sub-control unit 20 of the local node 1a, when the main control unit 10 has not been started, the ID and the like identification unit 26 identifies the ID sent to the communication bus 2 instead of the main control unit 10 halfway. Then, when the ID and the like identification unit 26 determines that the ID is for the own node 1a, the transmission control unit 23 of the sub-control unit 20 changes the ID to an ID that wins arbitration and transmits the ID to the communication bus 2. Here, the transmission control unit 23 transmits data including the difference counter value D1 corresponding to the time until the activation is completed.
 これにより、他ノード1bでは、差分カウンタ値D1に対応した時間だけ待機した後に、再度自ノード1aとの通信をリトライできる。しかも、他ノード1bでは、そのリトライするまでの間の時間を、他ノード(例えば1c)との間の通信に活用でき、通信バス2の使用効率を向上できる。 As a result, the other node 1b can retry communication with the own node 1a after waiting for the time corresponding to the difference counter value D1. Moreover, in the other node 1b, the time until the retry can be utilized for communication with another node (for example, 1c), and the usage efficiency of the communication bus 2 can be improved.
 (第2実施形態)
 第2実施形態について図8を参照して説明する。図8は、図4に代えて示すフローチャートである。自ノード1aの副制御部20は、S1において、起動完了判定部22により主制御部10が起動完了しているか否かを常時判定している。起動完了判定部22は、主制御部10が起動完了していればS1にてYESと判定し、S2にて通信バス2を通じて送信信号TX及び受信信号RXを主制御部10と通信するように切替える。しかし、起動完了判定部22は、主制御部10が起動完了していなければS1でNOと判定し、S3にて副制御部20と通信するように切替える。
(Second Embodiment)
The second embodiment will be described with reference to FIG. FIG. 8 is a flowchart shown in place of FIG. In S1, the sub-control unit 20 of the own node 1a constantly determines whether or not the main control unit 10 has been activated by the activation completion determination unit 22. The activation completion determination unit 22 determines YES in S1 if the main control unit 10 has been activated, and communicates the transmission signal TX and the reception signal RX with the main control unit 10 through the communication bus 2 in S2. Switch. However, if the main control unit 10 has not completed the activation, the activation completion determination unit 22 determines NO in S1 and switches to communicate with the sub control unit 20 in S3.
 自ノード1aの副制御部20は通信バス2を監視し信号を待機する。トランシーバ30がレシーバ32により他ノード(例えば1b)から通信バス2にフレームFRを検出すると、副制御部20は、S4において信号有りと判断する。副制御部20は、S5aにおいてID等識別部26によりプロテクティッドID(PID)を全て受信し、S6において応答すべきIDであるか否かを判定する。 The sub-control unit 20 of the own node 1a monitors the communication bus 2 and waits for a signal. When the transceiver 30 detects the frame FR on the communication bus 2 from another node (for example, 1b) by the receiver 32, the sub-control unit 20 determines that there is a signal in S4. The sub-control unit 20 receives all the protected IDs (PIDs) by the ID identification unit 26 in S5a, and determines whether or not the ID is an ID to be responded to in S6.
 副制御部20は、S10においてヘッダHにエラーが無いことを条件としてステップS7及びS9aの処理を並列処理する。副制御部20は、S7においてウェイクアップ信号送出部27により受信切替部28を通じてウェイクアップ信号を主制御部10に入力させることで当該主制御部10を起動する。 The sub-control unit 20 processes the processes of steps S7 and S9a in parallel on condition that there is no error in the header H in S10. The sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
 また、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、図8のS9aにおいて、信号受信した他ノード1bに対し、主制御部10が起動完了するまでの時間に対応するカウント値をデータDATAとして通信バス2に送信する。この場合、第1実施形態と同様の効果を奏する。 Further, as a parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 controls the other node 1b that received the signal in S9a of FIG. The count value corresponding to the time until the start of the unit 10 is completed is transmitted to the communication bus 2 as data DATA. In this case, the same effect as that of the first embodiment is obtained.
 また副制御部20は、図8のS9aにおいて、データに付加するCRC符号による誤り検出符号について故意にエラーを含むように予め定義したデータを送信しても良い。なお、故意にエラーを生じさせる領域を図3の送信信号TX3に示している。自ノード1aが、他ノード1bへの返信時にレスポンスREにおいて故意にエラーを生じさせることで、自ノード1a及び他ノード1bの間のハンドシェイクを意図的に非成立させると共に、他ノード1bに再送を促すことができる。第2実施形態においても、第1実施形態と同様の作用効果を奏する。 Further, the sub-control unit 20 may transmit data defined in advance so as to intentionally include an error in the error detection code by the CRC code added to the data in S9a of FIG. The area where an error is intentionally caused is shown in the transmission signal TX3 in FIG. When the own node 1a intentionally causes an error in the response RE when replying to the other node 1b, the handshake between the own node 1a and the other node 1b is intentionally not established and retransmitted to the other node 1b. Can be urged. The second embodiment also has the same effect as that of the first embodiment.
 (第3実施形態)
 第3実施形態について図9を参照して説明する。図9は、図4に代えて示すフローチャートであり、S1~S6の処理内容は第1実施形態で説明した図4に示す処理内容と同様であるため説明を省略する。
(Third Embodiment)
The third embodiment will be described with reference to FIG. FIG. 9 is a flowchart shown in place of FIG. 4, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 4 described in the first embodiment, the description thereof will be omitted.
 副制御部20は、S6において応答すべきIDであると判断すると、ステップS7及びS8aを並列処理する。副制御部20は、S7においてウェイクアップ信号送出部27により受信切替部28を通じてウェイクアップ信号を主制御部10に入力させることで当該主制御部10を起動する。 When the sub-control unit 20 determines that the ID should be responded to in S6, the sub-control unit 20 processes steps S7 and S8a in parallel. The sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
 また、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、図9のS8aにおいて、エラー駆動部となるトランスミッタ31が、プロテクティッドID(PID)のストップビットEをドミナントに駆動することでビットエラー等を生じるように通信バス2を駆動する。なお、故意にエラーを生じさせるビット領域を図2の送信信号TX4に示している。 Further, as the parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 has the transmitter 31 as the error driving unit protected in S8a of FIG. By driving the stop bit E of the ID (PID) dominantly, the communication bus 2 is driven so as to cause a bit error or the like. The bit region that intentionally causes an error is shown in the transmission signal TX4 of FIG.
 自ノード1aが、他ノード1bへの返信時にレスポンスRE域において故意にエラーを生じさせることで、自ノード1a及び他ノード1b間のハンドシェイクを非成立させることが可能である。第3実施形態においても、第1実施形態と同様の作用効果を奏する。 It is possible for the own node 1a to intentionally cause an error in the response RE area when replying to the other node 1b, so that the handshake between the own node 1a and the other node 1b cannot be established. The third embodiment also has the same effect as that of the first embodiment.
 (第4実施形態)
 図10は第4実施形態の説明図を示す。図10は図4に代えて示すフローチャートであり、S3~S9の処理は第1実施形態で説明した図4に示す処理と同様であるため説明を省略する。図10に示すように、主制御部10がスタンバイ状態のときだけ実行するようにしても良い。
(Fourth Embodiment)
FIG. 10 shows an explanatory diagram of the fourth embodiment. FIG. 10 is a flowchart shown in place of FIG. 4, and since the processes of S3 to S9 are the same as the processes shown in FIG. 4 described in the first embodiment, the description thereof will be omitted. As shown in FIG. 10, it may be executed only when the main control unit 10 is in the standby state.
 副制御部20は、S1において起動完了判定部22により主制御部10が起動完了したと判断した後、S2において主制御部10が通信バス2を通じて通信できるように切り替えれば、副制御部20は主制御部10に通信制御の主導権を移行して制御処理を終了するようにしても良い。 If the sub-control unit 20 determines in S1 that the activation completion determination unit 22 has completed the activation of the main control unit 10 and then switches the main control unit 10 so that the main control unit 10 can communicate through the communication bus 2 in S2, the sub-control unit 20 will be able to perform the operation. The control process may be terminated by transferring the initiative of communication control to the main control unit 10.
 (第5実施形態)
 第5実施形態について図11を参照して説明する。図11に示すように、副制御部20は、S1において起動完了判定部22により主制御部10が起動完了したと判断した後、S2において主制御部10が通信バス2を通じて通信できるように切り替える。
(Fifth Embodiment)
The fifth embodiment will be described with reference to FIG. As shown in FIG. 11, the sub-control unit 20 switches so that the main control unit 10 can communicate through the communication bus 2 in S2 after the activation completion determination unit 22 determines that the main control unit 10 has been activated in S1. ..
 しかし、副制御部20の電源制御部21は、S11において主制御部10がスリープ状態に移行することを示すスリープ要求を入力したときには、S3において副制御部20が他ノード1b、1cとの間で通信するように切替え、副制御部20が通信制御を再開するようにしても良い。 However, when the power supply control unit 21 of the sub control unit 20 inputs a sleep request indicating that the main control unit 10 shifts to the sleep state in S11, the sub control unit 20 is between the other nodes 1b and 1c in S3. The communication may be switched so that the sub-control unit 20 restarts the communication control.
 (第6実施形態)
 第6実施形態について図12及び図13を参照して説明する。第6実施形態以降は、LIN(Local Interconnect Network)に適用した形態を説明する。LINは、車載通信の中でもシャシー制御やパワートレイン制御に用いられており、CANのサブネットワークとして車載向けに普及している通信規格である。図12にはLIN通信規格のフレームフォーマットを示している。
(Sixth Embodiment)
The sixth embodiment will be described with reference to FIGS. 12 and 13. From the sixth embodiment onward, a mode applied to LIN (Local Interconnect Network) will be described. 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. 12 shows the frame format of the LIN communication standard.
 ヘッダHは、マスタが送信信号TXmasとして通信バス2に送出する領域であり、先頭からブレークフィールドBF、シンクバイトフィールドSBF、保護フィールドPIFに区分できる。ブレークフィールドBFはフレームFRの始めを示す。 The header H is an area that the master sends to the communication bus 2 as a transmission signal TXmas, and can be divided into a break field BF, a sync byte field SBF, and a protection field PIF from the beginning. The break field BF marks the beginning of the frame FR.
 シンクバイトフィールドSBFは、複数のパルスによるもので各通信ノードの誤差検出用の基準クロックを示している。保護フィールドPIFは、6ビットのID、DLC、2ビットのパリティにより構成されている。シンクバイトフィールドSBF及び保護フィールドPIFは、スタートビットS、エンドビットEで挟んで構成されるフィールドである。 The sync byte field SBF is based on a plurality of pulses and indicates a reference clock for error detection of each communication node. The protected field PIF is composed of a 6-bit ID, a DLC, and a 2-bit parity. The sync byte field SBF and the protection field PIF are fields configured by sandwiching the start bit S and the end bit E.
 他方、レスポンスREは、マスタ、又は、マスタがヘッダHで指定したIDにより指定されるスレーブが通信バス2に送出する領域を示し、1バイトから8バイトのデータDATA、及びチェックサムCSのフィールドにより構成される。チェックサムCSは、データ誤り検出用に設けられている。 On the other hand, the response RE indicates an area to be transmitted to the communication bus 2 by the master or the slave specified by the ID specified by the master in the header H, and is based on 1-byte to 8-byte data DATA and checksum CS fields. It is composed. The checksum CS is provided for data error detection.
 LINを用いた場合であっても、構成は第1実施形態と同様であるため構成説明を省略する。図13は、図8に代えて示すフローチャートである。S1~S4の処理内容は第2実施形態にて図8を用いて示した処理内容と同様であるため説明を省略する。 Even when LIN is used, the configuration description is omitted because the configuration is the same as that of the first embodiment. FIG. 13 is a flowchart shown in place of FIG. Since the processing contents of S1 to S4 are the same as the processing contents shown with reference to FIG. 8 in the second embodiment, the description thereof will be omitted.
 LINを適用した場合、CXPI通信のPIDに代えてIDを用いて通信する。このため副制御部20は、S5bにおいてID等識別部26によりヘッダHに含まれるIDの先頭Nビットを受信し、通信バス2に送出されるIDを主制御部10の代わりに途中まで識別する。そして、ID等識別部26はS6において応答すべきIDであるか否かを判定する。 When LIN is applied, communication is performed using ID instead of PID of CXPI communication. Therefore, the sub-control unit 20 receives the first N bits of the ID included in the header H by the ID identification unit 26 in S5b, and identifies the ID transmitted to the communication bus 2 halfway instead of the main control unit 10. .. Then, the ID identification unit 26 determines whether or not the ID should be answered in S6.
 その後、副制御部20は、S10においてヘッダHにエラーが無いことを条件としてステップS7及びS9bの処理を並列処理する。副制御部20は、S7においてウェイクアップ信号送出部27により受信切替部28を通じてウェイクアップ信号を主制御部10に入力させることで主制御部10を起動する。 After that, the sub-control unit 20 processes the processes of steps S7 and S9b in parallel on condition that there is no error in the header H in S10. The sub-control unit 20 activates the main control unit 10 by causing the wake-up signal transmission unit 27 to input the wake-up signal to the main control unit 10 through the reception switching unit 28 in S7.
 また、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、図13のS9bにおいて、受信信号RXを受信した他ノード1bに対し、主制御部10が起動完了するまでの時間に対応するカウント値を含むデータを通信バス2に送信する。これにより、副制御部20は第1実施形態と同様に他ノード1bに対し再送を促すことができ、他ノード1bはこの時間を経過した後に再送できる。これにより、第1実施形態と同様の効果を奏する。 Further, as a parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 refers to the other node 1b that has received the received signal RX in S9b of FIG. , Data including a count value corresponding to the time until the main control unit 10 completes activation is transmitted to the communication bus 2. As a result, the sub-control unit 20 can urge the other node 1b to retransmit as in the first embodiment, and the other node 1b can retransmit after this time has elapsed. As a result, the same effect as that of the first embodiment is obtained.
 また副制御部20は、図13のS9bにおいて、データに付加するチェックサムCSの誤り検出符号について故意にエラーを含むように予め定義したデータを送信しても良い。なお、故意にエラーを生じさせる領域を図12の送信信号TX3に示している。自ノード1aが、他ノード1bへの返信時にレスポンスREにおいて故意にエラーを生じさせることで、副制御部20は、第2実施形態と同様にノード1bに対し再送を促すことができる。第6実施形態に示したようにLINに適用した場合でも同様に、第2実施形態と同様の作用効果を奏する。 Further, the sub-control unit 20 may transmit data defined in advance so as to intentionally include an error in the error detection code of the checksum CS added to the data in S9b of FIG. The area where an error is intentionally caused is shown in the transmission signal TX3 in FIG. When the own node 1a intentionally causes an error in the response RE when replying to the other node 1b, the sub-control unit 20 can urge the node 1b to retransmit as in the second embodiment. Even when applied to LIN as shown in the sixth embodiment, the same action and effect as those of the second embodiment are similarly obtained.
 本実施形態では、S5bにおいてIDを先頭Nbit受信することで自ノード1aに対するIDであるか識別し応答すべきIDであるか判定したが、これに限定されるものではなく、全てのIDを受信した後に自ノード1aに対するIDであるか識別し応答すべきIDであるか判定するようにしても良い。 In the present embodiment, by receiving the first Nbit of the ID in S5b, it is determined whether it is an ID for the own node 1a and whether it is an ID to be responded to, but the present invention is not limited to this, and all IDs are received. After that, it may be determined whether it is an ID for the own node 1a and whether it is an ID to be responded to.
 (第7実施形態)
 第7実施形態について図14を参照して説明する。図14は、図13に代えて示すフローチャートであり、S1~S6の処理内容は第6実施形態で説明した図13に示す処理内容と同様であるため説明を省略する。
(7th Embodiment)
The seventh embodiment will be described with reference to FIG. FIG. 14 is a flowchart shown in place of FIG. 13, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 13 described in the sixth embodiment, the description thereof will be omitted.
 副制御部20は、S6を処理した後、ヘッダHのエラー有無に拘わらずステップS7及びS8bの処理を並列処理する。副制御部20は、S7においてウェイクアップ信号送出部27により受信切替部28を通じてウェイクアップ信号を主制御部10に入力させることで起動する。 After processing S6, the sub-control unit 20 processes the processes of steps S7 and S8b in parallel regardless of the presence or absence of an error in the header H. The sub control unit 20 is activated by causing the wakeup signal transmission unit 27 to input the wakeup signal to the main control unit 10 through the reception switching unit 28 in S7.
 また、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、図14のS8bにおいて、エラー駆動部となるトランスミッタ31からIDのストップビットEをドミナントに駆動することでビットエラーを生じるように通信バス2を駆動する。なお、故意にエラーを生じさせる領域を図12の送信信号TX4に示している。 Further, as the parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 stops the ID from the transmitter 31 which is the error driving unit in S8b of FIG. The communication bus 2 is driven so as to cause a bit error by driving the bit E dominantly. The area where an error is intentionally caused is shown in the transmission signal TX4 of FIG.
 自ノード1aが、他ノード1bへの返信時にレスポンスREにおいて故意にエラーを生じさせることで、自ノード1a及び他ノード1b間のハンドシェイクを非成立させることができる。これにより、副制御部20は、ノード1bに対し再送を促すことができる。第7実施形態においても、第6実施形態と同様の作用効果を奏する。 When the own node 1a intentionally causes an error in the response RE when replying to the other node 1b, the handshake between the own node 1a and the other node 1b can be unsuccessful. As a result, the sub-control unit 20 can urge the node 1b to retransmit. The seventh embodiment also has the same effect as that of the sixth embodiment.
 本実施形態でも同様に、S5bにおいてIDを先頭Nbit受信することで自ノード1aに対するIDであるか識別し応答すべきIDであるか判定したが、これに限定されるものではなく、全てのIDを受信した後に自ノード1aに対するIDであるか識別し応答すべきIDであるか判定するようにしても良い。 Similarly, in the present embodiment, by receiving the ID at the beginning Nbit in S5b, it is determined whether it is an ID for the own node 1a and whether it is an ID to be responded to, but the present invention is not limited to this, and all IDs are not limited to this. It may be possible to identify whether it is an ID for its own node 1a and determine whether it is an ID to respond after receiving.
 (第8実施形態)
 第8実施形態について図15を参照して説明する。図15は、図14に代えて示すフローチャートであり、S1~S6の処理内容は第6実施形態で説明した図13に示す処理内容と同様であるため説明を省略する。
(8th Embodiment)
The eighth embodiment will be described with reference to FIG. FIG. 15 is a flowchart shown in place of FIG. 14, and since the processing contents of S1 to S6 are the same as the processing contents shown in FIG. 13 described in the sixth embodiment, the description thereof will be omitted.
 図15に示すように、主制御部10が起動している最中、副制御部20が実行する並列処理動作Saとして、副制御部20は、図15のS8cにおいて、エラー駆動部となるトランスミッタ31が、IDのN+1bit以降のパリティビットにおいてIDパリティエラーとなるようにドミナントに駆動することでエラーを故意に発生させるように通信バス2を駆動する。なお、故意にエラーを生じさせる領域を図12の送信信号TX5に示している。 As shown in FIG. 15, as the parallel processing operation Sa executed by the sub-control unit 20 while the main control unit 10 is running, the sub-control unit 20 serves as an error driving unit in S8c of FIG. 31 drives the communication bus 2 so as to intentionally generate an error by driving it dominantly so that an ID parity error occurs in the parity bits after N + 1 bits of the ID. The area where an error is intentionally caused is shown in the transmission signal TX5 in FIG.
 自ノード1aが、他ノード1bへの返信時にレスポンスREにおいて故意にエラーを生じさせることで、自ノード1a及び他ノード1b間のハンドシェイクを非成立させることができる。第8実施形態においても、第6及び第7実施形態と同様の作用効果を奏する。 When the own node 1a intentionally causes an error in the response RE when replying to the other node 1b, the handshake between the own node 1a and the other node 1b can be unsuccessful. The eighth embodiment also has the same effects as those of the sixth and seventh embodiments.
 (第9実施形態)
 第9実施形態について図16から図22を参照して説明する。副制御部20は、主制御部10を起動させるため、例えば図4のS7等においてウェイクアップ信号送出部27から主制御部10にウェイクアップ信号を送信するが、このとき主制御部10はCPU12がソフトウェアを実行してデータを送受信可能になる通常状態に起動完了するまで時間を要する。
(9th Embodiment)
A ninth embodiment will be described with reference to FIGS. 16 to 22. In order to activate the main control unit 10, the sub control unit 20 transmits a wakeup signal from the wakeup signal transmission unit 27 to the main control unit 10 in, for example, S7 in FIG. 4, but at this time, the main control unit 10 transmits the wakeup signal to the CPU 12. It takes time to complete the startup to the normal state where the software can be executed and data can be sent and received.
 そこで、副制御部20の起動完了判定部22は、以下のように主制御部10がいつ起動完了するタイミングt1となるか、又は、いつ起動完了するタイミングt1であるか判定すると良い。 Therefore, the activation completion determination unit 22 of the sub control unit 20 may determine when the activation completion timing t1 of the main control unit 10 is reached or when the activation completion timing t1 is as follows.
 まず起動完了判定部22は、通信バス2に送出されたフレームFRのIDが自ノード1aに対するIDと判断され、例えば図4のS7等でウェイクアップパルス信号を送出し、主制御部10を起動し始めたタイミングを起動開始タイミングt0とする。そして起動完了判定部22は、図16に示すように、起動開始タイミングt0を起点として自ノード1aに内蔵される内部クロックをカウントし、このカウント値が所定の閾値に達したタイミングを起動完了タイミングt1と判定すると良い。 First, the activation completion determination unit 22 determines that the ID of the frame FR transmitted to the communication bus 2 is the ID for the own node 1a, transmits a wake-up pulse signal in S7 or the like in FIG. 4, for example, and activates the main control unit 10. The timing at which the start is started is set as the start start timing t0. Then, as shown in FIG. 16, the activation completion determination unit 22 counts the internal clock built in the own node 1a starting from the activation start timing t0, and the activation completion timing is the timing when this count value reaches a predetermined threshold value. It is good to judge it as t1.
 また図17に示すように、起動開始タイミングt0を起点として、マスタからCXPI通信方式を用いて通信バス2に送出されるバスクロックをカウントし、このカウント値が所定の閾値に達したタイミングを起動完了タイミングt1と判定しても良い。バスクロックを分周したクロックを用いても良い。バスクロックを用いて時間をカウントする場合、他ノード1b、1cとの同期を保つことができるため、特に有効に作用する。 Further, as shown in FIG. 17, the bus clock transmitted from the master to the communication bus 2 is counted from the master using the CXPI communication method starting from the start timing t0, and the timing when the count value reaches a predetermined threshold value is started. It may be determined that the completion timing is t1. A clock obtained by dividing the bus clock may be used. When the time is counted using the bus clock, synchronization with other nodes 1b and 1c can be maintained, which is particularly effective.
 また図18に示すように、起動完了判定部22は、起動開始タイミングt0を起点として、自ノード1aに内蔵される電流源からコンデンサに充電を開始し、当該充電電圧をコンパレータなどの比較器により検知するようにしても良い。起動完了判定部22は、当該充電電圧が所定の閾値電圧に達したタイミングを起動完了タイミングt1と判定しても良い。 Further, as shown in FIG. 18, the start-up completion determination unit 22 starts charging the capacitor from the current source built in the own node 1a with the start-up start timing t0 as the starting point, and the charging voltage is measured by a comparator such as a comparator. It may be detected. The start-up completion determination unit 22 may determine the timing at which the charge voltage reaches a predetermined threshold voltage as the start-up completion timing t1.
 また逆に、起動完了判定部22は、起動開始タイミングt0において、予め蓄電されたコンデンサから放電開始し、この放電された電圧が所定の閾値電圧に達したタイミングを起動完了タイミングt1と判定しても良い。このように起動完了判定部22は、起動開始タイミングt0から予め設定した時間を経過した場合に起動完了タイミングt1である旨を判定できる。 On the contrary, at the start-up start timing t0, the start-up completion determination unit 22 starts discharging from the capacitor stored in advance, and determines that the timing at which the discharged voltage reaches a predetermined threshold voltage is set as the start-up completion timing t1. Is also good. In this way, the start-up completion determination unit 22 can determine that the start-up completion timing t1 is reached when a preset time has elapsed from the start-up start timing t0.
 また起動完了判定部22は、主制御部10が起動完了するまでの間、主制御部10が起動したか否かを判断するために、主制御部10が出力する信号を用いて判定しても良い。起動完了判定部22が起動完了を判定するために用いる主制御部10の出力信号としては、内部クロックの出力、PWM信号の出力、汎用I/Oの出力ポート、スリープ要求信号の出力、送信信号TXの出力、又は、ウォッチドッグタイマの監視用出力、等である。 Further, the activation completion determination unit 22 determines using the signal output by the main control unit 10 in order to determine whether or not the main control unit 10 has been activated until the main control unit 10 completes activation. Is also good. The output signals of the main control unit 10 used by the activation completion determination unit 22 to determine the activation completion include an internal clock output, a PWM signal output, a general-purpose I / O output port, a sleep request signal output, and a transmission signal. TX output, watchdog timer monitoring output, etc.
 例えば、図19に示すように、起動完了判定部22は、主制御部10が備える汎用I/Oの出力ポートの電圧、送信信号TXの出力電圧、又は、スリープ要求信号等の出力端子電圧VoutのDCレベルを検出し、出力端子電圧Voutが所定の条件を満たしたときに起動完了タイミングt1と判定すると良い。例えば、出力端子電圧VoutのDCレベルの上限値をα1、下限値をβ1としたときに、Vout<α1、β1<Vout、β1<Vout<α1の何れか一つ以上の条件を満たしたときに起動完了タイミングt1と判定すると良い。 For example, as shown in FIG. 19, the start-up completion determination unit 22 has a voltage of the output port of the general-purpose I / O included in the main control unit 10, an output voltage of the transmission signal TX, or an output terminal voltage Vout of a sleep request signal or the like. It is preferable to detect the DC level of the above and determine the start completion timing t1 when the output terminal voltage Vout satisfies a predetermined condition. For example, when the upper limit of the DC level of the output terminal voltage Vout is α1 and the lower limit is β1, and any one or more of Vout <α1, β1 <Vout, and β1 <Vout <α1 are satisfied. It is good to judge that the start completion timing is t1.
 例えば、図20に示すように、起動完了判定部22は、主制御部10の出力端子から出力される内部クロックの電圧を検出したタイミングを起動完了タイミングt1としても良い。このとき、内部クロックの電圧の周期Tが予め定められる所定の条件を満たしているときに起動完了したと判定することが望ましい。例えば、内部クロックの周期Tの上限値をα2、下限値をβ2としたときに、T<α2、β2<T、β2<T<α2の何れか一つ以上の条件を満たしたときを起動完了タイミングt1と判定すると良い。 For example, as shown in FIG. 20, the start-up completion determination unit 22 may set 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-up completion timing t1. 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. For example, when the upper limit of the period T of the internal clock is α2 and the lower limit is β2, the activation is completed when any one or more of T <α2, β2 <T, and β2 <T <α2 are satisfied. It is good to determine the timing t1.
 また、図21に示すように、起動完了判定部22は、主制御部10の出力端子から出力されるPWM信号電圧を検出したタイミングを起動完了タイミングt1としても良い。このとき、PWM信号電圧のオン期間Ton又は/及びオフ期間Toffが予め定められる所定の条件を満たしているときに起動完了した旨を判定することが望ましい。例えば、PWM信号電圧のオン期間Tonの上限値をα3、下限値をβ3とし、オフ期間Toffの上限値をα4、下限値をβ4としたときに、Ton<α3、β3<Ton、β3<Ton<α3、Toff<α4、β4<Toff、β4<Toff<α4、の何れか一つ以上の条件を満たしたときを起動完了タイミングt1と判定すると良い。 Further, as shown in FIG. 21, the activation completion determination unit 22 may set the timing at which the PWM signal voltage output from the output terminal of the main control unit 10 is detected as the activation completion timing t1. 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 PWM signal voltage satisfy a predetermined predetermined condition. For example, when the upper limit value of the on period Ton of the PWM signal voltage is α3, the lower limit value is β3, the upper limit value of the off period Toff is α4, and the lower limit value is β4, Ton <α3, β3 <Ton, β3 <Ton. When any one or more of <α3, Toff <α4, β4 <Toff, β4 <Toff <α4 is satisfied, it is preferable to determine the start completion timing t1.
 また、起動完了判定部22は、主制御部10の出力端子から送信信号TXとして出力される通信バス2で規定されたパルスを用いて主制御部10が起動完了したか否かを判定しても良い。例えば、図22に示すように、起動完了判定部22は、LINの通信規格で用いられる通信バス2で規定されるブレークフィールドBF、シンクバイトフィールドSBFを送信信号TXとして検出した場合に、主制御部10が起動完了したタイミングt1と判定しても良い。 Further, the activation completion determination unit 22 determines whether or not the activation completion of the main control unit 10 is completed by using the pulse defined by the communication bus 2 output as the transmission signal TX from the output terminal of the main control unit 10. Is also good. For example, as shown in FIG. 22, when the activation completion determination unit 22 detects the break field BF and the sync byte field SBF defined by the communication bus 2 used in the LIN communication standard as the transmission signal TX, the main control is performed. It may be determined that the timing t1 when the start of the unit 10 is completed.
 また、図19から図22を用いて説明した何れかの方法により主制御部10の出力信号を用いて起動シーケンス実行中と判定したタイミングt1から、図16から図18を用いて説明した何れかの方法で予め設定された時間を測定し、この時間t0~t1をマージンとして見込んで、主制御部10が起動完了したと判定するようにしても良い。 Further, any of the methods described with reference to FIGS. 16 to 18 from the timing t1 in which it is determined that the activation sequence is being executed using the output signal of the main control unit 10 by any of the methods described with reference to FIGS. 19 to 22. The time set in advance may be measured by the method of the above, and the time t0 to t1 may be assumed as a margin, and it may be determined that the main control unit 10 has been activated.
 (第10実施形態)
 第10実施形態について図23から図25を参照して説明する。第10実施形態は、自己ID学習部25及びID等識別部26の具体例を説明する。車両に組み込まれる各ECUは役割分担がなされており、自ノード1aが応答すべきIDは、車両組込時までに主制御部10の中の不揮発的なメモリ13に保持される。このため通常動作中、主制御部10は当該IDを用いて他ノード1b、1cと通信できる。一方、副制御部20においては、自ノード1aが応答すべきIDを不揮発のメモリ等に保持させると、部品のコストや管理のコストが上がってしまうことから、揮発メモリで保持することが望ましく、この場合、メモリ33の記憶保持情報はECUへの電源遮断の度にクリアされる。
(10th Embodiment)
The tenth embodiment will be described with reference to FIGS. 23 to 25. The tenth embodiment describes specific examples of the self-ID learning unit 25 and the ID identification unit 26. Each ECU incorporated in the vehicle is divided into roles, and the ID to be responded to by the own node 1a is held in the non-volatile memory 13 in the main control unit 10 by the time the vehicle is incorporated. Therefore, during normal operation, the main control unit 10 can communicate with other nodes 1b and 1c using the ID. On the other hand, in the sub-control unit 20, if the ID to be responded to by the own node 1a is held in a non-volatile memory or the like, the cost of parts and the cost of management increase, so it is desirable to hold the ID in the volatile memory. In this case, the storage holding information of the memory 33 is cleared every time the power to the ECU is cut off.
 副制御部20は、メモリ33等に応答すべきIDを未設定又は学習不十分な場合、通信バス2に送出されたフレームFRに自ノード1aが応答すべきIDを含んでいるか否か判定できない。そこで副制御部20の自己ID学習部25は、通信バス2に送出されたフレームFRから自ノード1aに対するIDであることを判断するための情報ビット列を、主制御部10が通常動作中に送信する送信信号TXを検出することで学習すると良い。 When the ID to be responded to the memory 33 or the like is not set or the learning is insufficient, the sub-control unit 20 cannot determine whether or not the own node 1a includes the ID to be responded to in the frame FR transmitted to the communication bus 2. .. Therefore, the self-ID learning unit 25 of the sub-control unit 20 transmits an information bit string for determining that the ID is for the own node 1a from the frame FR transmitted to the communication bus 2 during the normal operation of the main control unit 10. It is good to learn by detecting the transmission signal TX.
 具体的には、主制御部10が通常動作中であっても、副制御部20は図23に示す処理を実行することで実現できる。以下、CXPI通信に適用した例を説明する。図23に示すように、副制御部20は、通信バス2に他ノード1b、1cからフレームFRが送出されていると判定すると、S20において信号有りと判定し、S21において自己ID学習部25がヘッダHに含まれるPIDを受信する。 Specifically, even if the main control unit 10 is in normal operation, the sub control unit 20 can be realized by executing the process shown in FIG. 23. Hereinafter, an example applied to CXPI communication will be described. As shown in FIG. 23, when the sub-control unit 20 determines that the frame FR is transmitted from the other nodes 1b and 1c to the communication bus 2, it determines that there is a signal in S20, and the self-ID learning unit 25 in S21 determines that there is a signal. The PID included in the header H is received.
 通常動作中、主制御部10は、このフレームFRを受信しておりヘッダHに含まれるIDを認識している。副制御部20の自己ID学習部25は、S22にてヘッダHにエラーが無いことを条件として、S23においてレスポンスREとして主制御部10から送信される送信信号TXが有るか否かを判定する。 During normal operation, the main control unit 10 receives this frame FR and recognizes the ID included in the header H. The self-ID learning unit 25 of the sub-control unit 20 determines whether or not there is a transmission signal TX transmitted from the main control unit 10 as a response RE in S23, provided that there is no error in the header H in S22. ..
 S23において送信信号TXを検出した場合、自己ID学習部25は、応答すべきIDと判定する。そして、自己ID学習部25は、IDの上位から下位のビットを入れ替えた値ID_INVを計算する。これは、フレームFRにおいて、IDがLSBファーストで送出され、ドミナント(0)優位であることから、上位から下位のビットを入れ替えることでIDの優先順位に対応する値を計算できるためである。 When the transmission signal TX is detected in S23, the self-ID learning unit 25 determines that the ID should be responded to. Then, the self-ID learning unit 25 calculates the value ID_INV in which the upper to lower bits of the ID are exchanged. This is because the ID is transmitted in the LSB first in the frame FR and is dominant (0), so that the value corresponding to the priority of the ID can be calculated by exchanging the upper to lower bits.
 その後、自己ID学習部25は、S25においてメモリ33に記憶されている調停用のIDよりも小さい値であるか否かを判定し、小さければ優先順位の高い値ID_INVとしてメモリ33に上書きして書換える。これにより、自己ID学習部25は、他ノード1b、1cとの間で用いる調停用のIDを学習できる。 After that, the self-ID learning unit 25 determines whether or not the value is smaller than the arbitration ID stored in the memory 33 in S25, and if it is smaller, overwrites the memory 33 with the value ID_INV having a higher priority. rewrite. As a result, the self-ID learning unit 25 can learn the arbitration ID used with the other nodes 1b and 1c.
 自己ID学習部25は、調停に使用可能な値ID_INVのビット列を学習しメモリ33に記憶させた後、自ノード1aのIDとして識別するためのビット数Nを学習する。具体的には、図24に例示したように、自己ID学習部25は、S27においてメモリ33に記憶済の値ID_INVをロードした後、S28においてID_INV-1を計算し、S29において値ID_INV-1の桁下がりパリティを演算し、値ID_INV-1のMSBとして設定する。 The self-ID learning unit 25 learns the bit string of the value ID_INV that can be used for arbitration, stores it in the memory 33, and then learns the number of bits N for identifying as the ID of the own node 1a. Specifically, as illustrated in FIG. 24, the self-ID learning unit 25 loads the stored value ID_INV in the memory 33 in S27, then calculates ID_INV-1 in S28, and calculates the value ID_INV-1 in S29. The carry parity of is calculated and set as the MSB of the value ID_INV-1.
 また、自己ID学習部25は、S30において値ID_INVと値ID_INV-1と一致する上位Nビットを決定しNを出力する。そして、自己ID学習部25は、S31における値ID_INV-1の上位Nビットを、S33において上位ビットから下位ビットの順を入れ替えながら出力する。 Further, the self-ID learning unit 25 determines an upper N bit that matches the value ID_INV and the value ID_INV-1 in S30, and outputs N. Then, the self-ID learning unit 25 outputs the upper N bits of the value ID_INV-1 in S31 while changing the order of the upper bits to the lower bits in S33.
 自己ID学習部25は、上位Nビットを自ノード1aのIDの識別用のビット列として学習できる。また、自己ID学習部25は、S32における値ID_INV-1の下位7-Nビットを、S34において上位ビットから下位ビットの順を入れ替えながら出力する。この下位7-Nビットは、自ノード1aのID認識後、調停時に利用されるビットとなる。 The self-ID learning unit 25 can learn the upper N bits as a bit string for identifying the ID of the self-node 1a. Further, the self-ID learning unit 25 outputs the lower 7-N bits of the value ID_INV-1 in S32 while changing the order of the upper bits to the lower bits in S34. The lower 7-N bits become bits used at the time of arbitration after recognizing the ID of the own node 1a.
 このような過程を経て、自己ID学習部25は、自ノード1aのIDとして識別するためのビット数Nを学習でき、さらに調停する際に利用可能なN+1ビット目以降を学習できる。CXPI通信に適用した例を示したが、それぞれ、自ノード1aが応答すべきIDと、ID領域でのエラー生成用のビット列の学習方法として、LIN通信にも適用できる。 Through such a process, the self-ID learning unit 25 can learn the number of bits N for identifying as the ID of the own node 1a, and can further learn the N + 1th bit and subsequent bits that can be used for arbitration. An example applied to CXPI communication is shown, but each can also be applied to LIN communication as a learning method of an ID to be responded to by the own node 1a and a bit string for error generation in the ID area.
 従来技術においては、車両のグレード、ディーラーオプションなどにより、使用ECUの種類や個数が変化した場合、予め電源の制御系統を最多の構成でも使用できるように専用のウェイクアップ用のパルス列や電源配線を分類しておく必要があり、個々のECUでの設定に加え、マスタノードでそれらのウェイクアップや電源を管理する必要が生じる。このため、マスタノードでの処理や配線が煩雑化し、使用ECUの少ない構成の車両では無駄なコストが生じてしまう問題があった。また、新旧バージョンの構成の異なるECUが混在した場合や、従来別々の通信バス2に接続されていたECUが同一の通信バス2に接続されるように変更された場合、グループ分けが困難になるといった問題があった。 In the conventional technology, when the type and number of ECUs used change depending on the grade of the vehicle, dealer options, etc., a dedicated wake-up pulse train and power supply wiring are provided so that the power supply control system can be used in advance even with the largest number of configurations. It is necessary to classify them, and in addition to the settings in each ECU, it is necessary to manage their wakeup and power supply in the master node. For this reason, there is a problem that the processing and wiring in the master node become complicated, and a wasteful cost occurs in a vehicle having a configuration in which the number of ECUs used is small. Further, when ECUs having different configurations of old and new versions are mixed, or when the ECUs conventionally connected to different communication buses 2 are changed to be connected to the same communication bus 2, it becomes difficult to group them. There was a problem such as.
 本実施形態によれば、使用ECUの種類や個数が変化したり、通信バス2への接続状態が変化したり、新旧バージョンの構成の異なるECUが混在する場合があっても、自ノード1aのIDを学習する自己ID学習部25を設けているため、自己ID学習部25がそれぞれの通信ノード1a、1b、1cに合わせて応答すべきIDを学習でき、主制御部10が起動していない間でも当該主制御部10の代わりに通信制御を実行できる。これにより上記した分類分け、グループ分けを行う必要がなくなり、個々のECUでの設定やマスタノードでの処理を必要最小限にすることができる。 According to this embodiment, even if the type and number of ECUs used change, the connection state to the communication bus 2 changes, or ECUs having different configurations of old and new versions may coexist, the own node 1a Since the self-ID learning unit 25 for learning the ID is provided, the self-ID learning unit 25 can learn the ID to be responded to according to each communication node 1a, 1b, 1c, and the main control unit 10 is not activated. Communication control can be executed instead of the main control unit 10 in between. As a result, it is not necessary to perform the above-mentioned classification and grouping, and the setting in each ECU and the processing in the master node can be minimized.
 また図25は、図4に代わるフローチャートを示しており特徴部分だけ抜粋して示している。図25に図示していない処理内容は、図4に示す処理内容と同様であるため説明を省略する。 Further, FIG. 25 shows a flowchart that replaces FIG. 4, and only the characteristic parts are excerpted and shown. Since the processing contents not shown in FIG. 25 are the same as the processing contents shown in FIG. 4, the description thereof will be omitted.
 図25に示すように、ID等識別部26は、自ノード1aに対するIDを判断するための情報がメモリ33に未設定もしくは学習が不十分である場合、他ノード1bからフレームFRが通信バス2に送出されていても、S6にてNOと判定し応答すべきIDでないと判定する。 As shown in FIG. 25, when the information for determining the ID for the own node 1a is not set in the memory 33 or the learning is insufficient, the frame FR from the other node 1b is the communication bus 2 of the ID identification unit 26. Even if it is sent to, it is determined as NO in S6 and it is determined that the ID is not a response.
 ID等識別部26は、S6にて応答すべきIDでないと判定したとしても、フレームFRのヘッダHに異常無しと判定し、且つ、自己ID学習部25により主制御部10が受信信号RXに含まれるIDに対するレスポンスREを出力していないことを検出した場合、自ノード1aの起動を必要と判定する。 Even if the ID identification unit 26 determines that the ID should not be responded to in S6, it determines that there is no abnormality in the header H of the frame FR, and the self-ID learning unit 25 causes the main control unit 10 to use the received signal RX. When it is detected that the response RE for the included ID is not output, it is determined that the own node 1a needs to be started.
 ID等識別部26により自ノード1aの起動を必要と判定した場合、副制御部20は、S7において起動部としてのウェイクアップ信号送出部27からウェイクアップパルス信号を主制御部10に送信することで起動すると良い。電源制御部21により主制御部10を起動しても良い。これにより、主制御部10を起動でき、自己ID学習部25は、自ノード1aの主制御部10のレスポンスREから応答すべきIDを学習できる。 When the ID identification unit 26 determines that the own node 1a needs to be activated, the sub-control unit 20 transmits a wake-up pulse signal from the wake-up signal transmission unit 27 as the activation unit to the main control unit 10 in S7. Start with. The main control unit 10 may be activated by the power supply control unit 21. As a result, the main control unit 10 can be activated, and the self-ID learning unit 25 can learn the ID to be responded to from the response RE of the main control unit 10 of the own node 1a.
 図面中、1a~1cは通信ノード、このうち、1aは自ノード、1b、1cは他ノードを示す。10は主制御部、20は副制御部、21は起動部としての電源制御部、23は送信制御部、26はID等識別部、ID途中監視部、ID監視部を示す。27は起動部としてのウェイクアップ信号送出部、31はエラー駆動部としてのトランスミッタ、を示す。 In the drawing, 1a to 1c indicate a communication node, of which 1a indicates a local node, 1b and 1c indicate another node. 10 is a main control unit, 20 is a sub control unit, 21 is a power supply control unit as an activation unit, 23 is a transmission control unit, 26 is an ID identification unit, an ID intermediate monitoring unit, and an ID monitoring unit. Reference numeral 27 indicates a wake-up signal transmission unit as a start-up unit, and 31 indicates a transmitter as an error drive unit.
 本開示は、前述した実施形態に準拠して記述したが、当該実施形態や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範畴や思想範囲に入るものである。
 
Although the present disclosure has been described in accordance with the above-described embodiment, it is understood that the present disclosure is not limited to the embodiment or structure. The present disclosure also includes various variations and variations within a uniform range. In addition, various combinations and forms, as well as other combinations and forms, including one element, more, or less, are within the scope and scope of the present disclosure.

Claims (13)

  1.  通信バスに接続され前記通信バスに送出されるフレームに含まれるIDに基づいて自ノードに関係する通信か否かを識別する機能を備える通信装置であって、
     通常動作モード及び前記通常動作モードより低消費電力で動作する低消費電力モードを備え、前記低消費電力モードから前記通常動作モードに起動完了した後に他ノードとの間で通信制御可能に構成される主制御部(10)と、
     前記主制御部とは別に備えられると共に前記通信バスに送出される前記フレームの検出結果に基づいて前記自ノードに関係するIDを含む前記フレームが送出されているか否か識別し、前記自ノードに関係しない場合に前記主制御部を前記低消費電力モードで維持し、前記自ノードに関係する場合に前記主制御部を前記低消費電力モードから起動させると共に、前記主制御部が起動完了するまでの間、前記自ノードに関係する前記フレームの再送を促すように前記主制御部の代わりに通信制御する副制御部(20)と、
     を備える通信装置。
    A communication device having a function of identifying whether or not communication is related to a local node based on an ID included in a frame connected to the communication bus and transmitted to the communication bus.
    It has a normal operation mode and a low power consumption mode that operates with lower power consumption than the normal operation mode, and is configured to be capable of controlling communication with other nodes after the startup from the low power consumption mode to the normal operation mode is completed. Main control unit (10) and
    It is provided separately from the main control unit, and based on the detection result of the frame transmitted to the communication bus, it is identified whether or not the frame including the ID related to the own node is transmitted to the own node. When it is not related, the main control unit is maintained in the low power consumption mode, and when it is related to the own node, the main control unit is started from the low power consumption mode, and until the main control unit is started up. During, the sub-control unit (20) that controls communication instead of the main control unit so as to prompt the retransmission of the frame related to the own node,
    A communication device equipped with.
  2.  前記副制御部は、
     前記主制御部が前記低消費電力モードから起動していないときに、前記主制御部の代わりに前記通信バスに送出されるIDを途中まで監視するID途中監視部(26)と、
     前記ID途中監視部により前記自ノードに関係するIDと判断されるときに当該IDを途中から調停勝ちするIDに変更して前記通信バスに送出し、前記主制御部が起動完了するまでの時間に対応するカウント値を含むデータ、又は、前記他ノードに対し前記自ノードに関する通信の再送を促すように予め定義したデータを送信する送信制御部(23)と、
     を備える請求項1記載の通信装置。
    The sub-control unit
    When the main control unit is not activated from the low power consumption mode, the ID intermediate monitoring unit (26) that monitors the ID transmitted to the communication bus in place of the main control unit halfway,
    When the ID intermediate monitoring unit determines that the ID is related to the own node, the ID is changed from the middle to an ID that wins arbitration and sent to the communication bus, and the time until the main control unit completes activation. A transmission control unit (23) for transmitting data including a count value corresponding to the above-mentioned data or data defined in advance so as to prompt the other node to retransmit communication relating to the own node.
    The communication device according to claim 1.
  3.  前記副制御部は、
     前記主制御部が前記低消費電力モードから起動完了していないときに、前記主制御部の代わりに前記通信バスに送出されるIDを監視するID監視部(26)と、
     前記ID監視部により前記自ノードに対するIDと判断されるときに、前記主制御部が起動完了するまでの時間に対応するカウント値を含むように予め定義されたデータ、又は、前記データに付加する誤り検出符号について故意にエラーを含むように設定されたデータを送信する送信制御部(23)と、
     を備える請求項1記載の通信装置。
    The sub-control unit
    An ID monitoring unit (26) that monitors an ID sent to the communication bus instead of the main control unit when the main control unit has not completed activation from the low power consumption mode.
    When the ID monitoring unit determines that the ID is for the own node, the data is predetermined to include a count value corresponding to the time until the main control unit completes activation, or is added to the data. A transmission control unit (23) that transmits data that is intentionally set to include an error for an error detection code, and a transmission control unit (23).
    The communication device according to claim 1.
  4.  前記副制御部は、
     前記主制御部が前記低消費電力モードから起動完了していないときに、前記主制御部の代わりに前記通信バスに送出されるIDを監視するID監視部(26)と、
     前記ID監視部により前記自ノードに対するIDと判断されるときに、IDパリティエラー、又はビットエラー等の所定のエラーを生じるように前記通信バスを駆動するエラー駆動部(31)と、
     を備える請求項1記載の通信装置。
    The sub-control unit
    An ID monitoring unit (26) that monitors an ID sent to the communication bus instead of the main control unit when the main control unit has not completed activation from the low power consumption mode.
    An error driving unit (31) that drives the communication bus so as to generate a predetermined error such as an ID parity error or a bit error when the ID monitoring unit determines that the ID is for the own node.
    The communication device according to claim 1.
  5.  前記自ノードに対するIDと判断したタイミングから予め設定した時間を経過した場合に前記主制御部が起動完了したと判定する起動完了判定部(22)を備える請求項1から4の何れか一項に記載の通信装置。 The item according to any one of claims 1 to 4, further comprising an activation completion determination unit (22) for determining that the main control unit has completed activation when a preset time has elapsed from the timing of determining the ID for the own node. The communication device described.
  6.  前記主制御部が出力する出力信号を用いて前記主制御部が起動完了したか否かを判定する起動完了判定部(22)を備える請求項1から4の何れか一項に記載の通信装置。 The communication device according to any one of claims 1 to 4, further comprising an activation completion determination unit (22) for determining whether or not the main control unit has been activated by using an output signal output by the main control unit. ..
  7.  前記主制御部から送信信号として出力される、前記通信バスで規定されたパルスを用いて前記主制御部が起動完了したか否かを判定する起動完了判定部(22)を備える請求項1から4の何れか一項に記載の通信装置。 From claim 1 comprising a start-up completion determination unit (22) for determining whether or not the main control unit has been started up using a pulse specified by the communication bus, which is output as a transmission signal from the main control unit. The communication device according to any one of 4.
  8.  前記主制御部の出力信号を用いて前記主制御部が起動シーケンス実行中と判定したタイミングから、予め設定された時間を経過した場合に前記主制御部が起動完了したと判定する起動完了判定部(22)を備える請求項1から4の何れか一項に記載の通信装置。 A start-up completion determination unit that determines that the main control unit has started when a preset time has elapsed from the timing when the main control unit determines that the start-up sequence is being executed using the output signal of the main control unit. The communication device according to any one of claims 1 to 4, comprising (22).
  9.  前記通信バスのバスクロック、又は、前記バスクロックを分周したクロックを、前記主制御部が起動開始するタイミングから起動完了タイミングまでの測定に用いる請求項1から8の何れか一項に記載の通信装置。 6. Communication device.
  10.  前記自ノードに対するIDを判断するための情報、及び、前記主制御部が起動完了するまでの間に送信するデータを外部から設定可能にしている請求項1から9の何れか一項に記載の通信装置。 The item according to any one of claims 1 to 9, wherein the information for determining the ID for the own node and the data to be transmitted until the main control unit completes activation can be set from the outside. Communication device.
  11.  前記副制御部は、
     前記通信バスに送出された信号から前記自ノードに対する前記IDを判断するための情報を、前記主制御部が通常動作中に送信する送信信号を検出することで学習する自己ID学習部(25)を備える請求項1から10の何れか一項に記載の通信装置。
    The sub-control unit
    Self-ID learning unit (25) that learns information for determining the ID for the own node from the signal transmitted to the communication bus by detecting the transmission signal transmitted by the main control unit during normal operation. The communication device according to any one of claims 1 to 10.
  12.  前記副制御部は、
     前記自ノードに対するIDを判断するための情報が未設定もしくは学習が不十分であり、前記主制御部から前記他ノードに対して応答がなければ、前記主制御部を起動する起動部(21、27)を備える請求項11記載の通信装置。
    The sub-control unit
    If the information for determining the ID for the own node is not set or the learning is insufficient and there is no response from the main control unit to the other node, the activation unit (21, 27) The communication device according to claim 11.
  13.  前記副制御部は、
     前記主制御部が前記通信バスに送受信するための送信信号及び受信信号の通信線とは別に構成され前記主制御部との間で設定するための設定用通信線(35)を備え、
     前記自ノードに対するIDと判断するための情報、又は、前記主制御部が起動完了するまでの間に応答するデータを前記主制御部から前記設定用通信線を通じて設定可能とした請求項1から12の何れか一項に記載の通信装置。
     
    The sub-control unit
    The main control unit is configured separately from the communication lines of the transmission signal and the reception signal for transmission and reception to the communication bus, and includes a setting communication line (35) for setting with the main control unit.
    Claims 1 to 12 that make it possible to set information for determining an ID for the own node or data that responds until the main control unit completes activation from the main control unit through the setting communication line. The communication device according to any one of the above.
PCT/JP2021/034809 2020-10-09 2021-09-22 Communication device WO2022075064A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-171201 2020-10-09
JP2020171201A JP7347391B2 (en) 2020-10-09 2020-10-09 Communication device

Publications (1)

Publication Number Publication Date
WO2022075064A1 true WO2022075064A1 (en) 2022-04-14

Family

ID=81126817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/034809 WO2022075064A1 (en) 2020-10-09 2021-09-22 Communication device

Country Status (2)

Country Link
JP (1) JP7347391B2 (en)
WO (1) WO2022075064A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005123715A (en) * 2003-10-14 2005-05-12 Fujitsu Ltd Network relay apparatus
JP2013062722A (en) * 2011-09-14 2013-04-04 Denso Corp Communication system and slave node constituting the communication system
JP2013107453A (en) * 2011-11-18 2013-06-06 Denso Corp Failure diagnosis system and diagnosis assist device constituting the same
JP2020167596A (en) * 2019-03-29 2020-10-08 キヤノン株式会社 Information processing device, control method of information processing device, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005123715A (en) * 2003-10-14 2005-05-12 Fujitsu Ltd Network relay apparatus
JP2013062722A (en) * 2011-09-14 2013-04-04 Denso Corp Communication system and slave node constituting the communication system
JP2013107453A (en) * 2011-11-18 2013-06-06 Denso Corp Failure diagnosis system and diagnosis assist device constituting the same
JP2020167596A (en) * 2019-03-29 2020-10-08 キヤノン株式会社 Information processing device, control method of information processing device, and program

Also Published As

Publication number Publication date
JP7347391B2 (en) 2023-09-20
JP2022062965A (en) 2022-04-21

Similar Documents

Publication Publication Date Title
JP6974686B2 (en) Power saving mode for USB power transfer sourcing devices
US7881344B2 (en) Communication network system and wakeup method for un-wakeup node
US9444613B2 (en) Sensor, control unit and method to communicate between sensors and control units
US7783908B2 (en) Method and device to wake-up nodes in a serial data bus
US8819466B2 (en) Method and device for waking users of a bus system and corresponding users
US7890229B2 (en) Method and device for waking users of a bus system, and corresponding users
US9081565B2 (en) Communication network system for detect and wake up a network node that does not properly recognize a wake up frame
KR101380683B1 (en) Transceiver
CN211223102U (en) Bidirectional wake-up circuit of battery management system, battery management system and electric vehicle
US11432238B2 (en) Transceiver-based handshake/power-reduction
CN113691430B (en) Method for operating a communication bus, corresponding system, device and vehicle
JP2013516136A (en) Bus transceiver configuration
KR101526413B1 (en) Transceiver ic and operationg mwethod thereof
CN110593655B (en) Control method of electronic lockset, key and lock
US20130067129A1 (en) Communication system and slave node
US20180173665A1 (en) Hard reset over i3c bus
US11616843B2 (en) Method and apparatus for operating communication node using network management function in vehicle network
GB2424300A (en) Establishing communication using stored protocol configuration parameter
EP3761568A1 (en) Method of controlling communication over a local interconnect network bus
WO2022075064A1 (en) Communication device
CN114793186A (en) Multi-master power supply communication system, method and device
US7071838B2 (en) Coupling signals via a coupling arrangement
CN111049638B (en) Method and device for reducing Ethernet power consumption of vehicle
JP2766237B2 (en) Printer with radio
JP2008022079A (en) Communication network system and notice method of reception diagnostic result

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

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

Country of ref document: EP

Kind code of ref document: A1