JP2012051422A - Electronic control apparatus - Google Patents

Electronic control apparatus Download PDF

Info

Publication number
JP2012051422A
JP2012051422A JP2010193824A JP2010193824A JP2012051422A JP 2012051422 A JP2012051422 A JP 2012051422A JP 2010193824 A JP2010193824 A JP 2010193824A JP 2010193824 A JP2010193824 A JP 2010193824A JP 2012051422 A JP2012051422 A JP 2012051422A
Authority
JP
Japan
Prior art keywords
signal
circuit
power supply
communication
microcomputer
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2010193824A
Other languages
Japanese (ja)
Other versions
JP5195847B2 (en
Inventor
Eiji Sugitachi
英二 杉立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2010193824A priority Critical patent/JP5195847B2/en
Priority to US13/194,694 priority patent/US8713343B2/en
Priority to CN201110260378.1A priority patent/CN102385322B/en
Priority to DE102011081908.8A priority patent/DE102011081908B4/en
Publication of JP2012051422A publication Critical patent/JP2012051422A/en
Application granted granted Critical
Publication of JP5195847B2 publication Critical patent/JP5195847B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control apparatus that protects a control circuit from being deadlocked in performing shutoff processing.SOLUTION: In the electronic control apparatus 1, when the voltage of power supply VOM supplied from a regulator 4 starts to fall to stop the operation of a microcomputer 3 and a low voltage detection circuit 10 detects the fall of the power voltage, the microcomputer 3 is reset immediately and a communication start detection circuit 6 is permitted to output a communication start signal.

Description

本発明は、制御対象機器を制御する制御回路と、この制御回路に供給する電源を生成する電源回路とを備えてなる電子制御装置に関する。   The present invention relates to an electronic control device including a control circuit that controls a device to be controlled and a power supply circuit that generates power to be supplied to the control circuit.

特許文献1には、車載通信を行うマイクロコンピュータ(マイコン,制御回路)と、そのマイコンに電源を供給する電源ICとを備えた自動車用制御装置が開示されている。特許文献1では、図7のフローチャートに示すように、通常の制御状態(ステップS1)から、例えばイグニッションスイッチがオフするなどしてスリープ条件が成立すると(ステップS2:YES)、以下のようにしてシステムをシャットオフする(マイコンに対する電源供給を遮断する)ための処理が行われる。   Japanese Patent Application Laid-Open No. 2004-228561 discloses an automobile control device including a microcomputer (microcomputer, control circuit) that performs in-vehicle communication and a power supply IC that supplies power to the microcomputer. In Patent Document 1, as shown in the flowchart of FIG. 7, when the sleep condition is satisfied from the normal control state (step S <b> 1) by, for example, turning off the ignition switch (step S <b> 2: YES), the following is performed. Processing for shutting off the system (cutting off the power supply to the microcomputer) is performed.

車載LANとして例えばCANを採用する場合には、通信バス上にドミナント信号が送出されて通信が開始された際にマイコンがウェイクアップするよう準備を行った後(再CAN-Wake-Up許可,ステップS3)シャットオフ処理に移行する(ステップS4)。そして、電源ICがマイコンに供給する電源VOMを遮断することで電源電圧が低下し、マイコンにリセット(ロウアクティブ)がかかると(ステップS5:YES)、マイコンが動作を停止するスリープ状態に移行する(ステップS6)。   For example, when CAN is adopted as an in-vehicle LAN, after preparing for the microcomputer to wake up when a dominant signal is transmitted on the communication bus and communication is started (re-can-wake-up permission, step S3) The process proceeds to the shut-off process (step S4). Then, when the power supply IC drops off the power supply VOM supplied to the microcomputer by the power supply IC and the microcomputer is reset (low active) (step S5: YES), the microcomputer enters a sleep state in which the microcomputer stops its operation. (Step S6).

特許第4032955号公報Japanese Patent No. 4032955

しかしながら、特許文献1のシャットオフシーケンスでは、マイコンは、電源ICに対してシャットオフの指示を行った後に、ステップS5で無限ループを繰り返しながらリセットがかかるのを待機している。この状態で、図8に示すように車載通信のバス上に何れかのマスタが通信バス上にドミナント信号を送出すると((c)参照)、システムはウェイクアップシーケンスを開始し、電源ICが供給する電源電圧は再度上昇に転ずるが((a)参照)、マイコンが無限ループを実行しつつリセット待ちしている状態から変化せず((d)参照)、デッドロック状態に陥ることになる。   However, in the shut-off sequence of Patent Document 1, the microcomputer waits for resetting while repeating an infinite loop in step S5 after instructing the power supply IC to shut off. In this state, as shown in FIG. 8, when any master sends a dominant signal to the communication bus on the in-vehicle communication bus (see (c)), the system starts the wake-up sequence and the power supply IC supplies the signal. The power supply voltage to be turned on again rises (see (a)), but does not change from the state in which the microcomputer is waiting for reset while executing the infinite loop (see (d)), and falls into a deadlock state.

例えば、トランスミッションを制御するためのECU(Electronic Control Unit)については、例えば車両のドアが開いた場合やドライバが運転席に着座した場合に、その時点のトランスミッションのポジションをインストルメントパネルに表示する、という仕様が定められる場合がある。すると、イグニッションがOFFになった後、運転者が車外に出ようとする際にドアが開くと通信バス上に信号が送出されるので、上記のようにデッドロック状態が発生するおそれがある。このような問題を解決するには、例えば図9に示すように、マイコンがステップS5でリセット待ちをしている間(NO)は、通信バス上にドミナント信号が送出されたか(CAN Rx=H)否かを監視する(ステップS7)ことが想定される。   For example, for an ECU (Electronic Control Unit) for controlling the transmission, for example, when the vehicle door is opened or the driver is seated in the driver's seat, the position of the transmission at that time is displayed on the instrument panel. May be defined. Then, after the ignition is turned off, a signal is sent on the communication bus when the door is opened when the driver tries to go out of the vehicle, so that the deadlock state may occur as described above. In order to solve such a problem, for example, as shown in FIG. 9, while the microcomputer is waiting for reset in step S5 (NO), a dominant signal is sent on the communication bus (CAN Rx = H It is assumed that whether or not is monitored (step S7).

しかしながら、CAN対応の通信ドライバICがドミナント信号を検出するための閾値(例えば2V程度)と、マイコンが通信ドライバICの出力信号であるRx信号を認識するハイレベル閾値(例えば3.5V程度)とは設定電圧が異なる。そのため、それぞれの検出タイミングにずれが生じて、ウェイクアップシーケンスが正常に進行しないおそれがある。加えて、上記の各判定はマイコンに供給される電源電圧が変動する期間に行われるので、検出タイミングにずれがより大きくなり双方の判定・認識が不一致となる可能性が高い。   However, a CAN-compatible communication driver IC detects a dominant signal (for example, about 2V), and a microcomputer recognizes an Rx signal that is an output signal of the communication driver IC (for example, about 3.5V). The set voltage is different. Therefore, there is a possibility that the detection timing is shifted and the wakeup sequence does not proceed normally. In addition, since each of the above determinations is performed during a period when the power supply voltage supplied to the microcomputer fluctuates, there is a high possibility that the detection timing is more shifted and the determination / recognition of the two becomes inconsistent.

本発明は上記事情に鑑みてなされたものであり、その目的は、シャットオフ処理を行う場合に、制御回路がデッドロック状態に陥ることを回避できる電子制御装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an electronic control device capable of avoiding a control circuit from falling into a deadlock state when performing a shut-off process.

請求項1記載の電子制御装置によれば、制御回路の動作を停止させるため電源回路によって供給される電源の電圧が低下を開始した場合に、その電圧低下が電圧低下検出回路によって検出されると、直ちに制御回路がリセットされると共に判定回路による通信開始信号の出力が許可される。したがって従来とは異なり、電源電圧が低下を開始した後に通信が開始された結果、電源電圧が再度上昇に転じた場合に、制御回路は自身にリセットがかけられることを待機したままデッドロック状態に陥ることが無く、一旦は確実にリセットされる。そして、電源電圧が上昇してリセットが解除されれば、制御回路はその後に通信バス上に送出されたデータを受信できるので、その受信データに基づいて制御対象機器を制御することが可能となる。   According to the electronic control device of the first aspect, when the voltage drop of the power supply supplied by the power supply circuit to stop the operation of the control circuit starts to drop, the voltage drop is detected by the voltage drop detection circuit. As soon as the control circuit is reset, the output of the communication start signal by the determination circuit is permitted. Therefore, unlike the conventional case, when the power supply voltage starts to rise again as a result of the communication being started after the power supply voltage starts decreasing, the control circuit enters a deadlock state while waiting for itself to be reset. It will never fall and will be reset once. When the power supply voltage rises and the reset is released, the control circuit can subsequently receive data sent on the communication bus, so that the control target device can be controlled based on the received data. .

請求項2記載の電子制御装置によれば、外部より与えられる制御回路のウェイクアップ信号がアクティブになると、電源回路は制御回路に対して電源の供給を開始し、信号出力阻止手段が判定回路による通信開始信号の出力を阻止する。すなわち、上記のケースでは、ウェイクアップ信号がアクティブになれば制御回路が動作を開始するので、判定回路からの不要な信号出力を阻止できる。   According to the second aspect of the present invention, when the wake-up signal of the control circuit supplied from the outside becomes active, the power supply circuit starts supplying power to the control circuit, and the signal output blocking means is operated by the determination circuit. Block output of communication start signal. That is, in the above case, when the wake-up signal becomes active, the control circuit starts operating, so that unnecessary signal output from the determination circuit can be prevented.

請求項3記載の電子制御装置によれば、車両のイグニッションスイッチの信号がONになると、電源回路は制御回路に対して電源の供給を開始し、信号出力阻止手段が判定回路による通信開始信号の出力を阻止する。すなわち、上記のケースでは、イグニッションスイッチの信号がONになれば制御回路が動作を開始するので、請求項2と同様に判定回路からの不要な信号出力を阻止できる。   According to the electronic control device of the third aspect, when the signal of the ignition switch of the vehicle is turned ON, the power supply circuit starts to supply power to the control circuit, and the signal output blocking means receives the communication start signal from the determination circuit. Block output. That is, in the above case, since the control circuit starts operating when the ignition switch signal is turned on, unnecessary signal output from the determination circuit can be prevented as in the second aspect.

請求項4記載の電子制御装置によれば、通信ドライバ,判定回路,ラッチ回路及び電源回路を同一の半導体基板上に構成するので、半導体基板間(チップ間)の接続端子数を減らすことができる。また、通信開始信号を、電源回路に対して遅延なく出力することができ、制御の連携を迅速に行うことができる。   According to the electronic control device of the fourth aspect, since the communication driver, the determination circuit, the latch circuit, and the power supply circuit are configured on the same semiconductor substrate, the number of connection terminals between the semiconductor substrates (between chips) can be reduced. . Further, the communication start signal can be output to the power supply circuit without delay, and the control can be coordinated quickly.

第1実施例であり、電子制御装置の構成を示す機能ブロック図Functional block diagram showing the configuration of the electronic control unit according to the first embodiment マイコンの処理内容を示すフローチャートFlow chart showing processing contents of microcomputer 信号IG−SWがOFFを示した場合のタイミングチャートTiming chart when signal IG-SW indicates OFF 図3相当図3 equivalent figure (a)マイコン及び(b)電源ICの動作状態の遷移と、(c)受信データRxの出力タイミングとを示す図The figure which shows the transition of the operation state of (a) microcomputer and (b) power supply IC, and (c) the output timing of reception data Rx 第2実施例を示す図1相当図FIG. 1 equivalent view showing the second embodiment 従来技術を示す図2相当図(その1)FIG. 2 equivalent view showing the prior art (part 1) 図3相当図3 equivalent figure 図2相当図(その2)Figure 2 equivalent (part 2)

(第1実施例)
以下、第1実施例について図1ないし図5を参照して説明する。図1は、電子制御装置の構成を示す機能ブロック図であり、例えば車両に搭載されるECU(Electronic Control Unit)として構成されている。電子制御装置1は、電源IC2と、マイクロコンピュータ(マイコン,制御回路)3とを備えている。電源IC2にはレギュレータ(電源回路)4が搭載されており、レギュレータ4には、車両のバッテリ電源BATT(例えば12V)が与えられている。そして、レギュレータ4は、電源BATTを降圧してマイコン3に供給する電源VOM(例えば5V)を生成する。
(First embodiment)
Hereinafter, a first embodiment will be described with reference to FIGS. FIG. 1 is a functional block diagram showing a configuration of an electronic control device, which is configured as an ECU (Electronic Control Unit) mounted on a vehicle, for example. The electronic control unit 1 includes a power supply IC 2 and a microcomputer (microcomputer, control circuit) 3. A regulator (power supply circuit) 4 is mounted on the power supply IC 2, and a battery power supply BATT (for example, 12 V) of the vehicle is applied to the regulator 4. Then, the regulator 4 generates a power supply VOM (for example, 5V) that steps down the power supply BATT and supplies it to the microcomputer 3.

また、電源IC2には例えばCANに対応した通信ドライバ(及びレシーバ)5が搭載されている。通信ドライバ5には、通信バス線であるCANH,CANLが接続されており、通信ドライバ5は、これらの、通信バス線を介して他のノードより送信された差動信号を受信すると、受信データRxをマイコン3に送信する。また、マイコン3が送信データTxを通信ドライバ5に出力すると、通信ドライバ5は、送信データTxに応じて通信バス線CANH,CANLに差動信号(ドミナント,レセッシブ)を出力する。
また、通信バス線CANH,CANLには、通信起動検出回路(判定回路)6が接続されている。この通信起動検出回路6は、通信バス線CANH,CANLにドミナント信号が出力されたことを検出すると、通信開始信号をラッチ回路7,ORゲート8を介してレギュレータ4に出力する。
The power supply IC 2 is equipped with a communication driver (and receiver) 5 corresponding to CAN, for example. The communication driver 5 is connected to CANH and CANL which are communication bus lines. When the communication driver 5 receives a differential signal transmitted from another node via the communication bus line, the received data Rx is transmitted to the microcomputer 3. When the microcomputer 3 outputs the transmission data Tx to the communication driver 5, the communication driver 5 outputs a differential signal (dominant, recessive) to the communication bus lines CANH and CANL according to the transmission data Tx.
A communication activation detection circuit (determination circuit) 6 is connected to the communication bus lines CANH and CANL. When detecting that a dominant signal is output to the communication bus lines CANH and CANL, the communication activation detection circuit 6 outputs a communication start signal to the regulator 4 via the latch circuit 7 and the OR gate 8.

ラッチ回路7は、例えば通信開始信号の立ち上がりエッジで出力信号をハイレベルに遷移させてその状態を保持する。3入力のORゲート8には、その他、車両のイグニッションスイッチの信号IG−SWと、マイコン3が出力するシステムシャットオフ信号(ローアクティブ)が与えられている。また、信号IG−SWと、システムシャットオフ信号とはORゲート9の入力端子に与えられ、これらのOR信号がラッチ回路7のクリア信号として与えられている。そして、信号IG−SWは、マイコン3の入力端子にも与えられている。   For example, the latch circuit 7 changes the output signal to a high level at the rising edge of the communication start signal and holds the state. In addition, the 3-input OR gate 8 is supplied with a signal IG-SW of the ignition switch of the vehicle and a system shut-off signal (low active) output from the microcomputer 3. Further, the signal IG-SW and the system shut-off signal are given to the input terminal of the OR gate 9, and these OR signals are given as clear signals for the latch circuit 7. The signal IG-SW is also given to the input terminal of the microcomputer 3.

レギュレータ4は、ORゲート8を介して与えられる信号がハイレベルの場合に動作して、マイコン3に電源VOMを供給し、上記信号がロウレベルになると動作を停止して電源VOMの電圧を0Vにする。レギュレータ4の出力端子(電源VOMの供給線)には、低電圧検出回路(電圧低下検出回路)10が接続されており、低電圧検出回路10は、電源VOMの電圧が所定の閾値(例えば4.5V)を下回ると、電圧低下検出信号をリセット信号発生回路11に出力する。   The regulator 4 operates when the signal supplied via the OR gate 8 is at a high level, supplies the power source VOM to the microcomputer 3, and stops operation when the signal becomes a low level, and the voltage of the power source VOM is set to 0V. To do. A low voltage detection circuit (voltage drop detection circuit) 10 is connected to the output terminal (supply line of the power supply VOM) of the regulator 4, and the low voltage detection circuit 10 has a voltage of the power supply VOM of a predetermined threshold (for example, 4). .5V), a voltage drop detection signal is output to the reset signal generation circuit 11.

