WO2013069103A1 - 電子制御装置及びマイクロコンピュータの制御方法 - Google Patents

電子制御装置及びマイクロコンピュータの制御方法 Download PDF

Info

Publication number
WO2013069103A1
WO2013069103A1 PCT/JP2011/075801 JP2011075801W WO2013069103A1 WO 2013069103 A1 WO2013069103 A1 WO 2013069103A1 JP 2011075801 W JP2011075801 W JP 2011075801W WO 2013069103 A1 WO2013069103 A1 WO 2013069103A1
Authority
WO
WIPO (PCT)
Prior art keywords
microcomputer
sleep state
microcomputers
electronic control
control device
Prior art date
Application number
PCT/JP2011/075801
Other languages
English (en)
French (fr)
Inventor
松下 直樹
Original Assignee
トヨタ自動車 株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by トヨタ自動車 株式会社 filed Critical トヨタ自動車 株式会社
Priority to JP2013542742A priority Critical patent/JP5780310B2/ja
Priority to US14/345,873 priority patent/US9430026B2/en
Priority to DE112011105828.4T priority patent/DE112011105828B4/de
Priority to CN201180074716.0A priority patent/CN103917938B/zh
Priority to PCT/JP2011/075801 priority patent/WO2013069103A1/ja
Publication of WO2013069103A1 publication Critical patent/WO2013069103A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3228Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3253Power saving in bus
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present invention relates to an electronic control device including a plurality of microcomputers and a control method for the plurality of microcomputers.
  • a vehicle such as an automobile includes an electronic control device that constitutes a navigation system, an electronic control device that controls various in-vehicle devices such as an engine and a brake by a microcomputer, and a device such as a meter that displays various states of the vehicle.
  • Many electronic control devices such as an electronic control device to be controlled are mounted.
  • the electronic control devices are electrically connected by a communication line to form a vehicle network, and various vehicle data are transmitted and received between the electronic control devices via the vehicle network. ing.
  • Patent Document 1 when the microcomputer does not need to perform processing, for example, when the vehicle is stopped, the power consumption is reduced by stopping the oscillation operation of the clock signal while maintaining the internal state. It is also under consideration to provide a microcomputer with a low power consumption mode that reduces power consumption. In an electronic control device including a microcomputer having such a low power consumption mode, the low power consumption mode and the normal power consumption mode can be switched according to the state of the vehicle, and the power consumed by the electronic control device can be reduced. Can be reduced.
  • FIG. 12 it is also considered to provide a single electronic control device 10 with a plurality of microcomputers (control circuits) 50a and 50b that have been provided for each electronic control device. Yes.
  • the electronic control device 10 including the plurality of microcomputers 50a and 50b one transceiver 30 that transmits and receives vehicle data is shared by the microcomputers 50a and 50b.
  • an arbitration circuit 20 for arbitrating control signals output from the microcomputers 50a and 50b is provided between the transceiver 30 and the microcomputers 50a and 50b.
  • the electronic control device 10 including the plurality of microcomputers 50a and 50b is provided with a function for reducing the power consumption, the microcomputers 50a and 50b are shifted to the low power consumption mode. For this reason, the function required for the arbitration circuit 20 must be more advanced. That is, when a plurality of microcomputers share the transceiver 30, the configuration of the electronic control device itself becomes complicated.
  • the present invention has been made in view of such a situation, and an object of the present invention is to make it easier to reduce power consumed by the microcomputers while allowing a plurality of microcomputers to smoothly exchange signals.
  • An object of the present invention is to provide an electronic control device and a microcomputer control method that can be realized based on the configuration.
  • an electronic control device is an electronic control device that has a plurality of microcomputers and communicates with other devices via a communication line, and each of the plurality of microcomputers includes: As a mode to reduce the power consumption of the electronic control device, the microcomputer that has made a sleep request transitions to the sleep state. And having a low power consumption mode for transitioning the communication unit to the sleep state after all microcomputers have entered the sleep state.
  • a microcomputer control method is a microcomputer control method for controlling a plurality of microcomputers of an electronic control device having a plurality of microcomputers and communicating with other devices.
  • each of the plurality of microcomputers can share a communication unit that is provided between the communication lines and transmits and receives signals, and is a mode that reduces the power consumption of the electronic control device.
  • a step of shifting to the power mode a first step of transitioning the microcomputer that has requested sleep to the sleep state and a second step of transitioning the communication unit to the sleep state after all the microcomputers have shifted to the sleep state. Steps.
  • an electronic control device including one microcomputer and one communication unit
  • the communication unit when the microcomputer transitions to the sleep state, the communication unit also transitions to the sleep state. Therefore, when one of the electronic control devices including a plurality of microcomputers that perform such control transitions to the sleep state, the communication unit transitions to the sleep state in conjunction with this, and this communication unit is Other shared microcomputers cannot continue communication.
  • the communication unit does not transition to the sleep state only when one of the plurality of microcomputers constituting the electronic control device transitions to the sleep state. Therefore, other microcomputers in a normal operation state that has not transitioned to the sleep state can continue communication with other electronic control devices connected to the communication unit via the communication unit. .
  • the communication unit transitions to the sleep state in conjunction with this. For this reason, transmission and reception of signals via the communication unit can be continued until all the microcomputers constituting the electronic control device transition to the sleep state.
  • the control circuit that manages the operation state of each microcomputer and the signal transmitted from each microcomputer is provided with the communication unit and the microcomputer. It is not necessary to provide between. For this reason, it becomes possible to make the electronic control device having a plurality of microcomputers a simpler configuration. As a result, signals can be smoothly exchanged by the microcomputer, and the power consumed by the microcomputer can be reduced with a simpler configuration.
  • each of the plurality of microcomputers includes a standby terminal that is selectively set to a logic level “H”, “L”, and high impedance with the communication unit.
  • the communication unit transitions to a sleep state when any of the standby terminals of the plurality of microcomputers is set to a logic level “L”.
  • the microcomputer that transitions to the sleep state When shifting to the power consumption mode, the output of the standby terminal is set to high impedance.
  • the communication unit transitions to a sleep state in conjunction with this.
  • the logic level “L” is superior to the logic level “H”
  • the logic level By treating “L” with priority, the communication unit may transition to the sleep state. That is, the logic level is “H”, and the communication unit that relays the signal of the microcomputer may shift to the sleep state even though the microcomputer is communicating.
  • the communication unit shifts to the sleep state in conjunction with the high impedance. There is nothing. That is, a part of the microcomputers can be shifted to the sleep state without affecting the operation state of the communication unit.
  • the standby terminal of the microcomputer that transitions to the sleep state lastly after each standby terminal of the plurality of microcomputers is gradually shifted to high impedance upon transition to the low power consumption mode. Transition to logic level “L”.
  • each of the microcomputers is provided with a standby terminal that is selectively set to a logic level “H”, “L”, and high impedance with the communication unit, and the communication
  • the standby state of each of the plurality of microcomputers is shifted to a sleep state when a standby terminal of the plurality of microcomputers is set to a logic level “L”.
  • the standby terminals of the microcomputer that transits to the sleep state are sequentially set to high impedance, and only the standby terminal of the microcomputer that transits to the sleep state at the end is transited to the logic level “L”. Then, the communication unit transitions to the sleep state when the standby terminal of the microcomputer that finally transitions to the sleep state transitions to the logic level “L”. Therefore, the operation state of the communication unit is accurately maintained until the standby terminal of the microcomputer that finally transits to the sleep state becomes the logic level “L”, and the communication state via this communication unit can be accurately maintained. It becomes possible. This makes it possible to accurately control the operation state of the communication unit using the logic level and state that can be set at the standby terminal of the microcomputer.
  • the standby terminals of the plurality of microcomputers are simultaneously set to the logic level “L”. Transition to.
  • each of the microcomputers is provided with a standby terminal that is selectively set to a logic level “H”, “L”, and high impedance with the communication unit, and the communication
  • the standby state transitions to a sleep state when any of the standby terminals of the plurality of microcomputers is set to a logic level “L”, and the first step causes the plurality of microcomputers to transition to the sleep state simultaneously.
  • the standby terminals of the plurality of microcomputers are simultaneously shifted to a logic level “L”.
  • the standby terminals of the microcomputers collectively transition to the logic level “L”. Therefore, even when the microcomputers simultaneously transition to the sleep state, the communication unit can transition to the sleep state in conjunction with the sleep state of the microcomputer.
  • each of the plurality of microcomputers is connected to a dedicated communication line and transmits information indicating that the microcomputer transits to the sleep state on the dedicated communication line. Based on information transmitted through a dedicated communication line, the microcomputer monitors the operating state of another microcomputer that shares the communication unit, and based on the monitored operating state, the microcomputer detects the transition to the sleep state.
  • the state of the standby terminal to be set is determined to be either high impedance or logic level “L”.
  • each of the plurality of microcomputers is connected to a dedicated communication line, and each microcomputer is caused to transmit information indicating the transition to the sleep state on the dedicated communication line.
  • the operation state of the other microcomputer is monitored based on the information transmitted on the dedicated communication line, and the state of the standby terminal to be set by the microcomputer upon the transition to the sleep state based on the monitored operation state Is determined to be either high impedance or logic level "L".
  • each microcomputer can monitor the operating state of another microcomputer sharing the communication unit based on a signal transmitted via a dedicated communication line connecting the microcomputers. It becomes possible. For this reason, each microcomputer can always monitor whether or not other microcomputers sharing the communication unit are in the sleep state. Based on the monitoring result, each microcomputer enters the sleep state. When the transition is made, it is possible to determine whether the standby terminal is set to high impedance or logic level “L”. As a result, it is possible to accurately determine the state of the standby terminal of each microcomputer, and thus it is possible to more accurately manage the operation state of the communication unit that transitions to the sleep state according to this state. .
  • the sleep state of the corresponding microcomputer is canceled and transmitted from an electronic control device different from the electronic control device in the sleep state.
  • the communication unit receives the received signal, the low power consumption mode of the electronic control device in the sleep state is canceled.
  • the step of canceling the sleep state of the corresponding microcomputer is executed, and the electronic control is different from the electronic control device in the sleep state.
  • the communication unit receives a signal transmitted from the device, the step of canceling the low power consumption mode of the electronic control device in the sleep state is executed.
  • the microcomputer when a signal is emitted from a controlled object controlled by the microcomputer, the microcomputer is released from the sleep state, and various controls based on the signal input from the controlled object are executed by the microcomputer.
  • the communication unit receives a signal from another electronic control device connected to the communication line, the low power consumption mode of the electronic control device is canceled.
  • control according to the signal which the communication part received is performed by each microcomputer which comprises the said electronic controller. Therefore, the sleep state of each microcomputer is maintained until various controls by the microcomputers constituting the electronic control device are required, while the sleep state of each microcomputer is required after various controls are required. Is released, and control to be executed by each microcomputer is performed.
  • it is possible to maintain a function required for the electronic control device while ensuring a period in which the electronic control device can execute the low power consumption mode and reducing the power consumption.
  • the microcomputer to which the signal is input based on a signal being input from a control target controlled by any of the plurality of microcomputers The step of canceling the sleep state and the step of canceling the sleep state of the microcomputer to which no signal is input from the control target are sequentially executed.
  • Steps for canceling the sleep state of the microcomputer are sequentially executed.
  • the sleep state of the communication unit to which this signal is input is changed. Canceled. Next, the sleep state of each microcomputer sharing the communication unit is released. For this reason, when a signal is input from the different electronic control device to the electronic control device, the sleep state of the communication unit and each microcomputer constituting the electronic control device is appropriately canceled, and based on the signal input from the control target Various controls can be executed by the electronic control unit. As a result, it is possible to more smoothly execute various controls by the microcomputer from which the sleep state is released while releasing the sleep state of the microcomputer at an appropriate timing.
  • the block diagram which shows an example of the vehicle network comprised by the electronic control apparatus provided with the microcomputer about one Embodiment of the electronic control apparatus concerning this invention, and the control method of a microcomputer.
  • the block diagram which shows schematic structure of an electronic control apparatus provided with a some microcomputer.
  • the flowchart which shows the switching procedure to the low power consumption mode of the embodiment.
  • the flowchart which shows an example of the regular transmission procedure of the data frame by a microcomputer.
  • the sequence diagram which shows the switching aspect of an operation mode when the microcomputer which comprises an electronic controller makes a sleep request
  • the sequence diagram which shows the switching aspect of an operation mode when the microcomputer which comprises an electronic controller makes a sleep request
  • the sequence diagram which shows the return
  • the sequence diagram which shows the return
  • the time chart which shows.
  • the block diagram which shows schematic structure of the conventional electronic control apparatus.
  • a vehicle C is configured as a standard system equipped with electronic control units (ECUs) 100A to 100F that electronically control various in-vehicle devices such as engines and brakes, and a communication line BS1.
  • ECUs electronice control units
  • the vehicle C includes a body network composed of electronic control devices 100G to 100I that control body devices such as a meter and an air conditioner that display various states of the vehicle and a communication line BS2 as a basic system.
  • the vehicle C includes an information system network including electronic control devices 100J to 100M of various information equipment systems such as a car navigation system that performs route guidance from the current location to the destination and the communication line BS3. ing.
  • the electronic control devices 100A to 100F constituting the control system network can operate, for example, both when the vehicle is turned off and when the ignition is turned on.
  • the electronic control devices 100G to 100I constituting the body network for example, cannot operate when the vehicle is turned off, but can operate when the ignition is turned on.
  • the electronic control devices 100J to 100M constituting the information network for example, cannot operate when the accessory of the vehicle is off, but can operate when the accessory is on.
  • These networks are electrically connected via a gateway 100N that is also used for relaying data communication with a wireless communication device, for example.
  • a gateway 100N that is also used for relaying data communication with a wireless communication device, for example.
  • various display support for the driver is performed based on the information about the vehicle operation acquired from various electronic control devices such as the engine control device and the brake control device.
  • the communication lines BS1 (BS2, BS3) to which the electronic control device 100A is connected are multiplex communication lines that perform multiplex communication in a time division manner. It has a pair of communication lines BS1a and BS1b composed of CANH and CANL whose ends are connected to each other by a terminating resistor.
  • the communication line BS1 is a CAN (control area network) that performs data transmission using two BS1a and BS1b, and performs bus communication based on the differential voltage of each communication line BS1a and BS1b according to a predetermined communication protocol.
  • the electronic control unit 100A includes, for example, a first microcomputer 110 and a second microcomputer 120 that perform various arithmetic processes.
  • the first microcomputer 110 and the second microcomputer 120 perform different control processes according to their functions.
  • the electronic control device 100A is connected to the communication lines BS1a and BS1b and communicates with the communication bus driver 130, which is a communication unit that exchanges data via the communication lines BS1a and BS1b. And an internal memory ROM and RAM for storing data.
  • the communication bus driver 130 is shared by the microcomputers 110 and 120.
  • the microcomputers 110 and 120 control the communication bus driver 130 to generate a differential voltage corresponding to the transmission data in the communication lines BS1a and BS1b during data transmission, and receive data demodulated by the communication bus driver 130. To do.
  • the microcomputers 110 and 120 include communication controllers 111 and 121 that control transmission and reception of signals transmitted and received by the microcomputers 110 and 120, respectively.
  • Communication controllers 111 and 121 provided in the microcomputers 110 and 120 are connected to each other via a communication line 140.
  • the communication controllers 111 and 121 are connected to the communication controller 131 provided in the communication bus driver 130 via the communication line 141. Signals are exchanged between the microcomputers 110 and 120 and the communication bus driver 130 via these communication lines 140 and 141.
  • the microcomputers 110 and 120 include standby terminals (STBN) 112 and 122 for selectively outputting signals of logic levels “high (H)” and “low (L)”, respectively.
  • the standby terminals 112 and 122 of the present embodiment have, for example, a three-state buffer, and have high impedance in addition to a state in which signals of logic levels “H” and “L” are output. It is possible to transition to a state.
  • the standby terminals 112 and 122 are connected to an input standby terminal 132 provided in the communication bus driver 130 via a communication line 142.
  • the microcomputers 110 and 120 receive signals (for example, a logic level “L”) for returning the microcomputers 110 and 120 that have transitioned to the sleep state from the wake-up terminal 133 provided in the communication bus driver 130 to the wake-up state. ) Are input.
  • Wake-up terminals 113 and 123 are provided. These wakeup terminals 113 and 123 are connected to a wakeup terminal 133 provided in the communication bus driver 130 via a communication line 143.
  • the communication bus driver 130 is controlled so that a predetermined differential voltage is generated in CANH and CANL of the communication lines BS1a and BS1b based on a transmission command input from the microcomputers 110 and 120.
  • the communication bus driver 130 detects a differential voltage generated between CANH and CANL of the communication lines BS1a and BS1b as a signal, performs a demodulation process on received data, and transmits the received data to the microcomputers 110 and 120.
  • the voltage applied from the communication bus driver 130 to the CANH of the communication line BS1 is normally adjusted to either the dominant side (for example, 3.5V) or the recessive side (for example, 2.5V). Further, the voltage applied from the communication bus driver 130 to the CANL of the communication line BS1 is normally adjusted to either the dominant side (for example, 1.5V) or the recessive side (for example, 2.5V).
  • the electronic control device 100A configured as described above may generate events such as ignition on, door opening, radio signal reception, and bus edge reception from other electronic control devices 100B to 100M when the vehicle C is turned off.
  • the normal operation mode is shifted to a low power consumption mode in which processing for reducing power consumption is performed.
  • the low power consumption mode in the present embodiment refers to a mode in which all the microcomputers 110 and 120 and the communication bus driver 130 that constitute the electronic control device 100A transition to the sleep state.
  • the electronic control unit 100A When the occurrence of an event is detected in the low power consumption mode when the ignition is off, the electronic control unit 100A is activated by canceling the low power consumption mode, and after the activation, the electronic control device 100A is connected via the communication lines BS1a and BS1b. Wake-up mode that enables communication. Furthermore, the electronic control device 100A shifts from the low power consumption mode to the wake-up mode when a signal associated with the occurrence of an event such as bus edge reception from the other electronic control devices 100B to 100M is input.
  • step S100 in FIG. 3 for example, when the control of the control target of the first microcomputer 110 (microcomputer M1) becomes unnecessary as the vehicle C stops, the power consumption of the first microcomputer 110 is reduced. In order to reduce it, the fact that the first microcomputer 110 transitions to the sleep state is declared. At this time, the logical levels of the standby terminals 112 and 122 of the microcomputers 110 and 120 in the wake-up state are, for example, the logical level “H”.
  • the first microcomputer 110 and the second microcomputer 120 control, for example, engine injection nozzles and steering as control targets (not shown) without using the communication bus driver 130.
  • the first microcomputer 110 of the present embodiment transmits a data frame indicating that the first microcomputer 110 shifts to the sleep state on the communication lines 140 and 141.
  • the data frame transmitted on the communication lines 140 and 141 is transmitted to the second microcomputer 120 and also transmitted to the other electronic control units 100B to 100M via the communication bus driver 130 (step S101).
  • the data frames indicating whether the microcomputers 110 and 120 are in the sleep state or the wake-up state are the communication lines 140 and 141, and It is periodically transmitted on the communication lines BS1 to BS3.
  • the second microcomputer 120 and other electronic control devices 100B to 100M can monitor the state of the first microcomputer 110.
  • a data frame indicating the state of each microcomputer is transmitted from each of the microcomputers constituting the second microcomputer 120 and the other electronic control units 100B to 100M, so that the first microcomputer 110 is also other than itself. It is possible to monitor the state of the microcomputer.
  • step S102 in FIG. 3 it is determined whether or not the timings when the sleep requests of both the microcomputers 110 and 120 constituting the electronic control device 100A are made are the same.
  • Step S103 it is determined whether all the microcomputers constituting the same electronic control device have already transitioned to the sleep state or have made a sleep request. That is, whether or not the second microcomputer 120 sharing the communication bus driver 130 with the first microcomputer 110 that has made a sleep request in step S100 has already transitioned to the sleep state or has made a sleep request. Is judged.
  • the first microcomputer 110 When the second microcomputer 120 has not transitioned to the sleep state and has not made a sleep request (step S103: NO), the first microcomputer 110 has a logic level of the standby terminal 112 of the microcomputer 110. Is changed from “H” to high impedance (step S104). Thus, when the standby terminal 112 of the microcomputer 110 becomes high impedance, the first microcomputer 110 transitions from the wake-up state to the sleep state (step S105).
  • the first microcomputer 110 receives the standby terminal 112 of the first microcomputer 110. Is changed from “H” to "L” (step S106). That is, the first microcomputer 110 changes its logical level to “L” and wakes up assuming that the first microcomputer 110 is the microcomputer that finally transitions to the sleep state in the electronic control unit 100A. Transition from state to sleep state. Then, when the standby terminal 112 of the first microcomputer 110 is changed to the logic level “L”, the communication bus driver 130 to which the logic level “L” is input transitions from the wake-up state to the sleep state ( Step S107). Thus, the electronic control unit 100A transitions from the normal operation mode to the low power consumption mode. Note that the standby terminal 112 having the logic level “L” is changed to high impedance after a predetermined time has elapsed.
  • Step S102 when the sleep requests of the microcomputers 110 and 120 constituting the electronic control device 100A are simultaneously made (step S102: YES), the logical levels of the standby terminals 112 and 122 are changed from “H” to “L”. (Step S108: YES, S109).
  • Step S108 YES, S109.
  • all the microcomputers 110 and 120 that constitute the electronic control device 100A transition to the sleep state, and the communication bus driver 130 transitions from the wake-up state to the sleep state.
  • the electronic control unit 100A transitions from the normal operation mode to the low power consumption mode.
  • the standby terminal 112 having the logic level “L” is changed to high impedance after a predetermined time has elapsed.
  • step S300 when canceling the low power consumption mode, first, in step S300, whether or not a signal is input to one of the microcomputers 110 and 120 from each control target of the microcomputers 110 and 120 is determined. Is judged. For example, when a signal is input to the microcomputer 110 from a controlled object controlled by the microcomputer 110, the state of the standby terminal 112 of the microcomputer 110 is changed from high impedance to logic level “H” ( Step S301).
  • this logic level “H” signal is input to the standby terminal 132 of the communication bus driver 130 via the communication line 142 (step S302).
  • the state of the communication bus driver 130 wakes up from the sleep state. Transition to the state.
  • the communication bus driver 130 that has transitioned to the wake-up state outputs a logic level “L” signal from the wake-up terminal 133 of the communication bus driver 130 (step S303).
  • the logic level “L” signal output from the wakeup terminal 133 is input to the wakeup terminals 113 and 123 of the microcomputers 110 and 120, respectively.
  • the second microcomputer 120 that has transitioned to the sleep state also transitions to the wake-up state.
  • the second microcomputer 120 changes the standby terminal 122 of the second microcomputer 120 from the high impedance to the logic level “H” (step S304).
  • the microcomputers 110 and 120 and the communication bus driver 130 that constitute the electronic control device 100A transition from the sleep state to the wake-up state, thereby releasing the low power consumption mode of the electronic control device 100A.
  • step S300 when no control signal is input from the controlled object to any of the microcomputers 110 and 120 (step S300: NO), the communication bus driver 130 is other than the electronic control device 100A provided with the communication bus driver 130. It is determined whether or not a signal transmitted from electronic control units 100B to 100M has been received (step S305). That is, it is determined whether or not the voltage of the communication line BS1 connected to the communication bus driver 130 has changed.
  • step S305 YES
  • the logic level of the standby terminal 132 of the communication bus driver 130 is It is set to “H” (step S302).
  • a signal of logic level “L” is output from the wakeup terminal 133 of the communication bus driver 130, and this signal is input to the wakeup terminals 113 and 123 of the microcomputers 110 and 120 (step S303). Then, the microcomputers 110 and 120 having the logic level “L” signals input to the wakeup terminals 113 and 123 transition from the sleep state to the wakeup state (step S304). As a result, the low power consumption mode of the electronic control unit 100A is canceled.
  • FIG. 6 shows how the operation modes are switched when the microcomputers 110 and 120 constituting the electronic control apparatus 100A make a sleep request at different timings.
  • FIG. 7 shows how the operation modes are switched when the microcomputers 110 and 120 constituting the electronic control apparatus 100A make a sleep request at the same timing.
  • FIG. 8 shows a return mode from the low power consumption mode to the normal operation mode when the control signal is input to the first microcomputer 110.
  • FIG. 9 shows a return mode from the low power consumption mode to the normal operation mode when the communication bus driver 130 receives signals transmitted from the other electronic control devices 100B to 100M.
  • the first microcomputer 110 (microcomputer M1) makes a sleep request based on the change in the state of the vehicle C (FIG. 10: timing t1)
  • the data frame indicating that is the first. 2 is transmitted to the microcomputer 120 (microcomputer M2), the communication bus driver 130, and the other electronic control units 100B to 100M.
  • the state of the standby terminal 112 of the first microcomputer 110 is changed to high impedance (FIG. 10: timing t2), and the first microcomputer 110 transitions from the wake-up state to the sleep state (FIG. 10: timing t3). ).
  • the second microcomputer 120 makes a sleep request (FIG. 10: timing t4), a data frame indicating that is sent to the first microcomputer 110, the communication bus driver 130, and the other electronic control units 100B to 100M. Sent. Then, based on the data frame transmitted from the first microcomputer 110, the second microcomputer 120 transitions to the sleep state, and the second microcomputer 120 is in the electronic control unit 100A. Then, it is recognized as a microcomputer that finally transitions to the sleep state. Therefore, the second microcomputer 120 changes the logic level of the standby terminal 122 of the second microcomputer 120 from “H” to “L” (FIG. 10: timing t5). Then, the second microcomputer 120 transitions from the wake-up state to the sleep state (FIG. 10: timing t6).
  • the communication bus driver 130 detects that the logic level of the standby terminal 122 of the second microcomputer 120 has been changed to “L”, the communication bus driver 130 transitions from the wake-up state to the sleep state (FIG. 10: timing t7). Thereby, the operation mode of the electronic control unit 100A shifts from the normal mode to the low power consumption mode. For example, the logic level of the standby terminal 122 changed to “L” is changed to high impedance after the communication bus driver 130 transitions to the sleep state (FIG. 10: timing t8). As a result, when the communication bus driver 130 that has transitioned to the sleep state transitions to the wake-up state, both of the standby terminals 112 and 122 have high impedance.
  • the communication bus driver 130 transitions to the wake-up state, for example, the logical levels of the standby terminals 112 and 122 are “L” in spite of the microcomputers 110 and 120 not requesting sleep. It is suppressed that the communication bus driver 130 transitions to the sleep state again.
  • a data frame indicating that fact is displayed. It is transmitted to the communication lines 140, 141, BS1, etc. That is, a data frame indicating that a sleep request has been made is transmitted to the microcomputers 110 and 120, the communication bus driver 130, and the other electronic control devices 100B to 100M.
  • the microcomputers 110 and 120 recognize that the microcomputers other than themselves request the sleep at the same timing. Therefore, the microcomputers 110 and 120 change the logic levels of their standby terminals 112 and 122 from “H” to “L” (FIG.
  • timing tb transition from the wake-up state to the sleep state
  • FIG. 11 Timing tc
  • the communication bus driver 130 that detects that the logic levels of the standby terminals 112 and 122 of the microcomputers 110 and 120 have been changed to “L” transitions from the wake-up state to the sleep state in conjunction with this (see FIG. 11: Timing td).
  • the operation mode of the electronic control unit 100A shifts from the normal mode to the low power consumption mode.
  • the logical levels of the standby terminals 112 and 122 changed to “L” are changed to high impedance after the communication bus driver 130 shifts to the sleep state (FIG. 11: timing te). .
  • the communication bus driver 130 detects that the standby terminal 112 of the first microcomputer 110 has been changed to the logic level “H”, the communication bus driver 130 transitions from the sleep state to the wake-up state (FIG. 10: timing t12). Further, the communication bus driver 130 changes the logic level of the wakeup terminal 133 of the communication bus driver 130 from “H” to “L” (FIG. 10: timing t13).
  • FIG. 9 it is assumed that the bus level of the communication line BS1 to which the communication bus driver 130 is connected has changed due to a signal transmitted from any of the other electronic control devices 100B to 100M ( FIG. 11: Timing tf). Then, in conjunction with this, the logical level of the standby terminal 132 of the communication bus driver 130 is changed from “L” to “H” (FIG. 11: timing tg), and the communication bus driver 130 in the sleep state is changed. Transition to the wake-up state (FIG. 11: timing th).
  • the logic level of the wake-up terminal 133 of the communication bus driver 130 that has transitioned to the wake-up state is changed from “H” to “L” (FIG. 11: timing ti).
  • a signal indicating the same logic level is input to the wake-up terminals 113 and 123 of the microcomputers 110 and 120 (FIG. 11: timing tj).
  • the state of each of the standby terminals 112 and 122 of each of the microcomputers 110 and 120 is changed from the high impedance to the logic level “H” (FIG. 11: timing tk), and each of the microcomputers in the sleep state.
  • the computers 110 and 120 transition to the wake-up state (FIG. 11: timing tl).
  • the microcomputers 110 and 120 that have requested sleep are shifted to the sleep state, and all the microcomputers constituting the electronic control unit 100A are set to sleep.
  • a low power consumption mode is provided in which the communication bus driver 130 transitions to the sleep state after transition to the state. Therefore, the microcomputers 110 and 120 in the wake-up state continue to transmit and receive signals via the communication bus driver 130 until all the microcomputers constituting the electronic control device 100A transition to the sleep state. It becomes possible.
  • the microcomputers 110 and 120 and the communication bus driver 130 are shifted to the sleep state, the operation state of the microcomputers 110 and 120 and the signals transmitted from the microcomputers 110 and 120 are managed.
  • the electronic control devices 100A and 100B to 100M having the plurality of microcomputers 110 and 120 can be made simpler. Thereby, smooth transmission / reception of signals by the microcomputers 110 and 120 is possible, and reduction of power consumed by the microcomputers 110 and 120 can be realized with a simpler configuration.
  • Each of the microcomputers 110 and 120 is provided with standby terminals 112 and 122 that are selectively set to logic levels “H”, “L”, and high impedance with the communication bus driver 130. Further, when any one of the standby terminals 112 and 122 of the microcomputers 110 and 120 is set to the logic level “L”, the communication bus driver 130 is shifted to the sleep state. In the transition to the low power consumption mode, the standby terminals 112 and 122 of the microcomputers 110 and 120 that transition to the sleep state are set to high impedance. It is suppressed that the communication bus driver 130 transitions to the sleep state in conjunction with the standby terminals 112 and 122 being set to high impedance. Thereby, one of the microcomputers 110 and 120 can be shifted to the sleep state without affecting the operation state of the communication bus driver 130.
  • the second microcomputer 120 that first transitions to the sleep state after the standby terminal 112 of the first microcomputer 110 that requested the sleep first is transitioned to high impedance.
  • the standby terminal 122 is shifted to the logic level “L”.
  • the operation state of the communication bus driver 130 is accurately maintained until the standby terminal of the second microcomputer 120 that finally transits to the sleep state becomes the logic level “L”, and communication via the communication bus driver 130 is performed. It becomes possible to maintain the state accurately. This makes it possible to accurately control the operation state of the communication bus driver 130 using the logic levels and states that can be set in the standby terminals 112 and 122 of the microcomputers 110 and 120.
  • the microcomputers 110 and 120 were connected to each other by a dedicated communication line 140. Then, the microcomputers 110 and 120 were made to monitor the operation states of the other microcomputers 120 and 110 sharing the communication bus driver 130 based on information transmitted through the dedicated communication line 140. Further, based on the monitored operating state, the state of the standby terminals 112 and 122 to be set by the microcomputers 110 and 120 at the time of transition to the sleep state is determined to be either high impedance or logic level “L”. . Therefore, each of the microcomputers 110 and 120 can always monitor whether or not the other microcomputers 120 and 110 sharing the communication bus driver 130 are in the sleep state, and based on the monitoring result.
  • the microcomputers 110 and 120 shift to the sleep state, it is possible to determine whether the standby terminals 112 and 122 are set to the high impedance or the logic level “L”. As a result, the states of the standby terminals 112 and 122 of the microcomputers 110 and 120 can be determined with high accuracy. As a result, the operation state of the communication bus driver 130 that shifts to the sleep state according to this state can be determined with higher accuracy. It becomes possible to manage.
  • the sleep state of the first microcomputer 110 is released. Further, when the communication bus driver 130 receives a signal transmitted from the electronic control devices 100B to 100M different from the electronic control device 100A in the sleep state, the low power consumption mode of the electronic control device 100A in the sleep state is canceled. It was. Therefore, the sleep states of the microcomputers 110 and 120 are maintained until various controls by the microcomputers 110 and 120 constituting the electronic control apparatus 100A are required. On the other hand, after various controls by the microcomputers 110 and 120 are required, the sleep state of the microcomputers 110 and 120 is canceled, and the control to be executed by the microcomputers 110 and 120 is performed. As a result, the period required for the electronic control devices 100A, 100B to 100M to execute the low power consumption mode is secured, and the functions required of the electronic control devices 100A, 100B to 100M are maintained while reducing the power consumption. It becomes possible to do.
  • the sleep state of the communication bus driver 130 is based on the input of signals transmitted from electronic control units 100B to 100M different from the electronic control unit 100A. Was released. Subsequently, the sleep state of all the microcomputers 110 and 120 was released. Therefore, when a voltage change occurs in the communication line BS1 due to signals transmitted from the different electronic control devices 100B to 100M, the sleep state of the communication bus driver 130 and the microcomputers 110 and 120 constituting the electronic control device 100A is changed.
  • the electronic control unit 100A can perform various controls based on signals input from the control target that are appropriately canceled. As a result, it is possible to more smoothly execute various controls by the microcomputers 110 and 120 that have been released from the sleep state while releasing the sleep state of the microcomputers 110 and 120 at appropriate timing.
  • the logic levels of the standby terminals 112 and 122 that have been changed to the logic level “L” were changed to high impedance after the communication bus driver 130 transitioned to the sleep state. Not limited to this, as long as the operation of the communication bus driver 130 and the like after the cancellation of the low power consumption mode can be ensured, the logic levels of the standby terminals 112 and 122 changed to the logic level “L” may be maintained. Good.
  • the sleep state of the communication bus driver 130 is canceled based on the input of signals transmitted from electronic control units 100B to 100M different from the electronic control unit 100A. I let you. Subsequently, the sleep states of all the microcomputers 110 and 120 were canceled at the same time.
  • the present invention is not limited to this, and the sleep state of the microcomputers 110 and 120 may be canceled in order after the sleep state of the communication bus driver 130 is canceled. Alternatively, the sleep state of the microcomputers 110 and 120 may be released after a predetermined period has elapsed after the sleep state of the communication bus driver 130 is released.
  • the sleep state of the microcomputer 110 to which the signal is input is canceled based on the input of the signal from the control target controlled by the first microcomputer 110. Subsequently, the sleep state of the communication bus driver 130 and the sleep state of the second microcomputer 120 to which no signal is input from the control target are released. Similarly, when a signal is input from a control target controlled by the second microcomputer 120, the sleep state of the second microcomputer 120 may be canceled based on the input of this signal. Then, the sleep state of the communication bus driver 130 and the sleep state of the microcomputer 110 to which no signal is input from the control target may be canceled.
  • the sleep state of the first microcomputer 110 is canceled, and the second microcomputer 120 in the sleep state is also controlled.
  • the sleep state may be canceled based on the input of a signal from.
  • the order and timing at which the microcomputers 110 and 120 and the communication bus driver 130 that are transitioning to the sleep state are transitioned to the wake-up state can be arbitrarily set.
  • the microcomputers 110 and 120 are released from the sleep state. Further, when the communication bus driver 130 receives a signal transmitted from the electronic control devices 100B to 100M different from the electronic control device 100A in the sleep state, the low power consumption mode of the electronic control device 100A in the sleep state is canceled. It was.
  • the microcomputers 110 and 120 and the electronic control unit 100A are each input with signals indicating that the state of the vehicle C has changed, and the microcomputers 110 and 120 and communication are based on the input signals.
  • the bus driver 130 may be released from the sleep state. Further, for example, the sleep state may be canceled on the condition that a predetermined period has passed since any of the microcomputers 110 and 120 and the communication bus driver 130 has transitioned to the sleep state.
  • the microcomputers 110 and 120 were connected to each other by a dedicated communication line 140. Then, the microcomputers 110 and 120 are made to monitor the operation states of the other microcomputers 120 and 110 sharing the communication bus driver 130 based on information transmitted via the dedicated communication lines 140, 142, and 143. It was. However, the present invention is not limited to this, and any configuration may be used as long as each microcomputer 110 and 120 can acquire a data frame transmitted from each microcomputer 120 and 110.
  • the data frame transmitted from each microcomputer 110 and 120 is a communication bus driver. It is good also as a structure made to transmit to 130. FIG.
  • the data frame acquired by the communication bus driver 130 may be transferred from the communication bus driver 130 to the microcomputers 120 and 110.
  • the operation state of the microcomputers 110 and 120 may be monitored by the communication bus driver 130, and a signal indicating the monitoring result may be transmitted from the communication bus driver 130 to the microcomputers 120 and 110.
  • the standby terminals 112 and 122 of the microcomputers 110 and 120 are simultaneously shifted to the logic level “L”.
  • the standby terminals 112 and 122 of each of the microcomputers 110 and 120 are set to high impedance and then the other standby terminals 122 are set.
  • 112 may be set to “L”.
  • the standby terminal 112 of the first microcomputer 110 that first requested the sleep is transitioned to high impedance, and then the second microcomputer 120 that transitions to the sleep state lastly.
  • the terminal 122 is changed to the logic level “L”.
  • the present invention is not limited to this, as long as all the microcomputers 110 and 120 configuring the electronic control device 100A transition to the sleep state, and the communication bus driver 130 may transition to the sleep state.
  • the state setting mode can be changed as appropriate.
  • Each of the microcomputers 110 and 120 is provided with standby terminals 112 and 122 that are selectively set to logic levels “H”, “L”, and high impedance with the communication bus driver 130. Then, when any one of the standby terminals 112 and 122 of the microcomputers 110 and 120 is set to the logic level “L”, the communication bus driver 130 is shifted to the sleep state.
  • the configuration is not limited to this, and the communication bus driver 130 may be configured to be able to transit to the sleep state in conjunction with the transition of the microcomputers 110 and 120 to the sleep state.
  • the state where all of the microcomputers 110 and 120 and the communication bus driver 130 constituting the electronic control device 100A are in the sleep state is defined as the low power consumption mode.
  • the present invention is not limited to this, and a state in which any of the microcomputers 110 and 120 and the communication bus driver 130 that constitute the electronic control device 100A may be defined as the low power consumption mode.
  • the electronic control devices 100A, 100B to 100M are configured by the communication bus driver 130 and the two microcomputers 110 and 120 that share the communication bus driver 130.
  • the electronic control devices 100A, 100B to 100M are not limited to this, and may be configured by three or more microcomputers sharing the communication bus driver 130. Even in this configuration, the communication bus driver 130 transitions to the sleep state when all the microcomputers constituting the electronic control device transition to the sleep state, and until all the microcomputers transition to the sleep state. Thus, the state in which the microcomputer in the wake-up state can communicate is maintained.
  • the vehicle network may be any network as long as it serves as a communication unit of an electronic control device including a microcomputer sharing a communication unit, and can be changed as appropriate.
  • the electronic control device electronic control devices 100A to 100M mounted on the vehicle C and controlling various control objects are adopted.
  • the electronic control device is not limited to this, and any electronic control device may be used as long as it includes a plurality of microcomputers sharing a communication unit. I just need it. Even with this configuration, while maintaining the communicable state of the microcomputer in the wake-up state, the communication function of the electronic control device is preferably maintained by shifting the microcomputer that requested the sleep to the sleep state. The power consumption can be reduced.

Abstract

複数のマイクロコンピュータによる信号の円滑な授受を可能としつつ、それらマイクロコンピュータで消費される電力の低減をより簡易な構成のもとに実現することのできる電子制御装置及びマイクロコンピュータの制御方法を提供する。電子制御装置(100A)は、消費電力量を低減するモードとして、スリープ要求のあったマイクロコンピュータ(110、120)をスリープ状態に遷移させる。電子制御装置(100A)は、電子制御装置(100A)を構成する全てのマイクロコンピュータ(110及び120)がスリープ状態に移行したのちに通信バスドライバ(130)をスリープ状態に遷移させる低消費電力モードを備える。

Description

電子制御装置及びマイクロコンピュータの制御方法
 本発明は、複数のマイクロコンピュータを備えて構成される電子制御装置、及びそれら複数のマイクロコンピュータの制御方法に関する。
 一般に、自動車等の車両には、ナビゲーションシステムを構成する電子制御装置をはじめ、エンジンやブレーキ等の各種車載機器をマイクロコンピュータにより制御する電子制御装置や車両の各種状態を表示するメータ等の機器を制御する電子制御装置などの多くの電子制御装置が搭載されている。そして、車両内では、それら各電子制御装置が通信線により電気的に接続されて車両ネットワークが形成されており、この車両ネットワークを介して各電子制御装置間での各種車両データの送受信が行われている。
 また、特許文献1に見られるように、例えば車両の停車時など、マイクロコンピュータが処理を行なう必要がないときに、その内部状態を保持しつつクロック信号の発振動作を停止させることによって電力消費量を低減する低消費電力モードをマイクロコンピュータに持たせることも検討されている。このような低消費電力モードを持つマイクロコンピュータを備える電子制御装置では、車両の状態に応じて低消費電力モードと通常の消費電力モードとを切り換えることができ、電子制御装置で消費される電力を低減することができるようになる。
特開2008-123538号公報
 ところで最近は、車両の高機能化に伴い、車両に搭載される電子制御装置の数が増加する傾向にある。そして、車両ネットワークに接続される電子制御装置の数が増えると通信線の配線経路が長くなることから、通信品質を確保するための経路設計の煩雑化や通信品質の低下が懸念される。
 そこで、例えば、図12に示すように、これまで電子制御装置毎に一つずつ設けられていた複数のマイクロコンピュータ(制御回路)50a及び50bを一つの電子制御装置10に設けることも検討されている。このように複数のマイクロコンピュータ50a及び50bを備える電子制御装置10にあっては、車両データを送受信する一つのトランシーバ30がマイクロコンピュータ50a及び50bによって共有されることとなる。
 しかし、このようにトランシーバ30が共有される構成とすると、各マイクロコンピュータ50a及び50bから出力される制御信号を調停処理するための調停回路20をトランシーバ30と各マイクロコンピュータ50a及び50bとの間に設けなければならない。また、このように複数のマイクロコンピュータ50a及び50bを備える電子制御装置10にその電力消費量を低減するための機能を持たせようとすると、各マイクロコンピュータ50a及び50bを低消費電力モードに移行させるための処理が必要となり、調停回路20に要求される機能はより高度なものとならざるを得ない。すなわち、複数のマイクロコンピュータが上記トランシーバ30を共有する構成としたところで、電子制御装置そのものの構成がかえって複雑なものとなってしまう。
 なお、このような課題は、車両に搭載される電子制御装置に限らず、複数のマイクロコンピュータを備える電子制御装置にあっては概ね共通したものとなっている。
 本発明は、このような実情に鑑みてなされたものであり、その目的は、複数のマイクロコンピュータによる信号の円滑な授受を可能としつつ、それらマイクロコンピュータで消費される電力の低減をより簡易な構成のもとに実現することのできる電子制御装置及びマイクロコンピュータの制御方法を提供することにある。
 上記課題を解決するため、本発明に従う電子制御装置は、複数のマイクロコンピュータを有して他装置との通信線を介した通信を行う電子制御装置であって、前記複数のマイクロコンピュータの各々は、通信線との間に設けられて信号の送受信を行う通信部を共有するものであり、当該電子制御装置の消費電力量を低減するモードとして、スリープ要求のあったマイクロコンピュータをスリープ状態に遷移させるとともに、全てのマイクロコンピュータがスリープ状態に移行したのちに前記通信部をスリープ状態に遷移させる低消費電力モードを有する。
 上記課題を解決するため、本発明に従うマイクロコンピュータの制御方法は、複数のマイクロコンピュータを有して他装置との通信を行う電子制御装置の前記複数のマイクロコンピュータを制御するマイクロコンピュータの制御方法であって、前記複数のマイクロコンピュータの各々に、前記通信線との間に設けられて信号の送受信を行う通信部を共有させるとともに、前記電子制御装置の消費電力量を低減させるモードである低消費電力モードに移行させるステップとして、スリープ要求のあったマイクロコンピュータをスリープ状態に遷移させる第1のステップと、全てのマイクロコンピュータがスリープ状態に移行したのちに前記通信部をスリープ状態に遷移させる第2のステップと、を有する。
 通常、一つのマイクロコンピュータと一つの通信部とを備える電子制御装置にあっては、マイクロコンピュータがスリープ状態に遷移すると、これに伴って通信部もスリープ状態に遷移する。よって、こうした制御が行われる複数のマイクロコンピュータを備える電子制御装置のうちの一つのマイクロコンピュータがスリープ状態に遷移すると、これに連動して通信部がスリープ状態に遷移してしまい、この通信部を共有する他のマイクロコンピュータが通信を継続することができなくなってしまう。
 この点、上記構成あるいは方法によれば、電子制御装置を構成する複数のマイクロコンピュータのうちの一つのマイクロコンピュータがスリープ状態に遷移しただけでは通信部がスリープ状態に遷移しない。よって、スリープ状態に遷移していない通常の動作状態にある他のマイクロコンピュータは、通信部を介して、通信部に接続された他の電子制御装置等との通信を継続することが可能となる。そして、電子制御装置を構成する全てのマイクロコンピュータがスリープ状態に遷移すると、これに連動して通信部がスリープ状態に遷移する。このため、電子制御装置を構成する全てのマイクロコンピュータがスリープ状態に遷移するまでは、通信部を介した信号の送受信を継続して行うことが可能となる。また、上記構成あるいは方法によれば、マイクロコンピュータや通信部をスリープ状態に遷移させる上で、各マイクロコンピュータの動作状態や各マイクロコンピュータから送信される信号を管理する制御回路を通信部とマイクロコンピュータとの間に設ける必要もない。このため、複数のマイクロコンピュータを有する電子制御装置をより簡易な構成とすることが可能となる。これにより、マイクロコンピュータによる信号の円滑な授受を可能として、それらマイクロコンピュータで消費される電力の低減をより簡易な構成のもとに実現することができるようになる。
 本発明の一態様では、前記複数のマイクロコンピュータの各々は、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を備えてなり、前記通信部は、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときにスリープ状態に遷移するものであり、前記スリープ状態に遷移するマイクロコンピュータは、前記低消費電力モードに移行するとき、前記スタンバイ端子の出力をハイ・インピーダンスとする。
 一般に、マイクロコンピュータが備えるスタンバイ端子が論理レベル“L”とされると、これに連動して通信部がスリープ状態に遷移する。また、論理レベル“L”は、論理レベル“H”よりも優位性が高いことから、複数のマイクロコンピュータの各スタンバイ端子で論理レベル“L”及び“H”が混合していたときには、論理レベル“L”が優先して取り扱われることにより、通信部がスリープ状態に遷移することになりかねない。すなわち、論理レベル“H”となっており、通信中のマイクロコンピュータが存在するにも拘わらず同マイクロコンピュータの信号を中継する通信部がスリープ状態に遷移することにもなりかねない。
 この点、上記構成によるように、スリープ状態に遷移させるマイクロコンピュータについては、そのスタンバイ端子(STBN)をハイ・インピーダンスに設定すれば、このハイ・インピーダンスに連動して通信部がスリープ状態に遷移することもない。すなわち、通信部の動作状態に何ら影響を及ぼすことなく一部のマイクロコンピュータをスリープ状態に遷移させることが可能となる。
 本発明の一態様では、前記低消費電力モードへの移行に際し、前記複数のマイクロコンピュータの各スタンバイ端子をハイ・インピーダンスに漸次遷移させたのち、最後にスリープ状態に遷移するマイクロコンピュータのスタンバイ端子を論理レベル“L”に遷移させる。
 本発明の一態様では、前記マイクロコンピュータの各々に、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を設けるとともに、前記通信部には、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときスリープ状態に遷移させ、前記第1のステップは、前記複数のマイクロコンピュータの各スタンバイ端子をハイ・インピーダンスに漸次遷移させるステップと、最後にスリープ状態となるマイクロコンピュータのスタンバイ端子を論理レベル“L”に遷移させるステップとを含む。
 上記構成あるいは方法によるように、スリープ状態に遷移するマイクロコンピュータのスタンバイ端子を順次ハイ・インピーダンスとしつつ、最後にスリープ状態に遷移するマイクロコンピュータのスタンバイ端子のみを論理レベル“L”に遷移させることとすれば、最後にスリープ状態に遷移するマイクロコンピュータのスタンバイ端子が論理レベル“L”に遷移したことをもって、通信部がスリープ状態に遷移する。よって、最後にスリープ状態に遷移するマイクロコンピュータのスタンバイ端子が論理レベル“L”となるまでは通信部の動作状態が的確に維持され、この通信部を介した通信状態を的確に維持することが可能となる。これにより、マイクロコンピュータのスタンバイ端子に設定可能な論理レベル及び状態を利用して、通信部の動作状態を的確に制御することが可能となる。
 本発明の一態様では、前記低消費電力モードへの移行に際し、前記複数のマイクロコンピュータが同時にスリープ状態に遷移するときの特例として、前記複数のマイクロコンピュータの各スタンバイ端子を同時に論理レベル“L”に遷移させる。
 本発明の一態様では、前記マイクロコンピュータの各々に、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を設けるとともに、前記通信部には、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときスリープ状態に遷移させ、前記第1のステップは、前記複数のマイクロコンピュータを同時にスリープ状態に遷移させる特例ステップとして、前記複数のマイクロコンピュータの各スタンバイ端子を同時に論理レベル“L”に遷移させるステップを含む。
 上記構成あるいは方法によれば、電子制御装置を構成する各マイクロコンピュータが同時にスリープ状態に遷移するときには、各マイクロコンピュータのスタンバイ端子が論理レベル“L”に一括して遷移する。よって、各マイクロコンピュータがスリープ状態に同時に遷移するときであれ、このマイクロコンピュータのスリープ状態に連動して通信部をスリープ状態に遷移させることが可能となる。
 本発明の一態様では、前記複数のマイクロコンピュータの各々は互いに専用の通信線に接続されて該専用の通信線上に前記スリープ状態に遷移する旨を示す情報を送信し、各マイクロコンピュータは、前記専用の通信線を介して送信される情報に基づいて前記通信部を共有する他のマイクロコンピュータの動作状態を監視し、この監視する動作状態に基づき、前記スリープ状態への遷移に際して自マイクロコンピュータが設定すべきスタンバイ端子の状態をハイ・インピーダンス及び論理レベル“L”のいずれかに決定する。
 本発明の一態様では、前記複数のマイクロコンピュータの各々を互いに専用の通信線に接続するとともに、各マイクロコンピュータには、スリープ状態に遷移する旨を示す情報を前記専用の通信線上に送信させて、該専用の通信線上に送信された情報に基づき他のマイクロコンピュータの動作状態を監視させ、この監視する動作状態に基づき、前記スリープ状態への遷移に際して自マイクロコンピュータが設定すべきスタンバイ端子の状態をハイ・インピーダンス及び論理レベル“L”のいずれかに決定させる。
 上記構成あるいは方法によれば、各マイクロコンピュータは、それらマイクロコンピュータを接続する専用の通信線を介して送信される信号に基づき、通信部を共有する他のマイクロコンピュータの動作状態を監視することが可能となる。このため、各マイクロコンピュータは、通信部を共有する他のマイクロコンピュータがスリープ状態に遷移しているか否かを常時監視することが可能となり、この監視結果に基づいて、自マイクロコンピュータがスリープ状態に遷移するときにスタンバイ端子をハイ・インピーダンス及び論理レベル“L”のいずれにするかを決定することが可能となる。これにより、各マイクロコンピュータのスタンバイ端子の状態を精度よく決定することが可能となり、ひいては、この状態に応じてスリープ状態に遷移する通信部の動作状態をより高精度に管理することが可能となる。
 本発明の一態様では、前記マイクロコンピュータが制御する制御対象から信号が入力されたとき、該当するマイクロコンピュータのスリープ状態が解除され、スリープ状態にある電子制御装置とは異なる電子制御装置から送信された信号を前記通信部が受信したとき、スリープ状態にある電子制御装置の低消費電力モードが解除される。
 本発明の一態様では、前記マイクロコンピュータが制御する制御対象から信号が入力されたとき、該当するマイクロコンピュータのスリープ状態を解除するステップを実行し、スリープ状態にある電子制御装置とは異なる電子制御装置から送信された信号を前記通信部が受信したとき、スリープ状態にある電子制御装置の低消費電力モードを解除するステップを実行する。
 上記構成あるいは方法によれば、マイクロコンピュータが制御する制御対象から信号が発せられると、このマイクロコンピュータのスリープ状態が解除され、制御対象から入力された信号に基づく各種制御が同マイクロコンピュータにより実行される。また、上記構成あるいは方法によれば、通信線に接続された他の電子制御装置から信号を通信部が受信すると、上記電子制御装置の低消費電力モードが解除される。そして、通信部が受信した信号に応じた制御が上記電子制御装置を構成する各マイクロコンピュータによって実行される。このため、電子制御装置を構成する各マイクロコンピュータによる各種制御が必要になるまでの間は各マイクロコンピュータのスリープ状態が維持される一方、各種制御が必要になって以降は各マイクロコンピュータのスリープ状態が解除されて、各マイクロコンピュータが実行すべき制御が行われる。これにより、電子制御装置が低消費電力モードを実行可能な期間を確保し、その電力消費量の低減を図りつつ、電子制御装置に要求される機能を維持することが可能となる。
 本発明の一態様では、前記低消費電力モードの解除に際し、前記複数のマイクロコンピュータのいずれかが制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータのスリープ状態が解除されたのち、前記通信部のスリープ状態、及び前記制御対象から信号が入力されていないマイクロコンピュータのスリープ状態が解除される。
 本発明の一態様では、前記マイクロコンピュータのスリープ状態を解除するステップにおいて、前記複数のマイクロコンピュータのいずれかが制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータのスリープ状態を解除するステップと、前記制御対象から信号が入力されていないマイクロコンピュータのスリープ状態を解除するステップと、を順に実行する。
 上記構成あるいは方法によれば、イベントの発生等に伴って或るマイクロコンピュータの制御対象から信号が発信され、この発信された信号が同マイクロコンピュータに入力されると、このマイクロコンピュータのスリープ状態が解除される。次いで、通信部のスリープ状態と制御対象から信号が入力されていない他のマイクロコンピュータのスリープ状態とが解除される。このため、一旦、制御対象から信号がマイクロコンピュータに入力されると、同マイクロコンピュータ、通信部、他のマイクロコンピュータのスリープ状態が適宜解除され、制御対象から入力された信号に基づく各種制御を実行することが可能となる。これにより、マイクロコンピュータのスリープ状態を的確なタイミングで解除しつつ、このスリープ状態が解除されたマイクロコンピュータによる各種制御をより円滑に実行することが可能となる。
 本発明の一態様では、前記低消費電力モードの解除に際し、前記異なる電子制御装置から送信された信号が入力されることに基づいて前記通信部のスリープ状態が解除されたのち、全てのマイクロコンピュータのスリープ状態が解除される。
 本発明の一態様では、前記低消費電力モードを解除するステップにおいて、前記異なる電子制御装置から送信された信号が入力されることに基づいて前記通信部のスリープ状態を解除させるステップと、全てのマイクロコンピュータのスリープ状態を解除するステップと、を順に実行する。
 上記構成あるいは方法によれば、イベントの発生等に伴って異なる電子制御装置から発信された信号が上記電子制御装置の通信部に入力されると、この信号が入力された通信部のスリープ状態が解除される。次いで、この通信部を共有する各マイクロコンピュータのスリープ状態が解除される。このため、異なる電子制御装置から信号が上記電子制御装置に入力されると、この電子制御装置を構成する通信部及び各マイクロコンピュータのスリープ状態が適宜解除され、制御対象から入力された信号に基づく各種制御を同電子制御装置にて実行することが可能となる。これにより、マイクロコンピュータのスリープ状態を的確なタイミングで解除しつつ、このスリープ状態が解除されたマイクロコンピュータによる各種制御をより円滑に実行することが可能となる。
本発明にかかる電子制御装置及びマイクロコンピュータの制御方法の一実施の形態について、同マイクロコンピュータを備える電子制御装置によって構成される車両ネットワークの一例を示すブロック図。 複数のマイクロコンピュータを備える電子制御装置の概略構成を示すブロック図。 同実施の形態の低消費電力モードへの切り換え手順を示すフローチャート。 マイクロコンピュータによるデータフレームの定期送信手順の一例を示すフローチャート。 同実施の形態の低消費電力モードの解除手順を示すフローチャート。 電子制御装置を構成するマイクロコンピュータが相違するタイミングでスリープ要求を行ったときの動作モードの切り換え態様を示すシーケンス図。 電子制御装置を構成するマイクロコンピュータが同一のタイミングでスリープ要求を行ったときの動作モードの切り換え態様を示すシーケンス図。 制御信号が第1マイクロコンピュータに入力されたときの低消費電力モードから通常の動作モードへの復帰態様を示すシーケンス図。 他の電子制御装置から送信された信号を自電子制御装置の通信バスドライバが受信したときの低消費電力モードから通常の動作モードへの復帰態様を示すシーケンス図。 電子制御装置を構成するマイクロコンピュータが相違するタイミングでスリープ要求を行ったときの低消費電力モードへの移行態様と、制御信号が第1マイクロコンピュータに入力されたときの低消費電力モードの解除態様とを示すタイムチャート。 電子制御装置を構成するマイクロコンピュータが同一のタイミングでスリープ要求を行ったときの低消費電力モードへの移行態様と、他の電子制御装置から送信された信号を自電子制御装置の通信バスドライバが受信したときの低消費電力モードの解除態様とを示すタイムチャート。 従来の電子制御装置の概略構成を示すブロック図。
 以下、本発明にかかる電子制御装置及びマイクロコンピュータの制御方法を具体化した一実施の形態について図1~図11を参照して説明する。なお、本実施の形態の電子制御装置及びマイクロコンピュータの制御方法は、車両に搭載された車両ネットワークに接続された電子制御装置に適用されるものである。
 図1に示すように、車両Cは、標準装備されている基幹システムとして、エンジンやブレーキ等の各種車載機器を電子的に制御する電子制御装置(ECU)100A~100Fと通信線BS1とによって構成される制御系ネットワークを備えている。また、車両Cは、同じく基幹システムとして、車両の各種状態を表示するメータやエアコン等のボディ系の機器を制御する電子制御装置100G~100Iと通信線BS2とによって構成されるボディ系ネットワークを備えている。さらに、車両Cは、例えば現在地から目的地までの経路案内等を行うカーナビゲーションシステムをはじめとする各種情報機器系の電子制御装置100J~100Mと通信線BS3とによって構成される情報系ネットワークを備えている。
 制御系ネットワークを構成する電子制御装置100A~100Fは、例えば、車両のイグニションオフ時及びイグニションオン時の双方で動作可能となる。また、ボディ系ネットワークを構成する電子制御装置100G~100Iは、例えば、車両のイグニションオフ時には動作不可能である一方でイグニションオン時に動作可能となる。そして、情報系ネットワークを構成する電子制御装置100J~100Mは、例えば、車両のアクセサリオフ時には動作不可能である一方でアクセサリオン時に動作可能となる。
 そして、これらネットワークが、例えば無線通信機器とのデータ通信の中継などにも利用されるゲートウェイ100Nを介して電気的に接続されている。これにより、例えば上記カーナビゲーションシステムでは、エンジン制御装置やブレーキ制御装置等の各種電子制御装置から取得される車両操作に関する情報に基づいてドライバに対する各種表示支援などが行われるようになる。
 また、例えば電子制御装置100Aの概略構成を図2に示すように、この電子制御装置100Aが接続される通信線BS1(BS2、BS3)は、時分割で多重通信を行う多重通信線であり、終端抵抗により両端を相互に接続されたCANH,CANLからなる一対の通信線BS1a及びBS1bを有している。通信線BS1は、2本のBS1a及びBS1bを用いてデータ伝送を行うCAN(コントロール・エリア・ネットワーク)であり、所定の通信プロトコルに従って各通信線BS1a及びBS1bの差動電圧に基づいたバス通信を行う。
 電子制御装置100Aは、各種演算処理が行われる例えば第1マイクロコンピュータ110と第2マイクロコンピュータ120とを有している。これら第1マイクロコンピュータ110及び第2マイクロコンピュータ120は、それらの機能に応じて各別の制御処理を行うものである。また、電子制御装置100Aは、通信線BS1a及びBS1bに接続されて、通信線BS1a及びBS1bを介してデータの授受を行う通信部である通信バスドライバ130、及び、図示は省略するが各種のプログラムやデータを格納する内部メモリROM,RAM等を備えて構成されている。なお、本実施の形態では、一つの電子制御装置100A内に2つのマイクロコンピュータ110及び120が設けられていることから、通信バスドライバ130が各マイクロコンピュータ110及び120に共有利用される。
 マイクロコンピュータ110及び120は、データの送信時に通信線BS1a及びBS1bにその送信データに応じた差動電圧を発生させるべく通信バスドライバ130を制御するとともに、通信バスドライバ130によって復調されたデータを受信する。
 また、マイクロコンピュータ110及び120はそれぞれ、同マイクロコンピュータ110及び120が送受信する信号の送信制御や受信制御を行うコミュニケーションコントローラ111及び121を備えている。このマイクロコンピュータ110及び120に設けられたコミュニケーションコントローラ111及び121は、通信線140を介して互いに接続されている。また、コミュニケーションコントローラ111及び121は、通信線141を介して、通信バスドライバ130に設けられたコミュニケーションコントローラ131に接続されている。そして、これら通信線140、141を介して、マイクロコンピュータ110、120、通信バスドライバ130間で信号が授受される。
 また、マイクロコンピュータ110及び120はそれぞれ、論理レベル“ハイ(H)”、“ロウ(L)”の信号を選択的に出力するスタンバイ端子(STBN)112及び122を備えている。また、本実施の形態のスタンバイ端子112及び122は、例えば、スリーステートバッファを保有しており、論理レベル“H”、“L”の信号が出力される状態の他に、ハイ・インピーダンスとなる状態に遷移することが可能となっている。そして、スタンバイ端子112及び122は、通信線142を介して、通信バスドライバ130に設けられた入力用のスタンバイ端子132に接続されている。
 また、マイクロコンピュータ110及び120は、通信バスドライバ130に設けられたウェイクアップ端子133から、スリープ状態に遷移したマイクロコンピュータ110及び120をウェイクアップ状態に復帰させるための信号(例えば論理レベル“L”)が入力されるウェイクアップ端子113及び123を備えている。そして、こうしたウェイクアップ端子113及び123は、通信線143を介して、通信バスドライバ130に設けられたウェイクアップ端子133に接続されている。
 通信バスドライバ130は、マイクロコンピュータ110及び120から入力される送信指令に基づき、通信線BS1a及びBS1bのCANH及びCANLに所定の差動電圧が発生するように制御される。また、通信バスドライバ130は、通信線BS1a及びBS1bのCANHとCANLとの間に発生した差動電圧を信号として検出して受信データの復調処理を行い、マイクロコンピュータ110及び120へ送信する。
 通信バスドライバ130から通信線BS1のCANHに印加される電圧は、通常、ドミナント側(例えば3.5V)とレセッシブ側(例えば2.5V)との何れかに調整される。また、通信バスドライバ130から通信線BS1のCANLへ印加される電圧は、通常、ドミナント側(例えば1.5V)とレセッシブ側(例えば2.5V)との何れかに調整される。
 このように構成される電子制御装置100Aは、例えば、車両Cのイグニションオフ時においてイグニションオンやドア開、電波信号受信,他の電子制御装置100B~100M等からのバスエッジ受信などのイベントの発生が長期間検知されないときは、通常の動作モードから電力消費量を低減させるための処理を行う低消費電力モードに移行する。なお、本実施の形態における低消費電力モードとは、電子制御装置100Aを構成する全てのマイクロコンピュータ110及び120、並びに通信バスドライバ130がスリープ状態に遷移したときのモードをいう。
 また、電子制御装置100Aは、そのイグニションオフ時の低消費電力モードにおいてイベント発生が検知されたときは、その低消費電力モードを解除して起動され、その起動後に通信線BS1a及びBS1bを介した通信が可能となるウェイクアップモードになる。さらに、電子制御装置100Aは、他の電子制御装置100B~100M等からのバスエッジ受信などのイベントの発生に伴う信号が入力されると、低消費電力モードからウェイクアップモードに移行する。
 次に、本実施の形態の電子制御装置及びマイクロコンピュータの制御方法によるマイクロコンピュータの動作モードの切り換え手順を図3~図5のフローチャートを参照して説明する。
 図3にステップS100として示すように、例えば、車両Cの停車等に伴って第1マイクロコンピュータ110(マイコンM1)の制御対象の制御が不要になると、この第1マイクロコンピュータ110の電力消費量を低減すべく、当該第1マイクロコンピュータ110がスリープ状態に遷移する旨を宣言する。なおこのとき、ウェイクアップ状態にあるマイクロコンピュータ110及び120のスタンバイ端子112及び122の論理レベルは例えば論理レベル“H”となっている。第1マイクロコンピュータ110や第2マイクロコンピュータ120(マイコンM2)は、通信バスドライバ130を介さずに、図示しない制御対象として例えばエンジン噴射ノズルやステアリングを制御する。
 そして、本実施の形態の第1マイクロコンピュータ110は、当該第1マイクロコンピュータ110がスリープ状態に遷移する旨を示すデータフレームを、通信線140及び141上に送信する。こうして、通信線140及び141上に送信されたデータフレームは、第2マイクロコンピュータ120に送信され、また通信バスドライバ130を介して他の電子制御装置100B~100Mに送信される(ステップS101)。
 なお、本実施の形態では、図4にステップS200として示すように、マイクロコンピュータ110及び120の状態がスリープ状態及びウェイクアップ状態のいずれの状態にあるか示すデータフレームが通信線140及び141、並びに上記通信線BS1~BS3上に定期的に送信される。これにより、本実施の形態では、第2マイクロコンピュータ120や他の電子制御装置100B~100Mが、第1マイクロコンピュータ110の状態を監視することが可能となっている。同様に、第2マイクロコンピュータ120や他の電子制御装置100B~100Mを構成する各マイクロコンピュータからも各マイクロコンピュータの状態を示すデータフレームが送信されることにより、第1マイクロコンピュータ110も、自身以外のマイクロコンピュータの状態を監視することが可能となっている。
 そして、図3にステップS102として示すように、電子制御装置100Aを構成するマイクロコンピュータ110及び120の双方のスリープ要求が行われたタイミングが同時であるか否かが判断される。次いで、スリープ要求の行われたタイミングが相違するとき、同一の電子制御装置を構成する全てのマイクロコンピュータが既にスリープ状態に遷移している、もしくは、スリープ要求を行っているか否かが判断される(ステップS103)。すなわち、ステップS100にてスリープ要求を行った第1マイクロコンピュータ110と通信バスドライバ130を共有利用する第2マイクロコンピュータ120が、既にスリープ状態に遷移しているか、もしくは、スリープ要求を行っているか否かが判断される。
 そして、第2マイクロコンピュータ120がスリープ状態に遷移しておらず、かつ、スリープ要求も行っていないとき(ステップS103:NO)、第1マイクロコンピュータ110は当該マイクロコンピュータ110のスタンバイ端子112の論理レベルを“H”からハイ・インピーダンスへと変更する(ステップS104)。こうして、マイクロコンピュータ110のスタンバイ端子112がハイ・インピーダンスとなると、当該第1マイクロコンピュータ110はウェイクアップ状態からスリープ状態に遷移する(ステップS105)。
 一方、第2マイクロコンピュータ120が既にスリープ状態に遷移しており、もしくは、スリープ要求を行っていたとき(ステップS103:YES)、第1マイクロコンピュータ110は、当該第1マイクロコンピュータ110のスタンバイ端子112の論理レベルを“H”から“L”に変更する(ステップS106)。すなわち、第1マイクロコンピュータ110は、当該第1マイクロコンピュータ110が電子制御装置100Aの中で最後にスリープ状態に遷移するマイクロコンピュータであるとして、自身の論理レベルを“L”に変更し、ウェイクアップ状態からスリープ状態に遷移する。そして、第1マイクロコンピュータ110のスタンバイ端子112が論理レベル“L”に変更されることによって、この論理レベル“L”が入力される通信バスドライバ130は、ウェイクアップ状態からスリープ状態に遷移する(ステップS107)。こうして、電子制御装置100Aが通常の動作モードから低消費電力モードに遷移する。なお、論理レベル“L”とされたスタンバイ端子112は、所定時間経過後、ハイ・インピーダンスに変更されることとなる。
 他方、電子制御装置100Aを構成するマイクロコンピュータ110及び120のスリープ要求が同時に行われたとき(ステップS102:YES)、スタンバイ端子112及び122の各論理レベルが“H”から“L”へと変更される(ステップS108:YES、S109)。これにより、電子制御装置100Aを構成する全てのマイクロコンピュータ110及び120がスリープ状態に遷移するとともに、通信バスドライバ130がウェイクアップ状態からスリープ状態に遷移することとなる。こうして、電子制御装置100Aが通常の動作モードから低消費電力モードに遷移する。なおこのときにも、論理レベル“L”とされたスタンバイ端子112は、所定時間経過後、ハイ・インピーダンスに変更されることとなる。
 次に、図5に示すように、低消費電力モードの解除に際しては、まずステップS300において、マイクロコンピュータ110及び120の各制御対象からマイクロコンピュータ110及び120のいずれかに信号が入力されたか否かが判断される。そして、例えば、マイクロコンピュータ110の制御する制御対象から当該マイクロコンピュータ110に信号が入力されると、同マイクロコンピュータ110のスタンバイ端子112の状態がハイ・インピーダンスから論理レベル“H”に変更される(ステップS301)。
 次いで、この論理レベル“H”の信号が通信線142を介して通信バスドライバ130のスタンバイ端子132に入力され(ステップS302)、これに伴って、通信バスドライバ130の状態がスリープ状態からウェイクアップ状態に遷移する。そして、ウェイクアップ状態に遷移した通信バスドライバ130は、当該通信バスドライバ130のウェイクアップ端子133から論理レベル“L”の信号を出力する(ステップS303)。
 次いで、このウェイクアップ端子133から出力された論理レベル“L”の信号が、マイクロコンピュータ110及び120のウェイクアップ端子113及び123にそれぞれ入力される。これにより、スリープ状態に遷移していた第2マイクロコンピュータ120もウェイクアップ状態に遷移する。そして、この第2マイクロコンピュータ120は、当該第2マイクロコンピュータ120のスタンバイ端子122をハイ・インピーダンスから論理レベル“H”に変更する(ステップS304)。こうして、電子制御装置100Aを構成するマイクロコンピュータ110及び120、並びに通信バスドライバ130がスリープ状態からウェイクアップ状態に遷移することにより、電子制御装置100Aの低消費電力モードが解除されることとなる。
 一方、ステップS300において、マイクロコンピュータ110及び120のいずれにも制御対象から制御信号が入力されないときには(ステップS300:NO)、通信バスドライバ130が同通信バスドライバ130を備えた電子制御装置100A以外の電子制御装置100B~100Mから送信された信号を受信したか否かが判断される(ステップS305)。すなわち、通信バスドライバ130に接続された通信線BS1の電圧が変化したか否かが判断される。そして、電子制御装置100B~100Mのいずれかから送信された信号が電子制御装置100Aの通信バスドライバ130に入力されたときには(ステップS305:YES)、通信バスドライバ130のスタンバイ端子132の論理レベルが“H”にされる(ステップS302)。次いで、通信バスドライバ130のウェイクアップ端子133から論理レベル“L”の信号が出力され、この信号がマイクロコンピュータ110及び120のウェイクアップ端子113及び123に入力される(ステップS303)。そして、ウェイクアップ端子113及び123に論理レベル“L”の信号が入力されたマイクロコンピュータ110及び120が、スリープ状態からウェイクアップ状態に遷移する(ステップS304)。これにより、電子制御装置100Aの低消費電力モードが解除されることとなる。
 次に、本実施の形態の電子制御装置及びマイクロコンピュータの制御方法によるマイクロコンピュータの作用を図6~図9のシーケンス図、並びに図10及び図11のタイムチャートを参照して説明する。なお、図6は、電子制御装置100Aを構成するマイクロコンピュータ110及び120が相違するタイミングでスリープ要求を行ったときの動作モードの切り換え態様を示したものである。また、図7は、電子制御装置100Aを構成するマイクロコンピュータ110及び120が同一のタイミングでスリープ要求を行ったときの動作モードの切り換え態様を示したものである。さらに、図8は、制御信号が第1マイクロコンピュータ110に入力されたときの低消費電力モードから通常の動作モードへの復帰態様を示したものである。そして、図9は、他の電子制御装置100B~100Mから送信された信号を通信バスドライバ130が受信したときの低消費電力モードから通常の動作モードへの復帰態様を示したものである。
 図6に示すように、車両Cの状態が変化したことに基づいて例えば第1マイクロコンピュータ110(マイコンM1)がスリープ要求を行うと(図10:タイミングt1)、その旨を示すデータフレームが第2マイクロコンピュータ120(マイコンM2)、通信バスドライバ130、及び他の電子制御装置100B~100Mに送信される。そして、第1マイクロコンピュータ110のスタンバイ端子112の状態がハイ・インピーダンスに変更され(図10:タイミングt2)、同第1マイクロコンピュータ110がウェイクアップ状態からスリープ状態に遷移する(図10:タイミングt3)。
 続いて、第2マイクロコンピュータ120がスリープ要求を行うと(図10:タイミングt4)、その旨を示すデータフレームが第1マイクロコンピュータ110、通信バスドライバ130、及び他の電子制御装置100B~100Mに送信される。そして、第2マイクロコンピュータ120は、第1マイクロコンピュータ110から送信されたデータフレームに基づき、同第1マイクロコンピュータ110がスリープ状態に遷移しており当該第2マイクロコンピュータ120が電子制御装置100Aの中で最後にスリープ状態に遷移するマイクロコンピュータであると認識する。そこで、第2マイクロコンピュータ120は、当該第2マイクロコンピュータ120のスタンバイ端子122の論理レベルを“H”から“L”に変更する(図10:タイミングt5)。そして、第2マイクロコンピュータ120は、ウェイクアップ状態からスリープ状態に遷移する(図10:タイミングt6)。
 次いで、通信バスドライバ130が、第2マイクロコンピュータ120のスタンバイ端子122の論理レベルが“L”に変更された旨を検知すると、ウェイクアップ状態からスリープ状態に遷移する(図10:タイミングt7)。これにより、電子制御装置100Aの動作モードが通常のモードから低消費電力モードに移行する。なお、例えば“L”に変更されたスタンバイ端子122の論理レベルは、通信バスドライバ130がスリープ状態に遷移したのちにハイ・インピーダンスに変更されることとなる(図10:タイミングt8)。これにより、スリープ状態に遷移した通信バスドライバ130がウェイクアップ状態に遷移するときには、スタンバイ端子112及び122のいずれもがハイ・インピーダンスとなっている。すなわち、通信バスドライバ130がウェイクアップ状態に遷移したとき、マイクロコンピュータ110及び120がスリープ要求していないにも拘わらず例えばスタンバイ端子112、122の論理レベルが“L”であることに連動して通信バスドライバ130がスリープ状態に再び遷移する、といったことが抑制されるようになる。
 また、図7に示す例では、車両Cの状態が変化したことに基づいてマイクロコンピュータ110及び120が同一のタイミングでスリープ要求を行うと(図11:タイミングta)、その旨を示すデータフレームが通信線140、141、及びBS1等に送信される。すなわち、スリープ要求が行われた旨を示すデータフレームが、マイクロコンピュータ110及び120、通信バスドライバ130、及び他の電子制御装置100B~100Mにそれぞれ送信される。これにより、マイクロコンピュータ110及び120は、同一のタイミングで自身以外のマイクロコンピュータがスリープ要求していることを認識する。そこで、マイクロコンピュータ110及び120は、自身のスタンバイ端子112及び122の論理レベルを“H”から“L”に変更し(図11:タイミングtb)、ウェイクアップ状態からスリープ状態に遷移する(図11:タイミングtc)。そして、マイクロコンピュータ110及び120のスタンバイ端子112及び122の論理レベルが“L”に変更された旨を検知した通信バスドライバ130は、これに連動してウェイクアップ状態からスリープ状態に遷移する(図11:タイミングtd)。これにより、電子制御装置100Aの動作モードが通常のモードから低消費電力モードに移行する。なお、例えば、“L”に変更されたスタンバイ端子112及び122の論理レベルは、通信バスドライバ130がスリープ状態に遷移したのちにハイ・インピーダンスに変更されることとなる(図11:タイミングte)。
 また、図8に示すように、一旦スリープ状態に遷移した第1マイクロコンピュータ110にその制御対象から発信された信号が入力されると(図10:タイミングt9)、当該第1マイクロコンピュータ110は、そのスタンバイ端子112の状態をハイ・インピーダンスから“H”に変更する(図10:タイミングt10)。そして、スリープ状態にあった第1マイクロコンピュータ110の状態がウェイクアップ状態に遷移する(図10:タイミングt11)。
 通信バスドライバ130は、第1マイクロコンピュータ110のスタンバイ端子112が論理レベル“H”に変更されたことを検知すると、スリープ状態からウェイクアップ状態に遷移する(図10:タイミングt12)。また、通信バスドライバ130は、当該通信バスドライバ130のウェイクアップ端子133の論理レベルを“H”から“L”に変更する(図10:タイミングt13)。
 そして、通信バスドライバ130のウェイクアップ端子133の論理レベルが“L”に変更されると、この論理レベルを示す信号がスリープ状態にある第2マイクロコンピュータ120のウェイクアップ端子123に入力される(図10:タイミングt14)。この結果、第2マイクロコンピュータ120のスタンバイ端子122の状態がハイ・インピーダンスから論理レベル“H”に変更されるとともに(図10:タイミングt15)、同第2マイクロコンピュータ120がウェイクアップ状態に遷移する(図10:タイミングt16)。
 また一方、図9に示すように、他の電子制御装置100B~100Mのいずれかから信号が送信されたことにより、通信バスドライバ130が接続された通信線BS1のバスレベルが変化したとする(図11:タイミングtf)。すると、これに連動して同通信バスドライバ130のスタンバイ端子132の論理レベルが“L”から“H”に変更されるとともに(図11:タイミングtg)、スリープ状態にあった通信バスドライバ130がウェイクアップ状態に遷移する(図11:タイミングth)。
 次いで、ウェイクアップ状態に遷移した通信バスドライバ130のウェイクアップ端子133の論理レベルが“H”から“L”に変更される(図11:タイミングti)。そして、同論理レベルを示す信号が各マイクロコンピュータ110及び120の各ウェイクアップ端子113及び123に入力される(図11:タイミングtj)。次いで、これに連動して各マイクロコンピュータ110及び120の各スタンバイ端子112及び122の状態がハイ・インピーダンスから論理レベル“H”に変更され(図11:タイミングtk)、スリープ状態にあった各マイクロコンピュータ110及び120がウェイクアップ状態に遷移する(図11:タイミングtl)。
 以上説明したように、本実施の形態にかかる電子制御装置及びマイクロコンピュータの制御方法によれば、以下の効果が得られるようになる。
 (1)電子制御装置100A~100Mの消費電力量を低減するモードとして、スリープ要求のあったマイクロコンピュータ110、120をスリープ状態に遷移させるとともに、電子制御装置100Aを構成する全てのマイクロコンピュータがスリープ状態に遷移したのちに通信バスドライバ130をスリープ状態に遷移させる低消費電力モードを設けた。このため、電子制御装置100Aを構成する全てのマイクロコンピュータがスリープ状態に遷移するまでは、ウェイクアップ状態にあるマイクロコンピュータ110、120は、通信バスドライバ130を介した信号の送受信を継続して行うことが可能となる。また、上記実施の形態では、マイクロコンピュータ110及び120や通信バスドライバ130をスリープ状態に遷移させる上で、各マイクロコンピュータ110及び120の動作状態や各マイクロコンピュータ110及び120から送信される信号を管理する制御回路を通信バスドライバ130とマイクロコンピュータ110及び120との間に設ける必要もない。このため、複数のマイクロコンピュータ110及び120を有する電子制御装置100A、100B~100Mをより簡易な構成とすることが可能となる。これにより、マイクロコンピュータ110及び120による信号の円滑な授受を可能として、それらマイクロコンピュータ110及び120で消費される電力の低減をより簡易な構成のもとに実現することができるようになる。
 (2)マイクロコンピュータ110及び120の各々に、通信バスドライバ130との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子112及び122を設けた。また、マイクロコンピュータ110及び120のいずれかのスタンバイ端子112及び122が論理レベル“L”に設定されたときに、通信バスドライバ130をスリープ状態に遷移させることとした。そして、低消費電力モードへの移行に際し、スリープ状態に遷移するマイクロコンピュータ110及び120のスタンバイ端子112及び122をハイ・インピーダンスに設定することとした。スタンバイ端子112及び122がハイ・インピーダンスに設定されたことに連動して通信バスドライバ130がスリープ状態に遷移する、といったことが抑制されるようになる。これにより、通信バスドライバ130の動作状態に何ら影響を及ぼすことなくマイクロコンピュータ110及び120の一方をスリープ状態に遷移させることが可能となる。
 (3)低消費電力モードへの移行に際し、最初にスリープ要求のあった第1マイクロコンピュータ110のスタンバイ端子112をハイ・インピーダンスに遷移させたのち、最後にスリープ状態に遷移する第2マイクロコンピュータ120のスタンバイ端子122を論理レベル“L”に遷移させることとした。このため、最後にスリープ状態に遷移する第2マイクロコンピュータ120のスタンバイ端子が論理レベル“L”となるまでは通信バスドライバ130の動作状態が的確に維持され、この通信バスドライバ130を介した通信状態を的確に維持することが可能となる。これにより、マイクロコンピュータ110及び120のスタンバイ端子112及び122に設定可能な論理レベル及び状態を利用して、通信バスドライバ130の動作状態を的確に制御することが可能となる。
 (4)低消費電力モードへの移行に際し、各マイクロコンピュータ110及び120が同時にスリープ状態に遷移するときは、特例として各マイクロコンピュータ110及び120の各スタンバイ端子112及び122を同時に論理レベル“L”に遷移させることとした。このため、各マイクロコンピュータ110及び120が同時にスリープ状態に遷移するときには、各マイクロコンピュータ110及び120のスタンバイ端子112及び122が論理レベル“L”に一括して遷移する。よって、各マイクロコンピュータ110及び120がスリープ状態に同時に遷移するときであれ、それらマイクロコンピュータ110及び120のスリープ状態に連動して通信バスドライバ130をスリープ状態に遷移させることが可能となる。
 (5)各マイクロコンピュータ110及び120を専用の通信線140により互いに接続した。そして、各マイクロコンピュータ110及び120に、通信バスドライバ130を共有する他のマイクロコンピュータ120、110の動作状態を専用の通信線140を介して送信される情報に基づいて監視させた。また、この監視する動作状態に基づき、スリープ状態への遷移に際して自マイクロコンピュータ110、120が設定すべきスタンバイ端子112、122の状態をハイ・インピーダンス及び論理レベル“L”のいずれかに決定させた。このため、各マイクロコンピュータ110及び120は、通信バスドライバ130を共有する他のマイクロコンピュータ120及び110がスリープ状態に遷移しているか否かを常時監視することが可能となり、この監視結果に基づいて、自マイクロコンピュータ110、120がスリープ状態に遷移するときにスタンバイ端子112、122をハイ・インピーダンス及び論理レベル“L”のいずれにするかを決定することが可能となる。これにより、各マイクロコンピュータ110及び120のスタンバイ端子112及び122の状態を精度よく決定することが可能となり、ひいては、この状態に応じてスリープ状態に遷移する通信バスドライバ130の動作状態をより高精度に管理することが可能となる。
 (6)第1マイクロコンピュータ110が制御する制御対象から信号が入力されたとき、この第1マイクロコンピュータ110のスリープ状態を解除させた。また、スリープ状態にある電子制御装置100Aとは異なる電子制御装置100B~100Mから送信された信号を通信バスドライバ130が受信したとき、スリープ状態にある電子制御装置100Aの低消費電力モードを解除させた。このため、電子制御装置100Aを構成する各マイクロコンピュータ110及び120による各種制御が必要になるまでの間は各マイクロコンピュータ110及び120のスリープ状態が維持される。一方、各マイクロコンピュータ110及び120による各種制御が必要になって以降は、各マイクロコンピュータ110及び120のスリープ状態が解除されて、各マイクロコンピュータ110及び120が実行すべき制御が行われる。これにより、電子制御装置100A、100B~100Mが低消費電力モードを実行可能な期間を確保し、その電力消費量の低減を図りつつ、電子制御装置100A、100B~100Mに要求される機能を維持することが可能となる。
 (7)低消費電力モードの解除に際し、第1マイクロコンピュータ110が制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータ110のスリープ状態を解除させた。続いて、通信バスドライバ130のスリープ状態、及び制御対象から信号が入力されていない第2マイクロコンピュータ120のスリープ状態を解除させた。このため、一旦、制御対象から信号が第1マイクロコンピュータ110に入力されると、同第1マイクロコンピュータ110、通信バスドライバ130、及び第2マイクロコンピュータ120のスリープ状態が適宜解除され、制御対象から入力された信号に基づく各種制御を実行することが可能となる。これにより、マイクロコンピュータ110及び120のスリープ状態を的確なタイミングで解除しつつ、このスリープ状態が解除されたマイクロコンピュータ110及び120による各種制御をより円滑に実行することが可能となる。
 (8)電子制御装置100Aの低消費電力モードの解除に際し、この電子制御装置100Aとは異なる電子制御装置100B~100Mから送信された信号が入力されることに基づいて通信バスドライバ130のスリープ状態を解除させた。続いて、全てのマイクロコンピュータ110及び120のスリープ状態を解除させた。このため、異なる電子制御装置100B~100Mから信号が送信されたことによって通信線BS1の電圧変化が生じると、電子制御装置100Aを構成する通信バスドライバ130、各マイクロコンピュータ110及び120のスリープ状態が適宜解除され、制御対象から入力された信号に基づく各種制御を同電子制御装置100Aにて実行することが可能となる。これにより、マイクロコンピュータ110及び120のスリープ状態を的確なタイミングで解除しつつ、このスリープ状態が解除されたマイクロコンピュータ110及び120による各種制御をより円滑に実行することが可能となる。
 (9)上記電子制御装置として、車両Cに搭載された車両ネットワークを介して信号を授受する電子制御装置100A~100Mを採用した。このため、車両Cに搭載される電子制御装置100A~100Mについても、同電子制御装置100A~100Mを構成する各マイクロコンピュータ110及び120等のスリープ状態への遷移及び同スリープ状態の解除を実現することが可能となり、電子制御装置100A~100Mの電力消費量の低減を図りつつも、共有にかかる通信バスドライバ130を介した各種信号の円滑な授受を図ることが可能となる。
 なお、上記実施の形態は、以下のような形態をもって実施することもできる。
 ・低消費電力モードへの移行に際し、論理レベル“L”に変更されたスタンバイ端子112及び122の論理レベルを、通信バスドライバ130がスリープ状態に遷移したのちにハイ・インピーダンスに変更した。これに限らず、低消費電力モードの解除後の通信バスドライバ130等の動作さえ担保できれば、論理レベル“L”に変更されたスタンバイ端子112及び122の論理レベルの状態を維持するようにしてもよい。
 ・電子制御装置100Aの低消費電力モードの解除に際し、この電子制御装置100Aとは異なる電子制御装置100B~100Mから送信された信号が入力されることに基づいて通信バスドライバ130のスリープ状態を解除させた。続いて、全てのマイクロコンピュータ110及び120のスリープ状態を同時に解除させた。これに限らず、通信バスドライバ130のスリープ状態を解除させたのち、マイクロコンピュータ110、120のスリープ状態を順に解除させるようにしてもよい。また、通信バスドライバ130のスリープ状態を解除させたのち、所定期間の経過後、マイクロコンピュータ110、120のスリープ状態を解除させるようにしてもよい。
 ・低消費電力モードの解除に際し、第1マイクロコンピュータ110が制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータ110のスリープ状態を解除させた。続いて、通信バスドライバ130のスリープ状態、及び制御対象から信号が入力されていない第2マイクロコンピュータ120のスリープ状態を解除させた。同様に、第2マイクロコンピュータ120が制御する制御対象から信号が入力されたときには、この信号が入力されたことに基づいて同第2マイクロコンピュータ120のスリープ状態を解除させるようにしてもよい。そして、通信バスドライバ130のスリープ状態、及び制御対象から信号が入力されていないマイクロコンピュータ110のスリープ状態を解除させるようにしてもよい。また、マイクロコンピュータ110の制御対象から同マイクロコンピュータ110に信号が入力されたときに、同第1マイクロコンピュータ110のスリープ状態を解除させるとともに、スリープ状態にある第2マイクロコンピュータ120についてもその制御対象から信号が入力されたことに基づいてスリープ状態を解除させるようにしてもよい。またこの他、スリープ状態に遷移しているマイクロコンピュータ110、120、及び通信バスドライバ130をウェイクアップ状態に遷移させる順序及びタイミングは任意に設定することができる。
 ・マイクロコンピュータ110、120が制御する制御対象から信号が入力されたとき、このマイクロコンピュータ110、120のスリープ状態を解除させた。また、スリープ状態にある電子制御装置100Aとは異なる電子制御装置100B~100Mから送信された信号を通信バスドライバ130が受信したとき、スリープ状態にある電子制御装置100Aの低消費電力モードを解除させた。これに限らず、例えば、マイクロコンピュータ110及び120や電子制御装置100Aに車両Cの状態が変化した旨を示す各信号を入力させ、この入力される信号に基づいてマイクロコンピュータ110及び120、並びに通信バスドライバ130のスリープ状態を解除させるようにしてもよい。また、例えば、マイクロコンピュータ110及び120、並びに通信バスドライバ130のいずれかがスリープ状態に遷移してから所定期間が経過したことを条件として、それらのスリープ状態を解除させるようにしてもよい。
 ・各マイクロコンピュータ110及び120を専用の通信線140により互いに接続した。そして、各マイクロコンピュータ110及び120に、専用の通信線140、142、143を介して送信される情報に基づいて、通信バスドライバ130を共有する他のマイクロコンピュータ120、110の動作状態を監視させた。これに限らず、各マイクロコンピュータ110及び120が各マイクロコンピュータ120及び110から送信されるデータフレームを取得可能な構成であればよく、各マイクロコンピュータ110及び120から送信されたデータフレームを通信バスドライバ130に送信させる構成としてもよい。そして、通信バスドライバ130が取得したデータフレームを、この通信バスドライバ130からマイクロコンピュータ120、110に転送させるようにしてもよい。同様に、各マイクロコンピュータ110及び120の動作状態を通信バスドライバ130に監視させ、その監視結果を示す信号を通信バスドライバ130からマイクロコンピュータ120、110に送信するようにしてもよい。
 ・各マイクロコンピュータ110及び120のスリープ要求が同時に行われたとき、各マイクロコンピュータ110及び120の各スタンバイ端子112及び122を同時に論理レベル“L”に遷移させることとした。これに限らず、各マイクロコンピュータ110及び120のスリープ要求が同時に行われたとき、各マイクロコンピュータ110及び120のいずれかのスタンバイ端子112、122をハイ・インピーダンスに設定したのち、他のスタンバイ端子122、112の論理レベルを“L”に設定するようにしてもよい。
 ・低消費電力モードへの移行に際し、最初にスリープ要求のあった第1マイクロコンピュータ110のスタンバイ端子112をハイ・インピーダンスに遷移させたのち、最後にスリープ状態に遷移する第2マイクロコンピュータ120のスタンバイ端子122を論理レベル“L”に遷移させることとした。これに限らず、電子制御装置100Aを構成する全てのマイクロコンピュータ110及び120がスリープ状態に遷移したのちに、通信バスドライバ130をスリープ状態に遷移させるものであればよく、スタンバイ端子112及び122の状態を設定態様は適宜変更できる。
 ・マイクロコンピュータ110及び120の各々に、通信バスドライバ130との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子112及び122を設けた。そして、マイクロコンピュータ110及び120のいずれかのスタンバイ端子112及び122が論理レベル“L”に設定されたときに、通信バスドライバ130をスリープ状態に遷移させることとした。これに限らず、通信バスドライバ130が、マイクロコンピュータ110及び120が共にスリープ状態に遷移したことに連動してスリープ状態に遷移することが可能な構成であればよい。
 ・電子制御装置100Aを構成するマイクロコンピュータ110及び120、並びに通信バスドライバ130の全てがスリープ状態に遷移している状態を上記低消費電力モードとして規定した。これに限らず、電子制御装置100Aを構成するマイクロコンピュータ110及び120、並びに通信バスドライバ130のいずれかがスリープ状態に遷移している状態を上記低消費電力モードとして規定してもよい。
 ・電子制御装置100A、100B~100Mを、通信バスドライバ130、並びに同通信バスドライバ130を共有する2つのマイクロコンピュータ110及び120によって構成した。これに限らず、電子制御装置100A、100B~100Mを、通信バスドライバ130を共有する3つ以上のマイクロコンピュータによって構成してもよい。この構成であれ、電子制御装置を構成する全てのマイクロコンピュータがスリープ状態に遷移したことをもって通信バスドライバ130がスリープ状態に遷移することから、全てのマイクロコンピュータがスリープ状態に遷移するまでの間は、ウェイクアップ状態にあるマイクロコンピュータが通信可能な状態が維持されるようになる。
 ・上記車両ネットワークとしてCANを採用した。車両ネットワークとしてはこの他、通信部を共有するマイクロコンピュータを備えた電子制御装置の通信手段となるネットワークであればよく、適宜変更することが可能である。
 ・上記電子制御装置として、車両Cに搭載されて各種制御対象を制御する電子制御装置100A~100Mを採用した。これに限らず、電子制御装置としては、通信部を共有する複数のマイクロコンピュータを備えたものであればよく、例えば、各種情報端末や各種機器に搭載されて制御対象を制御する電子制御装置であればよい。この構成であれ、ウェイクアップ状態にあるマイクロコンピュータの通信可能な状態を維持しつつ、スリープ要求のあったマイクロコンピュータをスリープ状態に遷移させることにより、電子制御装置の通信機能を好適に維持しつつ消費電力の低減が図られるようになる。
 100A-100M…電子制御装置、100N…ゲートウェイ、110…第1マイクロコンピュータ、111…コミュニケーションコントローラ、112…スタンバイ端子、113…ウェイクアップ端子、120…第2マイクロコンピュータ、122…スタンバイ端子、123…ウェイクアップ端子、130…通信バスドライバ、131…コミュニケーションコントローラ、132…スタンバイ端子、133…ウェイクアップ端子、140、141、142、143…通信線、C…車両、BS1-BS3、BS1a、BS1b…通信線。

Claims (15)

  1.  複数のマイクロコンピュータを有して他装置との通信線を介した通信を行う電子制御装置であって、
     前記複数のマイクロコンピュータの各々は、前記通信線との間に設けられて信号の送受信を行う通信部を共有するものであり、当該電子制御装置の消費電力量を低減するモードとして、スリープ要求のあったマイクロコンピュータをスリープ状態に遷移させるとともに、全てのマイクロコンピュータがスリープ状態に移行したのちに前記通信部をスリープ状態に遷移させる低消費電力モードを有する
     ことを特徴とする電子制御装置。
  2.  前記複数のマイクロコンピュータの各々は、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を備えてなり、前記通信部は、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときにスリープ状態に遷移するものであり、
     前記スリープ状態に遷移するマイクロコンピュータは、前記低消費電力モードに移行するとき、前記スタンバイ端子の出力をハイ・インピーダンスとする
     請求項1に記載の電子制御装置。
  3.  前記低消費電力モードへの移行に際し、前記複数のマイクロコンピュータの各スタンバイ端子をハイ・インピーダンスに漸次遷移させたのち、最後にスリープ状態に遷移するマイクロコンピュータのスタンバイ端子を論理レベル“L”に遷移させる
     請求項2に記載の電子制御装置。
  4.  前記低消費電力モードへの移行に際し、前記複数のマイクロコンピュータが同時にスリープ状態に遷移するときの特例として、前記複数のマイクロコンピュータの各スタンバイ端子を同時に論理レベル“L”に遷移させる
     請求項2に記載の電子制御装置。
  5.  前記複数のマイクロコンピュータの各々は互いに専用の通信線に接続されて該専用の通信線上に前記スリープ状態に遷移する旨を示す情報を送信し、各マイクロコンピュータは、前記専用の通信線を介して送信される情報に基づいて前記通信部を共有する他のマイクロコンピュータの動作状態を監視し、この監視する動作状態に基づき、前記スリープ状態への遷移に際して自マイクロコンピュータが設定すべきスタンバイ端子の状態をハイ・インピーダンス及び論理レベル“L”のいずれかに決定する
     請求項3または4に記載の電子制御装置。
  6.  前記マイクロコンピュータが制御する制御対象から信号が入力されたとき、該当するマイクロコンピュータのスリープ状態が解除され、スリープ状態にある電子制御装置とは異なる電子制御装置から送信された信号を前記通信部が受信したとき、スリープ状態にある電子制御装置の低消費電力モードが解除される
     請求項1~5のいずれか一項に記載の電子制御装置。
  7.  前記低消費電力モードの解除に際し、前記複数のマイクロコンピュータのいずれかが制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータのスリープ状態が解除されたのち、前記通信部のスリープ状態、及び前記制御対象から信号が入力されていないマイクロコンピュータのスリープ状態が解除される
     請求項6に記載の電子制御装置。
  8.  前記低消費電力モードの解除に際し、前記異なる電子制御装置から送信された信号が入力されることに基づいて前記通信部のスリープ状態が解除されたのち、全てのマイクロコンピュータのスリープ状態が解除される
     請求項6に記載の電子制御装置。
  9.  複数のマイクロコンピュータを有して他装置との通信を行う電子制御装置の前記複数のマイクロコンピュータを制御するマイクロコンピュータの制御方法であって、
     前記複数のマイクロコンピュータの各々に、通信線との間に設けられて信号の送受信を行う通信部を共有させるとともに、
     前記電子制御装置の消費電力量を低減させるモードである低消費電力モードに移行させるステップとして、スリープ要求のあったマイクロコンピュータをスリープ状態に遷移させる第1のステップと、全てのマイクロコンピュータがスリープ状態に移行したのちに前記通信部をスリープ状態に遷移させる第2のステップと、を有する
     ことを特徴とするマイクロコンピュータの制御方法。
  10.  前記マイクロコンピュータの各々に、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を設けるとともに、前記通信部には、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときスリープ状態に遷移させ、
     前記第1のステップは、前記複数のマイクロコンピュータの各スタンバイ端子をハイ・インピーダンスに漸次遷移させるステップと、最後にスリープ状態となるマイクロコンピュータのスタンバイ端子を論理レベル“L”に遷移させるステップとを含む
     請求項9に記載のマイクロコンピュータの制御方法。
  11.  前記マイクロコンピュータの各々に、前記通信部との間で論理レベル“H”、“L”、及びハイ・インピーダンスに選択的に設定されるスタンバイ端子を設けるとともに、前記通信部には、前記複数のマイクロコンピュータのいずれかのスタンバイ端子が論理レベル“L”に設定されたときスリープ状態に遷移させ、
     前記第1のステップは、前記複数のマイクロコンピュータを同時にスリープ状態に遷移させる特例ステップとして、前記複数のマイクロコンピュータの各スタンバイ端子を同時に論理レベル“L”に遷移させるステップを含む
     請求項9に記載のマイクロコンピュータの制御方法。
  12.  前記複数のマイクロコンピュータの各々を互いに専用の通信線に接続するとともに、各マイクロコンピュータには、スリープ状態に遷移する旨を示す情報を前記専用の通信線上に送信させて、該専用の通信線上に送信された情報に基づき他のマイクロコンピュータの動作状態を監視させ、この監視する動作状態に基づき、前記スリープ状態への遷移に際して自マイクロコンピュータが設定すべきスタンバイ端子の状態をハイ・インピーダンス及び論理レベル“L”のいずれかに決定させる
     請求項10または11に記載のマイクロコンピュータの制御方法。
  13.  請求項9~12のいずれか一項に記載のマイクロコンピュータの制御方法において、
     前記マイクロコンピュータが制御する制御対象から信号が入力されたとき、該当するマイクロコンピュータのスリープ状態を解除するステップを実行し、スリープ状態にある電子制御装置とは異なる電子制御装置から送信された信号を前記通信部が受信したとき、スリープ状態にある電子制御装置の低消費電力モードを解除するステップを実行する
     ことを特徴とするマイクロコンピュータの制御方法。
  14.  前記マイクロコンピュータのスリープ状態を解除するステップにおいて、前記複数のマイクロコンピュータのいずれかが制御する制御対象から信号が入力されることに基づいて該信号が入力されたマイクロコンピュータのスリープ状態を解除するステップと、前記制御対象から信号が入力されていないマイクロコンピュータのスリープ状態を解除するステップと、を順に実行する
     請求項13に記載のマイクロコンピュータの制御方法。
  15.  前記低消費電力モードを解除するステップにおいて、前記異なる電子制御装置から送信された信号が入力されることに基づいて前記通信部のスリープ状態を解除させるステップと、全てのマイクロコンピュータのスリープ状態を解除するステップと、を順に実行する
     請求項14に記載のマイクロコンピュータの制御方法。
PCT/JP2011/075801 2011-11-09 2011-11-09 電子制御装置及びマイクロコンピュータの制御方法 WO2013069103A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2013542742A JP5780310B2 (ja) 2011-11-09 2011-11-09 電子制御装置及びマイクロコンピュータの制御方法
US14/345,873 US9430026B2 (en) 2011-11-09 2011-11-09 Electronic control device and microcomputer control method
DE112011105828.4T DE112011105828B4 (de) 2011-11-09 2011-11-09 Elektronische Steuerungsvorrichtungen und Mikrocomputersteuerungsverfahren mit Ruhebetriebsart
CN201180074716.0A CN103917938B (zh) 2011-11-09 2011-11-09 电子控制装置及微型计算机的控制方法
PCT/JP2011/075801 WO2013069103A1 (ja) 2011-11-09 2011-11-09 電子制御装置及びマイクロコンピュータの制御方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/075801 WO2013069103A1 (ja) 2011-11-09 2011-11-09 電子制御装置及びマイクロコンピュータの制御方法

Publications (1)

Publication Number Publication Date
WO2013069103A1 true WO2013069103A1 (ja) 2013-05-16

Family

ID=48288695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/075801 WO2013069103A1 (ja) 2011-11-09 2011-11-09 電子制御装置及びマイクロコンピュータの制御方法

Country Status (5)

Country Link
US (1) US9430026B2 (ja)
JP (1) JP5780310B2 (ja)
CN (1) CN103917938B (ja)
DE (1) DE112011105828B4 (ja)
WO (1) WO2013069103A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014215075A1 (de) * 2014-07-31 2016-02-04 Siemens Aktiengesellschaft Steuerung mindestens eines Rechners eines Schienenfahrzeugs

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9785605B2 (en) * 2014-11-05 2017-10-10 Qualcomm Incorporated Predefined static enumeration for dynamic enumeration buses
CN106385063B (zh) * 2015-08-04 2018-11-20 台达电子工业股份有限公司 电源系统及其电源唤醒方法
KR102338503B1 (ko) 2017-05-30 2021-12-10 현대자동차주식회사 차량 네트워크에서 웨이크업 신호의 송수신 방법

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09237239A (ja) * 1996-03-01 1997-09-09 Fujitsu Ten Ltd 多重伝送装置
JP2000010907A (ja) * 1998-06-24 2000-01-14 Toshiba Corp 情報処理装置
JP2003188862A (ja) * 2001-12-17 2003-07-04 Denso Corp 多重通信装置、多重通信システム
JP2004213197A (ja) * 2002-12-27 2004-07-29 Denso Corp クロック制御回路装置,マイクロコンピュータ,クロック信号の発振周波数調整方法,発振回路装置,メモリインターフェイス回路装置

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW329487B (en) * 1996-10-29 1998-04-11 Mitsubishi Electric Corp Device for processing data and method therefor
US7181635B2 (en) * 2000-03-13 2007-02-20 Analog Devices, Inc. Method for placing a device in a selected mode of operation
WO2003036722A1 (fr) * 2001-10-26 2003-05-01 Fujitsu Limited Circuit integre a semi-conducteur, dispositif electronique dans lequel ce circuit integre est incorpore et procede d'economie d'energie
US7231533B2 (en) * 2003-12-23 2007-06-12 Microchip Technology Incorporated Wake-up reset circuit draws no current when a control signal indicates sleep mode for a digital device
US7210049B2 (en) 2004-01-21 2007-04-24 Delphi Technologies, Inc. Controller area network wake-up system and method
DE102004008543A1 (de) * 2004-02-19 2005-09-01 Volkswagen Ag Verfahren und Vorrichtung zum Netzmanagement für Steuergeräte
JP4427363B2 (ja) * 2004-03-17 2010-03-03 株式会社リコー 画像形成装置、画像形成システム、電源制御方法、電源制御プログラム及び記録媒体
JP4266357B2 (ja) * 2004-03-29 2009-05-20 三菱電機株式会社 車載電子制御装置
JP4844795B2 (ja) * 2004-11-02 2011-12-28 株式会社デンソー 車両用画像撮影装置
KR100849215B1 (ko) * 2007-01-17 2008-07-31 삼성전자주식회사 전원제어장치, 방법, 및 상기 전원제어장치를 구비하는시스템
US8065545B2 (en) * 2007-05-03 2011-11-22 Microchip Technology Incorporated Interrupt/wake-up of an electronic device in a low power sleep mode when detecting a sensor or frequency source activated frequency change
JP4780098B2 (ja) 2007-12-13 2011-09-28 株式会社デンソー マイクロコンピュータ
JP4788804B2 (ja) 2009-06-01 2011-10-05 株式会社デンソー 電子制御装置
US8438416B2 (en) * 2010-10-21 2013-05-07 Advanced Micro Devices, Inc. Function based dynamic power control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09237239A (ja) * 1996-03-01 1997-09-09 Fujitsu Ten Ltd 多重伝送装置
JP2000010907A (ja) * 1998-06-24 2000-01-14 Toshiba Corp 情報処理装置
JP2003188862A (ja) * 2001-12-17 2003-07-04 Denso Corp 多重通信装置、多重通信システム
JP2004213197A (ja) * 2002-12-27 2004-07-29 Denso Corp クロック制御回路装置,マイクロコンピュータ,クロック信号の発振周波数調整方法,発振回路装置,メモリインターフェイス回路装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014215075A1 (de) * 2014-07-31 2016-02-04 Siemens Aktiengesellschaft Steuerung mindestens eines Rechners eines Schienenfahrzeugs

Also Published As

Publication number Publication date
DE112011105828B4 (de) 2016-01-14
DE112011105828T5 (de) 2014-08-14
JPWO2013069103A1 (ja) 2015-04-02
CN103917938B (zh) 2016-10-19
CN103917938A (zh) 2014-07-09
US20140245049A1 (en) 2014-08-28
JP5780310B2 (ja) 2015-09-16
US9430026B2 (en) 2016-08-30

Similar Documents

Publication Publication Date Title
JP5958445B2 (ja) 車載ネットワークシステム、管理装置
JP4483694B2 (ja) 車両用通信システム
US20110046844A1 (en) System and method for changing the state of vehicle components
US10780783B2 (en) Onboard vehicle communication system
JP5725058B2 (ja) データ中継装置
KR20120030341A (ko) 차량 네트워크용 제어장치 및 차량 네트워크의 에너지 절감 작동 방법
JP5780310B2 (ja) 電子制御装置及びマイクロコンピュータの制御方法
JP2011235770A (ja) 車載用制御装置
JP2009296280A (ja) 通信ネットワークシステム及びその通信制御方法
JP4984582B2 (ja) 車載制御装置
US20220271970A1 (en) Method for operating a communication system, communication system and computing system
JP2011203967A (ja) 電子制御装置
JP2012239143A (ja) 電子制御ユニット、車載ネットワーク、データ送信方法
JP4548260B2 (ja) 車両用通信システム
JP2005086692A (ja) ゲートウェイ装置
JP2008283492A (ja) ゲートウェイ装置、車載通信システム
JP2019009678A (ja) 車載通信ネットワークシステム
KR102219603B1 (ko) 네트워크 시스템
Miyashita et al. On-vehicle compact and lightweight multi-channel central gateway unit
JP2020088568A (ja) 電子制御装置
JP6337783B2 (ja) 車載ネットワークシステム
JP2019016931A (ja) ネットワークシステム
WO2021225134A1 (ja) ネットワーク制御装置、ネットワーク制御方法およびネットワーク制御プログラム
JP2018095037A (ja) 車載通信システム
JP2023106133A (ja) 車両用通信システム

Legal Events

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

Ref document number: 11875433

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013542742

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14345873

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1120111058284

Country of ref document: DE

Ref document number: 112011105828

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11875433

Country of ref document: EP

Kind code of ref document: A1