JP2016130967A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2016130967A
JP2016130967A JP2015005274A JP2015005274A JP2016130967A JP 2016130967 A JP2016130967 A JP 2016130967A JP 2015005274 A JP2015005274 A JP 2015005274A JP 2015005274 A JP2015005274 A JP 2015005274A JP 2016130967 A JP2016130967 A JP 2016130967A
Authority
JP
Japan
Prior art keywords
signal
microcomputer
output
reset
outputs
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
JP2015005274A
Other languages
Japanese (ja)
Other versions
JP6332048B2 (en
Inventor
晋也 植村
Shinya Uemura
晋也 植村
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 JP2015005274A priority Critical patent/JP6332048B2/en
Priority to DE102015225730.4A priority patent/DE102015225730A1/en
Publication of JP2016130967A publication Critical patent/JP2016130967A/en
Application granted granted Critical
Publication of JP6332048B2 publication Critical patent/JP6332048B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02NSTARTING OF COMBUSTION ENGINES; STARTING AIDS FOR SUCH ENGINES, NOT OTHERWISE PROVIDED FOR
    • F02N11/00Starting of engines by means of electric motors
    • F02N11/08Circuits or control means specially adapted for starting of engines
    • F02N11/087Details of the switching means in starting circuits, e.g. relays or electronic switches
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • F02D41/28Interface circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02NSTARTING OF COMBUSTION ENGINES; STARTING AIDS FOR SUCH ENGINES, NOT OTHERWISE PROVIDED FOR
    • F02N11/00Starting of engines by means of electric motors
    • F02N11/10Safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02NSTARTING OF COMBUSTION ENGINES; STARTING AIDS FOR SUCH ENGINES, NOT OTHERWISE PROVIDED FOR
    • F02N2250/00Problems related to engine starting or engine's starting apparatus
    • F02N2250/02Battery voltage drop at start, e.g. drops causing ECU reset

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device that causes a starter relay to be turned off when a microcomputer is abnormally operative, and can suppress the starter relay from being turned off even when a reset signal is output upon cranking.SOLUTION: An electronic control device comprises: a drive circuit of a starter relay; a microcomputer that outputs a control signal to the drive circuit; a microcomputer monitor unit that determines whether the microcomputer is normally operative to output a first signal; a voltage monitor unit that determines whether a power source voltage is normal to output a second signal, and when the power source voltage is not normal, outputs a reset signal to the microcomputer and the microcomputer monitor unit as the second signal; a latch circuit that retains a last control signal until a next control signal is input regardless of the reset signal to output the last control signal as a third signal; and an AND gate that outputs a logic AND of the first signal and the third signal to the drive circuit. The microcomputer monitor unit is configured to retain and output the first signal right before the reset signal is output in a reset period.SELECTED DRAWING: Figure 2

Description

本発明は、スタータリレーを介してスタータモータを制御する電子制御装置に関する。   The present invention relates to an electronic control device that controls a starter motor via a starter relay.

リレーを介してモータを制御する電子制御装置として、例えば特許文献1に記載のものが知られている。この電子制御装置は、マイコンがリセットされているときに、リレーの駆動回路を構成するスイッチに対してリセット直前の制御信号を保持して出力するように構成されている。   As an electronic control device that controls a motor via a relay, for example, a device described in Patent Document 1 is known. This electronic control device is configured to hold and output a control signal immediately before resetting to a switch constituting a relay drive circuit when the microcomputer is reset.

米国特許第6901326号明細書US Pat. No. 6,901,326

図5は、特許文献1に代表される、リレーを介してモータを制御する従来の電子制御装置の概略構成を示している。図6は、スタータスイッチのオン中に、電源電圧低下が生じた場合の動作例を示している。図5では、後述する本実施形態の要素と共通乃至関連する要素に対し、本実施形態の要素の符号に100を加算した符号を付与している。   FIG. 5 shows a schematic configuration of a conventional electronic control apparatus represented by Patent Document 1 that controls a motor via a relay. FIG. 6 shows an operation example when a power supply voltage drop occurs while the starter switch is on. In FIG. 5, the code | symbol which added 100 to the code | symbol of the element of this embodiment is provided with respect to the element common thru | or related with the element of this embodiment mentioned later.

図5に示す電子制御装置110は、スタータリレー112を介してスタータモータ113を制御する電子制御装置となっている。電子制御装置110は、駆動回路120、電源122、マイコン123、マイコン監視部124、電圧監視部125、ラッチ回路126、リセットタイマ127、及びANDゲート128を備えている。   The electronic control device 110 shown in FIG. 5 is an electronic control device that controls the starter motor 113 via the starter relay 112. The electronic control device 110 includes a drive circuit 120, a power supply 122, a microcomputer 123, a microcomputer monitoring unit 124, a voltage monitoring unit 125, a latch circuit 126, a reset timer 127, and an AND gate 128.

駆動回路120は、スタータリレー112に対して、スタータリレー112をオン、オフするための駆動信号を出力する。駆動回路120は、MOSFETなどのスイッチ121を有しており、このスイッチ121の一端が、電磁式のスタータリレー112を構成するコイルに接続されている。電源122は、マイコン123に対して、マイコン123が動作するための電源電圧を供給する。   The drive circuit 120 outputs a drive signal for turning on and off the starter relay 112 to the starter relay 112. The drive circuit 120 has a switch 121 such as a MOSFET, and one end of the switch 121 is connected to a coil constituting the electromagnetic starter relay 112. The power supply 122 supplies a power supply voltage for operating the microcomputer 123 to the microcomputer 123.

マイコン123は、電源電圧の供給を受けて動作し、スタータスイッチ111からの入力に基づいて、駆動回路120の駆動を制御するための制御信号を出力する。マイコン123は、後述するリセット信号が出力されていない期間(リセット解除期間)において、制御信号を出力する。図6において、制御信号のうち、「1」を付記したものが、スイッチ121をオンさせるための信号であり、スタータスイッチ111のオンに対応している。一方、「0」を付記したものが、スイッチ121をオフさせるための信号であり、スタータスイッチ111のオフに対応している。   The microcomputer 123 operates in response to the supply of the power supply voltage, and outputs a control signal for controlling the drive of the drive circuit 120 based on the input from the starter switch 111. The microcomputer 123 outputs a control signal during a period in which a reset signal (described later) is not output (reset release period). In FIG. 6, the control signal with “1” added thereto is a signal for turning on the switch 121 and corresponds to turning on the starter switch 111. On the other hand, a signal with “0” added thereto is a signal for turning off the switch 121 and corresponds to turning off the starter switch 111.

また、マイコン123は、自身の動作の妥当性を監視するためのテスト信号を生成し、マイコン監視部124に対して定期的に出力する。マイコン123は、リセット解除期間において、テスト信号を出力する。   Further, the microcomputer 123 generates a test signal for monitoring the validity of its own operation and periodically outputs it to the microcomputer monitoring unit 124. The microcomputer 123 outputs a test signal during the reset release period.

マイコン監視部124は、マイコン123が正常に動作しているか否かを判定して、判定結果に応じた第1信号を出力する。具体的には、マイコン123から出力されたテスト信号に基づき、マイコン123が正常に動作しているか否かを判定する。マイコン監視部124は、リセット解除期間において、マイコン123が正常に動作しているか否かを判定し、判定結果に応じた第1信号を出力する。マイコン123が異常のときには、第1信号として例えばローレベルの信号を出力し、マイコン123が正常のときには、第1信号としてハイレベルの信号を出力する。また、マイコン監視部124は、リセット信号が出力されている期間(リセット期間)において、マイコン123が異常であるときと同じ信号を出力する。すなわち、リセット期間では、第1信号として図6に示すようにローレベルの信号を出力する。   The microcomputer monitoring unit 124 determines whether the microcomputer 123 is operating normally and outputs a first signal corresponding to the determination result. Specifically, based on the test signal output from the microcomputer 123, it is determined whether the microcomputer 123 is operating normally. The microcomputer monitoring unit 124 determines whether or not the microcomputer 123 is operating normally during the reset release period, and outputs a first signal corresponding to the determination result. For example, when the microcomputer 123 is abnormal, a low level signal is output as the first signal, and when the microcomputer 123 is normal, a high level signal is output as the first signal. In addition, the microcomputer monitoring unit 124 outputs the same signal as when the microcomputer 123 is abnormal during the period in which the reset signal is output (reset period). That is, in the reset period, a low level signal is output as the first signal as shown in FIG.

電圧監視部125は、電源電圧が正常レベルであるか否かを判定して、判定結果に応じた第2信号を出力する。電源電圧が予め設定された所定値以下の場合には、第2信号として、マイコン123をリセットさせるためのリセット信号をマイコン123及びマイコン監視部124に出力する。リセット信号として、ローレベルの信号を出力する。図6では、スタータスイッチ111がオンされているオン期間中に電源電圧が低下し、オン期間の一部とタイミングが重なるように、電圧監視部124がリセット信号を出力する。   The voltage monitoring unit 125 determines whether the power supply voltage is at a normal level and outputs a second signal corresponding to the determination result. When the power supply voltage is equal to or lower than a predetermined value set in advance, a reset signal for resetting the microcomputer 123 is output to the microcomputer 123 and the microcomputer monitoring unit 124 as the second signal. A low level signal is output as a reset signal. In FIG. 6, the voltage monitoring unit 124 outputs a reset signal so that the power supply voltage decreases during the on period when the starter switch 111 is on, and the timing overlaps with a part of the on period.

ラッチ回路126は、マイコン123から出力される制御信号に基づき、ANDゲート128に対して第3信号を出力する。ラッチ回路126は、リセット信号に関わらず、次の制御信号が入力されるまで、直前に入力された制御信号を保持(ラッチ)して出力する。したがって、リセット信号が出力されると、図6に示すように、第3信号として、リセット信号が出力される直前の制御信号を保持して出力する。図6では、スイッチ121をオンさせるためのハイレベルの信号を保持して出力している。   The latch circuit 126 outputs a third signal to the AND gate 128 based on the control signal output from the microcomputer 123. Regardless of the reset signal, the latch circuit 126 holds (latches) and outputs the control signal input immediately before the next control signal is input. Therefore, when the reset signal is output, as shown in FIG. 6, the control signal immediately before the reset signal is output is held and output as the third signal. In FIG. 6, a high level signal for turning on the switch 121 is held and output.

リセットタイマ127は、電圧監視部125から出力される第2信号に基づき、ANDゲート128に対して第4信号を出力する。図6に示すように、リセットタイマ127は、第2信号としてリセット信号が出力されるとカウントを開始し、カウント値が予め設定された所定値に達するまで、リセット期間中だけカウントを継続する。そして、カウント値が所定値に達してからリセット信号の出力が停止されるまでの間、第4信号として、スタータリレー112をオフ(開)させるために、例えばローレベルの信号を出力する。それ以外の期間については、第4信号として、スタータリレー112をオンさせるために、ハイレベルの信号を出力する。   The reset timer 127 outputs a fourth signal to the AND gate 128 based on the second signal output from the voltage monitoring unit 125. As shown in FIG. 6, the reset timer 127 starts counting when a reset signal is output as the second signal, and continues counting only during the reset period until the count value reaches a predetermined value set in advance. Then, for example, a low level signal is output as the fourth signal in order to turn off (open) the starter relay 112 until the reset signal output is stopped after the count value reaches the predetermined value. In other periods, a high level signal is output as the fourth signal to turn on the starter relay 112.

ところで、安全性向上のため、マイコン監視部124がマイコン123の異常を検出した場合は、スタータリレー112をオフさせてスタータモータ113の駆動を停止させたいという第1のニーズがある。一方、スタータモータ113によるクランキング時には、電源電圧低下により電圧監視部125からリセット信号が出力されても、スタータリレー112をオフさせなくない、すなわちスタータモータ113の駆動を停止させたくないという第2のニーズがある。   By the way, in order to improve safety, when the microcomputer monitoring unit 124 detects an abnormality of the microcomputer 123, there is a first need to turn off the starter relay 112 and stop the starter motor 113. On the other hand, at the time of cranking by the starter motor 113, even if a reset signal is output from the voltage monitoring unit 125 due to the power supply voltage drop, the starter relay 112 is not turned off, that is, the starter motor 113 does not want to be stopped. There are needs.

第1のニーズに応えるには、マイコン監視部124から出力される第1信号を、スイッチ121のオン、オフに反映させる、すなわちANDゲート128に入力させることが考えられる。しかしながら、上記したように、電源電圧低下により電圧監視部125からリセット信号が出力されると、マイコン監視部124は、第1信号として、マイコン123が異常であるときと同じ信号(ローレベル)を出力する。したがって、電源電圧が低下したときにも、スタータリレー112がオフされて、スタータモータ113の駆動が停止してしまう。   In order to meet the first need, it can be considered that the first signal output from the microcomputer monitoring unit 124 is reflected on the ON / OFF state of the switch 121, that is, input to the AND gate 128. However, as described above, when the reset signal is output from the voltage monitoring unit 125 due to the power supply voltage drop, the microcomputer monitoring unit 124 outputs the same signal (low level) as that when the microcomputer 123 is abnormal as the first signal. Output. Therefore, even when the power supply voltage decreases, the starter relay 112 is turned off and the drive of the starter motor 113 is stopped.

このため、従来の電子制御装置10では、図5に示すように、ANDゲート128に第1信号を入力させないようにしている。ANDゲート128は、ラッチ回路126から出力される第3信号と、リセットタイマ127から出力される第4信号との論理積を、駆動回路120に出力する。具体的には、駆動回路120を構成するスイッチ121(MOSFET)のゲートに出力する。   For this reason, in the conventional electronic control apparatus 10, the first signal is not input to the AND gate 128 as shown in FIG. The AND gate 128 outputs a logical product of the third signal output from the latch circuit 126 and the fourth signal output from the reset timer 127 to the drive circuit 120. Specifically, the signal is output to the gate of the switch 121 (MOSFET) constituting the drive circuit 120.

しかしながら、このような構成では、ANDゲート128に第1信号を入力させないため、上記した第1のニーズに応えることができない。すなわち、従来の電子制御装置110では、第1のニーズと第2のニーズの両方を満足させることができない。   However, in such a configuration, since the first signal is not input to the AND gate 128, the above first need cannot be met. That is, the conventional electronic control device 110 cannot satisfy both the first need and the second need.

本発明は上記問題点に鑑み、マイコン異常時にはスタータリレーをオフさせ、クランキング時にリセット信号が出力されても、スタータリレーがオフされるのを抑制できる電子制御装置を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide an electronic control device capable of turning off a starter relay when a microcomputer malfunctions and suppressing the starter relay from being turned off even when a reset signal is output during cranking. .

ここに開示される発明は、上記目的を達成するために以下の技術的手段を採用する。なお、特許請求の範囲及びこの項に記載した括弧内の符号は、ひとつの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、発明の技術的範囲を限定するものではない。   The invention disclosed herein employs the following technical means to achieve the above object. Note that the reference numerals in parentheses described in the claims and in this section indicate a corresponding relationship with specific means described in the embodiments described later as one aspect, and limit the technical scope of the invention. Not what you want.

開示された発明のひとつは、スタータスイッチ(11)からの入力に基づき、スタータリレー(12)を介してスタータモータ(13)を制御する電子制御装置であって、
スタータリレーを駆動するための駆動回路(20)と、
電源電圧が供給されて動作し、スタータスイッチからの入力に基づいて、駆動回路の駆動を制御するための制御信号を出力するマイコン(23)と、
マイコンが正常に動作しているか否かを判定して判定結果に応じた第1信号を出力するものであり、マイコンが正常に動作していないと判定すると、第1信号として、スタータリレーをオフさせるための信号を出力するマイコン監視部(24)と、
電源電圧が正常レベルであるか否かを判定して判定結果に応じた第2信号を出力するものであり、電源電圧が正常レベルでないと判定すると、第2信号として、マイコンをリセットさせるためのリセット信号を、マイコン及びマイコン監視部に出力する電圧監視部(25)と、
制御信号に基づいて第3信号を出力するものであり、リセット信号に関わらず、次の制御信号が入力されるまで、直前の制御信号を保持して出力するラッチ回路(26)と、
第1信号と第3信号の論理積を、駆動回路に出力する論理回路(28)と、
を備え、
マイコン監視部は、リセット信号が出力されていると、第1信号として、リセット信号が出力される直前の第1信号を保持して出力することを特徴とする。
One of the disclosed inventions is an electronic control device that controls a starter motor (13) via a starter relay (12) based on an input from a starter switch (11).
A drive circuit (20) for driving the starter relay;
A microcomputer (23) which operates by being supplied with a power supply voltage and outputs a control signal for controlling driving of the drive circuit based on an input from the starter switch;
It determines whether the microcomputer is operating normally and outputs the first signal according to the determination result. If it is determined that the microcomputer is not operating normally, the starter relay is turned off as the first signal. A microcomputer monitoring unit (24) for outputting a signal for causing
It determines whether or not the power supply voltage is at a normal level and outputs a second signal according to the determination result. When it is determined that the power supply voltage is not at a normal level, the second signal is used to reset the microcomputer. A voltage monitoring unit (25) for outputting a reset signal to the microcomputer and the microcomputer monitoring unit;
A latch circuit (26) for outputting a third signal based on the control signal and holding and outputting the immediately preceding control signal until the next control signal is input regardless of the reset signal;
A logic circuit (28) for outputting a logical product of the first signal and the third signal to the drive circuit;
With
When the reset signal is output, the microcomputer monitoring unit holds and outputs the first signal immediately before the reset signal is output as the first signal.

これによれば、マイコン監視部の出力である第1信号を論理回路に入力させるため、マイコンの異常時に、スタータリレーをオフさせて、スタータモータの駆動を停止させることができる。すなわち、上記した第1のニーズに応えることができる。   According to this, since the first signal which is the output of the microcomputer monitoring unit is input to the logic circuit, the starter relay can be turned off and the starter motor can be stopped when the microcomputer is abnormal. That is, the above first needs can be met.

また、マイコン監視部は、リセット信号が出力されている期間において、リセット信号が出力される直前の第1信号を保持して論理回路に出力する。リセット信号が出力される直前の第1信号が、マイコンが正常であることを示す例えばハイレベルの信号の場合、ハイレベルの信号を保持して出力する。これにより、スタータリレーのオンが継続される。したがって、クランキング中に電源電圧が低下してリセット信号が出力されても、第1信号が必ずしもマイコンの異常を示す信号とはならない。これにより、クランキング時にリセット信号が出力されても、スタータリレーがオフされるのを抑制できる。以上のように、本発明によれば、第1のニーズと第2のニーズの両方を満足させることができる。   The microcomputer monitoring unit holds the first signal immediately before the reset signal is output and outputs the first signal to the logic circuit during the period in which the reset signal is output. When the first signal immediately before the reset signal is output is, for example, a high level signal indicating that the microcomputer is normal, the high level signal is held and output. As a result, the starter relay is kept on. Therefore, even if the power supply voltage decreases during cranking and a reset signal is output, the first signal does not necessarily indicate a malfunction of the microcomputer. Thereby, even if a reset signal is output at the time of cranking, it can suppress that a starter relay is turned off. As described above, according to the present invention, both the first need and the second need can be satisfied.

本実施形態に係る電子制御装置の概略構成を示す図である。It is a figure which shows schematic structure of the electronic controller which concerns on this embodiment. スタータスイッチのオン中に、電源電圧低下が生じたときの動作例を示すタイミングチャートである。It is a timing chart which shows the operation example when a power supply voltage fall arises while the starter switch is ON. スタータスイッチのオン中に、電源電圧低下が生じたときの他の動作例を示すタイミングチャートである。10 is a timing chart showing another operation example when a power supply voltage drop occurs while the starter switch is on. スタータスイッチのオン中に、電源電圧低下が生じたときの他の動作例を示すタイミングチャートである。10 is a timing chart showing another operation example when a power supply voltage drop occurs while the starter switch is on. 従来の電子制御装置の概略構成を示す図である。It is a figure which shows schematic structure of the conventional electronic control apparatus. スタータスイッチのオン中に、電源電圧低下が生じたときの動作例を示すタイミングチャートである。It is a timing chart which shows the operation example when a power supply voltage fall arises while the starter switch is ON.

以下、本発明の実施形態を図に基づいて説明する。先ず、図1及び図2を用いて、本実施形態に係る電子制御装置の概略構成を説明する。図2は、スタータスイッチのオン中に、電源電圧低下が生じた場合の動作例として、マイコン監視部が、リセット前に正常判定し、且つ、リセット解除までにリセットタイマのカウント値が所定値に到達しない場合を示している。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, a schematic configuration of the electronic control device according to the present embodiment will be described with reference to FIGS. 1 and 2. FIG. 2 shows an example of operation when the power supply voltage drops while the starter switch is on. The microcomputer monitoring unit makes a normal determination before resetting, and the reset timer count value reaches a predetermined value before reset release. The case where it does not reach is shown.

図1に示す電子制御装置10は、走行用駆動源として内燃機関(エンジン)を少なくとも備える自動車に搭載される。電子制御装置10は、スタータリレー12を介してスタータモータ13を制御する電子制御装置となっている。   An electronic control device 10 shown in FIG. 1 is mounted on an automobile including at least an internal combustion engine (engine) as a driving source for traveling. The electronic control device 10 is an electronic control device that controls the starter motor 13 via the starter relay 12.

電子制御装置10は、駆動回路20、電源22、マイコン23、マイコン監視部24、電圧監視部25、ラッチ回路26、リセットタイマ27、及びANDゲート28を備えている。リセットタイマ27が特許請求の範囲に記載のタイマ部に相当し、ANDゲート28が論理回路に相当する。   The electronic control device 10 includes a drive circuit 20, a power supply 22, a microcomputer 23, a microcomputer monitoring unit 24, a voltage monitoring unit 25, a latch circuit 26, a reset timer 27, and an AND gate 28. The reset timer 27 corresponds to the timer section described in the claims, and the AND gate 28 corresponds to the logic circuit.

駆動回路20は、スタータリレー12をオン、オフするための駆動信号を生成し、スタータリレー12に対して出力する。駆動回路20は、MOSFETなどのスイッチ21を有しており、このスイッチ21の一端が、電磁式のスタータリレー12を構成するコイルに接続されている。スイッチ21のオンによりスタータリレー12のコイルが通電され、これに伴ってスタータリレー12がオン(閉)される。そして、スタータモータ13に電力が供給され、スタータモータ13により内燃機関に対するクランキングが開始される。   The drive circuit 20 generates a drive signal for turning on and off the starter relay 12 and outputs the drive signal to the starter relay 12. The drive circuit 20 has a switch 21 such as a MOSFET, and one end of the switch 21 is connected to a coil constituting the electromagnetic starter relay 12. When the switch 21 is turned on, the coil of the starter relay 12 is energized, and accordingly the starter relay 12 is turned on (closed). Then, electric power is supplied to the starter motor 13, and cranking of the internal combustion engine is started by the starter motor 13.

電源22は、マイコン23に対して、マイコン23が動作するための電源電圧を供給する。電源電圧は所定の直流電圧である。本実施形態では、車両に搭載された図示しない補機用バッテリから供給される直流電圧を電源22にて降圧し、マイコン23に対して供給する。このような電源22は、例えばスイッチング電源とシリーズ電源とを備えている。電源22は、図示を省略するがマイコン監視部24に対しても電源電圧を供給する。   The power supply 22 supplies a power supply voltage for operating the microcomputer 23 to the microcomputer 23. The power supply voltage is a predetermined DC voltage. In this embodiment, a DC voltage supplied from an auxiliary battery (not shown) mounted on the vehicle is stepped down by the power supply 22 and supplied to the microcomputer 23. Such a power source 22 includes, for example, a switching power source and a series power source. The power supply 22 supplies a power supply voltage to the microcomputer monitoring unit 24 (not shown).

マイコン23は、CPU、ROM、RAM、レジスタ、及びI/Oポートなどを備えて構成されたマイクロコンピュータである。マイコン23において、CPUが、RAMやレジスタの一時記憶機能を利用しつつ、ROMに予め記憶された制御プログラム、バスを介して取得した各種データなどに応じて信号処理を行う。また、この信号処理で得られた信号を、バスなどに出力したりする。このようにして、マイコン23は、各種機能を実行する。   The microcomputer 23 is a microcomputer configured with a CPU, a ROM, a RAM, a register, an I / O port, and the like. In the microcomputer 23, the CPU performs signal processing according to a control program stored in advance in the ROM, various data acquired via the bus, and the like while using a temporary storage function of the RAM or the register. Further, the signal obtained by this signal processing is output to a bus or the like. In this way, the microcomputer 23 executes various functions.

マイコン23は、電源22から電源電圧の供給を受けて動作し、スタータスイッチ11からの入力に基づいて駆動回路20の駆動を制御するための制御信号を出力する。なお、マイコン23は、少なくともスタータスイッチ11からの入力に基づいて制御信号を出力する。たとえば、シフトスイッチ(シフトポジションセンサ)からの入力信号、エンジン回転数を示す信号、車両盗難防止用のイモビライザ制御装置からの始動許可信号などの信号の少なくとも1つと、スタータスイッチ11からの入力と、に基づいて、制御信号を出力してもよい。マイコン23は、後述するリセット信号が出力されていない期間において、制御信号を出力する。すなわち、リセット信号が出力されている期間において、マイコン23は、制御信号を出力しない。   The microcomputer 23 operates by receiving a power supply voltage from the power supply 22, and outputs a control signal for controlling the drive of the drive circuit 20 based on the input from the starter switch 11. The microcomputer 23 outputs a control signal based on at least an input from the starter switch 11. For example, at least one of an input signal from a shift switch (shift position sensor), a signal indicating the engine speed, a start permission signal from an immobilizer control device for preventing vehicle theft, an input from the starter switch 11, A control signal may be output based on the above. The microcomputer 23 outputs a control signal during a period in which a reset signal described later is not output. That is, during the period when the reset signal is output, the microcomputer 23 does not output the control signal.

図2に示すように、制御信号のうち、「1」を付記したものが、スイッチ21をオンさせるための信号であり、スタータスイッチ11のオンに対応している。一方、「0」を付記したものが、スイッチ21をオフさせるための信号であり、スタータスイッチ11のオフに対応している。マイコン23は、リセット信号が出力されていない期間において、スタータスイッチ11がオンされていると、スイッチ21をオンさせるための信号を制御信号として出力する。なお、リセット信号が出力されていない期間を、以下においてリセット解除期間とも称し、リセット信号が出力されている期間を、リセット期間とも称する。   As shown in FIG. 2, the control signal with “1” added thereto is a signal for turning on the switch 21 and corresponds to turning on the starter switch 11. On the other hand, a signal with “0” added thereto is a signal for turning off the switch 21 and corresponds to turning off the starter switch 11. If the starter switch 11 is turned on during a period when the reset signal is not output, the microcomputer 23 outputs a signal for turning on the switch 21 as a control signal. Note that a period in which the reset signal is not output is hereinafter also referred to as a reset release period, and a period in which the reset signal is output is also referred to as a reset period.

また、マイコン23は、自身の動作の妥当性を監視するためのテスト信号を生成し、マイコン監視部24に対して定期的に出力する。マイコン23は、テスト信号として、たとえば所定の真偽パターンやウォッチドッグクリア信号を生成する。本実施形態では、テスト信号としてウォッチドッグクリア信号を生成する。マイコン23は、リセット解除期間においてテスト信号を出力し、リセット期間においてテスト信号を出力しない。   Further, the microcomputer 23 generates a test signal for monitoring the validity of its own operation and periodically outputs it to the microcomputer monitoring unit 24. For example, the microcomputer 23 generates a predetermined true / false pattern or a watchdog clear signal as the test signal. In this embodiment, a watchdog clear signal is generated as a test signal. The microcomputer 23 outputs a test signal during the reset release period and does not output a test signal during the reset period.

マイコン監視部24は、マイコン23が正常に動作しているか否かを判定して、判定結果に応じた第1信号を出力する。本実施形態では、マイコン監視部24が、マイコン23を監視するためのIC(回路)として構成されている。マイコン監視部24は、テスト信号を監視するための規定時間を設定し、テスト信号が規定時間内に入力されるか否かをもって、マイコン23が正常に動作しているか否かを判定する。そして、マイコン23が正常に動作していると判定した場合、図2に示すように、第1信号としてハイレベルの信号を出力する。一方、マイコン監視部24は、マイコン23が異常であると判定した場合、第1信号としてローレベルの信号を出力する。   The microcomputer monitoring unit 24 determines whether or not the microcomputer 23 is operating normally, and outputs a first signal corresponding to the determination result. In the present embodiment, the microcomputer monitoring unit 24 is configured as an IC (circuit) for monitoring the microcomputer 23. The microcomputer monitoring unit 24 sets a specified time for monitoring the test signal, and determines whether the microcomputer 23 is operating normally based on whether the test signal is input within the specified time. If it is determined that the microcomputer 23 is operating normally, a high level signal is output as the first signal as shown in FIG. On the other hand, when the microcomputer monitoring unit 24 determines that the microcomputer 23 is abnormal, the microcomputer monitoring unit 24 outputs a low-level signal as the first signal.

マイコン異常時に出力される第1信号は、後述するように制御対象であるスタータモータ13(スタータリレー12)を所定の退避状態とするための信号であり、フェールセーフ信号、カット信号とも呼ばれる。本実施形態では、退避状態として、スタータモータ13を駆動停止状態とする。   The first signal output when the microcomputer is abnormal is a signal for setting the starter motor 13 (starter relay 12) to be controlled to a predetermined retracted state as will be described later, and is also called a fail-safe signal or a cut signal. In the present embodiment, the starter motor 13 is set in the drive stopped state as the retracted state.

また、リセット期間において、本実施形態のマイコン監視部24は、従来のマイコン監視部124とは異なり、第1信号として、リセット信号が出力される直前の第1信号を保持して出力する。換言すれば、マイコン監視部24は、テスト信号が入力されてその判定結果を第1信号として出力するまで、直前に入力されたテスト信号による判定結果に応じて出力された第1信号を保持して出力する。したがって、リセット解除期間では、第1信号として、テスト信号による判定結果に応じた信号を出力する。例えば、テスト信号が規定時間内に入力される場合には、マイコン23が正常であることを示す第1信号(ハイレベル)を出力する。一方、テスト信号が規定時間内に入力されない場合には、マイコン23に異常が生じたことを示す第1信号(ローレベル)を出力する。   In the reset period, unlike the conventional microcomputer monitoring unit 124, the microcomputer monitoring unit 24 of the present embodiment holds and outputs the first signal immediately before the reset signal is output as the first signal. In other words, the microcomputer monitoring unit 24 holds the first signal output according to the determination result by the test signal input immediately before the test signal is input and the determination result is output as the first signal. Output. Therefore, in the reset release period, a signal corresponding to the determination result by the test signal is output as the first signal. For example, when the test signal is input within a specified time, the first signal (high level) indicating that the microcomputer 23 is normal is output. On the other hand, if the test signal is not input within the specified time, a first signal (low level) indicating that an abnormality has occurred in the microcomputer 23 is output.

さらにマイコン監視部24は、リセット信号の出力が停止された直後の規定時間t2として、それ以外の期間の規定時間よりも長い時間t1よりも長い時間を設定する。   Further, the microcomputer monitoring unit 24 sets a time longer than the time t1 longer than the specified time in the other period as the specified time t2 immediately after the output of the reset signal is stopped.

電圧監視部25は、マイコン23に供給される電源電圧が正常レベルであるか否かを判定して、判定結果に応じた第2信号を出力する。電源電圧が、予め設定された所定値以下の場合には、第2信号として、マイコン23をリセットさせるためのリセット信号を、マイコン23及びマイコン監視部24に出力する。図2に示すように、電圧監視部25は、リセット信号として、ローレベルの信号を出力する。電源電圧が所定値を超える場合には、第2信号として、リセット解除状態を示すハイレベルの信号を出力する。   The voltage monitoring unit 25 determines whether or not the power supply voltage supplied to the microcomputer 23 is at a normal level, and outputs a second signal corresponding to the determination result. When the power supply voltage is equal to or lower than a predetermined value set in advance, a reset signal for resetting the microcomputer 23 is output to the microcomputer 23 and the microcomputer monitoring unit 24 as the second signal. As shown in FIG. 2, the voltage monitoring unit 25 outputs a low level signal as a reset signal. When the power supply voltage exceeds a predetermined value, a high level signal indicating a reset release state is output as the second signal.

ラッチ回路26は、マイコン23から出力される制御信号に基づいて、ANDゲート28に対し第3信号を出力する。ラッチ回路26は、リセット信号に関わらず、次の制御信号が入力されるまで、直前に入力された制御信号を保持して出力する。リセット信号が出力されると、マイコン23がリセットされ、制御信号の出力が停止される。しかしながら、ラッチ回路26は、図2に示すように、次の制御信号が入力されるまで、リセット信号が出力される直前の制御信号(ハイレベル)を保持し、第3信号として出力する。   The latch circuit 26 outputs a third signal to the AND gate 28 based on the control signal output from the microcomputer 23. Regardless of the reset signal, the latch circuit 26 holds and outputs the control signal input immediately before the next control signal is input. When the reset signal is output, the microcomputer 23 is reset and the output of the control signal is stopped. However, as shown in FIG. 2, the latch circuit 26 holds the control signal (high level) immediately before the reset signal is output and outputs it as the third signal until the next control signal is input.

リセットタイマ27は、電圧監視部25から出力される第2信号に基づいて、ANDゲート28に第4信号を出力する。図2に示すように、リセットタイマ27は、リセット信号の入力をトリガとしてカウントを開始しつつ、内部クロックにしたがってアップカウントする。リセットタイマ27は、カウント値が予め設定された所定値Nth(図4参照)に達するまで、リセット期間中だけカウントを継続する。また、リセットタイマ27は、カウント値が所定値に達してからリセット信号の出力が停止されるまでの間、第4信号として、スタータリレー12をオフ(開)させるために、ローレベルの信号を出力する。それ以外の期間については、第4信号として、スタータリレー12をオンさせるためにハイレベルの信号を出力する。   The reset timer 27 outputs a fourth signal to the AND gate 28 based on the second signal output from the voltage monitoring unit 25. As shown in FIG. 2, the reset timer 27 starts counting with the input of the reset signal as a trigger, and counts up according to the internal clock. The reset timer 27 continues counting only during the reset period until the count value reaches a predetermined value Nth (see FIG. 4) set in advance. Further, the reset timer 27 outputs a low-level signal as a fourth signal to turn off (open) the starter relay 12 until the reset signal output is stopped after the count value reaches a predetermined value. Output. For other periods, a high level signal is output as the fourth signal to turn on the starter relay 12.

なお、図2に示すように、カウント値が所定値に到達する前に、リセットが解除されると、カウント値がクリアされる。リセット解除期間において、カウント値はクリアされており、リセットタイマ27は、第4信号として、スタータリレー12をオン(閉)させるために、ハイレベルの信号を出力する。   As shown in FIG. 2, when the reset is released before the count value reaches the predetermined value, the count value is cleared. In the reset cancellation period, the count value is cleared, and the reset timer 27 outputs a high-level signal as a fourth signal to turn on (close) the starter relay 12.

ANDゲート28は、マイコン監視部24から出力される第1信号と、ラッチ回路26から出力される第3信号と、リセットタイマ27から出力される第4信号との論理積を、駆動回路20に出力する。具体的には、駆動回路20を構成するスイッチ21(MOSFET)のゲートに出力する。   The AND gate 28 outputs a logical product of the first signal output from the microcomputer monitoring unit 24, the third signal output from the latch circuit 26, and the fourth signal output from the reset timer 27 to the drive circuit 20. Output. Specifically, the signal is output to the gate of the switch 21 (MOSFET) constituting the drive circuit 20.

ANDゲート28は、第1信号がマイコン正常を示すハイレベルの信号を出力し、第3信号がスイッチ21をオンさせるためのハイレベル信号を出力し、且つ、第4信号がハイレベルの信号をする場合、スイッチ21をオンさせるためにハイレベルの信号を出力する。ANDゲート28からハイレベルの信号が出力されると、スイッチ21がオンし、これに伴ってスタータリレー12もオン(開)となる。それ以外の場合、ANDゲート28は、ローレベルの信号を出力し、これによりスイッチ21はオフとなる。   The AND gate 28 outputs a high level signal indicating that the microcomputer is normal, the third signal outputs a high level signal for turning on the switch 21, and the fourth signal is a high level signal. In order to turn on the switch 21, a high level signal is output. When a high level signal is output from the AND gate 28, the switch 21 is turned on, and accordingly, the starter relay 12 is also turned on (opened). In other cases, the AND gate 28 outputs a low level signal, thereby turning off the switch 21.

次に、図3に基づき、電源電圧低下が生じたときの他の動作例について説明する。図3は、スタータスイッチのオン中に、電源電圧低下が生じた場合の他の動作例として、マイコン監視部24がリセット前に異常判定し、リセット解除までにリセットタイマ27のカウント値が所定値に到達しない場合を示している。テスト信号、マイコン監視部24の出力、及びANDゲート28の出力が図2と異なっている。電源電圧、電圧監視部出力、スタータスイッチ、制御信号、ラッチ回路出力、リセットタイマカウント値、及びリセットタイマ出力については、図2と同じである。   Next, another example of operation when a power supply voltage drop occurs will be described with reference to FIG. FIG. 3 shows another example of operation when the power supply voltage drops while the starter switch is on. The microcomputer monitoring unit 24 makes an abnormality determination before resetting, and the count value of the reset timer 27 reaches a predetermined value before the reset is released It shows the case where it does not reach. The test signal, the output of the microcomputer monitoring unit 24, and the output of the AND gate 28 are different from those in FIG. The power supply voltage, voltage monitor output, starter switch, control signal, latch circuit output, reset timer count value, and reset timer output are the same as in FIG.

図3に示すように、リセット解除期間T1において、マイコン23からテスト信号が出力されていない。このため、マイコン監視部24は、規定時間内にテスト信号を検出することができず、第1信号としてマイコン異常を示すローレベルの信号を出力する。   As shown in FIG. 3, no test signal is output from the microcomputer 23 during the reset release period T1. For this reason, the microcomputer monitoring unit 24 cannot detect the test signal within the specified time, and outputs a low-level signal indicating a microcomputer abnormality as the first signal.

リセット解除期間T1の途中でスタータスイッチ11がオンされ、次いで、電源電圧が低下すると、電圧監視部25が第2信号としてリセット信号(ローレベル)を出力し、リセット期間T2となる。リセット期間T2において、マイコン監視部24は、第1信号としてリセット信号が出力される直前の第1信号、すなわちローレベルの信号を保持して出力する。   When the starter switch 11 is turned on during the reset release period T1 and then the power supply voltage decreases, the voltage monitoring unit 25 outputs a reset signal (low level) as the second signal, and the reset period T2 is entered. In the reset period T2, the microcomputer monitoring unit 24 holds and outputs the first signal immediately before the reset signal is output as the first signal, that is, the low level signal.

電源電圧が復帰すると、リセットが解除され、リセット解除期間T3となる。リセット解除期間T3では、マイコン23からテスト信号が定期的に出力される。マイコン監視部24は、規定時間内にテスト信号を検出し、第1信号としてマイコン23が正常であることを示すハイレベルの信号を出力する。   When the power supply voltage is restored, the reset is released and the reset release period T3 is entered. In the reset release period T3, a test signal is periodically output from the microcomputer 23. The microcomputer monitoring unit 24 detects a test signal within a specified time and outputs a high level signal indicating that the microcomputer 23 is normal as a first signal.

このように、マイコン監視部24は、リセット期間の直前の第1信号が、マイコン23の異常を示す場合でも、リセット期間において直前の第1信号(ローレベル)を保持して出力する。   Thus, even when the first signal immediately before the reset period indicates an abnormality of the microcomputer 23, the microcomputer monitoring unit 24 holds and outputs the first signal (low level) immediately before the reset period.

次に、図4に基づき、電源電圧低下が生じたときの他の動作例について説明する。図4は、スタータスイッチのオン中に、電源電圧低下が生じた場合の他の動作例として、マイコン監視部24がリセット前に正常判定し、リセットが継続される場合を示している。電源電圧低下によりリセット期間となるまでは、図2と同じである。   Next, another example of operation when a power supply voltage drop occurs will be described with reference to FIG. FIG. 4 shows a case where the microcomputer monitoring unit 24 makes a normal determination before resetting and continues resetting as another example of operation when the power supply voltage drops while the starter switch is on. The process is the same as in FIG. 2 until the reset period is reached due to the power supply voltage drop.

図4に示すように、電源電圧が低下すると、電圧監視部25が第2信号としてリセット信号(ローレベル)を出力する。これにより、マイコン23がリセットされ、制御信号及びテスト信号の出力が停止される。また、マイコン監視部24は、第1信号として、リセット信号が出力される直前の第1信号(ハイレベル)を保持して出力する。さらに、ラッチ回路26は、第3信号として、リセット信号が出力される直前の制御信号(ハイレベル)を保持して出力する。   As shown in FIG. 4, when the power supply voltage decreases, the voltage monitoring unit 25 outputs a reset signal (low level) as the second signal. Thereby, the microcomputer 23 is reset, and the output of the control signal and the test signal is stopped. Further, the microcomputer monitoring unit 24 holds and outputs the first signal (high level) immediately before the reset signal is output as the first signal. Further, the latch circuit 26 holds and outputs the control signal (high level) immediately before the reset signal is output as the third signal.

リセットタイマ27は、リセット信号の入力をトリガとしてカウントを開始する。図4に示す例では、リセットが継続されるため、リセットが解除される前にカウント値が所定値Nthに到達する。リセットタイマ27は、カウント値が所定値Nthに達すると、第4信号を、スタータリレー12をオンさせるためのハイレベルの信号から、スタータリレー12をオフさせるためのローレベルの信号に切り替える。リセットタイマ27が第4信号としてローレベルの信号を出力すると、ANDゲート28の出力が、スイッチ21をオフさせるためのローレベルの信号となる。   The reset timer 27 starts counting with the input of a reset signal as a trigger. In the example shown in FIG. 4, since the reset is continued, the count value reaches the predetermined value Nth before the reset is released. When the count value reaches a predetermined value Nth, the reset timer 27 switches the fourth signal from a high level signal for turning on the starter relay 12 to a low level signal for turning off the starter relay 12. When the reset timer 27 outputs a low level signal as the fourth signal, the output of the AND gate 28 becomes a low level signal for turning off the switch 21.

このように、リセットタイマ27を備えることで、リセットが継続する場合でも、リセット開始から所定時間の経過により、スタータモータ13の駆動を停止させることができる。   Thus, by providing the reset timer 27, even when the reset continues, the drive of the starter motor 13 can be stopped after a lapse of a predetermined time from the start of the reset.

次に、本実施形態に係る電子制御装置10の効果について説明する。   Next, effects of the electronic control device 10 according to the present embodiment will be described.

本実施形態では、マイコン監視部24の出力である第1信号をANDゲート28に入力させる。マイコン監視部24は、マイコン23に異常が生じていると判定した場合に、マイコン23の異常を示す信号(ローレベルの信号)を第1信号として出力する。このため、図3に示したように、マイコン23の異常時には、ANDゲート28の出力がローレベルとなり、スイッチ21がオフされる。そして、スイッチ21のオフにより、スタータリレー12をオフさせて、スタータモータ13の駆動を停止させることができる。したがって、マイコン23の異常時にはスタータモータ13の駆動を停止させたいという第1のニーズに応えることができる。   In the present embodiment, the first signal that is the output of the microcomputer monitoring unit 24 is input to the AND gate 28. If the microcomputer monitoring unit 24 determines that an abnormality has occurred in the microcomputer 23, the microcomputer monitoring unit 24 outputs a signal (low level signal) indicating the abnormality of the microcomputer 23 as the first signal. For this reason, as shown in FIG. 3, when the microcomputer 23 is abnormal, the output of the AND gate 28 becomes a low level and the switch 21 is turned off. Then, when the switch 21 is turned off, the starter relay 12 can be turned off, and the drive of the starter motor 13 can be stopped. Therefore, it is possible to meet the first need to stop the starter motor 13 when the microcomputer 23 is abnormal.

また、マイコン監視部24は、リセット期間において、リセット信号が出力される直前の第1信号を保持してANDゲート28に出力する。図2及び図4に示すように、リセット信号が出力される直前の第1信号が、マイコンが正常であることを示すハイレベルの信号の場合、ハイレベルの信号を保持して出力する。このように、スタータスイッチ11がオンされてなるクランキング中に電源電圧が低下してリセット信号が出力されても、第1信号が必ずしもマイコン23の異常を示す信号とはならない。特に、リセット直前においてマイコン23が正常と判定された場合、リセット期間中も、第1信号としてマイコン23が正常であることを示す信号が出力される。したがって、クランキング時にリセット信号が出力されても、スタータリレー12がオフされるのを抑制できる。すなわち、リセット信号が出力されてもスタータモータ13の駆動を停止させたくないという第2のニーズに応えることができる。   In addition, the microcomputer monitoring unit 24 holds the first signal immediately before the reset signal is output and outputs it to the AND gate 28 during the reset period. As shown in FIGS. 2 and 4, when the first signal immediately before the reset signal is output is a high level signal indicating that the microcomputer is normal, the high level signal is held and output. As described above, even if the power supply voltage is reduced and the reset signal is output during cranking with the starter switch 11 turned on, the first signal does not necessarily indicate a malfunction of the microcomputer 23. In particular, when the microcomputer 23 is determined to be normal immediately before resetting, a signal indicating that the microcomputer 23 is normal is output as the first signal even during the reset period. Therefore, even if a reset signal is output during cranking, it is possible to suppress the starter relay 12 from being turned off. That is, the second need for not stopping the starter motor 13 even when the reset signal is output can be met.

以上のように、本実施形態に係る電子制御装置10によれば、第1のニーズと第2のニーズの両方を満足させることができる。なお、マイコン監視部24は、リセット信号が出力される直前の第1信号が、マイコンが異常であることを示すローレベルの信号の場合、ローレベルの信号を保持して出力する。したがって、マイコン監視部24がマイコン23の異常を検出しているときには、リセット期間中もスタータモータ13の駆動が停止(禁止)される。これにより、安全性を確保することができる。   As described above, according to the electronic control apparatus 10 according to the present embodiment, both the first needs and the second needs can be satisfied. If the first signal immediately before the reset signal is output is a low level signal indicating that the microcomputer is abnormal, the microcomputer monitoring unit 24 holds and outputs the low level signal. Therefore, when the microcomputer monitoring unit 24 detects an abnormality of the microcomputer 23, the drive of the starter motor 13 is stopped (prohibited) even during the reset period. Thereby, safety can be ensured.

また、電子制御装置10がリセットタイマ27を備えている。リセットタイマ27は、リセット信号の入力をトリガとしてカウントを開始し、リセット期間中においてカウントを継続する。そして、カウント値が所定値Nthに到達すると、第4信号を、スタータリレー12をオンさせるためのハイレベルの信号から、スタータリレー12をオフさせるためのローレベルの信号に切り替える。したがって、リセットが継続する場合でも、リセット開始から所定時間が経過すると、スタータモータ13の駆動を停止させることができる。これにより、スタータモータ13がクランキングに必要な時間を超えて余分に駆動されるのを抑制することができる。   In addition, the electronic control device 10 includes a reset timer 27. The reset timer 27 starts counting with the input of a reset signal as a trigger, and continues counting during the reset period. When the count value reaches the predetermined value Nth, the fourth signal is switched from a high level signal for turning on the starter relay 12 to a low level signal for turning off the starter relay 12. Therefore, even when the reset continues, the drive of the starter motor 13 can be stopped when a predetermined time has elapsed since the reset start. Thereby, it is possible to suppress the starter motor 13 from being excessively driven beyond the time required for cranking.

ところで、リセット解除直後は、マイコン23が初期化などを行う。このため、リセット解除直後は、テスト信号を出力するタイミングが、それ以外の期間に較べて遅れる虞がある。したがって、リセット解除期間における他のタイミングと規定時間を同じにすると、規定時間内にテスト信号を検出できない虞がある。マイコン監視部24が、リセット期間中は常に、マイコン23が異常であることを示す信号(ローレベル)を出力する場合には、リセット解除直後において規定時間内にテスト信号が入力されなくても、出力される第1信号のレベルは変化しないため問題とならない。   By the way, immediately after reset release, the microcomputer 23 performs initialization and the like. For this reason, immediately after the reset is released, there is a possibility that the timing of outputting the test signal is delayed as compared with other periods. Therefore, if the specified time is the same as other timings in the reset release period, the test signal may not be detected within the specified time. When the microcomputer monitoring unit 24 always outputs a signal (low level) indicating that the microcomputer 23 is abnormal during the reset period, even if the test signal is not input within the specified time immediately after the reset is released, There is no problem because the level of the output first signal does not change.

しかしながら、リセット直前の第1信号がマイコン正常を示すハイレベルの信号の場合、本実施形態では、マイコン監視部24が、リセット期間中においてもハイレベルの信号を保持する。したがって、リセット解除直後において規定時間内にテスト信号が入力されないと、第1信号のレベルが一時的にハイレベルからローレベルに落ち込む。この場合、始動性の悪化、クランキング時間の長期化、回転数変化による振動などが生じることが考えられる。   However, when the first signal immediately before the reset is a high level signal indicating that the microcomputer is normal, in the present embodiment, the microcomputer monitoring unit 24 holds the high level signal even during the reset period. Therefore, if the test signal is not input within the specified time immediately after the reset is released, the level of the first signal temporarily falls from the high level to the low level. In this case, it is conceivable that startability is deteriorated, cranking time is prolonged, and vibration is caused by a change in the rotational speed.

そこで本実施形態では、図2に示したように、マイコン監視部24が、リセット信号の出力が停止された直後の規定時間t2として、それ以外の期間の規定時間t1よりも長い時間を設定する。これによれば、マイコン監視部24が、リセット期間中においてリセット直前の第1信号を保持する構成としながらも、リセット解除直後において、規定時間内にテスト信号が入力されないのを抑制することができる。すなわち、リセット解除直後において、第1信号の落ち込みが生じるのを抑制することができる。したがって、始動性の悪化、クランキング時間の長期化、回転数変化による振動などが生じるのを抑制することができる。   Therefore, in the present embodiment, as shown in FIG. 2, the microcomputer monitoring unit 24 sets a time longer than the specified time t1 in other periods as the specified time t2 immediately after the output of the reset signal is stopped. . According to this, the microcomputer monitoring unit 24 can be configured to hold the first signal immediately before the reset during the reset period, but can prevent the test signal from being input within the specified time immediately after the reset is released. . That is, it is possible to suppress the first signal from dropping immediately after the reset is released. Accordingly, it is possible to suppress the deterioration of the startability, the extension of the cranking time, and the vibration due to the change in the rotational speed.

以上、本発明の好ましい実施形態について説明したが、本発明は上記実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。   The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

マイコン監視部24として、ハードロジックで構成されたICを採用する例を示した。しかしながら、マイコン監視部24として、監視用のマイコンを採用することもできる。   The example which employ | adopts IC comprised by the hard logic as the microcomputer monitoring part 24 was shown. However, a monitoring microcomputer can be employed as the microcomputer monitoring unit 24.

電子制御装置10として、電源22を備える例を示した。しかしながら、電源22を備えず、電子制御装置10の外部の電源から、マイコン23に対して電源電圧が供給される構成にも適用することができる。   The example provided with the power supply 22 as the electronic control apparatus 10 was shown. However, the present invention can also be applied to a configuration in which a power supply voltage is supplied to the microcomputer 23 from a power supply external to the electronic control device 10 without the power supply 22.

電子制御装置10として、リセットタイマ27を備える例を示したが、リセットタイマ27を備えなくてもよい。しかしながら、リセットタイマ27を備えると、上記したように、スタータモータ13がクランキングに必要な時間を超えて駆動されるのを抑制することができるため、好ましい。   Although the example provided with the reset timer 27 was shown as the electronic control apparatus 10, the reset timer 27 does not need to be provided. However, it is preferable to provide the reset timer 27 because the starter motor 13 can be prevented from being driven beyond the time required for cranking as described above.

リセットタイマ27がアップカウントする例を示したが、ダウンカウントするものを採用することもできる。   Although an example in which the reset timer 27 counts up has been shown, a timer that counts down can be used.

マイコン監視部24が、リセット解除直後の規定時間t2として、それ以外の期間の規定時間t1よりも長い時間を設定する例を示したが、リセット規定時間を、リセット解除直後とそれ以外とで同じとしてもよい。しかしながら、リセット解除直後の規定時間t2を長くすると、上記したように、リセット解除直後において、第1信号の落ち込みが生じるのを抑制し、ひいては始動性の悪化、クランキング時間の長期化、回転数変化による振動などが生じるのを抑制することができる。   Although the microcomputer monitoring part 24 showed the example which sets the time longer than the regulation time t1 of other periods as regulation time t2 immediately after reset cancellation, the reset regulation time is the same immediately after reset cancellation and other than that It is good. However, if the specified time t2 immediately after the reset is released is increased, as described above, the first signal is prevented from dropping immediately after the reset is released. As a result, the startability is deteriorated, the cranking time is prolonged, and the rotation speed is increased. Occurrence of vibration due to change can be suppressed.

10…電子制御装置、11…スタータスイッチ、12…スタータリレー、13…スタータモータ、20…駆動回路、21…スイッチ、22…電源、23…マイコン、24…マイコン監視部、25…電圧監視部、26…ラッチ回路、27…リセットタイマ、28…ANDゲート DESCRIPTION OF SYMBOLS 10 ... Electronic control apparatus, 11 ... Starter switch, 12 ... Starter relay, 13 ... Starter motor, 20 ... Drive circuit, 21 ... Switch, 22 ... Power supply, 23 ... Microcomputer, 24 ... Microcomputer monitoring part, 25 ... Voltage monitoring part, 26 ... Latch circuit, 27 ... Reset timer, 28 ... AND gate

Claims (3)

スタータリレー(12)を介してスタータモータ(13)を制御する電子制御装置であって、
前記スタータリレーを駆動するための駆動回路(20)と、
電源電圧が供給されて動作し、前記駆動回路の駆動を制御するための制御信号を出力するマイコン(23)と、
前記マイコンが正常に動作しているか否かを判定して判定結果に応じた第1信号を出力するものであり、前記マイコンが正常に動作していないと判定すると、前記第1信号として、前記スタータリレーをオフさせるための信号を出力するマイコン監視部(24)と、
前記電源電圧が正常レベルであるか否かを判定して判定結果に応じた第2信号を出力するものであり、前記電源電圧が正常レベルでないと判定すると、前記第2信号として、前記マイコンをリセットさせるためのリセット信号を、前記マイコン及び前記マイコン監視部に対して出力する電圧監視部(25)と、
前記制御信号に基づいて第3信号を出力するものであり、前記リセット信号に関わらず、次の前記制御信号が入力されるまで、直前の前記制御信号を保持して出力するラッチ回路(26)と、
前記第1信号と前記第3信号の論理積を、前記駆動回路に出力する論理回路(28)と、
を備え、
前記マイコン監視部は、前記リセット信号の出力が停止されるまで、前記第1信号として、前記リセット信号が出力される直前の前記第1信号を保持して出力することを特徴とする電子制御装置。
An electronic control device for controlling a starter motor (13) via a starter relay (12),
A drive circuit (20) for driving the starter relay;
A microcomputer (23) which operates by being supplied with a power supply voltage and outputs a control signal for controlling the drive of the drive circuit;
The microcomputer determines whether or not the microcomputer is operating normally and outputs a first signal according to the determination result. When it is determined that the microcomputer is not operating normally, the first signal is A microcomputer monitoring unit (24) for outputting a signal for turning off the starter relay;
It is determined whether or not the power supply voltage is at a normal level and outputs a second signal according to the determination result. When it is determined that the power supply voltage is not at a normal level, the microcomputer is used as the second signal. A voltage monitoring unit (25) for outputting a reset signal for resetting to the microcomputer and the microcomputer monitoring unit;
A latch circuit (26) for outputting a third signal based on the control signal and holding and outputting the previous control signal until the next control signal is input regardless of the reset signal. When,
A logic circuit (28) for outputting a logical product of the first signal and the third signal to the drive circuit;
With
The microcomputer monitoring unit holds and outputs the first signal immediately before the reset signal is output as the first signal until the output of the reset signal is stopped. .
前記第2信号に基づいて前記論理回路に第4信号を出力するものであり、前記リセット信号が出力されるとカウントを開始し、カウント値が予め設定された所定値に達するまで、前記リセット信号の出力されている期間中だけカウントを継続するとともに、カウント値が前記所定値に達してから前記リセット信号の出力が停止されるまでの間、前記第4信号として、前記スタータリレーをオフさせるための信号を出力するタイマ部(27)をさらに備え、
前記論理回路は、前記第1信号、前記第3信号、及び前記第4信号の論理積を、前記駆動回路に出力することを特徴とする請求項1に記載の電子制御装置。
Based on the second signal, the fourth signal is output to the logic circuit. When the reset signal is output, the count starts, and the reset signal is output until the count value reaches a predetermined value. In order to turn off the starter relay as the fourth signal from the time when the count value reaches the predetermined value until the output of the reset signal is stopped. A timer unit (27) for outputting a signal of
The electronic control device according to claim 1, wherein the logic circuit outputs a logical product of the first signal, the third signal, and the fourth signal to the drive circuit.
前記マイコンは、該マイコンの動作の妥当性を監視するためのテスト信号を、前記マイコン監視部に対して定期的に出力し、
前記マイコン監視部は、
前記テスト信号を監視するための規定時間を設定するとともに、前記テスト信号が規定時間内に入力されるか否かをもって、前記マイコンが正常に動作しているか否かを判定し、
前記リセット信号の出力が停止された直後の前記規定時間として、それ以外の期間の前記規定時間よりも長い時間を設定することを特徴とする請求項1又は請求項2に記載の電子制御装置。
The microcomputer periodically outputs a test signal for monitoring the validity of the operation of the microcomputer to the microcomputer monitoring unit,
The microcomputer monitoring unit
Set a specified time for monitoring the test signal, and determine whether the microcomputer is operating normally by determining whether the test signal is input within the specified time,
3. The electronic control device according to claim 1, wherein a time longer than the specified time in the other period is set as the specified time immediately after the output of the reset signal is stopped.
JP2015005274A 2015-01-14 2015-01-14 Electronic control unit Active JP6332048B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015005274A JP6332048B2 (en) 2015-01-14 2015-01-14 Electronic control unit
DE102015225730.4A DE102015225730A1 (en) 2015-01-14 2015-12-17 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015005274A JP6332048B2 (en) 2015-01-14 2015-01-14 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2016130967A true JP2016130967A (en) 2016-07-21
JP6332048B2 JP6332048B2 (en) 2018-05-30

Family

ID=56233443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015005274A Active JP6332048B2 (en) 2015-01-14 2015-01-14 Electronic control unit

Country Status (2)

Country Link
JP (1) JP6332048B2 (en)
DE (1) DE102015225730A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021235733A1 (en) * 2020-05-20 2021-11-25 주식회사 엘지에너지솔루션 Relay control device and method
WO2022103182A1 (en) * 2020-11-13 2022-05-19 주식회사 엘지에너지솔루션 Relay control device and method
CN115139940A (en) * 2021-03-30 2022-10-04 比亚迪股份有限公司 Vehicle safety control system and method and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006083716A (en) * 2004-09-14 2006-03-30 Keihin Corp Starter driving device
JP2007002812A (en) * 2005-06-27 2007-01-11 Denso Corp Engine start control device
JP2007285241A (en) * 2006-04-19 2007-11-01 Fujitsu Ten Ltd Power source managing device, control system, and control method
JP2008521697A (en) * 2004-12-01 2008-06-26 シーメンス アクチエンゲゼルシヤフト Control circuit for circuit device
JP2013064385A (en) * 2011-09-20 2013-04-11 Denso Corp Starter control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901326B2 (en) 2003-05-28 2005-05-31 Siemens Aktiengesellschaft Circuit layout and procedure to control at least one electrical component of a motor vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006083716A (en) * 2004-09-14 2006-03-30 Keihin Corp Starter driving device
JP2008521697A (en) * 2004-12-01 2008-06-26 シーメンス アクチエンゲゼルシヤフト Control circuit for circuit device
JP2007002812A (en) * 2005-06-27 2007-01-11 Denso Corp Engine start control device
JP2007285241A (en) * 2006-04-19 2007-11-01 Fujitsu Ten Ltd Power source managing device, control system, and control method
JP2013064385A (en) * 2011-09-20 2013-04-11 Denso Corp Starter control device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021235733A1 (en) * 2020-05-20 2021-11-25 주식회사 엘지에너지솔루션 Relay control device and method
CN114207759A (en) * 2020-05-20 2022-03-18 株式会社Lg新能源 Relay control apparatus and method
JP2022541478A (en) * 2020-05-20 2022-09-26 エルジー エナジー ソリューション リミテッド Relay control device and method
JP7239243B2 (en) 2020-05-20 2023-03-14 エルジー エナジー ソリューション リミテッド Relay control device and method
US11919402B2 (en) 2020-05-20 2024-03-05 Lg Energy Solution, Ltd. Relay control apparatus and method
WO2022103182A1 (en) * 2020-11-13 2022-05-19 주식회사 엘지에너지솔루션 Relay control device and method
US11823855B2 (en) 2020-11-13 2023-11-21 Lg Energy Solution, Ltd. Relay control apparatus and method
CN115139940A (en) * 2021-03-30 2022-10-04 比亚迪股份有限公司 Vehicle safety control system and method and vehicle

Also Published As

Publication number Publication date
JP6332048B2 (en) 2018-05-30
DE102015225730A1 (en) 2016-07-14

Similar Documents

Publication Publication Date Title
WO2013137425A1 (en) Circuit for monitoring abnormalities in ecu
JP6332048B2 (en) Electronic control unit
US9477542B2 (en) Electronic control unit
JP2002235598A (en) Controller for vehicle
JP2015217911A (en) Electronic control apparatus
JP2008055980A (en) Electronic control device for automobile
JP2006083716A (en) Starter driving device
US9563493B2 (en) Load-control backup signal generation circuit
JP5504124B2 (en) Engine control device
JP2010224759A (en) Electronic controller and abnormality monitoring method
JP4094827B2 (en) Drive control device
JP5800358B2 (en) Power switch protection circuit and in-vehicle equipment
JP5942963B2 (en) Microcomputer monitoring equipment
JP6172040B2 (en) Electronic control unit
JP6181011B2 (en) Control device for internal combustion engine
JP2012118686A (en) Monitoring device and electronic device
JP6205202B2 (en) Electronic control device for vehicle
JP2008018868A (en) Vehicular power supply control device
JP2010176541A (en) Electronic control device for vehicle
JP2006161756A (en) Power control unit
JP5934456B2 (en) Vehicle control apparatus and vehicle control system
JP6620688B2 (en) Electronic control unit
JP2016206906A (en) Microcomputer, and electronic control device
JP4375105B2 (en) Microcomputer monitoring device failure diagnosis method and vehicle electronic control device
JP5392058B2 (en) Processing apparatus and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170526

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180329

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180416

R151 Written notification of patent or utility model registration

Ref document number: 6332048

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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