リセット信号発生回路11は、上記電圧低下検出信号を受けてマイコン3にリセット信号(ロウアクティブ)を出力する。そして、リセット信号,イグニッションスイッチ信号IG−SW,システムシャットオフ信号は、3入力のORゲート12の入力端子に与えられており、これらのOR信号が通信起動検出回路6の出力許可信号として与えられている。通信起動検出回路6は、ORゲート12を介して与えられる信号がハイレベルの場合に、通信開始信号をラッチ回路7に出力する。
また、電源IC2には、ウォッチドッグタイマ13が搭載されており、ウォッチドッグタイマ13は、マイコン3からのクリア信号が与えられない期間が所定の期間を超えるとオーバーフローして、オーバーフロー信号をリセット信号発生回路11に出力し、マイコン3をリセットさせる。
The reset signal generation circuit 11 receives the voltage drop detection signal and outputs a reset signal (low active) to the microcomputer 3. The reset signal, the ignition switch signal IG-SW, and the system shutoff signal are given to the input terminal of the three-input OR gate 12, and these OR signals are given as output permission signals for the communication activation detection circuit 6. ing. The communication activation detection circuit 6 outputs a communication start signal to the latch circuit 7 when the signal given through the OR gate 12 is at a high level.
The power supply IC 2 is equipped with a watch dog timer 13. The watch dog timer 13 overflows when a period during which the clear signal from the microcomputer 3 is not given exceeds a predetermined period, and the overflow signal is reset as a reset signal. The signal is output to the generation circuit 11 and the microcomputer 3 is reset.

次に、本実施例の作用について図2ないし図5も参照して説明する。図2は、図7相当図である。マイコン3は、ステップS11,S12において、ステップS1,S2と同様に通常の制御状態においてスリープ条件が成立する(例えば信号IG−SWがOFF(ロウレベル)を示す)まで待機する。そして、スリープ条件が成立すると(ステップS12:YES)、マイコン3はシステムシャットオフ信号のレベルをハイ(H)からロー(L)に変化させ(ステップS13)、リセット待ち状態に移行する(ステップS14)。   Next, the operation of the present embodiment will be described with reference to FIGS. FIG. 2 is a view corresponding to FIG. In steps S11 and S12, the microcomputer 3 waits until a sleep condition is satisfied in the normal control state (for example, the signal IG-SW indicates OFF (low level)) in the same manner as in steps S1 and S2. When the sleep condition is satisfied (step S12: YES), the microcomputer 3 changes the level of the system shutoff signal from high (H) to low (L) (step S13), and shifts to a reset waiting state (step S14). ).

以降は、後述するハードウェア側の作用により、マイコン3のリセット信号がアクティブとなり、レギュレータ4より供給される電源VOMのレベルが低下することでスリープ状態に移行し、電源IC2はスタンバイ状態となる(ステップS15)。尚、マイコン3がリセット待ち状態にある間、マイコン3はウォッチドッグタイマ13のクリア信号を出力し続けているので、ウォッチドッグタイマ13がオーバーフローすることはない。   Thereafter, the reset signal of the microcomputer 3 becomes active due to the action of the hardware side to be described later, and the level of the power supply VOM supplied from the regulator 4 is lowered to shift to the sleep state, and the power supply IC 2 enters the standby state ( Step S15). Since the microcomputer 3 continues to output the clear signal of the watchdog timer 13 while the microcomputer 3 is in a reset waiting state, the watchdog timer 13 does not overflow.

図3は、図8相当図である。(a)電源VOMのレベルが低下して、低電圧検出回路10が電圧低下検出信号をリセット信号発生回路11に出力すると、リセット信号発生回路11は、その信号を受けてマイコン3にリセット信号を出力する(e)。図3(d)では、マイコン3にリセットがかかる前に通信バス上にDATA1が出力されるが、この時点でマイコン3はステップS14でリセット待ち状態にあるので、DATA1は受信されない。   FIG. 3 corresponds to FIG. (A) When the level of the power supply VOM drops and the low voltage detection circuit 10 outputs a voltage drop detection signal to the reset signal generation circuit 11, the reset signal generation circuit 11 receives the signal and sends a reset signal to the microcomputer 3. Output (e). In FIG. 3D, DATA1 is output on the communication bus before the microcomputer 3 is reset. At this time, the microcomputer 3 is in a reset waiting state in step S14, so DATA1 is not received.

また、マイコン3にリセット信号が出力されると同時に、通信起動検出回路6による通信開始信号の出力が許可される(c)。すなわち、図2のステップS14で「YES」都なる時点で「再CAN-Wake-Up許可」の状態になる。そして、通信バス上にDATA2が出力されると、通信起動検出回路6が通信開始信号を出力し、当該信号がラッチ回路7及びORゲート8を介してレギュレータ4に与えられる。
すると、レギュレータ4は動作を再開するので電源VOMのレベルは上昇に転じ、電源VOMのレベルが所定レベル以上になることで、マイコン3に内蔵されている発振回路が動作を開始すると、発振状態が安定するまでの時間が経過した後、マイコン3のリセットが解除される(e)。したがってこの場合、マイコン3は、DATA1〜3を取りこぼすことにはなるが、従来とは異なり、リセット待ちのデッドロック状態に陥ることはない。
At the same time as the reset signal is output to the microcomputer 3, the communication start detection circuit 6 is allowed to output the communication start signal (c). That is, at the time of “YES” in step S14 in FIG. 2, the “re-can-wake-up permission” state is entered. When DATA 2 is output on the communication bus, the communication activation detection circuit 6 outputs a communication start signal, and this signal is given to the regulator 4 via the latch circuit 7 and the OR gate 8.
Then, since the regulator 4 resumes operation, the level of the power supply VOM starts to rise, and when the level of the power supply VOM becomes equal to or higher than the predetermined level, when the oscillation circuit built in the microcomputer 3 starts operation, the oscillation state changes. After the time until stabilization has elapsed, the reset of the microcomputer 3 is released (e). Therefore, in this case, the microcomputer 3 misses DATA1 to DATA3. However, unlike the conventional case, the microcomputer 3 does not fall into a deadlock state waiting for reset.

また図4は、図3とは異なるケースであり、マイコン3にリセットがかかり、通信起動検出回路6による通信開始信号の出力が許可された後に、通信バス上にDATA1が出力された場合である。この場合は、DATA1が出力されると通信起動検出回路6が通信開始信号を出力し、レギュレータ4が動作を再開するので、図3よりは早いタイミングで電源VOMのレベルが上昇に転じる。したがって、マイコン3は、DATA1,2を取りこぼすことになるが、このパターンについては従来技術と同様の動作である。   FIG. 4 is a case different from FIG. 3, in which the microcomputer 3 is reset and DATA1 is output on the communication bus after the communication start detection circuit 6 is permitted to output the communication start signal. . In this case, when DATA1 is output, the communication activation detection circuit 6 outputs a communication start signal, and the regulator 4 resumes its operation, so that the level of the power supply VOM starts to rise at an earlier timing than in FIG. Therefore, the microcomputer 3 misses DATA1 and DATA2, but this pattern is the same operation as that of the prior art.

更に図5は、(a)マイコン3,(b)電源IC2(レギュレータ4)の動作状態の遷移と、(c)受信データRx(ドミナント信号)の出力タイミングとを示したものである。マイコン3がシステムシャットオフ信号を出力してリセット待ち状態となっている間に受信データRxが出力されても、マイコン3はそのデータを受け付けず、リセットがかかるまでの間はレギュレータ4も起動されない。そして、マイコン3にリセットがかかっている間に受信データRxが出力されると、通信起動検出回路6が通信開始信号を出力し、レギュレータ4が動作を再開して電源VOMのレベルが上昇に転じる。   FIG. 5 shows (a) the transition of the operating state of the microcomputer 3, (b) the power supply IC 2 (regulator 4), and (c) the output timing of the reception data Rx (dominant signal). Even if the reception data Rx is output while the microcomputer 3 outputs the system shut-off signal and is in the reset waiting state, the microcomputer 3 does not accept the data and the regulator 4 is not activated until the reset is applied. . When the reception data Rx is output while the microcomputer 3 is being reset, the communication activation detection circuit 6 outputs a communication start signal, the regulator 4 resumes operation, and the level of the power supply VOM starts to rise. .

以上のように本実施例によれば、電子制御装置1において、マイコン3の動作を停止させるためレギュレータ4により供給される電源VOMの電圧が低下を開始した場合に、その電圧低下が低電圧検出回路10で検出されると、直ちにマイコン3がリセットされると共に通信起動検出回路6による通信開始信号の出力が許可されるようにした。したがって従来とは異なり、電電圧が低下を開始した後に通信が開始された結果、その電源電圧が再度上昇に転じた場合に、マイコン3がリセット待ちで待機したままデッドロック状態に陥ることが無く、一旦は確実にリセットされる。そして、電源電圧が上昇してリセットが解除されれば、マイコン3はその後に通信バス上に送出されたデータを受信できるので、その受信データに基づいて制御対象機器を制御することが可能となる。   As described above, according to the present embodiment, when the voltage of the power source VOM supplied by the regulator 4 to stop the operation of the microcomputer 3 starts to decrease in the electronic control unit 1, the voltage decrease is detected as a low voltage. When detected by the circuit 10, the microcomputer 3 is immediately reset and the communication start detection circuit 6 is allowed to output a communication start signal. Therefore, unlike the conventional case, when the power supply voltage starts to rise again as a result of the start of communication after the electric voltage starts decreasing, the microcomputer 3 does not fall into a deadlock state while waiting for reset. , Once reset reliably. Then, if the power supply voltage rises and the reset is released, the microcomputer 3 can subsequently receive the data sent on the communication bus, so that the control target device can be controlled based on the received data. .

また、電源IC2に、レギュレータ4,通信ドライバ5,通信起動検出回路6,ラッチ回路7を搭載してこれらを同一のチップ(半導体基板)上に構成するので、チップ間の接続端子数を減らすことができる。また、通信開始信号を、レギュレータ4に対して遅延なく出力することができ、制御の連携を迅速に行うことができる。   Further, since the regulator 4, the communication driver 5, the communication activation detection circuit 6, and the latch circuit 7 are mounted on the power supply IC 2 and are configured on the same chip (semiconductor substrate), the number of connection terminals between the chips is reduced. Can do. Further, the communication start signal can be output to the regulator 4 without delay, and the control can be coordinated quickly.

(第2実施例)
図6は第2実施例であり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分について説明する。第2実施例の電子制御装置21は、電源IC22の構成が第1実施例の電源IC2とは相違している。電子制御装置21に対しては、外部のECUより出力されるマイコン3のウェイクアップ信号;Wake信号(ハイアクティブ)が与えられており、そのWake信号は、信号IG−SWと共にORゲート23を介して各ORゲート8,9,12に与えられる。尚、Wake信号を出力する外部のECUは、前述したように、例えば電子制御装置21がトランスミッション用のECUである場合には、着座ECUやドアECU等である。
(Second embodiment)
FIG. 6 shows a second embodiment. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted. Hereinafter, different parts will be described. The electronic control unit 21 of the second embodiment is different from the power supply IC 2 of the first embodiment in the configuration of the power supply IC 22. The electronic control device 21 is provided with a wake-up signal (Wake signal (high active)) of the microcomputer 3 output from an external ECU. The wake signal is passed through the OR gate 23 together with the signal IG-SW. To each of the OR gates 8, 9, and 12. As described above, the external ECU that outputs the Wake signal is, for example, a seating ECU or a door ECU when the electronic control unit 21 is a transmission ECU.

また、通信起動検出回路(判定回路)24についてはより実態的に示しており、通信バス線CANH,CANLの差動信号を検出する差動増幅回路25と、その差動増幅回路25の出力信号をラッチ回路7に出力するANDゲート26(信号出力阻止手段)とで構成されている。すなわち、通信バス線CANH,CANLにドミナント信号が出力されると、バス間の電位差に応じて差動増幅回路25はハイレベルの信号を出力する。そして、ANDゲート26の他方の入力端子(負論理)には、ORゲート12の出力端子が接続されている。   Further, the communication activation detection circuit (determination circuit) 24 is shown more practically, and a differential amplifier circuit 25 that detects a differential signal of the communication bus lines CANH and CANL and an output signal of the differential amplifier circuit 25 are shown. And an AND gate 26 (signal output blocking means) for outputting the signal to the latch circuit 7. That is, when a dominant signal is output to the communication bus lines CANH and CANL, the differential amplifier circuit 25 outputs a high level signal according to the potential difference between the buses. The output terminal of the OR gate 12 is connected to the other input terminal (negative logic) of the AND gate 26.

次に、第2実施例の作用について説明する。外部よりWake信号が出力されると、信号IG−SWがONを示した場合と同様に、ORゲート23及び8を介してレギュレータ4が起動し、電源VOMの電圧が上昇してマイコン3に供給され、マイコン3が起動(ウェイクアップ)する。
この時、ORゲート23が出力するハイレベル信号は、ORゲート9及び12にも与えられてラッチ回路7がクリアされ、ANDゲート26の負論理側の入力端子がハイレベルになる。したがって、この期間に通信起動検出回路24の差動増幅回路25が、通信バス線CANH,CANLにドミナント信号が出力されたことを検知しても、ラッチ回路7に対する通信開始信号の出力は、ANDゲート26により阻止される。尚、以上の動作については、信号IG−SWがハイレベルに変化した場合も全く同様になる。
Next, the operation of the second embodiment will be described. When a Wake signal is output from the outside, the regulator 4 is activated via the OR gates 23 and 8 as in the case where the signal IG-SW indicates ON, and the voltage of the power supply VOM is increased and supplied to the microcomputer 3. Then, the microcomputer 3 starts (wakes up).
At this time, the high level signal output from the OR gate 23 is also supplied to the OR gates 9 and 12, and the latch circuit 7 is cleared, so that the input terminal on the negative logic side of the AND gate 26 becomes high level. Therefore, even if the differential amplifier circuit 25 of the communication activation detection circuit 24 detects that a dominant signal is output to the communication bus lines CANH and CANL during this period, the communication start signal output to the latch circuit 7 is AND. Blocked by gate 26. The above operation is exactly the same when the signal IG-SW changes to a high level.

以上のように第2実施例によれば、電子制御装置21は、外部より与えられるマイコン3のウェイクアップ信号Wakeがアクティブになるか、又は車両のイグニッションスイッチの信号IG−SWがONを示すと、レギュレータ4はマイコン3に対する電源VOMの供給を開始し、ANDゲート26が通信起動検出回路24による通信開始信号の出力を阻止する。すなわち、上記のケースでは、ウェイクアップ信号Wakeがアクティブになるか、又は信号IG−SWがONを示すことでマイコン3が動作を開始するので、通信起動検出回路24からの不要な信号出力を阻止できる。   As described above, according to the second embodiment, when the electronic control unit 21 activates the wake-up signal Wake of the microcomputer 3 given from the outside or the signal IG-SW of the ignition switch of the vehicle indicates ON. The regulator 4 starts supplying the power source VOM to the microcomputer 3, and the AND gate 26 prevents the communication start detection circuit 24 from outputting a communication start signal. That is, in the above case, the microcomputer 3 starts operating when the wake-up signal Wake becomes active or the signal IG-SW indicates ON, so that unnecessary signal output from the communication activation detection circuit 24 is prevented. it can.

本発明は上記、又は図面に記載した実施例にのみ限定されるものではなく、以下のような変型又は拡張が可能である。
電源IC2とマイコン3とを、それぞれ異なるチップ上に構成する必要はなく、全てを同一のチップ上に構成しても良い。
第2実施例において、外部から電子制御装置21に与える信号は、ウェイクアップ信号Wake,イグニッションスイッチ信号IG−SWの何れか一方だけでも良い。
ウォッチドッグタイマ13がオーバーフローすることでマイコン3をリセットする場合、第2実施例のように、通信開始信号の出力を阻止しても良い。
ウォッチドッグタイマ13は、必要に応じて設ければ良い。
車載通信はCANに限ることなく、LINやFlexRay(登録商標)等であっても良い。また、必ずしも車載機器を制御対象とするものに限らないので、車載通信に限る必要もない。
The present invention is not limited to the embodiments described above or shown in the drawings, and can be modified or expanded as follows.
The power supply IC 2 and the microcomputer 3 do not have to be configured on different chips, but may be configured on the same chip.
In the second embodiment, the signal given from the outside to the electronic control unit 21 may be only one of the wake-up signal Wake and the ignition switch signal IG-SW.
When the microcomputer 3 is reset when the watchdog timer 13 overflows, the output of the communication start signal may be blocked as in the second embodiment.
The watchdog timer 13 may be provided as necessary.
In-vehicle communication is not limited to CAN, but may be LIN, FlexRay (registered trademark), or the like. Moreover, since it is not necessarily limited to what controls an in-vehicle device, it is not necessary to limit to in-vehicle communication.

図面中、1は電子制御装置、2は電源IC、3はマイクロコンピュータ(制御回路)、4はレギュレータ(電源回路)、5は通信ドライバ、6は通信起動検出回路(判定回路)、7はラッチ回路、10は低電圧検出回路(電圧低下検出回路)、21は電子制御装置、22は電源IC、24は通信起動検出回路(判定回路)、26はANDゲート(信号出力阻止手段)を示す。   In the drawings, 1 is an electronic control device, 2 is a power supply IC, 3 is a microcomputer (control circuit), 4 is a regulator (power supply circuit), 5 is a communication driver, 6 is a communication activation detection circuit (determination circuit), and 7 is a latch. Reference numeral 10 denotes a low voltage detection circuit (voltage drop detection circuit), 21 denotes an electronic control device, 22 denotes a power supply IC, 24 denotes a communication activation detection circuit (determination circuit), and 26 denotes an AND gate (signal output blocking means).

リセット信号発生回路11は、上記電圧低下検出信号を受けてマイコン3にリセット信号(ロウアクティブ)を出力する。そして、リセット信号,イグニッションスイッチ信号IG−SW,システムシャットオフ信号は、3入力のORゲート12の入力端子に与えられており、これらのOR信号が通信起動検出回路6の出力許可信号として与えられている。通信起動検出回路6は、ORゲート12を介して与えられる信号がロウレベルの場合に、通信開始信号をラッチ回路7に出力する。
また、電源IC2には、ウォッチドッグタイマ13が搭載されており、ウォッチドッグタイマ13は、マイコン3からのクリア信号が与えられない期間が所定の期間を超えるとオーバーフローして、オーバーフロー信号をリセット信号発生回路11に出力し、マイコン3をリセットさせる。
The reset signal generation circuit 11 receives the voltage drop detection signal and outputs a reset signal (low active) to the microcomputer 3. The reset signal, the ignition switch signal IG-SW, and the system shutoff signal are given to the input terminal of the three-input OR gate 12, and these OR signals are given as output permission signals for the communication activation detection circuit 6. ing. Communication start detection circuit 6, the signal applied through the OR gate 12 is in the case of low-level, and outputs a communication start signal to the latch circuit 7.
The power supply IC 2 is equipped with a watch dog timer 13. The watch dog timer 13 overflows when a period during which the clear signal from the microcomputer 3 is not given exceeds a predetermined period, and the overflow signal is reset as a reset signal. The signal is output to the generation circuit 11 and the microcomputer 3 is reset.

また、マイコン3にリセット信号が出力されると同時に、通信起動検出回路6による通信開始信号の出力が許可される(c)。すなわち、図2のステップS14で「YES」なる時点で「再CAN-Wake-Up許可」の状態になる。そして、通信バス上にDATA2が出力されると、通信起動検出回路6が通信開始信号を出力し、当該信号がラッチ回路7及びORゲート8を介してレギュレータ4に与えられる。
すると、レギュレータ4は動作を再開するので電源VOMのレベルは上昇に転じ、電源VOMのレベルが所定レベル以上になることで、マイコン3に内蔵されている発振回路が動作を開始すると、発振状態が安定するまでの時間が経過した後、マイコン3のリセットが解除される(e)。したがってこの場合、マイコン3は、DATA1〜3を取りこぼすことにはなるが、従来とは異なり、リセット待ちのデッドロック状態に陥ることはない。
At the same time as the reset signal is output to the microcomputer 3, the communication start detection circuit 6 is allowed to output the communication start signal (c). That is, when “YES” is determined in step S14 of FIG. 2, the “re-CAN-Wake-Up permission” state is set. When DATA 2 is output on the communication bus, the communication activation detection circuit 6 outputs a communication start signal, and this signal is given to the regulator 4 via the latch circuit 7 and the OR gate 8.
Then, since the regulator 4 resumes operation, the level of the power supply VOM starts to rise, and when the level of the power supply VOM becomes equal to or higher than the predetermined level, when the oscillation circuit built in the microcomputer 3 starts operation, the oscillation state changes. After the time until stabilization has elapsed, the reset of the microcomputer 3 is released (e). Therefore, in this case, the microcomputer 3 misses DATA1 to DATA3. However, unlike the conventional case, the microcomputer 3 does not fall into a deadlock state waiting for reset.

Claims (4)

制御対象機器を制御する制御回路と、
この制御回路が通信バスを介して通信を行うための通信ドライバと、
前記通信バスを介して通信が開始されたことを判定する判定回路と、
この判定回路により出力される通信開始信号をラッチするラッチ回路と、
前記制御回路に供給する電源を生成し、前記制御回路により出力される制御信号又は前記ラッチ回路を介して与えられる通信開始信号により前記電源の供給が制御される電源回路と、
前記電源の電圧低下を検出する電圧低下検出回路とを備え、
前記電圧低下検出回路により出力される電圧低下検出信号によって前記制御回路をリセットすると共に、前記判定回路による通信開始信号の出力を許可することを特徴とする電子制御装置。
A control circuit for controlling the device to be controlled;
A communication driver for the control circuit to communicate via the communication bus;
A determination circuit for determining that communication is started via the communication bus;
A latch circuit that latches a communication start signal output by the determination circuit;
A power supply circuit that generates power to be supplied to the control circuit and whose supply is controlled by a control signal output by the control circuit or a communication start signal given through the latch circuit;
A voltage drop detection circuit for detecting a voltage drop of the power supply,
The electronic control device according to claim 1, wherein the control circuit is reset by a voltage drop detection signal output from the voltage drop detection circuit, and an output of a communication start signal by the determination circuit is permitted.
外部より前記制御回路のウェイクアップ信号が与えられ、
前記ウェイクアップ信号がアクティブになると、前記電源回路は、前記制御回路に対して電源の供給を開始し、
前記ウェイクアップ信号がアクティブになると、前記判定回路による通信開始信号の出力を阻止する信号出力阻止手段を備えたことを特徴とする請求項1記載の電子制御装置。
The control circuit wake-up signal is given from the outside,
When the wakeup signal becomes active, the power supply circuit starts supplying power to the control circuit,
2. The electronic control device according to claim 1, further comprising a signal output blocking unit that blocks output of a communication start signal by the determination circuit when the wakeup signal becomes active.
車両に搭載され、イグニッションスイッチのON,OFFを示す信号が与えられ、
前記イグニッションスイッチの信号がONになると、前記電源回路は、前記制御回路に対して電源の供給を開始し、
前記イグニッションスイッチ信号がONになると、前記判定回路による通信開始信号の出力を阻止する信号出力阻止手段を備えたことを特徴とする請求項1又は2記載の電子制御装置。
It is mounted on the vehicle and given a signal indicating the ignition switch ON / OFF,
When the ignition switch signal is turned ON, the power supply circuit starts supplying power to the control circuit,
3. The electronic control device according to claim 1, further comprising a signal output blocking unit that blocks output of a communication start signal by the determination circuit when the ignition switch signal is turned on.
前記通信ドライバ,前記判定回路,前記ラッチ回路及び前記電源回路を、同一の半導体基板上に構成したことを特徴とする請求項1ないし3の何れかに記載の電子制御装置。   4. The electronic control device according to claim 1, wherein the communication driver, the determination circuit, the latch circuit, and the power supply circuit are configured on the same semiconductor substrate.
JP2010193824A 2010-08-31 2010-08-31 Electronic control unit Active JP5195847B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010193824A JP5195847B2 (en) 2010-08-31 2010-08-31 Electronic control unit
US13/194,694 US8713343B2 (en) 2010-08-31 2011-07-29 Electronic control apparatus
CN201110260378.1A CN102385322B (en) 2010-08-31 2011-08-30 Electronic control apparatus
DE102011081908.8A DE102011081908B4 (en) 2010-08-31 2011-08-31 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010193824A JP5195847B2 (en) 2010-08-31 2010-08-31 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2012051422A true JP2012051422A (en) 2012-03-15
JP5195847B2 JP5195847B2 (en) 2013-05-15

Family

ID=45905296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010193824A Active JP5195847B2 (en) 2010-08-31 2010-08-31 Electronic control unit

Country Status (1)

Country Link
JP (1) JP5195847B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101876734B1 (en) * 2016-04-12 2018-07-10 현대자동차주식회사 Controller Mounted On Vehicle and Method For Detecting Ignition Condition Thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0532142A (en) * 1991-03-13 1993-02-09 Hitachi Ltd Watch dog timer device of microcomputer system supply
JPH0717660U (en) * 1993-08-31 1995-03-31 株式会社東海理化電機製作所 Vehicle load control device
JPH07232604A (en) * 1993-12-29 1995-09-05 Toyota Motor Corp On-vehicle network controller
JP2007133729A (en) * 2005-11-11 2007-05-31 Nec Electronics Corp Electronic controller and method of controlling same
JP4032955B2 (en) * 2002-12-17 2008-01-16 株式会社日立製作所 Electronic control unit for automobile
JP2009202822A (en) * 2008-02-29 2009-09-10 Yazaki Corp Control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0532142A (en) * 1991-03-13 1993-02-09 Hitachi Ltd Watch dog timer device of microcomputer system supply
JPH0717660U (en) * 1993-08-31 1995-03-31 株式会社東海理化電機製作所 Vehicle load control device
JPH07232604A (en) * 1993-12-29 1995-09-05 Toyota Motor Corp On-vehicle network controller
JP4032955B2 (en) * 2002-12-17 2008-01-16 株式会社日立製作所 Electronic control unit for automobile
JP2007133729A (en) * 2005-11-11 2007-05-31 Nec Electronics Corp Electronic controller and method of controlling same
JP2009202822A (en) * 2008-02-29 2009-09-10 Yazaki Corp Control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101876734B1 (en) * 2016-04-12 2018-07-10 현대자동차주식회사 Controller Mounted On Vehicle and Method For Detecting Ignition Condition Thereof

Also Published As

Publication number Publication date
JP5195847B2 (en) 2013-05-15

Similar Documents

Publication Publication Date Title
US10346231B2 (en) Watchdog circuit, power IC and watchdog monitor system
US8713343B2 (en) Electronic control apparatus
JP5335663B2 (en) Message buffering method and unit for a receiving device on a communication bus
JP4518150B2 (en) Electronic control device for vehicle
US10501081B2 (en) Vehicular control device, method of controlling vehicular control device, and vehicular control system
US10817043B2 (en) System and method for entering and exiting sleep mode in a graphics subsystem
EP3742257B1 (en) System and method of power mode management for a processor
US9411609B2 (en) Electronic control apparatus
EP2673171B1 (en) Motor vehicle and method of controlling a motor vehicle
JP5195943B2 (en) Electronic control unit
JP2010245935A (en) Gateway device, slave device, and network system
JP5281448B2 (en) Electronic control device, abnormality monitoring method
JP5195847B2 (en) Electronic control unit
US9145100B2 (en) In-vehicle ECU
JP5465799B2 (en) Control device
JP6198175B2 (en) Communication circuit
JP5769403B2 (en) Monitoring device and electronic device
JP4730356B2 (en) Power control device
JP2008060680A (en) Communications device and communicating system
JP2001236248A (en) Fail safe circuit and controller equipped with the same
JP2003273941A (en) Transceiver circuit
JP2010097282A (en) Controller and method of releasing resting state
JP2010100165A (en) Vehicle control apparatus and on-vehicle gateway apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5195847

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250