Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4237229B2 - In-vehicle engine controller - Google Patents
[go: Go Back, main page]

JP4237229B2 - In-vehicle engine controller - Google Patents

In-vehicle engine controller Download PDF

Info

Publication number
JP4237229B2
JP4237229B2 JP2007001566A JP2007001566A JP4237229B2 JP 4237229 B2 JP4237229 B2 JP 4237229B2 JP 2007001566 A JP2007001566 A JP 2007001566A JP 2007001566 A JP2007001566 A JP 2007001566A JP 4237229 B2 JP4237229 B2 JP 4237229B2
Authority
JP
Japan
Prior art keywords
timer
output
time
drive control
engine
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.)
Expired - Fee Related
Application number
JP2007001566A
Other languages
Japanese (ja)
Other versions
JP2008169709A (en
Inventor
昌彦 左山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007001566A priority Critical patent/JP4237229B2/en
Publication of JP2008169709A publication Critical patent/JP2008169709A/en
Application granted granted Critical
Publication of JP4237229B2 publication Critical patent/JP4237229B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Control Of Vehicle Engines Or Engines For Specific Uses (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

この発明は、車載エンジンの始動用キーの認証照合を行うためのイモビライザが接続された車載エンジン制御装置に関し、特に安価な構成で始動用キーの認証照合精度を向上するための新規な改良技術に関するものである。   The present invention relates to an in-vehicle engine control device to which an immobilizer for performing authentication verification of a start key of an in-vehicle engine is connected, and particularly relates to a novel improved technique for improving the authentication verification accuracy of a start key with an inexpensive configuration. Is.

従来から、始動用キーに設けられた暗証番号を始動用キーに設けられたトランスポンダを介してイモビライザに無線送信し、イモビライザまたは車載エンジン制御装置に格納されている正解暗証番号と照合することにより、不正な始動用キーによるエンジン始動を阻止するシステムは広く実用化されている。   Conventionally, the personal identification number provided on the start key is wirelessly transmitted to the immobilizer via the transponder provided on the start key, and collated with the correct personal identification number stored in the immobilizer or in-vehicle engine control device. Systems that prevent engine start by an unauthorized start key have been widely put into practical use.

従来の車載エンジン制御装置として、公知のイモビライザおよびイモビライザによる認証方法があげられる(たとえば、特許文献1参照)。特許文献1に記載の認証制御方法によれば、始動用キーの固有情報(暗証番号)がトランスポンダを介してイモビライザに無線送信されると、イモビライザが認証一致判定を行い、車載エンジン制御装置に対して始動許可信号を与えるようになっており、特に前回のエンジン始動時間情報を基にした乱数を用いて暗証番号を暗号化することにより認証精度を向上させている。   As a conventional vehicle-mounted engine control device, a known immobilizer and an authentication method using an immobilizer can be given (for example, see Patent Document 1). According to the authentication control method described in Patent Document 1, when the unique information (password) of the start key is wirelessly transmitted to the immobilizer via the transponder, the immobilizer performs an authentication match determination, and A start permission signal is provided, and in particular, the authentication accuracy is improved by encrypting the password using a random number based on the previous engine start time information.

また、他の従来装置として、集積化されたマイクロプロセッサにおけるマクロセルを有するシステムおよび集積化されたマイクロプロセッサにおけるマクロセルの制御方法があげられる(たとえば、特許文献2参照)。特許文献2には、車載エンジン制御装置に適用可能なカウンタ/タイマのマクロセルに関する技術が開示されている。   Other conventional devices include a system having a macro cell in an integrated microprocessor and a macro cell control method in the integrated microprocessor (see, for example, Patent Document 2). Patent Document 2 discloses a technique related to a counter / timer macro cell applicable to an in-vehicle engine control device.

特開2001−012123号公報(図1、要約)JP 2001-012123 (FIG. 1, abstract) 特開平09−259102号公報(図1、要約)Japanese Patent Laid-Open No. 09-259102 (FIG. 1, abstract)

従来の車載エンジン制御装置は、たとえば特許文献1に記載の技術では、暗号化技術の併用によって認証精度の向上を図っているものの、イモビライザとトランスポンダとの間で送受信される無線信号については言及されておらず、安価な構成で始動用キーに対する認証照合精度を向上させることができないという課題があった。   In the conventional vehicle engine control device, for example, in the technology described in Patent Document 1, although the authentication accuracy is improved by using the encryption technology together, the wireless signal transmitted and received between the immobilizer and the transponder is referred to. However, there is a problem that the accuracy of authentication verification for the start key cannot be improved with an inexpensive configuration.

また、特許文献2に記載の技術では、カウンタ/タイマを多様な用途に適用するための動作モードの設定手段が開示されているものの、カウンタ/タイマモジュールの具体的用途については言及されておらず、やはり安価な構成で始動用キーに対する認証照合精度を向上させることができないという課題があった。   Further, in the technique described in Patent Document 2, although an operation mode setting unit for applying the counter / timer to various uses is disclosed, the specific use of the counter / timer module is not mentioned. There is still a problem that the authentication verification accuracy for the start key cannot be improved with an inexpensive configuration.

この発明は、燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器に対する駆動制御手段と併用することにより、安価な構成で始動用キーに対する認証照合精度を向上させることのできる車載エンジン制御装置を得ることを目的とする。   The present invention relates to an in-vehicle engine capable of improving authentication verification accuracy with respect to a start key with an inexpensive configuration when used in combination with drive control means for engine drive equipment comprising at least one of a fuel injection solenoid valve and an ignition coil. The object is to obtain a control device.

この発明に係る車載エンジン制御装置は、
車載のエンジンの運転状態を検出するためのクランク角センサを含む各種センサに接続され、車載バッテリから給電されて、運転状態に応じて燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器を制御する駆動制御手段と、
エンジンの始動用キーに対する認証照合手段となる制御プログラムを格納したプログラムメモリと、プログラムメモリと協働するマイクロプロセッサとを備え、
始動用キーに設けられたトランスポンダを介して、始動用キーの暗証番号を無線信号で読出すためのイモビライザと接続された車載エンジン制御装置であって、
マイクロプロセッサは、複数のタイマ回路部およびタイマ出力部と協働し、
プログラムメモリは、タイマ回路部に対する動作時間設定手段およびタイマ出力切換手段となる制御プログラムを含み、
タイマ回路部は、計時用クロック信号を計数する計時カウンタと、設定値レジスタと、計時カウンタの計数現在値が設定値レジスタに格納された目標設定値に達したときに比較一致出力を発生してタイマ出力部を駆動する比較回路により構成され、
タイマ出力部は、マイクロプロセッサによって設定値レジスタに可変設定される所定のON時間およびOFF時間に対応した論理出力を発生し、
動作時間設定手段は、設定値レジスタに対して、ON時間およびOFF時間に対応したON時間データおよびOFF時間データ、またはON/OFF合計時間データとON時間データ又はOFF時間データを転送格納するとともに、計時開始時には計数現在値をリセットし、
認証照合手段は、マイクロプロセッサから送信されるパルス幅変調信号の周期およびデューティに対応した、周波数および振幅を有する無線信号により、イモビライザを介して始動キーの暗証番号を読出し、読出した暗証番号が、プログラムメモリまたはイモビライザにあらかじめ格納されている正解暗証番号と一致しているか否かの認証判定を行い、
パルス幅変調信号は、タイマ回路部、動作時間設定手段、およびタイマ出力部により生成され、所定のOFF時間およびON時間を有する連続したパルス信号からなり、
タイマ出力切換手段は、認証判定が一致判定であった場合にタイマ出力切換指令信号を発生して、パルス幅変調信号を生成するために使用されたタイマ回路部を駆動制御用タイマとして切換え使用し、
駆動制御用タイマは、タイマ回路部、動作時間設定手段、およびタイマ出力部により構成され、タイマ回路部はクランク角センサの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後に初回の比較一致出力を発生するとともに、設定ON時間に対応した第2設定時間の経過後に次回の比較一致出力を発生し、タイマ出力部は初回の一致出力が発生してから次回の比較一致出力が発生するまでの期間においてタイマ出力を発生し、
エンジン駆動用機器は、タイマ出力部からのタイマ出力によって駆動され、
複数のタイマ回路部のうちの1つは、認証照合手段および駆動制御手段の中で選択切換え使用されるとともに、認証照合手段による認証照合の結果として一致判定が得られるまでは、駆動制御手段への選択切換えが行われず、駆動制御手段の出力発生が禁止されるものである。
The in-vehicle engine control apparatus according to the present invention is
For driving an engine that is connected to various sensors including a crank angle sensor for detecting the operating state of an in-vehicle engine, powered by an in-vehicle battery, and comprising at least one of a fuel injection solenoid valve and an ignition coil according to the operating state Drive control means for controlling the device;
A program memory storing a control program to be an authentication verification means for the engine start key, and a microprocessor cooperating with the program memory;
An in-vehicle engine control device connected to an immobilizer for reading out a personal identification number of the start key with a radio signal via a transponder provided in the start key,
The microprocessor cooperates with a plurality of timer circuit units and timer output units,
The program memory includes a control program serving as an operation time setting unit and a timer output switching unit for the timer circuit unit,
The timer circuit unit generates a comparison coincidence output when the time counter that counts the clock signal for timing, the set value register, and the current count value of the time counter reaches the target set value stored in the set value register. Consists of a comparison circuit that drives the timer output unit,
The timer output unit generates a logic output corresponding to a predetermined ON time and OFF time that are variably set in the set value register by the microprocessor.
The operation time setting means transfers and stores ON time data and OFF time data corresponding to the ON time and OFF time, or ON / OFF total time data and ON time data or OFF time data to the set value register, At the start of timing, the current count value is reset,
The authentication verification means reads the start key code number via the immobilizer with a radio signal having a frequency and amplitude corresponding to the period and duty of the pulse width modulation signal transmitted from the microprocessor, and the read code number is Authenticate whether or not it matches the correct password stored in the program memory or immobilizer in advance.
The pulse width modulation signal is generated by a timer circuit unit, an operation time setting unit, and a timer output unit, and is composed of a continuous pulse signal having a predetermined OFF time and ON time,
The timer output switching means generates a timer output switching command signal when the authentication determination is a coincidence determination, and switches and uses the timer circuit unit used for generating the pulse width modulation signal as a drive control timer. ,
The drive control timer includes a timer circuit unit, an operation time setting unit, and a timer output unit. The timer circuit unit starts operating in synchronization with the detection signal of the crank angle sensor and corresponds to the set OFF time. After the set time elapses, the first comparison match output is generated, and after the second set time corresponding to the set ON time elapses, the next comparison match output is generated, and the timer output unit has generated the first match output. Timer output is generated during the period until the next comparison match output occurs,
The engine driving device is driven by the timer output from the timer output unit,
One of the plurality of timer circuit units is selectively used in the authentication verification unit and the drive control unit, and to the drive control unit until a coincidence determination is obtained as a result of the authentication verification by the authentication verification unit. Is not switched, and output generation of the drive control means is prohibited.

この発明によれば、始動用キーの認証照合を行うためにパルス幅変調信号が使用され、パルス幅変調信号はエンジンの点火制御または燃料噴射制御を行うためのタイマ回路部を兼用して生成され、認証照合が完了するまではエンジンの駆動制御出力が発生しないようになっている。したがって、マイクロプロセッサと併用されるタイマ回路部の点数を増加することなく安価にパルス幅変調信号を生成して、高度な認証照合が行うことができる。
また、認証照合が正常完了するまではエンジン駆動用機器に対する車載バッテリの不要な放電を抑制し、低電圧・寒冷時の始動特性を改善することができる。
According to the present invention, the pulse width modulation signal is used to perform authentication verification of the start key, and the pulse width modulation signal is generated also as a timer circuit unit for performing engine ignition control or fuel injection control. The engine drive control output is not generated until the authentication verification is completed. Therefore, it is possible to generate a pulse width modulation signal at a low cost without increasing the number of timer circuit portions used in combination with the microprocessor, and to perform advanced authentication verification.
Moreover, until the authentication verification is normally completed, unnecessary discharge of the vehicle-mounted battery to the engine driving device can be suppressed, and the starting characteristics at low voltage / cold temperature can be improved.

実施の形態1.
以下、図1の回路ブロック図を参照しながら、この発明の実施の形態1に係る車載エンジン制御装置100Aについて説明する。
図1において、車載エンジン制御装置100Aには、電源リレー(図6とともに後述する)の出力接点102aを介して車載バッテリ101が接続されるとともに、電源スイッチ103aおよび始動スイッチ103bが接続され、さらに、車載センサ群105および電気負荷群106が接続されている。
Embodiment 1 FIG.
Hereinafter, an in-vehicle engine control apparatus 100A according to Embodiment 1 of the present invention will be described with reference to the circuit block diagram of FIG.
In FIG. 1, an in-vehicle battery 101 is connected to an in-vehicle engine control device 100A through an output contact 102a of a power relay (described later with reference to FIG. 6), and a power switch 103a and a start switch 103b are connected. The in-vehicle sensor group 105 and the electric load group 106 are connected.

電源スイッチ103aおよび始動スイッチ103bは、図6(後述する)に示すように、エンジン(図示せず)の始動用キー103の回動位置と関連して開閉動作し、電源スイッチ103aは、始動用キー103の第1の回動位置から第3の回動位置で閉路され、始動スイッチ103bは、始動用キー103の第3の回動位置で閉路される。   As shown in FIG. 6 (described later), the power switch 103a and the start switch 103b open and close in association with the rotational position of the start key 103 of the engine (not shown), and the power switch 103a The key 103 is closed from the first rotation position to the third rotation position, and the start switch 103 b is closed at the third rotation position of the start key 103.

始動用キー103には、始動用キー103に固有に付加された暗証番号を送信するためのトランスポンダ104aが一体化されており、トランスポンダ104aは、キースイッチ本体104に内蔵されたイモビライザ104bとの間で無線交信を行う。イモビライザ104bは、データ通信回線12Aを介して車載エンジン制御装置100Aに接続されており、始動用キー103に付加された暗証番号を読み取って、車載エンジン制御装置100A内のマイクロプロセッサ110に入力する。   The starter key 103 is integrated with a transponder 104a for transmitting a personal identification number added to the starter key 103. The transponder 104a is connected to an immobilizer 104b built in the key switch body 104. Wireless communication with. The immobilizer 104b is connected to the in-vehicle engine control apparatus 100A via the data communication line 12A, reads the password number added to the start key 103, and inputs it to the microprocessor 110 in the in-vehicle engine control apparatus 100A.

車載センサ群105は、クランク角センサ105aを含むとともに、図示しない変速機の変速段選択スイッチ、排気ガスセンサ、アクセルポジションセンサ、スロットルポジションセンサ、エアーフローセンサ、排気ガスセンサ、水温センサなど、エンジンの運転状態を監視するための種々のセンサを含む。   The in-vehicle sensor group 105 includes a crank angle sensor 105a, and an operating state of the engine such as a shift stage selection switch of a transmission (not shown), an exhaust gas sensor, an accelerator position sensor, a throttle position sensor, an air flow sensor, an exhaust gas sensor, and a water temperature sensor. Including various sensors for monitoring.

電気負荷群106は、図示しない吸気スロットルの弁開度制御用モータ、変速機の変速段選択用の燃料噴射用電磁弁、排気循環弁の駆動用モータ、排気ガスセンサの温度制御用電熱ヒータなど、エンジンの駆動制御に関連した各種の電気負荷を含む。なお、電気負荷群106のうち、燃料噴射用電磁弁(インジェクタINJ)または点火コイル(イグニッションコイルIGC)については、エンジン駆動用機器161Aとして示されている。   The electric load group 106 includes an unillustrated intake throttle valve opening motor, a fuel injection solenoid valve for selecting a transmission gear stage, an exhaust circulation valve drive motor, an exhaust gas sensor temperature control electric heater, and the like. Includes various electrical loads related to engine drive control. Of the electric load group 106, the fuel injection solenoid valve (injector INJ) or the ignition coil (ignition coil IGC) is shown as an engine driving device 161A.

エンジン駆動用機器161Aは、車載エンジン制御装置100Aにより、増幅出力回路160を介して駆動される。ここでは、エンジン駆動用機器161Aは、4気筒4サイクルエンジン用の点火コイルまたは燃料噴射用電磁弁に対応した4個のエンジン駆動用機器161a〜161dを含むものとする。なお、各エンジン駆動用機器161a〜161dは、161a→161b→161c→161d→161a→・・・の順序で循環動作し、この間に、エンジンは2回転するようになっている。   The engine driving device 161A is driven via the amplification output circuit 160 by the in-vehicle engine control device 100A. Here, the engine driving device 161A includes four engine driving devices 161a to 161d corresponding to ignition coils or fuel injection solenoid valves for a four-cylinder four-cycle engine. Each engine driving device 161a to 161d circulates in the order of 161a → 161b → 161c → 161d → 161a →..., And the engine rotates twice during this time.

車載エンジン制御装置100Aの主要部を構成するマイクロプロセッサ110は、演算処理用のRAMメモリ111と、プログラムメモリ112A(たとえば、不揮発フラッシュメモリ)と、タイマ回路部300ac、300bd、300rvとを備えている。マイクロプロセッサ110には、入力インタフェース125を介して車載センサ群105が接続され、出力インタフェース126を介して電気負荷群106が接続されている。また、車載センサ群105に含まれるアナログセンサの検出信号は、多チャンネルAD変換器(図示せず)を介してマイクロプロセッサ110に入力されるようになっている。   The microprocessor 110 constituting the main part of the in-vehicle engine control apparatus 100A includes a RAM memory 111 for arithmetic processing, a program memory 112A (for example, a non-volatile flash memory), and timer circuit units 300ac, 300bd, and 300rv. . The in-vehicle sensor group 105 is connected to the microprocessor 110 via the input interface 125, and the electric load group 106 is connected via the output interface 126. Further, detection signals of analog sensors included in the in-vehicle sensor group 105 are input to the microprocessor 110 via a multi-channel AD converter (not shown).

マイクロプロセッサ110内のプログラムメモリ112Aには、車載センサ群105および電気負荷群106に関する入出力制御プログラムが格納されるとともに、駆動制御用タイマTIM1、TIM2によってエンジン駆動用機器161Aに対する駆動制御指令を供給するための制御プログラムとが格納されている。   The program memory 112A in the microprocessor 110 stores input / output control programs related to the in-vehicle sensor group 105 and the electric load group 106, and supplies a drive control command to the engine drive device 161A by the drive control timers TIM1 and TIM2. And a control program for storing data.

マイクロプロセッサ110に接続された気筒選択用ゲート回路116a〜116dは、エンジン駆動用機器161a〜161dを駆動するための増幅出力回路160の入力部に挿入された3入力端子の論理積素子からなり、各論理積素子の第1の入力端子には、タイマ出力切換指令信号INHBが入力されている。   The cylinder selection gate circuits 116a to 116d connected to the microprocessor 110 are composed of AND elements of three input terminals inserted in the input part of the amplification output circuit 160 for driving the engine driving devices 161a to 161d. A timer output switching command signal INHB is input to the first input terminal of each AND element.

また、気筒選択用ゲート回路116a、116cの第2の入力端子には、駆動制御用タイマTIM1の出力信号が入力され、気筒選択用ゲート回路116b、116dの第2の入力端子には、駆動制御用タイマTIM2の出力信号が入力されている。さらに、気筒選択用ゲート回路116a〜116dの第3の入力端子には、それぞれ、マイクロプロセッサ110からの気筒選択用ゲート信号OP1〜OP4が個別に入力されている。   The output signal of the drive control timer TIM1 is input to the second input terminals of the cylinder selection gate circuits 116a and 116c, and the drive control is applied to the second input terminals of the cylinder selection gate circuits 116b and 116d. The output signal of the timer TIM2 is input. Further, the cylinder selection gate signals OP1 to OP4 from the microprocessor 110 are individually input to the third input terminals of the cylinder selection gate circuits 116a to 116d, respectively.

マイクロプロセッサ110が発生するタイマ出力切換指令信号INHBは、始動用キー103の認証照合結果が正当判定であった場合に論理レベルが「H」となり、エンジン駆動用機器161Aに対する駆動指令を有効にする。   The timer output switching command signal INHB generated by the microprocessor 110 has a logic level “H” when the authentication verification result of the start key 103 is valid, and validates the drive command for the engine driving device 161A. .

駆動制御用タイマTIM1、TIM2の出力信号は、図2とともに後述するように、クランク角センサ105aの検出信号のLレベルからHレベルへの動作後に、第1設定時間(可変の設定OFF時間)の経過後に、論理レベルが「H」となってエンジン駆動用機器161Aを駆動するとともに、可変第2設定時間の経過後に論理レベルが「L」に復帰してエンジン駆動用機器161Aの駆動を停止させる。   As will be described later with reference to FIG. 2, the output signals of the drive control timers TIM1 and TIM2 have a first set time (variable set OFF time) after the operation of the detection signal of the crank angle sensor 105a from the L level to the H level. After the elapse of time, the logic level becomes “H” to drive the engine driving device 161A, and after the variable second set time elapses, the logic level returns to “L” to stop the driving of the engine driving device 161A. .

気筒選択用ゲート信号OP1〜OP4は、燃料噴射制御および点火制御が行われる気筒を順次選択して、各気筒のエンジン駆動用機器161a〜161dが動作している期間に論理レベルが「H」となる。また、少なくともクランク角センサ105aが動作(L→H)するごとに、気筒選択用ゲート信号OP1と気筒選択用ゲート信号OP3とが交互に論理反転し、気筒選択用ゲート信号OP2と気筒選択用ゲート信号OP4とが交互に論理反転する。したがって、気筒選択用ゲート信号OP1、OP3の論理レベルが同時に「H」になることはなく、同様に、気筒選択用ゲート信号OP2、OP4の論理レベルが同時に「H」になることはない。   The cylinder selection gate signals OP1 to OP4 sequentially select the cylinders for which the fuel injection control and the ignition control are performed, and the logic level becomes “H” during the period in which the engine driving devices 161a to 161d of each cylinder are operating. Become. Further, at least every time the crank angle sensor 105a operates (L → H), the cylinder selection gate signal OP1 and the cylinder selection gate signal OP3 are alternately logically inverted, and the cylinder selection gate signal OP2 and the cylinder selection gate are inverted. The signal OP4 is logically inverted alternately. Therefore, the logic levels of the cylinder selection gate signals OP1 and OP3 are not simultaneously “H”, and similarly, the logic levels of the cylinder selection gate signals OP2 and OP4 are not simultaneously “H”.

車載エンジン制御装置100A内の定電圧電源回路120は、外部電源となる車載バッテリ101から、電源リレーの出力接点102aを介して給電され、電源電圧Vbを安定化された制御電源電圧Vcc(たとえば、DC5V)に変換して、マイクロプロセッサ110に対する制御電源を供給する。   A constant voltage power supply circuit 120 in the in-vehicle engine control apparatus 100A is supplied with power from an in-vehicle battery 101 serving as an external power supply via an output contact 102a of a power supply relay, and a control power supply voltage Vcc (for example, a stabilized power supply voltage Vb) DC5V) to supply control power to the microprocessor 110.

マイクロプロセッサ110が発生する同期用クロック信号CLKは、車載エンジン制御装置100A内のドライバ回路141aと、車載エンジン制御装置100Aとキースイッチ本体104とを接続する外部配線からなる同期信号送信回線11と、キースイッチ本体104内のレシーバ回路141bとを介して、キースイッチ本体104内のイモビライザ104bに供給される。   The synchronization clock signal CLK generated by the microprocessor 110 includes a driver circuit 141a in the in-vehicle engine control apparatus 100A, a synchronization signal transmission line 11 including external wiring that connects the in-vehicle engine control apparatus 100A and the key switch body 104, The signal is supplied to the immobilizer 104b in the key switch body 104 via the receiver circuit 141b in the key switch body 104.

マイクロプロセッサ110とイモビライザ104bとの間の交信データDATAは、マイクロプロセッサ110から、車載エンジン制御装置100A内のドライバ回路142aと、車載エンジン制御装置100Aとキースイッチ本体104とを接続する外部配線からなるデータ通信回線12Aと、キースイッチ本体104内のレシーバ回路142bとを介して、イモビライザ104bに送信される。また、交信データDATAは、イモビライザ104bから、キースイッチ本体104内のドライバ回路143bと、データ通信回線12Aと、車載エンジン制御装置100A内のレシーバ回路143aとを介して、マイクロプロセッサ110に送信される。   Communication data DATA between the microprocessor 110 and the immobilizer 104b is composed of a driver circuit 142a in the in-vehicle engine control device 100A, and external wiring connecting the in-vehicle engine control device 100A and the key switch body 104 from the microprocessor 110. The data is transmitted to the immobilizer 104b via the data communication line 12A and the receiver circuit 142b in the key switch body 104. Further, the communication data DATA is transmitted from the immobilizer 104b to the microprocessor 110 via the driver circuit 143b in the key switch body 104, the data communication line 12A, and the receiver circuit 143a in the in-vehicle engine control device 100A. .

マイクロプロセッサ110に接続された認証用ゲート回路144は、駆動制御用タイマTIM1の出力信号と、タイマ出力切換指令信号INHBの反転論理信号と、を入力情報とする論理積素子からなり、論理積素子の出力信号は、ドライバ回路145aと、PWM信号送信回線13と、キースイッチ本体104内のレシーバ回路145bとを介して、イモビライザ104bに供給される。   The authentication gate circuit 144 connected to the microprocessor 110 includes a logical product element having the output information of the drive control timer TIM1 and the inverted logical signal of the timer output switching command signal INHB as input information. The output signal is supplied to the immobilizer 104b via the driver circuit 145a, the PWM signal transmission line 13, and the receiver circuit 145b in the key switch body 104.

なお、後述するように、マイクロプロセッサ110内の駆動制御用タイマTIM1は、始動用キー103の正当性が認証されるまでは、パルス幅変調信号PWMを生成してイモビライザ104bに供給する。これにより、イモビライザ104bは、パルス幅変調信号PWMの周期に反比例した周波数と、パルス幅変調信号PWMのデューティ(論理レベルが「H」の時間と周期との比率)に比例した振幅と、を有する無線信号を発生し、始動用キー103に設けられたトランスポンダ104aとの間で無線交信を行う。   As will be described later, the drive control timer TIM1 in the microprocessor 110 generates the pulse width modulation signal PWM and supplies it to the immobilizer 104b until the validity of the start key 103 is authenticated. Thereby, the immobilizer 104b has a frequency that is inversely proportional to the period of the pulse width modulation signal PWM and an amplitude that is proportional to the duty of the pulse width modulation signal PWM (the ratio between the time and the period when the logic level is “H”). A radio signal is generated, and radio communication is performed with the transponder 104 a provided in the start key 103.

駆動制御用タイマTIM1(認証制御用タイマとして兼用)がパルス幅変調信号PWMを発生している期間においては、タイマ出力切換指令信号INHBの論理レベルが「L」となり、認証用ゲート回路144を介してパルス幅変調信号PWMがイモビライザ104bに送信される。しかし、この時点では、気筒選択用ゲート回路116a、116cは、タイマ出力切換指令信号INHBによって出力停止されているので、エンジン駆動用機器161a、161cにパルス幅変調信号PWMが供給されることはない。   During the period in which the drive control timer TIM1 (also used as the authentication control timer) is generating the pulse width modulation signal PWM, the logic level of the timer output switching command signal INHB becomes “L” and passes through the authentication gate circuit 144. Then, the pulse width modulation signal PWM is transmitted to the immobilizer 104b. However, at this time, the cylinder selection gate circuits 116a and 116c are stopped by the timer output switching command signal INHB, so that the pulse width modulation signal PWM is not supplied to the engine driving devices 161a and 161c. .

なお、タイマ出力切換指令信号INHBの論理レベルが「L」となっている期間において、駆動制御用タイマTIM2の出力発生が停止する構成であれば、タイマ出力切換指令信号INHBを気筒選択用ゲート回路116b、116dに導入するインターロック回路119(破線参照)は不要である。しかし、気筒選択用ゲート回路116b、116dにインターロック回路119を接続すれば、タイマ出力切換指令信号INHBによって気筒選択用ゲート回路116b、116dも出力停止されるので、認証照合が正常完了するまでは確実に駆動制御用タイマTIM2の出力発生を停止させることができる。   If the output of the drive control timer TIM2 is stopped during the period when the logic level of the timer output switching command signal INHB is “L”, the timer output switching command signal INHB is used as the cylinder selection gate circuit. The interlock circuit 119 (see the broken line) introduced into 116b and 116d is unnecessary. However, if the interlock circuit 119 is connected to the cylinder selection gate circuits 116b and 116d, the output of the cylinder selection gate circuits 116b and 116d is also stopped by the timer output switching command signal INHB. The output generation of the drive control timer TIM2 can be stopped reliably.

マイクロプロセッサ110内のタイマ回路部300ac、300bdは、駆動制御用タイマTIM1、TIM2を生成するためのカウンタ回路(CNT1、CNT2)により構成されている。同様に、タイマ回路部300rvは、エンジン回転速度Neの検出手段として機能し、クランク角センサ105aの動作間隔(Hレベルのパルス発生間隔)を測定するためのカウンタ回路(CNT0)により構成されている。なお、タイマ回路部300ac、300bd、300rvの詳細については、図3とともに後述する。   The timer circuit units 300ac and 300bd in the microprocessor 110 are configured by counter circuits (CNT1 and CNT2) for generating drive control timers TIM1 and TIM2. Similarly, the timer circuit unit 300rv functions as a means for detecting the engine rotation speed Ne, and includes a counter circuit (CNT0) for measuring the operation interval (H-level pulse generation interval) of the crank angle sensor 105a. . Details of the timer circuit units 300ac, 300bd, and 300rv will be described later with reference to FIG.

次に、図2のタイミングチャートを参照しながら、図1内の駆動制御用タイマTIM1、TIM2の出力特性について説明する。
図2においては、横軸(エンジン回転軸のクランク角度位置)に対し、(A)クランク角センサ105aの検出信号、(B)燃料噴射の駆動制御用タイマTIM1の出力信号、(C)燃料噴射の駆動制御用タイマTIM2の出力信号、(D)点火の駆動制御用タイマTIM1の出力信号、(E)点火の駆動制御用タイマTIM2の出力信号の各動作順序が示されている。
Next, output characteristics of the drive control timers TIM1 and TIM2 in FIG. 1 will be described with reference to the timing chart of FIG.
In FIG. 2, for the horizontal axis (crank angle position of the engine rotation shaft), (A) a detection signal of the crank angle sensor 105a, (B) an output signal of a fuel injection drive control timer TIM1, (C) fuel injection The operation sequence of the output signal of the drive control timer TIM2 of (1), (D) the output signal of the ignition drive control timer TIM1, and (E) the output signal of the ignition drive control timer TIM2 is shown.

図2(A)において、クランク角センサ105aの検出信号は、エンジンの回転周期T0(1回転:360度)の中で1回だけクランク角センサ105aが動作(L→H)して、各気筒のピストン位置が判定できるようになっている。ただし、実際には、回転角度の代わりに、クランク角センサ105aの最新動作からの経過時間によって回転角度が判定されるようになっている。回転周期T0(クランク角センサ105aの動作周期)は、エンジン回転速度Neに反比例した値として毎回計測され、前回測定された回転周期T0は、今回のクランク角360度に相当した時間として扱われる。   In FIG. 2A, the detection signal of the crank angle sensor 105a is generated when the crank angle sensor 105a operates only once (L → H) in the engine rotation cycle T0 (1 rotation: 360 degrees). The piston position can be determined. However, in practice, the rotation angle is determined by the elapsed time from the latest operation of the crank angle sensor 105a instead of the rotation angle. The rotation cycle T0 (the operation cycle of the crank angle sensor 105a) is measured every time as a value inversely proportional to the engine rotation speed Ne, and the rotation cycle T0 measured last time is handled as a time corresponding to the current crank angle 360 degrees.

図2(B)、図2(C)は、エンジン駆動用機器161a〜161dが燃料噴射用電磁弁INJ1〜INJ4である場合に、燃料噴射順序が1番目および3番目の燃料噴射用電磁弁INJ1、INJ3を駆動する駆動制御用タイマTIM1と、燃料噴射順序が2番目および4番目の燃料噴射用電磁弁INJ2、INJ4を駆動する駆動制御用タイマTIM2と、の各出力特性を示している。   FIGS. 2B and 2C show the first and third fuel injection solenoid valves INJ1 when the engine driving devices 161a to 161d are the fuel injection solenoid valves INJ1 to INJ4. , Output characteristics of the drive control timer TIM1 for driving INJ3 and the drive control timer TIM2 for driving the second and fourth fuel injection solenoid valves INJ2 and INJ4 in the fuel injection order.

図2(B)において、クランク角センサ105aの最新動作からの経過時間に対応した時間T11は、燃料噴射用電磁弁INJ1、INJ3の開弁時期に相当し、これに続く経過時間に対応した時間T12は、燃料噴射用電磁弁INJ1、INJ3の閉弁時期までの開弁期間に相当する。燃料噴射用電磁弁INJ1、INJ3の区分は、気筒選択用ゲート信号OP1、OP3によって弁別され、燃料噴射用電磁弁INJ1と燃料噴射用電磁弁INJ3とは、交互に動作するようになっている。   In FIG. 2B, a time T11 corresponding to the elapsed time from the latest operation of the crank angle sensor 105a corresponds to the valve opening timing of the fuel injection solenoid valves INJ1 and INJ3, and the time corresponding to the subsequent elapsed time. T12 corresponds to a valve opening period until the closing timing of the fuel injection solenoid valves INJ1 and INJ3. The fuel injection solenoid valves INJ1 and INJ3 are divided by cylinder selection gate signals OP1 and OP3, and the fuel injection solenoid valve INJ1 and the fuel injection solenoid valve INJ3 operate alternately.

同様に、図2(C)において、クランク角センサ105aの最新動作からの経過時間に対応した時間T21は、燃料噴射用電磁弁INJ2、INJ4の開弁時期に相当し、これに続く経過時間に対応した時間T22は、燃料噴射用電磁弁INJ2、INJ4の閉弁時期までの開弁期間に相当する。燃料噴射用電磁弁INJ2、INJ4の区分は、気筒選択用ゲート信号OP2、OP4によって弁別され、燃料噴射用電磁弁INJ2と燃料噴射用電磁弁INJ4とは、交互に動作するようになっている。   Similarly, in FIG. 2C, a time T21 corresponding to the elapsed time from the latest operation of the crank angle sensor 105a corresponds to the valve opening timing of the fuel injection solenoid valves INJ2 and INJ4, and the elapsed time subsequent thereto. The corresponding time T22 corresponds to the valve opening period until the closing timing of the fuel injection solenoid valves INJ2, INJ4. The fuel injection solenoid valves INJ2 and INJ4 are classified by the cylinder selection gate signals OP2 and OP4, and the fuel injection solenoid valve INJ2 and the fuel injection solenoid valve INJ4 operate alternately.

図2(D)、図2(E)は、エンジン駆動用機器161a〜161dがガソリンエンジンの点火コイルIGC1〜IGC4である場合に、点火順序が1番目および3番目の点火コイルIGC1、IGC3を駆動する駆動制御用タイマTIM1と、点火順序が2番目および4番目の点火コイルIGC2、IGC4を駆動する駆動制御用タイマTIM2と、の各出力特性を示している。   2D and 2E show that when the engine driving devices 161a to 161d are gasoline engine ignition coils IGC1 to IGC4, the first and third ignition coils IGC1 and IGC3 are driven. Output characteristics of the drive control timer TIM1 that drives the ignition coils IGC2 and IGC4 having the second and fourth ignition orders are shown.

図2(D)において、クランク角センサ105aの最新動作からの経過時間に対応した時間T13は、点火コイルIGC1、IGC3の励磁開始時期に相当し、これに続く経過時間に対応した時間T14は、点火コイルIGC1、IGC3の励磁遮断時期(点火時期)までの励磁期間に相当する。点火コイルIGC1、IGC3の区分は、気筒選択用ゲート信号OP1、OP3によって弁別され、点火コイルIGC1と点火コイルIGC3とは、交互に動作するようになっている。   In FIG. 2D, a time T13 corresponding to the elapsed time from the latest operation of the crank angle sensor 105a corresponds to the excitation start timing of the ignition coils IGC1 and IGC3, and a time T14 corresponding to the subsequent elapsed time is This corresponds to the excitation period until the excitation cutoff timing (ignition timing) of the ignition coils IGC1 and IGC3. The sections of the ignition coils IGC1 and IGC3 are discriminated by the cylinder selection gate signals OP1 and OP3, and the ignition coil IGC1 and the ignition coil IGC3 operate alternately.

同様に、図2(E)において、クランク角センサ105aの最新動作からの経過時間に対応した時間T23は、点火コイルIGC2、IGC4の励磁開始時期に相当し、これに続く経過時間に対応した時間T24は、点火コイルIGC2、IGC4の励磁遮断時期(点火時期)までの励磁期間に相当する。点火コイルIGC2、IGC4の区分は、気筒選択用ゲート信号OP2、OP4によって弁別され、点火コイルIGC2と点火コイルIGC4とは、交互に動作するようになっている。   Similarly, in FIG. 2E, a time T23 corresponding to the elapsed time from the latest operation of the crank angle sensor 105a corresponds to the excitation start timing of the ignition coils IGC2 and IGC4, and the time corresponding to the subsequent elapsed time. T24 corresponds to an excitation period until the excitation cutoff timing (ignition timing) of the ignition coils IGC2 and IGC4. The sections of the ignition coils IGC2 and IGC4 are discriminated by the cylinder selection gate signals OP2 and OP4, and the ignition coil IGC2 and the ignition coil IGC4 operate alternately.

次に、図3のブロック図を参照しながら、図1内のタイマ回路部300ac、300bd、300rvとマイクロプロセッサ110内のタイマ出力部304nとについて説明する。
図3において、タイマ回路部300nは、タイマ回路部300ac、300bd、300rvを代表的に示しており、タイマ出力部304nは、タイマ出力部304ac、304bd、304rvを代表的に示している。
Next, the timer circuit units 300ac, 300bd, 300rv in FIG. 1 and the timer output unit 304n in the microprocessor 110 will be described with reference to the block diagram of FIG.
In FIG. 3, the timer circuit unit 300n representatively shows timer circuit units 300ac, 300bd, and 300rv, and the timer output unit 304n representatively shows timer output units 304ac, 304bd, and 304rv.

タイマ回路部300nは、計時用クロック信号113が入力される計時カウンタ301と、マイクロプロセッサ110により計時目標値がセットされる設定値レジスタ302と、計時カウンタ301の現在値レジスタの値と設定値レジスタ302の値を比較する比較回路303とを備えている。
なお、図3においては、タイマ回路部300nはマイクロプロセッサ110を構成する集積回路素子の外部に設けられ、タイマ出力部304nはマイクロプロセッサ110を構成する集積回路素子の内部に設けられているが、両者をマイクロプロセッサ110の内部又は外部に設置するように構成することもでき、図1では両者がマイクロプロセッサ110内に構成された事例となっている。
The timer circuit unit 300n includes a time counter 301 to which a clock signal 113 for time measurement is input, a set value register 302 in which a time target value is set by the microprocessor 110, a value of the current value register of the time counter 301, and a set value register And a comparison circuit 303 for comparing values 302.
In FIG. 3, the timer circuit unit 300n is provided outside the integrated circuit element constituting the microprocessor 110, and the timer output unit 304n is provided inside the integrated circuit element constituting the microprocessor 110. Both may be configured to be installed inside or outside the microprocessor 110, and FIG. 1 shows an example in which both are configured in the microprocessor 110.

タイマ回路部300n内の計時カウンタ301は、計数現在値を出力するための現在値レジスタを有する。現在値レジスタの計数現在値は、計時カウンタ301が計時用クロック信号113を計数することにより、時間経過にともなって増加する。なお、計時用クロック信号113は、マイクロプロセッサ110に供給される基準クロック信号(図示せず)を分周することにより得られる一定時間のパルス列信号である。   The time counter 301 in the timer circuit unit 300n has a current value register for outputting the current count value. The counting current value of the current value register increases with time as the time counter 301 counts the clock signal 113 for time counting. Note that the clock signal 113 for time measurement is a pulse train signal of a fixed time obtained by dividing a reference clock signal (not shown) supplied to the microprocessor 110.

クランク角センサ105aからの検出信号および比較回路303からの比較一致出力CMPは、マイクロプロセッサ110の割込入力端子に入力される。計時カウンタ301の計数現在値は、読出入力端子RDを介してマイクロプロセッサ110に読込まれる。マイクロプロセッサ110が発生するリセット信号RSTは、論理レベルが「H」の場合には、計時カウンタ301の計数現在値をゼロにリセットするとともに、計時用クロック信号113(計時信号)の計時カウンタ301への入力を停止させる。   The detection signal from the crank angle sensor 105a and the comparison coincidence output CMP from the comparison circuit 303 are input to the interrupt input terminal of the microprocessor 110. The current count value of the time counter 301 is read into the microprocessor 110 via the read input terminal RD. When the logic level is “H”, the reset signal RST generated by the microprocessor 110 resets the current count value of the time counter 301 to zero and supplies the time counter signal to the time counter 301 (time signal). Stop input.

タイマ回路部300n内の設定値レジスタ302は、メモリからなり、マイクロプロセッサ110からの設定出力SETによって計時目標値が書込まれる。比較回路303は、計時カウンタ301内の現在値レジスタの計数現在値と、設定値レジスタ302の計時目標値とを比較し、両者が一致した場合に比較一致出力CMPをマイクロプロセッサ110に供給する。   The set value register 302 in the timer circuit unit 300n is composed of a memory, and a time measurement target value is written by a set output SET from the microprocessor 110. The comparison circuit 303 compares the current count value in the current value register in the time counter 301 with the target time value in the set value register 302, and supplies a comparison match output CMP to the microprocessor 110 if they match.

マイクロプロセッサ110内のタイマ出力部304nは、RAMメモリ111(図1参照)によって構成されており、比較一致出力CMPが入力されるごとに論理レベルが交互に反転動作する交互反転フラグを有する。交互反転フラグの反転制御動作は、プログラムメモリ112Aに格納されたフラグ反転手段522(図5とともに後述する)により実行される。   The timer output unit 304n in the microprocessor 110 is constituted by a RAM memory 111 (see FIG. 1), and has an alternating inversion flag in which the logic level is alternately inverted every time the comparison match output CMP is input. The inversion control operation of the alternating inversion flag is executed by flag inversion means 522 (described later with reference to FIG. 5) stored in the program memory 112A.

タイマ回路部300nは、図4および図5とともに後述するように、駆動制御用タイマとして使用され、パルス幅変調信号PWMを発生する認証制御用タイマとして使用され、また、エンジンの回転周期T0を測定するために使用される。   As will be described later with reference to FIGS. 4 and 5, the timer circuit unit 300n is used as a drive control timer, used as an authentication control timer for generating a pulse width modulation signal PWM, and measures an engine rotation period T0. Used to do.

以下、図1〜図3を参照しながら、タイマ回路部300nの第1の例として、図1内のタイマ回路部300rv(カウンタ回路CNT0)を用いて、エンジンの回転周期T0を測定する際のマイクロプロセッサ110の制御動作について説明する。   Hereinafter, as a first example of the timer circuit unit 300n, referring to FIGS. 1 to 3, the timer circuit unit 300rv (counter circuit CNT0) in FIG. 1 is used to measure the engine rotation period T0. A control operation of the microprocessor 110 will be described.

マイクロプロセッサ110は、まず、リセット出力RSTを生成することにより、計時カウンタ301の計数現在値をリセットしておいてから、クランク角センサ105aの検出信号がLレベルからHレベルに動作した時点で、読出入力端子RDを介して計時カウンタ301の計数現在値を読出す。その直後、再びリセット出力RSTを瞬時発生して計数現在値のリセットする処理を繰返す。この結果、読出入力端子RDからの読込値として、クランク角センサ105aの動作間隔時間(エンジンの回転周期T0)に比例した値が得られる。   The microprocessor 110 first generates a reset output RST to reset the current count value of the time counter 301, and when the detection signal of the crank angle sensor 105a operates from L level to H level, The current count value of the time counter 301 is read via the read input terminal RD. Immediately thereafter, the reset output RST is instantaneously generated again to repeat the process of resetting the current count value. As a result, a value proportional to the operation interval time (engine rotation period T0) of the crank angle sensor 105a is obtained as a read value from the read input terminal RD.

次に、タイマ回路部300nの第2の例として、図1内のタイマ回路部300ac(カウンタ回路CNT1)を用いて、パルス幅変調信号PWMを生成する際のマイクロプロセッサ110の制御動作について説明する。   Next, as a second example of the timer circuit unit 300n, the control operation of the microprocessor 110 when generating the pulse width modulation signal PWM using the timer circuit unit 300ac (counter circuit CNT1) in FIG. 1 will be described. .

マイクロプロセッサ110は、まず、タイマ出力部304ac(304n)をリセットして、駆動制御用タイマTIM1(TIMn)の論理出力を「L」とする。続いて、設定出力SETにより、タイマ回路部300ac内の設定値レジスタ302に設定OFF時間(駆動制御用タイマTIM1の論理出力レベルが「L」となっている第1設定時間)を書込む。また、リセット信号RSTにより計時カウンタ301の計数現在値を瞬時リセットし、計時カウンタ301の計時動作を開始させる。   First, the microprocessor 110 resets the timer output unit 304ac (304n) to set the logic output of the drive control timer TIM1 (TIMn) to “L”. Subsequently, the set OFF time (the first set time in which the logic output level of the drive control timer TIM1 is “L”) is written in the set value register 302 in the timer circuit unit 300ac by the set output SET. Further, the count current value of the time counter 301 is instantaneously reset by the reset signal RST, and the time counting operation of the time counter 301 is started.

その後、計時カウンタ301の計数現在値が増加して、設定値レジスタ302に格納されている設定OFF時間に達すると、比較回路303は、初回の比較一致出力CMPをマイクロプロセッサ110の割込入力端子に入力する。   Thereafter, when the current count value of the time counter 301 increases and reaches the set OFF time stored in the set value register 302, the comparison circuit 303 outputs the first comparison match output CMP to the interrupt input terminal of the microprocessor 110. To enter.

マイクロプロセッサ110は、比較一致出力CMPが生成されると、交互反転フラグからなるタイマ出力部304acの論理出力を「H」に反転させる。続いて、設定出力SETにより設定値レジスタ302に設定ON時間(論理レベルが「H」となっている第2設定時間)を書込む。また、リセット信号RSTにより、計時カウンタ301の計数現在値を瞬時リセットして再度計時動作を開始させる。   When the comparison coincidence output CMP is generated, the microprocessor 110 inverts the logic output of the timer output unit 304ac composed of the alternating inversion flag to “H”. Subsequently, the setting ON time (second setting time when the logic level is “H”) is written in the setting value register 302 by the setting output SET. Further, the current count value of the time counter 301 is instantaneously reset by the reset signal RST, and the time measuring operation is started again.

その後、計時カウンタ301の計数現在値が増加して、設定値レジスタ302に格納されている設定ON時間に達すると、比較回路303は、次回の比較一致出力CMPを発生し、マイクロプロセッサ110は、交互反転フラグからなるタイマ出力部304acの論理出力を再び「L」に反転させる。以下、同様の動作を繰返す。   Thereafter, when the count current value of the time counter 301 increases and reaches the set ON time stored in the set value register 302, the comparison circuit 303 generates the next comparison match output CMP, and the microprocessor 110 The logic output of the timer output unit 304ac composed of the alternating inversion flag is inverted to “L” again. Thereafter, the same operation is repeated.

以上の動作は、代表的に、奇数番号の気筒に関するタイマ回路部300ac(カウンタ回路CNT1)およびタイマ出力部304ac(駆動制御用タイマTIM1)を用いてパルス幅変調信号を発生する場合について説明したが、偶数番号の気筒に関するタイマ回路部300bd(カウンタ回路CNT2)およびタイマ出力部304bd(駆動制御用タイマTIM2)を用いてパルス幅変調信号を発生することも可能である。   The above operation is typically described for the case where the pulse width modulation signal is generated using the timer circuit unit 300ac (counter circuit CNT1) and the timer output unit 304ac (drive control timer TIM1) for odd-numbered cylinders. It is also possible to generate a pulse width modulation signal using the timer circuit unit 300bd (counter circuit CNT2) and the timer output unit 304bd (drive control timer TIM2) for even-numbered cylinders.

次に、タイマ回路部300nの第3の例として、図1内のタイマ回路部300ac(カウンタ回路CNT1)を用いて、エンジン駆動用機器161Aに対する駆動制御信号を生成する際のマイクロプロセッサ110の制御動作について説明する。   Next, as a third example of the timer circuit unit 300n, control of the microprocessor 110 when generating a drive control signal for the engine driving device 161A using the timer circuit unit 300ac (counter circuit CNT1) in FIG. The operation will be described.

マイクロプロセッサ110は、まず、タイマ出力部304acをリセットして論理出力を「L」とし、設定出力SETにより設定値レジスタ302に設定OFF時間(論理レベルが「L」となっている第1設定時間)を書込むとともに、リセット信号RSTを継続発生して、計時用クロック信号113の計数を停止させ、計時カウンタ301の計数現在値をリセット状態に維持させる。   The microprocessor 110 first resets the timer output unit 304ac to set the logic output to “L”, and sets the set OFF time (the first set time in which the logic level is “L”) in the set value register 302 by the set output SET. ) And the reset signal RST is continuously generated to stop counting the clock signal 113 for timekeeping, and keep the current count value of the time counter 301 in the reset state.

その後、エンジン回転にともなってクランク角センサ105aの検出信号の論理レベルが「H」になると、マイクロプロセッサ110は、リセット信号RSTの発生を停止し、計時カウンタ301による計時用クロック信号113の計数を開始させる。   Thereafter, when the logic level of the detection signal of the crank angle sensor 105a becomes “H” with the engine rotation, the microprocessor 110 stops generating the reset signal RST and counts the clock signal 113 for clocking by the clock counter 301. Let it begin.

この結果、計時カウンタ301の計数現在値が設定値レジスタ302の設定OFF時間に一致した時点で、比較回路303からの初回の比較一致出力CMPがマイクロプロセッサ110の割込入力端子に入力され、マイクロプロセッサ110は、タイマ出力部300acの論理出力を「H」レベルに反転させる。また、設定出力SETにより、設定値レジスタ302に設定ON時間(論理レベルが「H」となっている第2設定時間)を書込むとともに、リセット信号RSTにより、計時カウンタ301の計数現在値を瞬時リセットして計時動作を開始させる。   As a result, when the current count value of the time counter 301 matches the set OFF time of the set value register 302, the first comparison match output CMP from the comparison circuit 303 is input to the interrupt input terminal of the microprocessor 110, The processor 110 inverts the logic output of the timer output unit 300ac to the “H” level. In addition, the set ON time (second set time in which the logic level is “H”) is written to the set value register 302 by the set output SET, and the current count value of the time counter 301 is instantaneously received by the reset signal RST. Reset to start timing operation.

その後、計時カウンタ301の計数現在値が増加して、設定値レジスタ302に格納されている設定ON時間に達すると、比較回路303が次回の比較一致出力CMPを発生する。マイクロプロセッサ110は、比較一致出力CMPに応答して、タイマ出力部304acの論理出力を「L」に復帰反転させる。また、設定出力SETにより、設定値レジスタ302に設定OFF時間(論理レベルが「L」となっている第1設定時間)を書込むとともに、リセット信号RSTを継続発生して、計時用クロック信号113による計数を停止させ、計時カウンタ301の計数現在値をリセット状態に維持する。以下、次回のクランク角センサ105aの検出信号の到来を待機する。   Thereafter, when the count current value of the time counter 301 increases and reaches the set ON time stored in the set value register 302, the comparison circuit 303 generates the next comparison match output CMP. In response to the comparison match output CMP, the microprocessor 110 restores and inverts the logic output of the timer output unit 304ac to “L”. In addition, the setting output SET is used to write the setting OFF time (the first setting time in which the logic level is “L”) to the setting value register 302, and the reset signal RST is continuously generated, so that the clock signal 113 for clocking is used. Is stopped, and the current count value of the time counter 301 is maintained in the reset state. Thereafter, it waits for the next detection signal of the crank angle sensor 105a to arrive.

なお、タイマ回路部300nを駆動制御用タイマとして使用する場合には、計時カウンタ301を減算カウンタで構成し、設定出力SETにより、計時カウンタ301内の現在値レジスタに計時目標値が設定されればよい。この場合、計時カウンタ301内の現在値レジスタは、設定値レジスタ302として兼用され、比較回路303は、現在値レジスタの値がゼロになったか否かを判定する回路となり、現在値レジスタの値がゼロに達した時点で比較一致出力CMPが生成される。   When the timer circuit unit 300n is used as a drive control timer, the time counter 301 is constituted by a subtraction counter, and the time target value is set in the current value register in the time counter 301 by the setting output SET. Good. In this case, the current value register in the time counter 301 is also used as the set value register 302, and the comparison circuit 303 is a circuit that determines whether or not the value of the current value register has become zero. When reaching zero, the comparison coincidence output CMP is generated.

以上の動作は、代表的に、奇数番号の気筒に関するタイマ回路部300ac(カウンタ回路CNT1)およびタイマ出力部304ac(駆動制御用タイマTIM1)の場合について説明したが、偶数番号の気筒に関するタイマ回路部300bd(カウンタ回路CNT2)およびタイマ出力部304bd(駆動制御用タイマTIM2)の場合も同様である。   The above operation is typically described for the case of the timer circuit unit 300ac (counter circuit CNT1) and the timer output unit 304ac (drive control timer TIM1) for odd-numbered cylinders. The same applies to 300bd (counter circuit CNT2) and timer output unit 304bd (drive control timer TIM2).

次に、図1に示したこの発明の実施の形態1による動作について概括説明する。
図1において、電源スイッチ103aを閉路すると、電源リレーの出力接点102aが閉路して、車載エンジン制御装置100Aには、車載バッテリ101から電源電圧Vb(たとえば、10V〜16V)が印加され、定電圧電源回路120を介して安定化された制御電源電圧Vcc(=5V)がマイクロプロセッサ110に供給される。
Next, the operation according to the first embodiment of the present invention shown in FIG.
In FIG. 1, when the power switch 103a is closed, the output contact 102a of the power supply relay is closed, and the power supply voltage Vb (for example, 10V to 16V) is applied from the in-vehicle battery 101 to the in-vehicle engine control device 100A. A stabilized control power supply voltage Vcc (= 5 V) is supplied to the microprocessor 110 via the power supply circuit 120.

マイクロプロセッサ110は、イモビライザ104bを介して、使用された始動用キー103の正当性を認証照合し、続いて、車載センサ群105の動作状態と、プログラムメモリ112Aに格納された入出力制御プログラムとに基づいて、電気負荷群106を制御するとともに、エンジン駆動用機器161Aに対する駆動制御プログラムに基づいて、駆動制御用タイマTIM1、TIM2を動作させる。   The microprocessor 110 authenticates and verifies the validity of the used start key 103 via the immobilizer 104b, and then continues the operation state of the in-vehicle sensor group 105 and the input / output control program stored in the program memory 112A. Based on the control, the electric load group 106 is controlled, and the drive control timers TIM1 and TIM2 are operated based on the drive control program for the engine drive device 161A.

次に、図1〜図3とともに、図4のフローチャートを参照しながら、この発明の実施の形態1による認証照合動作および駆動制御動作について説明する。
図4において、ステップ403は、読出確認手段を構成し、ステップ407は、認証照合手段を構成し、ステップ408は、始動停止手段を構成し、ステップ409は、出力禁止手段を構成し、ステップ411は、タイマ出力切換手段を構成している。また、ステップ412ac、412bd、413ac、413bdは、エンジン駆動用機器161Aに対する駆動制御手段421を構成している。
Next, an authentication verification operation and a drive control operation according to the first embodiment of the present invention will be described with reference to the flowchart of FIG. 4 together with FIGS.
In FIG. 4, Step 403 constitutes a reading confirmation means, Step 407 constitutes an authentication verification means, Step 408 constitutes a start / stop means, Step 409 constitutes an output prohibiting means, and Step 411 Constitutes timer output switching means. Steps 412ac, 412bd, 413ac, and 413bd constitute drive control means 421 for the engine driving device 161A.

図4において、マイクロプロセッサ110が動作開始すると(ステップ400)、まず、ステップ410(後述する)で初回動作完了フラグがセットされているか否かにより、初回動作であるか否かを判定する(ステップ401)。   In FIG. 4, when the microprocessor 110 starts operation (step 400), first, it is determined whether or not the operation is the initial operation based on whether or not the initial operation completion flag is set in step 410 (described later) (step 400). 401).

ステップ401において、初回動作である(すなわち、YES)と判定されれば、次のステップ402に移行し、初回動作でない(すなわち、NO)と判定されれば、ステップ412に移行する。なお、ステップ410でセットされる初回動作完了フラグは、電源投入時にリセットされることにより、電源スイッチ103aの閉路時には、ステップ401において、一旦は必ず「YES」の判定が行われることになる。   If it is determined in step 401 that the operation is the first operation (that is, YES), the process proceeds to the next step 402, and if it is determined that the operation is not the first operation (that is, NO), the process proceeds to step 412. The initial operation completion flag set in step 410 is reset when the power is turned on, so that when the power switch 103a is closed, a determination of “YES” is always made once in step 401.

ステップ402において、マイクロプロセッサ110は、同期信号送信回線11およびデータ通信回線12Aを介して、マイクロプロセッサ110とイモビライザ104bとの間の交信を行い、イモビライザ104bがデータ通信回線12Aを介してマイクロプロセッサ110に送信した交信データDATA(パルス幅変調信号PWMの周波数および振幅の値に関連する)を、イモビライザ情報として受信する。   In step 402, the microprocessor 110 performs communication between the microprocessor 110 and the immobilizer 104b via the synchronization signal transmission line 11 and the data communication line 12A, and the immobilizer 104b passes through the data communication line 12A. The communication data DATA (related to the frequency and amplitude values of the pulse width modulation signal PWM) transmitted to is received as immobilizer information.

続いて、ステップ402で読出された交信データDATA(要求データ)と、プログラムメモリ112Aに格納されているデータとが一致しているか否かにより、読出情報が正常か否かを判定する(ステップ403)。   Subsequently, whether or not the read information is normal is determined based on whether or not the communication data DATA (request data) read in step 402 matches the data stored in the program memory 112A (step 403). ).

ステップ403において、読出情報が格納データと一致していて正常である(すなわち、YES)と判定されれば、次のステップ404に移行し、読出情報が格納データと不一致であって異常である(すなわち、NO)と判定されれば、ステップ408に移行する。   If it is determined in step 403 that the read information matches the stored data and is normal (ie, YES), the process proceeds to the next step 404 where the read information does not match the stored data and is abnormal ( That is, if it is determined as NO), the process proceeds to step 408.

ステップ404において、マイクロプロセッサ110は、タイマ出力切換指令信号INHBの論理レベルを「L」にして、認証用ゲート回路144の信号通過を可能にするとともに、気筒選択用ゲート回路116a〜116dの論理出力レベルを「L」に固定して、点火/噴射禁止出力を発生することにより、点火コイルまたは燃料噴射用電磁弁からなるエンジン駆動用機器161Aの動作を停止させる。   In step 404, the microprocessor 110 sets the logic level of the timer output switching command signal INHB to “L” to allow the signal to pass through the authentication gate circuit 144, and outputs the logic outputs of the cylinder selection gate circuits 116a to 116d. By fixing the level to “L” and generating an ignition / injection prohibition output, the operation of the engine driving device 161A composed of an ignition coil or a fuel injection solenoid valve is stopped.

続いて、マイクロプロセッサ110は、タイマ回路部300ac(カウンタ回路CNT1)により構成された駆動制御用タイマTIM1を用いて、パルス幅変調信号PWMを生成するとともに、PWM信号送信回線13を介してイモビライザ104bにパルス幅変調信号PWMを送信するために、タイマ回路部300ac内の計時カウンタ301をリセットし、設定値レジスタ302にOFF時間(設定OFF時間)を設定する(ステップ405)。以下、マイクロプロセッサ110の割込制御動作(図5とともに後述する)により、パルス幅変調信号PWMが生成される。   Subsequently, the microprocessor 110 generates the pulse width modulation signal PWM using the drive control timer TIM1 configured by the timer circuit unit 300ac (counter circuit CNT1), and immobilizer 104b via the PWM signal transmission line 13. In order to transmit the pulse width modulation signal PWM, the time counter 301 in the timer circuit unit 300ac is reset, and an OFF time (set OFF time) is set in the set value register 302 (step 405). Thereafter, the pulse width modulation signal PWM is generated by the interrupt control operation of the microprocessor 110 (described later with reference to FIG. 5).

続いて、イモビライザ104bは、マイクロプロセッサ110から受信したパルス幅変調信号PWMの周期に反比例した周波数と、パルス幅変調信号PWMのデューティに比例した振幅と、を有する無線信号を、始動用キー103のトランスポンダ104aに対して送信し、始動用キー103に付与されている暗証番号を読出す。   Subsequently, the immobilizer 104 b transmits a radio signal having a frequency inversely proportional to the period of the pulse width modulation signal PWM received from the microprocessor 110 and an amplitude proportional to the duty of the pulse width modulation signal PWM to the start key 103. The password is transmitted to the transponder 104a and the password assigned to the start key 103 is read.

マイクロプロセッサ110は、所定時間の経過後にパルス幅変調信号PWMの送信を停止し、データ通信回線12Aを介して、イモビライザ104bから暗証番号(トランスポンダ情報)を読出す(ステップ406)。   The microprocessor 110 stops transmission of the pulse width modulation signal PWM after a predetermined time has elapsed, and reads the personal identification number (transponder information) from the immobilizer 104b via the data communication line 12A (step 406).

続いて、プログラムメモリ112Aに格納されている暗証番号と、ステップ406で読出された暗証番号とが一致しているか否かを判定し(ステップ407)、認証照合が一致する(すなわち、YES)と判定されれば、正当な始動用キー103であると見なして次のステップ410に移行し、認証照合が不一致である(すなわち、NO)と判定されれば、ステップ408に移行する。   Subsequently, it is determined whether or not the password stored in the program memory 112A matches the password read in step 406 (step 407), and the authentication verification matches (ie, YES). If it is determined, it is assumed that the key 103 is a valid start key, and the process proceeds to the next step 410. If it is determined that the authentication verification does not match (ie, NO), the process proceeds to step 408.

なお、正当な暗証番号があらかじめイモビライザ104bに格納されている場合には、イモビライザ104bで認証照合を行い、その判定結果をデータ通信回線12Aを介してマイクロプロセッサ110に送信してもよい。   When a valid password is stored in the immobilizer 104b in advance, authentication verification may be performed by the immobilizer 104b and the determination result may be transmitted to the microprocessor 110 via the data communication line 12A.

ステップ408(始動停止手段)においては、ステップ403での判定結果が読出異常(すなわち、NO)の場合、または、ステップ407での判定結果が照合不一致(すなわち、NO)の場合に、始動電動機(図示せず)の始動回路を遮断して、エンジン始動を停止させる。   In step 408 (starting stop means), if the determination result in step 403 is a reading error (ie, NO), or if the determination result in step 407 is a mismatch (ie, NO), the starting motor ( The engine starting is stopped by interrupting the starting circuit (not shown).

また、ステップ408に続いて、駆動制御用タイマTIM1、TIM2の出力信号をリセットして論理出力レベルを「L」に維持することにより、点火/噴射を停止させて(ステップ409)、CPU動作終了処理(ステップ420)に移行し、図4の処理ルーチンを終了する。   Further, following step 408, the output signals of the drive control timers TIM1 and TIM2 are reset and the logic output level is maintained at “L” to stop ignition / injection (step 409), and the CPU operation ends. The process proceeds to processing (step 420), and the processing routine of FIG. 4 is terminated.

一方、ステップ407での判定結果が照合一致(すなわち、YES)の場合に実行されるステップ410においては、初回動作完了フラグをセットする。続いて、マイクロプロセッサ110は、タイマ出力切換指令信号INHBの論理レベルを「H」にして、認証用ゲート回路144の出力信号の論理レベルを「L」に固定するとともに、気筒選択用ゲート回路116a〜116dの信号通過を可能にして、点火/噴射禁止出力を解除し、点火コイルまたは燃料噴射用電磁弁からなるエンジン駆動用機器161Aの動作を有効にする(ステップ411)。   On the other hand, in step 410, which is executed when the determination result in step 407 is collation match (that is, YES), an initial operation completion flag is set. Subsequently, the microprocessor 110 sets the logic level of the timer output switching command signal INHB to “H”, fixes the logic level of the output signal of the authentication gate circuit 144 to “L”, and also selects the cylinder selection gate circuit 116a. ˜116d is allowed to pass, the ignition / injection prohibition output is canceled, and the operation of the engine driving device 161A including the ignition coil or the fuel injection electromagnetic valve is made effective (step 411).

次に、始動電動機によるエンジン始動操作により、後述するステップ512(図5参照)で検出されたエンジンの回転周期T0が、たとえば200ms以下(エンジン回転速度Neが300rpm以上)であるか否かにより、エンジン回転速度Neが所定回転速度に達したか否かを判定する(ステップ412)。   Next, depending on whether the engine rotation period T0 detected in step 512 (see FIG. 5), which will be described later, is 200 ms or less (engine rotation speed Ne is 300 rpm or more) by engine start operation by the starter motor, It is determined whether or not the engine rotational speed Ne has reached a predetermined rotational speed (step 412).

ステップ412において、Ne<所定回転速度(すなわち、NO)と判定されれば、駆動制御手段421内のステップ412acに移行し、Ne≧所定回転速度(すなわち、YES)と判定されれば、駆動制御手段421内のステップ413acに移行する。   If it is determined in step 412 that Ne <predetermined rotational speed (that is, NO), the process proceeds to step 412ac in the drive control means 421. If Ne ≧ predetermined rotational speed (that is, YES), it is determined that drive control is performed. The process proceeds to step 413ac in the means 421.

ステップ412acにおいては、駆動制御用タイマTIM1をリセットして、駆動制御用タイマTIM1の論理出力を「L」(出力停止)に維持する。続いて、駆動制御用タイマTIM2をリセットして、駆動制御用タイマTIM2の論理出力を「L」(出力停止)に維持して(ステップ412bd)、CPU動作終了処理(ステップ420)に移行する。   In step 412ac, the drive control timer TIM1 is reset, and the logic output of the drive control timer TIM1 is maintained at “L” (output stop). Subsequently, the drive control timer TIM2 is reset, the logic output of the drive control timer TIM2 is maintained at “L” (output stop) (step 412bd), and the process proceeds to the CPU operation end process (step 420).

一方、ステップ413acにおいては、駆動制御用タイマTIM1の適正値として、図2内の開弁開始時期T11(または、励磁開始時期T13)の適正値と、開弁期間T12(または、励磁期間T14)の適正値とを算出する。続いて、駆動制御用タイマTIM2の適正値として、図2内の開弁開始時期T21(または、励磁開始時期T23)の適正値と、開弁期間T22(または、励磁期間T24)の適正値とを算出して(ステップ413bd)、CPU動作終了処理(ステップ420)に移行する。   On the other hand, in step 413ac, as the appropriate value of the drive control timer TIM1, the appropriate value of the valve opening start timing T11 (or excitation start timing T13) in FIG. 2 and the valve opening period T12 (or excitation period T14). The appropriate value is calculated. Subsequently, as an appropriate value of the drive control timer TIM2, an appropriate value of the valve opening start timing T21 (or excitation start timing T23) in FIG. 2 and an appropriate value of the valve opening period T22 (or excitation period T24) Is calculated (step 413bd), and the process proceeds to a CPU operation end process (step 420).

なお、駆動制御手段421内のステップ413ac、413bdで算出された設定OFF時間および設定ON時間は、図5とともに後述する時期に、タイマ回路部300ac、300bd内の各設定値レジスタ302に転送書込みされる。   Note that the set OFF time and the set ON time calculated in steps 413ac and 413bd in the drive control means 421 are transferred and written to the set value registers 302 in the timer circuit units 300ac and 300bd at the time described later with reference to FIG. The

また、ステップ413ac、413bdで算出された適正値は、たとえばエンジン駆動用機器161Aが点火コイルの着火時期である場合には、主として、燃料噴射量に関連する燃料の燃焼所要時間と、点火コイルに所定励磁電流を流すのに必要な時間とを考慮して、点火コイルを励磁開始して適切な(上死点前の)クランク角度で励磁遮断して着火を行うものであるとともに、ノックセンサ(図示せず)の検出信号に応じて点火時期が帰還調整される。   Further, the appropriate values calculated in steps 413ac and 413bd are mainly determined when the engine driving device 161A is at the ignition timing of the ignition coil, and the time required for burning the fuel related to the fuel injection amount and the ignition coil. In consideration of the time required to flow a predetermined excitation current, the ignition coil is started to be excited, and the ignition is cut off at an appropriate crank angle (before the top dead center) and ignition is performed. The ignition timing is feedback adjusted in accordance with a detection signal (not shown).

また、エンジン駆動用機器161Aが燃料噴射用電磁弁の適切な開弁期間(燃料噴射量に対応)である場合には、主として、エアフローセンサ(図示せず)によって検出された吸気量に比例した所要給燃量と、気筒圧および燃料圧に関連する開弁期間とを確保して、しかも燃料の点火前供給を完了するように開弁時期が決定されるとともに、空燃比センサ(図示せず)の検出信号に応じて開弁期間が帰還調整される。   Further, when the engine driving device 161A is in an appropriate valve opening period (corresponding to the fuel injection amount) of the fuel injection solenoid valve, it is mainly proportional to the intake air amount detected by the air flow sensor (not shown). The valve opening timing is determined so as to secure the required fuel supply amount and the valve opening period related to the cylinder pressure and the fuel pressure, and to complete the pre-ignition supply of fuel, and an air-fuel ratio sensor (not shown) The valve opening period is feedback adjusted in accordance with the detection signal of).

ステップ409、412bd、413bdに続いて実行される動作終了ステップ420においては、動作待機して他の制御プログラムを実行して、少なくとも演算周期(たとえば、10ms)後には、再度動作開始ステップ400に移行するようになっている。なお、演算周期(=10ms)は、6000rpmで回転しているエンジンが1回転するのに要する時間である。   In an operation end step 420 executed following steps 409, 412bd, and 413bd, another operation program is executed after waiting for an operation, and at least after a calculation cycle (for example, 10 ms), the operation start step 400 is resumed. It is supposed to be. The calculation cycle (= 10 ms) is the time required for one revolution of the engine rotating at 6000 rpm.

次に、図5のフローチャートを参照しながら、この発明の実施の形態1による割込制御動作について説明する。
図5において、ステップ505、507、512a、515は、動作時間設定手段521を構成し、ステップ506、508、516、518は、フラグ反転手段522を構成している。
Next, the interrupt control operation according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.
In FIG. 5, steps 505, 507, 512 a and 515 constitute an operation time setting means 521, and steps 506, 508, 516 and 518 constitute a flag inverting means 522.

図5において、マイクロプロセッサ110は、クランク角センサ105aからの検出信号またはタイマ回路部300nからの比較一致出力CMPによる割込動作指令が、割込入力端子に入力されたときに、入力割込動作を開始する(ステップ500)。   In FIG. 5, the microprocessor 110 performs an input interrupt operation when the detection signal from the crank angle sensor 105a or the interrupt operation command by the comparison coincidence output CMP from the timer circuit unit 300n is input to the interrupt input terminal. Is started (step 500).

まず、マイクロプロセッサ110は、現在の動作状態を一時的に退避して演算退避状態とし、ステップ520(後述する)が実行されたときに、元の制御フローに復帰して演算を継続するように現状記憶する(ステップ501)。   First, the microprocessor 110 temporarily saves the current operation state to enter the calculation saving state, and when step 520 (described later) is executed, the microprocessor 110 returns to the original control flow and continues the calculation. The current state is stored (step 501).

続いて、図4内のステップ410で初回動作完了フラグのセットが完了したか否かを判定し(ステップ502)、初回動作完了フラグのセットが未完了(すなわち、NO)と判定されれば、次のステップ503に移行し、初回動作完了フラグのセットが完了している(すなわち、YES)と判定されれば、ステップ510に移行する。   Subsequently, it is determined in step 410 in FIG. 4 whether or not the initial operation completion flag has been set (step 502). If it is determined that the initial operation completion flag has not been set (ie, NO), The process proceeds to the next step 503, and if it is determined that the setting of the initial operation completion flag has been completed (that is, YES), the process proceeds to step 510.

ステップ503においては、パルス幅変調信号PWMを生成するカウンタ回路CNT1に対応したタイマ回路部300ac(図3内でタイマ回路部300nと代表記載されている)の比較一致出力CMPの論理レベルが「H」になったか否かを判定する。   In step 503, the logical level of the comparison coincidence output CMP of the timer circuit unit 300ac (represented as the timer circuit unit 300n in FIG. 3) corresponding to the counter circuit CNT1 that generates the pulse width modulation signal PWM is “H”. Is determined.

ステップ503において、比較一致出力CMPが「H」になった(すなわち、YES)と判定されれば、次のステップ504に移行し、比較一致出力CMPが「L」である(すなわち、NO)と判定されれば、復帰処理(ステップ520)に移行して、図5の割込制御ルーチンを終了する。なお、比較一致出力CMPは、図4内のステップ405で計時カウンタ301が計時開始したことに基づいている。   If it is determined in step 503 that the comparison coincidence output CMP has become “H” (ie, YES), the process proceeds to the next step 504, where the comparison coincidence output CMP is “L” (ie, NO). If determined, the process proceeds to a return process (step 520), and the interrupt control routine of FIG. 5 is terminated. Note that the comparison coincidence output CMP is based on the fact that the time counter 301 has started counting in step 405 in FIG.

ステップ504においては、タイマ出力部304ac(図3内で304nと代表記載されている)に出力論理レベル(交互反転フラグからのパルス幅変調信号PWMの論理出力)が「H」であるか否かを判定する。   In step 504, whether or not the output logic level (the logic output of the pulse width modulation signal PWM from the alternating inversion flag) is “H” in the timer output unit 304ac (represented as 304n in FIG. 3). Determine.

ステップ504において、タイマ出力部304acの出力信号の論理レベルが「H」である(すなわち、YES)と判定されれば、動作時間設定手段521内のステップ505に移行し、論理レベルが「L」である(すなわち、NO)と判定されれば、動作時間設定手段521内のステップ507に移行する。   If it is determined in step 504 that the logic level of the output signal of the timer output unit 304ac is “H” (that is, YES), the process proceeds to step 505 in the operation time setting unit 521, and the logic level is “L”. If it is determined that NO (that is, NO), the process proceeds to step 507 in the operation time setting means 521.

動作時間設定手段521内のステップ505においては、設定出力SETにより、設定値レジスタ302にOFF時間を設定する。続いて、フラグ反転手段522内のステップ506に移行し、タイマ出力部304acを瞬時リセットして、論理出力を「L」に反転させる。   In step 505 in the operation time setting means 521, an OFF time is set in the set value register 302 by a setting output SET. Subsequently, the process proceeds to step 506 in the flag inverting unit 522, the timer output unit 304ac is instantaneously reset, and the logic output is inverted to “L”.

一方、動作時間設定手段521内のステップ507においては、設定出力SETにより設定値レジスタ302にON時間(設定ON時間)を設定する。続いて、フラグ反転手段522内のステップに移行し、タイマ出力部304acを瞬時セットして、論理出力を「H」に反転させる。   On the other hand, in step 507 in the operation time setting means 521, an ON time (set ON time) is set in the set value register 302 by the setting output SET. Subsequently, the process proceeds to a step in the flag inverting means 522, the timer output unit 304ac is instantaneously set, and the logic output is inverted to “H”.

フラグ反転手段522内のステップ506、508に続くステップ509においては、計時カウンタ301の計数現在値を瞬時リセットし、復帰処理(ステップ520)に移行する。これにより、動作時間設定手段521内のステップ505または507で設定されたOFF時間またはON時間の計時が開始されて、図5の割込制御ルーチンを終了する。   In step 509 following steps 506 and 508 in the flag inverting means 522, the current count value of the time counter 301 is instantaneously reset, and the process proceeds to a return process (step 520). Thereby, the timing of the OFF time or ON time set in step 505 or 507 in the operation time setting means 521 is started, and the interrupt control routine of FIG. 5 is ended.

その後、ステップ505または507で設定されたOFF時間またはON時間に達すると、タイマ回路部300acが比較一致出力CMPを発生して、再び入力割込動作開始ステップ500が活性化され、図5内のステップ503〜509の一連動作により、タイマ出力部304acの論理出力が交互に反転動作する。このとき、タイマ出力部304acの論理レベルが「L」となっている第1設定時間は、ステップ505で設定されたOFF時間により決定され、タイマ出力部304acの論理レベルが「H」となっている第2設定時間は、ステップ507で設定されたON時間により決定される。   Thereafter, when the OFF time or ON time set in step 505 or 507 is reached, the timer circuit unit 300ac generates the comparison coincidence output CMP, and the input interrupt operation start step 500 is activated again. Through the series of operations in steps 503 to 509, the logic output of the timer output unit 304ac is alternately inverted. At this time, the first set time in which the logic level of the timer output unit 304ac is “L” is determined by the OFF time set in step 505, and the logic level of the timer output unit 304ac becomes “H”. The second set time is determined by the ON time set in step 507.

一方、ステップ502の判定結果が初回動作完了(すなわち、YES)と判定された場合に実行されるステップ510においては、クランク角センサ105aの検出信号(L→H)による割込動作開始であるか否かを判定する。ステップ502において、クランク角センサ105aの検出信号がLレベルからHレベルに動作したことによる割込動作開始である(すなわち、YES)と判定されれば、ステップ511に移行し、クランク角センサ105aの検出信号が動作(L→H)したことによる割込動作開始ではない(すなわち、NO)と判定されれば、ステップ513に移行する。   On the other hand, in step 510 that is executed when it is determined that the initial operation is completed (ie, YES) in step 502, is the interrupt operation started by the detection signal (L → H) of the crank angle sensor 105a? Determine whether or not. If it is determined in step 502 that the detection signal of the crank angle sensor 105a has started from the L level to the H level (ie, YES), the process proceeds to step 511, where the crank angle sensor 105a If it is determined that the interrupt operation is not started due to the detection signal operating (L → H) (ie, NO), the process proceeds to step 513.

ステップ511においては、回転周期T0を測定するためのタイマ回路部300rv(カウンタ回路CNT0)の計数現在値を読出して、現在値レジスタを瞬時リセットする。続いて、動作時間設定手段521内のステップ512aに移行し、タイマ回路部300acおよびタイマ回路部300bd(カウンタ回路CNT1、CNT2)内の設定値レジスタ302に対して、図4内のステップ413ac、413bdで算出した設定ON/OFF時間のうちのOFF時間を設定する。   In step 511, the count current value of the timer circuit unit 300rv (counter circuit CNT0) for measuring the rotation period T0 is read, and the current value register is instantaneously reset. Subsequently, the process proceeds to step 512a in the operation time setting means 521, and steps 413ac and 413bd in FIG. 4 are applied to the set value register 302 in the timer circuit unit 300ac and the timer circuit unit 300bd (counter circuits CNT1 and CNT2). The OFF time of the set ON / OFF times calculated in step 1 is set.

続いて、タイマ出力部304ac、304bd(駆動制御用タイマTIM1、TIM2)内およびタイマ回路部300ac、300bd(カウンタ回路CNT1、CNT2)内の現在値レジスタを瞬時リセットするか、または、ステップ518、519(後述する)により継続リセットされていた状態を解除し(ステップ512b)、復帰処理(ステップ520)に移行する。   Subsequently, the current value registers in the timer output units 304ac and 304bd (drive control timers TIM1 and TIM2) and the timer circuit units 300ac and 300bd (counter circuits CNT1 and CNT2) are instantaneously reset, or steps 518 and 519 are performed. The state that has been continuously reset is canceled (described later) (step 512b), and the process proceeds to return processing (step 520).

一方、ステップ510の判定結果がクランク角センサ105aによる割込みでない(すなわち、NO)と判定された場合に実行されるステップ513においては、タイマ回路部300ac、300bdが発生する比較一致出力CMP(Hレベル)による割込みか否かを判定する。   On the other hand, in step 513, which is executed when it is determined that the determination result in step 510 is not an interruption by the crank angle sensor 105a (that is, NO), the comparison coincidence output CMP (H level) generated by the timer circuit units 300ac and 300bd. ).

ステップ513において、比較一致出力CMP(Hレベル)による割込みである(すなわち、YES)と判定されれば、次のステップ514に移行し、比較一致出力CMP(Hレベル)による割込みでない(すなわち、NO)と判定されれば、直ちに復帰処理(ステップ520)に移行する。   If it is determined in step 513 that the interrupt is due to the comparison coincidence output CMP (H level) (ie, YES), the process proceeds to the next step 514 and is not an interruption due to the comparison coincidence output CMP (H level) (ie, NO). ), The process immediately proceeds to return processing (step 520).

ステップ514においては、タイマ出力部304ac、304bd(駆動制御用タイマTIM1、TIM2)の出力信号(交互反転フラグ)の論理レベルが「L」であるか否かを判定する。ステップ514において、交互反転フラグの論理レベルが「L」である(すなわち、YES)と判定されれば、動作時間設定手段521内のステップ515に移行し、交互反転フラグの論理レベルが「L」でない(すなわち、NO)と判定されれば、フラグ反転手段522内のステップ518に移行する。   In step 514, it is determined whether or not the logic level of the output signals (alternate inversion flag) of the timer output units 304ac and 304bd (drive control timers TIM1 and TIM2) is “L”. If it is determined in step 514 that the logical level of the alternating inversion flag is “L” (that is, YES), the process proceeds to step 515 in the operation time setting means 521, and the logical level of the alternating inversion flag is “L”. If not (ie, NO), the process proceeds to step 518 in the flag inverting means 522.

動作時間設定手段521内のステップ515においては、タイマ回路部300acまたは300bd内の設定値レジスタ302に対して、図4内のステップ413acまたは413bdで算出した設定ON/OFF時間のうちのON時間を設定する。このとき、ON時間の設定対象となるタイマ回路部300ac、300bdの区別は、ステップ513で判定された比較一致出力CMPが、タイマ回路部300ac、300bdのどちらの出力であったかにより決定される。   In step 515 in the operation time setting means 521, the ON time of the set ON / OFF time calculated in step 413ac or 413bd in FIG. 4 is set for the set value register 302 in the timer circuit unit 300ac or 300bd. Set. At this time, the distinction between the timer circuit units 300ac and 300bd for which the ON time is to be set is determined depending on which output of the timer circuit units 300ac and 300bd is the comparison coincidence output CMP determined in step 513.

続いて、フラグ反転手段522内のステップ516に移行し、タイマ出力部304acまたは304bd内の交互反転フラグを瞬時セットして、論理出力レベルを「H」に反転セットする。このとき、交互反転フラグの「H」への瞬時セットの対象となるタイマ出力部304ac、304bdの区別は、ステップ513で判定された比較一致出力CMPがどちらの出力であったかにより決定される。   Subsequently, the process proceeds to step 516 in the flag inverting means 522, the alternating inversion flag in the timer output unit 304ac or 304bd is instantaneously set, and the logic output level is inverted to “H”. At this time, the distinction between the timer output units 304ac and 304bd subject to the instantaneous setting of the alternating inversion flag to “H” is determined depending on which output the comparison coincidence output CMP determined in step 513 was.

続いて、タイマ回路部300acまたは300bd(カウンタ回路CNT1、CNT2)の現在値レジスタを瞬時リセットして(ステップ517)、復帰処理(ステップ520)に移行する。このとき、瞬時リセットの対象となるタイマ回路部300ac、300bdの区別は、ステップ513で判定された比較一致出力CMPがどちらの出力であったかにより決定される。   Subsequently, the current value register of the timer circuit unit 300ac or 300bd (counter circuits CNT1 and CNT2) is instantaneously reset (step 517), and the process proceeds to return processing (step 520). At this time, the distinction between the timer circuit units 300ac and 300bd to be instantaneously reset is determined by which output the comparison coincidence output CMP determined in step 513 is.

一方、ステップ514で交互反転フラグが「H」(すなわち、NO)と判定された場合に実行されるフラグ反転手段522内のステップ518においては、タイマ出力部304acまたは304bdの交互反転フラグを継続的にリセットして、論理出力レベルを「L」に反転維持する。このとき、交互反転フラグの「L」への継続リセットの対象となるタイマ出力部304ac、304bdの区別は、ステップ513で判定された比較一致出力CMPがどちらの出力であったかにより決定される。   On the other hand, in step 518 in the flag inversion means 522 executed when the alternating inversion flag is determined to be “H” (ie, NO) in step 514, the alternating inversion flag of the timer output unit 304ac or 304bd is continuously set. The logic output level is inverted and maintained at “L”. At this time, the distinction between the timer output units 304ac and 304bd to be subjected to the continuous reset of the alternating inversion flag to “L” is determined depending on which output the comparison coincidence output CMP determined in step 513 is.

続いて、タイマ回路部300acまたは300bdの現在値レジスタを継続的にリセットして(ステップ519)、復帰処理(ステップ520)に移行する。このとき、現在値レジスタの継続リセットの対象となるタイマ回路部300ac、300bdの区別は、ステップ513で判定された比較一致出力CMPがどちらの出力であったかにより決定される。   Subsequently, the current value register of the timer circuit unit 300ac or 300bd is continuously reset (step 519), and the process proceeds to a return process (step 520). At this time, the distinction between the timer circuit units 300ac and 300bd that are the targets of continuous reset of the current value register is determined by which output the comparison coincidence output CMP determined in step 513 is.

以上の動作を整理して概括説明すると、図5内のステップ503〜509の一連処理は、パルス幅変調信号PWMの発生手段として機能する。これにより、マイクロプロセッサ110内のタイマ出力部304acは、ステップ505、507により交互に書込まれるパルス幅変調信号PWM(論理「L」のOFF時間と、論理「H」のON時間とからなる)を発生する。パルス幅変調信号PWMは、図1内の認証用ゲート回路144、ドライバ回路145a、PWM信号送信回線13およびレシーバ回路145bを介して、イモビライザ104bに送信される。   The above operations will be summarized and described generally. The series of processing in steps 503 to 509 in FIG. 5 functions as a means for generating the pulse width modulation signal PWM. As a result, the timer output unit 304ac in the microprocessor 110 causes the pulse width modulation signal PWM to be alternately written in steps 505 and 507 (consisting of an OFF time of logic “L” and an ON time of logic “H”). Is generated. The pulse width modulation signal PWM is transmitted to the immobilizer 104b via the authentication gate circuit 144, the driver circuit 145a, the PWM signal transmission line 13 and the receiver circuit 145b in FIG.

また、ステップ510〜512bの一連処理においては、図3内のタイマ回路部300rvの計数現在値を読出して、エンジンの回転周期T0を測定してから、計数現在値を初期化するとともに、クランク角センサ105aの動作と同期して、タイマ回路部300ac、300bdのOFF時間設定および初期化再起動を行う。   Further, in the series of processing of steps 510 to 512b, the current count value of the timer circuit unit 300rv in FIG. 3 is read, the engine rotation cycle T0 is measured, the current count value is initialized, and the crank angle In synchronization with the operation of the sensor 105a, the timer circuit units 300ac and 300bd are set to OFF time and initialized and restarted.

また、ステップ513〜517の一連処理においては、タイマ回路部300ac、300bdのうち、比較一致出力CMPを発生した方の論理出力を「H」に反転させ、ON時間を設定して、計時カウンタ301の計数現在値をリセットしてON時間の計時を開始させる。   In the series of steps 513 to 517, the logic output of the timer circuit units 300ac and 300bd that has generated the comparison match output CMP is inverted to “H”, the ON time is set, and the time counter 301 The current count value is reset to start counting the ON time.

さらに、ステップ513〜519の一連処理においては、タイマ回路部300ac、300bdのうち、比較一致出力CMPを発生した方の論理出力を「L」に反転復帰させ、再度クランク角センサ105aが動作するまでタイマ出力部304nの論理出力を「L」に維持し、計時カウンタ301の計数現在値をリセットして計時動作を停止させる。   Further, in the series of processing of steps 513 to 519, the logic output of the timer circuit units 300ac and 300bd that has generated the comparison coincidence output CMP is reversed and returned to “L” until the crank angle sensor 105a operates again. The logic output of the timer output unit 304n is maintained at “L”, the current count value of the time counter 301 is reset, and the time measuring operation is stopped.

以上のように、この発明の実施の形態1による車載エンジン制御装置100Aは、車載バッテリ101から給電され、燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器161Aに対する駆動制御手段421と、始動用キー103に対する認証照合手段(ステップ407)となる制御プログラムを格納したプログラムメモリ112Aと、プログラムメモリ112Aと協働するマイクロプロセッサ110とを備え、始動用キー103に設けられたトランスポンダ104aを介して始動用キー103の暗証番号を無線信号で読出すイモビライザ104bが接続されている。   As described above, the in-vehicle engine control apparatus 100A according to the first embodiment of the present invention is supplied with power from the in-vehicle battery 101, and the drive control means 421 for the engine driving device 161A including at least one of the fuel injection solenoid valve and the ignition coil. A transponder 104a provided in the start key 103, and a program memory 112A storing a control program serving as authentication verification means (step 407) for the start key 103 and a microprocessor 110 cooperating with the program memory 112A. An immobilizer 104b for reading out the personal identification number of the start key 103 with a radio signal is connected via the.

また、マイクロプロセッサ110は、複数のタイマ回路部300ac、300bd(カウンタ回路CNT1、CNT2)およびタイマ出力部304ac、304bd(駆動制御用タイマTIM1、TIM2)を備え、プログラムメモリ112Aは、タイマ回路部300ac、300bdに対する動作時間設定手段521およびタイマ出力切換手段(ステップ411)となる制御プログラムを含む。   The microprocessor 110 includes a plurality of timer circuit units 300ac and 300bd (counter circuits CNT1 and CNT2) and timer output units 304ac and 304bd (drive control timers TIM1 and TIM2). The program memory 112A includes a timer circuit unit 300ac. , 300bd operating time setting means 521 and timer output switching means (step 411).

タイマ回路部300ac、300bdは、計時用クロック信号113を計数する計時カウンタ301と、設定値レジスタ302と、計時カウンタ301の計数現在値が設定値レジスタ302に格納された目標設定値に達したときに比較一致出力CMPを発生してタイマ出力部304nを駆動する比較回路303とにより構成されている。   The timer circuit units 300ac and 300bd count the time counter 301 that counts the clock signal 113 for time count, the set value register 302, and the current count value of the time counter 301 reaches the target set value stored in the set value register 302. The comparator circuit 303 generates the comparison coincidence output CMP and drives the timer output unit 304n.

タイマ出力部304ac、304bdは、マイクロプロセッサ110によって設定値レジスタ302に可変設定される所定のON時間およびOFF時間に対応した論理出力を発生する出力回路からなる。   The timer output units 304ac and 304bd are output circuits that generate logic outputs corresponding to predetermined ON and OFF times that are variably set in the set value register 302 by the microprocessor 110.

動作時間設定手段521は、設定値レジスタ302に対してOFF時間データまたはON時間データを転送格納するとともに、計時開始時には、計時カウンタ301の計数現在値をリセットする。   The operation time setting means 521 transfers and stores the OFF time data or the ON time data to the set value register 302, and resets the current count value of the time counter 301 at the start of time measurement.

認証照合手段407は、マイクロプロセッサ110から送信されるパルス幅変調信号PWMの周期およびデューティに対応した、周波数および振幅を有する無線信号によって暗証番号の読出しを行い、読出した暗証番号が、プログラムメモリ112Aまたはイモビライザ104bにあらかじめ格納されている正解暗証番号と一致しているか否かの認証判定を行う。   The authentication verification unit 407 reads the password by a radio signal having a frequency and an amplitude corresponding to the period and duty of the pulse width modulation signal PWM transmitted from the microprocessor 110, and the read password is stored in the program memory 112A. Alternatively, an authentication determination is made as to whether or not the correct password number stored in advance in the immobilizer 104b matches.

パルス幅変調信号PWMは、タイマ回路部300ac、動作時間設定手段521およびタイマ出力部304acにより生成されて、所定のOFF時間およびON時間を有する連続したパルス信号からなる。   The pulse width modulation signal PWM is generated by the timer circuit unit 300ac, the operation time setting unit 521, and the timer output unit 304ac, and is composed of a continuous pulse signal having a predetermined OFF time and ON time.

タイマ出力切換手段411は、認証判定結果が一致判定の場合に、タイマ出力切換指令信号INHBを発生して、パルス幅変調信号PWMを生成するために使用されたタイマ回路部300acを駆動制御用タイマTIM1として切換え使用する。   The timer output switching means 411 generates a timer output switching command signal INHB when the authentication determination result is a coincidence determination, and causes the timer circuit unit 300ac used for generating the pulse width modulation signal PWM to be a drive control timer. Switching is used as TIM1.

駆動制御用タイマTIMnの出力信号は、タイマ回路部300ac、300bdと、動作時間設定手段521と、タイマ出力部304ac、304bdとにより生成され、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生し、設定ON時間に対応した第2設定時間の経過後にタイマ出力を停止する。これにより、駆動制御用タイマTIMnのタイマ出力によってエンジン駆動用機器161Aが駆動され、タイマ回路部300ac、300bdの1つが、認証照合手段407および駆動制御手段421の中で選択切換え使用されるとともに、認証照合の結果として一致判定が得られるまでは、駆動制御手段421への選択切換えが行われず、駆動制御手段421の出力信号の発生が禁止される。   The output signal of the drive control timer TIMn is generated by the timer circuit units 300ac and 300bd, the operation time setting means 521, and the timer output units 304ac and 304bd, and starts operating in synchronization with the detection signal of the crank angle sensor 105a. Thus, a timer output is generated after the first set time corresponding to the set OFF time has elapsed, and the timer output is stopped after the second set time corresponding to the set ON time has elapsed. As a result, the engine drive device 161A is driven by the timer output of the drive control timer TIMn, and one of the timer circuit units 300ac and 300bd is selectively used in the authentication verification unit 407 and the drive control unit 421. Until the coincidence determination is obtained as a result of the authentication verification, the selection switching to the drive control unit 421 is not performed, and the generation of the output signal of the drive control unit 421 is prohibited.

また、タイマ出力部304ac、304bdは、プログラムメモリ112Aに格納されたフラグ反転手段522により生成される。動作時間設定手段521は、設定値レジスタ302に対してOFF時間データまたはON時間データを交互に転送格納するとともに、計時開始時には計時カウンタ301の計数現在値をリセットする。   The timer output units 304ac and 304bd are generated by the flag inverting means 522 stored in the program memory 112A. The operation time setting means 521 alternately transfers OFF time data or ON time data to the set value register 302 and resets the current count value of the time counter 301 at the start of time measurement.

フラグ反転手段522は、計時カウンタ301の比較回路303が比較一致出力CMPを発生するごとに論理出力を反転させ、OFF時間の設定期間では論理レベルが「L」の出力信号を発生し、ON時間の設定期間では論理レベルが「H」の出力信号を発生するフラグをタイマ出力とする。このとき、計時用クロック信号113を高速計数する計時カウンタ301を用いて、マイクロプロセッサ110の制御負担を軽減するとともに、高精度なタイマが得られる。また、マイクロプロセッサ110の入力割込制御によってタイマ出力部が生成されているので、タイマ回路部300nの構成が簡略化されて安価となる。   The flag inversion means 522 inverts the logic output every time the comparison circuit 303 of the time counter 301 generates the comparison coincidence output CMP, and generates an output signal having a logic level of “L” during the OFF time setting period. In the set period, a flag that generates an output signal having a logic level of “H” is set as a timer output. At this time, the clock counter 301 that counts the clock signal 113 for clocking at high speed is used to reduce the control burden on the microprocessor 110 and to obtain a highly accurate timer. Further, since the timer output unit is generated by the input interrupt control of the microprocessor 110, the configuration of the timer circuit unit 300n is simplified and inexpensive.

また、パルス幅変調信号PWMの周期およびデューティの値は、プログラムメモリ112Aとイモビライザ104bとの両方に格納されているとともに、プログラムメモリ112Aは、読出確認手段(ステップ403)となる制御プログラムを含む。   The period and duty value of the pulse width modulation signal PWM are stored in both the program memory 112A and the immobilizer 104b, and the program memory 112A includes a control program serving as a read confirmation unit (step 403).

プログラムメモリ112A内の読出確認手段403は、あらかじめイモビライザ104bに格納されている周期およびデューティを読出し、マイクロプロセッサ110は、読出データがプログラムメモリ112Aに格納されている正解データと一致した場合に、パルス幅変調信号PWMを送信する。したがって、不正なイモビライザの使用を防止することができる。   The read confirmation means 403 in the program memory 112A reads the period and duty stored in the immobilizer 104b in advance, and the microprocessor 110 performs a pulse when the read data matches the correct data stored in the program memory 112A. A width modulation signal PWM is transmitted. Accordingly, it is possible to prevent an unauthorized immobilizer from being used.

また、駆動制御用タイマTIM1は、タイマ回路部300ac、動作時間設定手段521およびタイマ出力部304acにより構成され、エンジンの点火コイルに対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生して、点火コイルに対する励磁を開始し、設定ON時間に対応した第2設定時間の経過後に、タイマ出力を停止する。これにより、点火コイルの励磁が遮断されて、着火が行われる。したがって、クランク角センサ105aの動作と同期して動作開始する点火制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   The drive control timer TIM1 includes a timer circuit unit 300ac, an operation time setting unit 521, and a timer output unit 304ac. Start, generate a timer output after the elapse of the first set time corresponding to the set OFF time, start excitation for the ignition coil, and stop the timer output after the elapse of the second set time corresponding to the set ON time To do. Thereby, the excitation of the ignition coil is interrupted and ignition is performed. Therefore, the pulse width modulation signal PWM can be easily generated by changing the operation start command of the ignition control drive control timer that starts operation in synchronization with the operation of the crank angle sensor 105a.

また、駆動制御用タイマTIM1の出力信号は、隣接する点火気筒を弁別するゲート回路116a、116cを介して、複数の気筒に順次分配供給され、点火順序が奇数番号の気筒に対しては、1個のタイマ回路部300acが使用されている。点火順序が偶数番号の気筒に対しては、他の1個のタイマ回路部300bdによる第2の駆動制御用タイマTIM2とが使用される。第2の駆動制御用タイマTIM2の出力信号は、隣接する点火気筒を弁別するゲート回路116b、116dを介して、複数の気筒に順次分配供給される。したがって、一方の駆動制御用タイマが使用されているときには、他方の駆動制御用タイマの設定時間をあらかじめ演算しておくことにより、遅滞なく次に動作する駆動制御用タイマの時間設定を行うことができる。   Further, the output signal of the drive control timer TIM1 is sequentially distributed and supplied to a plurality of cylinders via the gate circuits 116a and 116c for discriminating adjacent ignition cylinders. Timer circuit units 300ac are used. The second drive control timer TIM2 by the other one timer circuit section 300bd is used for the cylinders whose ignition order is an even number. The output signal of the second drive control timer TIM2 is sequentially distributed and supplied to the plurality of cylinders via the gate circuits 116b and 116d for discriminating adjacent ignition cylinders. Therefore, when one of the drive control timers is used, the time of the drive control timer that operates next can be set without delay by calculating the set time of the other drive control timer in advance. it can.

また、駆動制御用タイマTIM1の出力信号は、タイマ回路部300ac、動作時間設定手段521およびタイマ出力部304acにより生成されて、燃料噴射用電磁弁に対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後に、タイマ出力を発生して燃料噴射用電磁弁の開弁駆動を行い、設定ON時間に対応した第2設定時間の経過後に、タイマ出力を停止して燃料噴射用電磁弁の閉弁復帰を行う。これにより、タイマ出力によって給燃時期および給燃期間が決定されるので、クランク角センサ105aの動作と同期して動作開始する燃料噴射制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   Further, the output signal of the drive control timer TIM1 is generated by the timer circuit unit 300ac, the operation time setting means 521 and the timer output unit 304ac to give an energization command to the fuel injection solenoid valve and to detect the crank angle sensor 105a. After the first set time corresponding to the set OFF time elapses, the timer output is generated to drive the solenoid valve for fuel injection to open, and the second setting corresponding to the set ON time is started. After the elapse of time, the timer output is stopped and the fuel injection solenoid valve is returned to the closed state. Thus, since the fuel supply timing and the fuel supply period are determined by the timer output, the operation start command of the drive control timer for fuel injection control that starts operation in synchronization with the operation of the crank angle sensor 105a is changed. The pulse width modulation signal PWM can be easily generated.

また、駆動制御用タイマTIM1の出力信号は、隣接噴射気筒を弁別するゲート回路116a、116cを介して、複数の気筒に順次分配供給され、燃料噴射順序が奇数番号の気筒に対して1個のタイマ回路部300acが使用されている。燃料噴射順序が偶数番号の気筒に対しては、他の1個のタイマ回路部300bdによる第2の駆動制御用タイマTIM2とが使用される。第2の駆動制御用タイマTIM2の出力信号は、隣接噴射気筒を弁別するゲート回路116b、116dを介して、複数の気筒に順次分配供給される。したがって、一方の駆動制御用タイマが使用されているときには、他方の駆動制御用タイマの設定時間をあらかじめ演算しておくことにより、遅滞なく次に動作する駆動制御用タイマの時間設定を行うことができる。   The output signal of the drive control timer TIM1 is sequentially distributed and supplied to a plurality of cylinders via the gate circuits 116a and 116c for discriminating adjacent injection cylinders. A timer circuit unit 300ac is used. The second drive control timer TIM2 by the other one timer circuit section 300bd is used for the cylinders whose fuel injection order is an even number. The output signal of the second drive control timer TIM2 is sequentially distributed and supplied to the plurality of cylinders via the gate circuits 116b and 116d for discriminating adjacent injection cylinders. Therefore, when one of the drive control timers is used, the time of the drive control timer that operates next can be set without delay by calculating the set time of the other drive control timer in advance. it can.

実施の形態2.
なお、上記実施の形態1では、言及しなかったが、図6に示すように、エンジンの始動用キー103および始動電動機108に関連して、直列開閉素子130および補助開閉素子137をさらに設けてもよい。
Embodiment 2. FIG.
Although not mentioned in the first embodiment, as shown in FIG. 6, a series opening / closing element 130 and an auxiliary opening / closing element 137 are further provided in relation to the engine start key 103 and the starter motor 108. Also good.

以下、図6の回路ブロック図を参照しながら、この発明の実施の形態2について説明する。なお、図6においては、図1で省略されていた始動電動機108の制御回路を中心に示している。また、前述(図1参照)と同様のものについては、前述と同一符号を付して、または符号の後に「B」を付している。さらに、他の構成および動作については、前述のとおりであり、図2〜図5をそのまま適用することができる。   The second embodiment of the present invention will be described below with reference to the circuit block diagram of FIG. In FIG. 6, the control circuit of the starting motor 108 that is omitted in FIG. 1 is mainly shown. Further, the same reference numerals as those described above (see FIG. 1) are attached, or “B” is added after the reference numerals. Furthermore, other configurations and operations are as described above, and FIGS. 2 to 5 can be applied as they are.

図6において、エンジン駆動用機器161Bを制御するエンジン制御装置100Bには、電源リレー102の出力接点102aを介して車載バッテリ101が接続されている。電源リレー102の励磁コイル102bは、駆動トランジスタ121(後述する)により駆動される。エンジン制御装置100Bに接続された電源スイッチ103aは、始動用キー103の操作位置(第1の回動位置から第3の回動位置)に応動して閉路され、始動スイッチ103bは、始動用キー103の第3の回動位置に応動して閉路される。イモビライザ104bは、始動用キー103に付加された暗証番号(固有コード)を読み取って、マイクロプロセッサ110に入力する。   In FIG. 6, the in-vehicle battery 101 is connected to the engine control device 100 </ b> B that controls the engine driving device 161 </ b> B via the output contact 102 a of the power relay 102. The excitation coil 102b of the power relay 102 is driven by a drive transistor 121 (described later). The power switch 103a connected to the engine control device 100B is closed in response to the operation position (from the first rotation position to the third rotation position) of the start key 103, and the start switch 103b is connected to the start key 103 The circuit is closed in response to the third rotation position 103. The immobilizer 104 b reads the password (unique code) added to the start key 103 and inputs it to the microprocessor 110.

また、エンジン制御装置100Bには、駐車スイッチ109および電磁リレー107を介して、始動電動機108が接続されている。始動電動機108は、エンジン始動時に電磁リレー107の出力接点107aを介して、車載バッテリ101から給電され、電磁押し出し機構(図示せず)により、エンジンのリングギア(図示せず)に係合して、エンジンを回転駆動する。   In addition, a starting motor 108 is connected to the engine control device 100B via a parking switch 109 and an electromagnetic relay 107. The starter motor 108 is supplied with power from the in-vehicle battery 101 via the output contact 107a of the electromagnetic relay 107 when the engine is started, and is engaged with an engine ring gear (not shown) by an electromagnetic push-out mechanism (not shown). Rotate the engine.

電磁リレー107の励磁コイル107bは、車両のシフトレバーが駐車位置にあるときに閉路する駐車スイッチ109と、直列開閉素子130(後述する)とを介して、給電付勢される。   The exciting coil 107b of the electromagnetic relay 107 is energized through a parking switch 109 that closes when the shift lever of the vehicle is in the parking position and a series opening / closing element 130 (described later).

エンジン制御装置100Bの内部構成として、マイクロプロセッサ110は、演算処理用のRAMメモリ111およびプログラムメモリ112B(たとえば、不揮発フラッシュメモリ)と協働するように、各メモリと互いにバス接続されている。   As an internal configuration of the engine control apparatus 100B, the microprocessor 110 is connected to each memory by a bus so as to cooperate with a RAM memory 111 for arithmetic processing and a program memory 112B (for example, a non-volatile flash memory).

プログラムメモリ111Bには、車載エンジン制御装置100Bとして機能するための入出力制御プログラムが格納されるとともに、前述(図4、図5参照)の認証照合手段407、タイマ出力切換手段411、駆動制御手段421および動作時間設定手段521となる制御プログラムや、暗証番号の照合用の固有コードデータが格納されている。また、マイクロプロセッサ110には、前述(図3参照)と同様のタイマ回路部300nが接続されており、マイクロプロセッサ110は、タイマ回路部300nによって駆動されるタイマ出力部304nを備えている。   The program memory 111B stores an input / output control program for functioning as the in-vehicle engine control device 100B, as well as the authentication verification unit 407, timer output switching unit 411, and drive control unit described above (see FIGS. 4 and 5). 421 and a control program to be the operation time setting means 521 and unique code data for collation of the personal identification number are stored. The microprocessor 110 is connected to a timer circuit unit 300n similar to that described above (see FIG. 3), and the microprocessor 110 includes a timer output unit 304n driven by the timer circuit unit 300n.

定電圧電源回路(制御電源ユニットPSU)120は、電源リレー102の出力接点102aから給電され、車載バッテリ101の電源電圧Vb(=10V〜16V)に基づいて制御電圧Vcc(=5V)を発生し、マイクロプロセッサ110を含む車載エンジン制御装置100B内の各部に安定化電圧を供給する。   The constant voltage power supply circuit (control power supply unit PSU) 120 is supplied with power from the output contact 102a of the power supply relay 102, and generates the control voltage Vcc (= 5V) based on the power supply voltage Vb (= 10V to 16V) of the in-vehicle battery 101. The stabilized voltage is supplied to each part in the in-vehicle engine control apparatus 100B including the microprocessor 110.

励磁コイル102bを付勢する駆動トランジスタ121は、電源スイッチ103aから、互いに直列接続された駆動抵抗122a、122bおよびダイオード122cを介して、ベース電流が供給されて導通し、電源リレー102の出力接点102aを閉路する。   The drive transistor 121 that energizes the exciting coil 102b is supplied with a base current from the power switch 103a via the drive resistors 122a and 122b and the diode 122c connected in series with each other, and becomes conductive. Is closed.

なお、出力接点102aが閉路して定電圧電源回路120に給電が行われ、マイクロプロセッサ110が動作を開始すると、マイクロプロセッサ110が発生する自己保持駆動指令DRから、自己保持駆動抵抗123aおよびダイオード123bを介して、駆動トランジスタ121のベース電流が供給されるので、その後は、電源スイッチ103aが開路しても電源リレー102の付勢動作が継続され、マイクロプロセッサ110が自己保持駆動指令DRを停止した時点で、電源リレー102は消勢される。   When the output contact 102a is closed and power is supplied to the constant voltage power supply circuit 120 and the microprocessor 110 starts operating, a self-holding drive resistor 123a and a diode 123b are generated from a self-holding drive command DR generated by the microprocessor 110. After that, the base current of the drive transistor 121 is supplied, so that the energizing operation of the power relay 102 is continued even after the power switch 103a is opened, and the microprocessor 110 stops the self-holding drive command DR. At this point, the power relay 102 is turned off.

反転論理素子124は、駆動抵抗122a、122bの接続点の電位の大/小、すなわち、電源スイッチ103aのON/OFFに応じて、論理レベルが「L」/「H」となる電源投入モニタ信号PWSを発生して、マイクロプロセッサ110に入力する。   The inverting logic element 124 is a power-on monitor signal whose logic level becomes “L” / “H” in accordance with the magnitude of the potential at the connection point of the driving resistors 122a and 122b, that is, the ON / OFF of the power switch 103a. A PWS is generated and input to the microprocessor 110.

Pチャンネル型の電界効果トランジスタからなる直列開閉素子130は、ソース端子が、始動スイッチ103bを介して車載バッテリ101に接続され、ドレイン端子が、駐車スイッチ109を介して励磁コイル107bに接続され、ゲート端子が、開路安定抵抗132と導通駆動抵抗133との接続点に接続されている。   The series open / close element 130 formed of a P-channel field effect transistor has a source terminal connected to the vehicle-mounted battery 101 via the start switch 103b, a drain terminal connected to the excitation coil 107b via the parking switch 109, and a gate. The terminal is connected to the connection point between the open circuit stabilization resistor 132 and the conduction drive resistor 133.

開路安定抵抗132は、直列開閉素子130のソース端子とゲート端子との間に接続されている。直列開閉素子130のゲート端子は、導通駆動抵抗133および導通駆動トランジスタ134を介して、グランド回路に接続されている。NPN型トランジスタからなる導通駆動トランジスタ134は、始動スイッチ103bから、始動抵抗135を介してベース電流が供給されて導通し、直列開閉素子130を介して電磁リレー107を付勢する。   The open circuit stabilization resistor 132 is connected between the source terminal and the gate terminal of the series switching element 130. The gate terminal of the series switching element 130 is connected to the ground circuit via the conduction drive resistor 133 and the conduction drive transistor 134. The conduction drive transistor 134 formed of an NPN transistor is turned on when a base current is supplied from the start switch 103 b via the start resistor 135 and energizes the electromagnetic relay 107 via the series switching element 130.

転流ダイオード131は、駐車スイッチ109および励磁コイル107bからなる直列回路に対して並列接続されている。始動抵抗135に接続された安定抵抗136は、導通駆動トランジスタ134のベース端子とエミッタ端子との間に接続されている。   The commutation diode 131 is connected in parallel to a series circuit including the parking switch 109 and the exciting coil 107b. A stable resistor 136 connected to the starting resistor 135 is connected between the base terminal and the emitter terminal of the conduction drive transistor 134.

補助開閉素子137は、導通駆動トランジスタ134のベース端子とエミッタ端子との間に接続された禁止トランジスタからなり、マイクロプロセッサ110が発生する導通禁止指令出力STPから、ベース抵抗138を介して駆動される。補助開閉素子137(禁止トランジスタ)は、暗証番号が不一致の場合またはエンジンが回転中の場合には、導通禁止指令出力STPにより導通されて、導通駆動トランジスタ134を不導通にすることによって、電磁リレー107を消勢する。なお、マイクロプロセッサ110が不作動状態の場合には、プルダウン抵抗139によって補助開閉素子137が不導通となる。   The auxiliary open / close element 137 includes a prohibition transistor connected between a base terminal and an emitter terminal of the conduction drive transistor 134, and is driven via a base resistance 138 from a conduction prohibition command output STP generated by the microprocessor 110. . The auxiliary open / close element 137 (forbidden transistor) is turned on by the conduction prohibition command output STP when the passwords do not match or when the engine is rotating, thereby making the conduction drive transistor 134 non-conductive. 107 is turned off. When the microprocessor 110 is in an inoperative state, the auxiliary switching element 137 is rendered non-conductive by the pull-down resistor 139.

次に、図6に示したこの発明の実施の形態2の動作について説明する。
図6において、電源スイッチ103aが閉路されると、駆動抵抗122a、122bおよびダイオード122cを介して、駆動トランジスタ121が導通し、電源リレー102が付勢されて出力接点102aが閉路され、車載エンジン制御装置100Bに給電が行われる。
Next, the operation of the second embodiment of the present invention shown in FIG. 6 will be described.
In FIG. 6, when the power switch 103a is closed, the driving transistor 121 is turned on via the driving resistors 122a and 122b and the diode 122c, the power relay 102 is energized, and the output contact 102a is closed. Power is supplied to the device 100B.

この結果、マイクロプロセッサ110が動作を開始して自己保持駆動指令DRを発生し、自己保持駆動抵抗123aおよびダイオード123bにより駆動トランジスタ121の導通が維持される。また、始動スイッチ103bが閉路すると、直列開閉素子130および駐車スイッチ109を介して、電磁リレー107が付勢されて始動電動機108が回転を開始する。   As a result, the microprocessor 110 starts operating and generates a self-holding drive command DR, and the conduction of the drive transistor 121 is maintained by the self-holding drive resistor 123a and the diode 123b. When the start switch 103b is closed, the electromagnetic relay 107 is energized via the series opening / closing element 130 and the parking switch 109, and the starter motor 108 starts rotating.

このとき、車載バッテリ101の充電状態が悪く、かつ環境温度が低い場合には、始動電動機108への給電開始にともなって、車載バッテリ101の出力電圧が異常低下するので、マイクロプロセッサ110は、通常では動作不能状態に陥る可能性があるが、たとえこのような劣悪状態であっても、直列開閉素子130の導通は維持される。その後、始動電動機108の回転が上昇して負荷電流が減少すると、車載バッテリ101の出力電圧が異常低下状態から回復して、マイクロプロセッサ110は、問題なく動作可能な状態になる。   At this time, if the state of charge of the in-vehicle battery 101 is poor and the environmental temperature is low, the output voltage of the in-vehicle battery 101 is abnormally reduced as power supply to the starter motor 108 is started. However, even in such a poor state, the conduction of the series switching element 130 is maintained. Thereafter, when the rotation of the starting motor 108 increases and the load current decreases, the output voltage of the in-vehicle battery 101 recovers from the abnormally lowered state, and the microprocessor 110 becomes operable without any problem.

このような動作状態でイモビライザ104bによる認証照合が行われ、照合結果が一致判定であれば、通常の点火制御や燃料噴射制御が開始して、エンジンが自立回転するようになる。その後、エンジン回転が十分に高くなれば、マイクロプロセッサ110から禁止指令出力STPが発生することにより、補助開閉素子137が導通し、導通駆動トランジスタ134および直列開閉素子130が開路して、始動電動機108の過回転を停止させる。   In such an operating state, authentication verification is performed by the immobilizer 104b, and if the verification result is a coincidence determination, normal ignition control and fuel injection control are started, and the engine rotates independently. Thereafter, if the engine speed becomes sufficiently high, a prohibition command output STP is generated from the microprocessor 110, whereby the auxiliary opening / closing element 137 is turned on, the conduction drive transistor 134 and the series opening / closing element 130 are opened, and the starting motor 108 is turned on. Stop over-rotation.

一方、イモビライザ104bによる認証照合の判定結果が照合不一致であれば、点火制御や燃料噴射制御が開始することはなく、直ちにマイクロプロセッサ110から禁止指令出力STPが発生して、補助開閉素子137が導通し、導通駆動トランジスタ134および直列開閉素子130が開路して、始動電動機108の継続回転を禁止させる。これにより、始動電動機108を動力源とした車両の移動動作を禁止することができる。   On the other hand, if the verification verification result by the immobilizer 104b does not match, the ignition control and the fuel injection control are not started, and the prohibition command output STP is immediately generated from the microprocessor 110, and the auxiliary switching element 137 becomes conductive. Then, the conduction drive transistor 134 and the series switching element 130 are opened, and the continuous rotation of the starting motor 108 is prohibited. Thereby, the moving operation of the vehicle using the starter motor 108 as a power source can be prohibited.

以上のように、この発明の実施の形態2による車載エンジン制御装置100Bは、前述の実施の形態1と同様に、車載バッテリ101から給電され、燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器161Bに対する駆動制御手段421と、始動用キー103に対する認証照合手段(ステップ407)となる制御プログラムを格納したプログラムメモリ112Bと、プログラムメモリ112Bと協働するマイクロプロセッサ110とを備えるとともに、始動用キー103に設けられたトランスポンダ104aを介して始動用キー103の暗証番号を無線信号で読出すイモビライザ104bが接続されている。   As described above, the in-vehicle engine control apparatus 100B according to the second embodiment of the present invention is supplied with power from the in-vehicle battery 101 and includes at least one of a fuel injection solenoid valve and an ignition coil, as in the first embodiment. A drive control unit 421 for the engine driving device 161B, a program memory 112B storing a control program serving as an authentication verification unit (step 407) for the start key 103, and a microprocessor 110 cooperating with the program memory 112B are provided. An immobilizer 104b for reading out the personal identification number of the start key 103 by a radio signal is connected via a transponder 104a provided in the start key 103.

また、マイクロプロセッサ110は、複数のタイマ回路部300nおよびタイマ出力部304nを備え、プログラムメモリ112Bは、タイマ回路部300nに対する動作時間設定手段521およびイマ出力切換手段(ステップ411)となる制御プログラムを含む。タイマ回路部300nは、計時用クロック信号113を計数する計時カウンタ301と、設定値レジスタ302と、計時カウンタ301の計数現在値が設定値レジスタ302に格納された目標設定値に達したときに比較一致出力CMPを発生してタイマ出力部304nを駆動する比較回路303とにより構成されている。   Further, the microprocessor 110 includes a plurality of timer circuit units 300n and a timer output unit 304n, and the program memory 112B stores a control program serving as an operation time setting unit 521 and an timer output switching unit (step 411) for the timer circuit unit 300n. Including. The timer circuit unit 300n compares the time counter 301 that counts the clock signal 113 for time count, the set value register 302, and the current count value of the time counter 301 when it reaches the target set value stored in the set value register 302. The comparator circuit 303 generates the coincidence output CMP and drives the timer output unit 304n.

タイマ出力部304nは、マイクロプロセッサ110により設定値レジスタ302に可変設定される所定のON時間およびOFF時間に対応した論理出力を発生する出力回路からなる。動作時間設定手段521は、設定値レジスタ302に対してOFF時間データまたはON時間データを転送格納するとともに、計時開始時には計時カウンタ301の計数現在値をリセットする。   The timer output unit 304n includes an output circuit that generates a logic output corresponding to a predetermined ON time and OFF time that are variably set in the set value register 302 by the microprocessor 110. The operation time setting means 521 transfers and stores the OFF time data or the ON time data to the set value register 302, and resets the current count value of the time counter 301 at the start of time measurement.

認証照合手段407は、マイクロプロセッサ110から送信されるパルス幅変調信号PWMの周期およびデューティに対応した、周波数および振幅を有する無線信号により暗証番号の読出しを行い、読出した暗証番号がプログラムメモリ112Bまたはイモビライザ104bにあらかじめ格納されている正解暗証番号と一致しているか否かの認証判定を行う。パルス幅変調信号PWMは、タイマ回路部300n、動作時間設定手段521およびタイマ出力部304nにより生成されて、所定のOFF時間およびON時間を有する連続したパルス信号からなる。   The authentication verification unit 407 reads the password by a radio signal having a frequency and an amplitude corresponding to the period and duty of the pulse width modulation signal PWM transmitted from the microprocessor 110, and the read password is stored in the program memory 112B or An authentication determination is made as to whether or not the correct password stored in the immobilizer 104b matches the correct password. The pulse width modulation signal PWM is generated by the timer circuit unit 300n, the operation time setting means 521, and the timer output unit 304n, and is composed of continuous pulse signals having a predetermined OFF time and ON time.

タイマ出力切換手段411は、認証判定結果が一致判定の場合に、タイマ出力切換指令信号INHBを発生して、パルス幅変調信号PWMの生成に使用されたタイマ回路部300nを駆動制御用タイマTIM1として切換え使用する。駆動制御用タイマTIMnは、タイマ回路部300n、動作時間設定手段521およびタイマ出力部304nにより構成され、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生し、設定ON時間に対応した第2設定時間の経過後にマイマ出力を停止する。タイマ出力によってエンジン駆動用機器161Bが駆動され、タイマ回路部300nの1つが、認証照合手段407および駆動制御手段421の中で選択切換え使用されるとともに、認証照合の結果として一致判定が得られるまでは、駆動制御手段421への選択切換えが行われず、駆動制御手段421の出力発生が禁止される。   The timer output switching means 411 generates a timer output switching command signal INHB when the authentication determination result is a coincidence determination, and uses the timer circuit unit 300n used for generating the pulse width modulation signal PWM as the drive control timer TIM1. Use switching. The drive control timer TIMn includes a timer circuit unit 300n, an operation time setting unit 521, and a timer output unit 304n. The operation starts in synchronization with the detection signal of the crank angle sensor 105a and the first corresponding to the set OFF time. Timer output is generated after elapse of the set time, and mima output is stopped after elapse of the second set time corresponding to the set ON time. The engine output device 161B is driven by the timer output, and one of the timer circuit units 300n is selectively used in the authentication verification unit 407 and the drive control unit 421, and until a coincidence determination is obtained as a result of the authentication verification. Is not switched to the drive control means 421, and the output of the drive control means 421 is prohibited.

また、駆動制御用タイマTIM1は、タイマ回路部300n、動作時間設定手段521およびタイマ出力部304nにより構成され、エンジンの点火コイルに対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生して点火コイルに対する励磁を開始し、設定ON時間に対応した第2設定時間の経過後にマイマ出力を停止して点火コイルの励磁を遮断させて着火を行う。したがって、クランク角センサ105aの動作と同期して動作開始する点火制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   The drive control timer TIM1 includes a timer circuit unit 300n, an operation time setting unit 521, and a timer output unit 304n. The drive control timer TIM1 operates in synchronization with a detection signal of the crank angle sensor 105a by issuing an energization command to the engine ignition coil. Start, generate a timer output after the elapse of the first set time corresponding to the set OFF time, start excitation for the ignition coil, and stop the mima output after the elapse of the second set time corresponding to the set ON time Ignition is performed by cutting off the excitation of the ignition coil. Therefore, the pulse width modulation signal PWM can be easily generated by changing the operation start command of the ignition control drive control timer that starts operation in synchronization with the operation of the crank angle sensor 105a.

また、駆動制御用タイマTIM1は、タイマ回路部300n、動作時間設定手段521およびタイマ出力部304nにより構成され、燃料噴射用電磁弁に対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生して燃料噴射用電磁弁の開弁駆動を行い、設定ON時間に対応した第2設定時間の経過後にタイマ出力を停止して燃料噴射用電磁弁の閉弁復帰を行う。これにより、タイマ出力によって給燃時期および給燃期間が決定されるので、クランク角センサ105aの動作と同期して動作開始する燃料噴射制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   The drive control timer TIM1 includes a timer circuit unit 300n, an operation time setting unit 521, and a timer output unit 304n. The drive control timer TIM1 issues an energization command to the fuel injection solenoid valve and synchronizes with a detection signal of the crank angle sensor 105a. When the first set time corresponding to the set OFF time elapses after the operation starts, a timer output is generated to open the fuel injection solenoid valve, and the timer is set after the second set time corresponding to the set ON time elapses. The output is stopped and the solenoid valve for fuel injection is returned to the closed state. Thus, since the fuel supply timing and the fuel supply period are determined by the timer output, the operation start command of the drive control timer for fuel injection control that starts operation in synchronization with the operation of the crank angle sensor 105a is changed. The pulse width modulation signal PWM can be easily generated.

また、車載エンジン制御装置100Bは、直列開閉素子130および補助開閉素子137を備え、直列開閉素子130は、車載バッテリ101と始動電動機108とを接続する電磁リレー107の励磁コイル107bに対して直列接続され、始動スイッチ103bの閉路時に導通してエンジンの始動を行う。   The in-vehicle engine control apparatus 100B includes a series opening / closing element 130 and an auxiliary opening / closing element 137. The series opening / closing element 130 is connected in series to the exciting coil 107b of the electromagnetic relay 107 that connects the in-vehicle battery 101 and the starting motor 108. When the start switch 103b is closed, the engine is started.

補助開閉素子137は、認証照合手段407による判定結果が比較不一致であった場合に応動して、直列開閉素子130の導通を禁止する。また、補助開閉素子137は、マイクロプロセッサ110の不作動状態においては直列開閉素子130の導通を阻害しない関係にバイアス付勢されている。   The auxiliary switching element 137 responds to the case where the result of determination by the authentication verification unit 407 is a comparison mismatch, and inhibits the series switching element 130 from conducting. Further, the auxiliary opening / closing element 137 is biased so as not to impede conduction of the series opening / closing element 130 when the microprocessor 110 is in an inoperative state.

したがって、エンジンの寒冷始動において、始動電動機108が回転上昇するまでの過大始動電流によって車載バッテリ101の電圧が異常低下して、車載エンジン制御装置100Bが作動不能となっても、始動電動機108の回転を持続することができる。
また、始動電動機108の回転上昇にともなって始動電流が減少し、車載バッテリ101の出力電圧が回復することにより、車載エンジン制御装置100Bが動作を開始し、認証照合結果が正常であれば、点火制御や燃料噴射制御が開始してエンジンが自立回転することができる。一方、認証照合が不一致であれば、エンジンの点火制御や燃料噴射制御を停止させるとともに、始動電動機108も停止させるので、始動電動機108を動力源とした車両移動も不可能となり不正な運転を防止することができる。
Therefore, in the cold start of the engine, even if the voltage of the in-vehicle battery 101 is abnormally lowered due to an excessive start current until the starter motor 108 increases in rotation, the starter motor 108 rotates even if the in-vehicle engine control device 100B becomes inoperable. Can last.
In addition, when the starter motor 108 increases in rotation, the starter current decreases and the output voltage of the in-vehicle battery 101 recovers, so that the in-vehicle engine control device 100B starts operating, and if the authentication verification result is normal, the ignition is performed. Control and fuel injection control are started and the engine can rotate independently. On the other hand, if the verification verification does not match, the engine ignition control and fuel injection control are stopped and the starter motor 108 is also stopped, so that the vehicle cannot be moved using the starter motor 108 as a power source, thereby preventing unauthorized driving. can do.

実施の形態3.
なお、上記実施の形態1、2(図3参照)では、タイマ回路部300n内に単一の設定値レジスタ302を設けたが、図8に示すように、タイマ回路部800n内に2個の設定値レジスタ802a、802bおよび比較回路803a、803bを設けてもよい。
Embodiment 3 FIG.
In the first and second embodiments (see FIG. 3), the single set value register 302 is provided in the timer circuit unit 300n. However, as shown in FIG. Set value registers 802a and 802b and comparison circuits 803a and 803b may be provided.

以下、図7の回路ブロック図および図8のブロック図を参照しながら、この発明の実施の形態3について、主に図1との相違点を中心に注目して説明する。
図7において、前述(図1参照)と同様のものについては、前述と同一符号を付して、または符号の後に「C」を付している。
Hereinafter, the third embodiment of the present invention will be described mainly focusing on differences from FIG. 1 with reference to the circuit block diagram of FIG. 7 and the block diagram of FIG.
In FIG. 7, the same components as those described above (see FIG. 1) are denoted with the same reference numerals as those described above, or with “C” after the reference numerals.

なお、図7における図1との主な相違点は、イモビライザ104cに対するデータ通信回線12CがPWM信号送信回線を兼用した共用化回線からなる点、エンジン駆動用機器161Cが点火コイルおよび燃料噴射用電磁弁を併用している点、および、タイマ回路部800n(図8参照)の構成が異なる点である。   7 differs from FIG. 1 in that the data communication line 12C for the immobilizer 104c is a shared line that also serves as a PWM signal transmission line, and the engine driving device 161C is an ignition coil and an electromagnetic for fuel injection. The valve is used together, and the configuration of the timer circuit unit 800n (see FIG. 8) is different.

図7において、車載エンジン制御装置100Cには、電源リレーの出力接点102aを介して、車載バッテリ101が接続されている。始動用キー103には、始動用キー103に付加された暗証番号を送信するためのトランスポンダ104aが一体化されており、トランスポンダ104aは、キースイッチ本体104内のイモビライザ104cとの間で無線交信を行う。イモビライザ104cは、車載エンジン制御装置100Cとデータ通信回線12Cを介して接続され、始動用キー103に付加された暗証番号を読み取ってマイクロプロセッサ110Cに入力する。   In FIG. 7, a vehicle-mounted battery 101 is connected to the vehicle-mounted engine control device 100C via an output contact 102a of a power relay. The start key 103 is integrated with a transponder 104a for transmitting the password added to the start key 103. The transponder 104a performs wireless communication with the immobilizer 104c in the key switch body 104. Do. The immobilizer 104c is connected to the in-vehicle engine control device 100C via the data communication line 12C, reads the PIN number added to the start key 103, and inputs it to the microprocessor 110C.

エンジン駆動用機器161C(第1のエンジン駆動用機器)は、燃料噴射用電磁弁(または、点火コイル)からなるエンジン駆動用機器161ac、161bdにより構成され、駆動制御用タイマTIM1、TIM2の出力信号により、増幅出力回路160を介して駆動される。   The engine driving device 161C (first engine driving device) is configured by engine driving devices 161ac and 161bd including fuel injection solenoid valves (or ignition coils), and output signals of the drive control timers TIM1 and TIM2 Therefore, it is driven via the amplification output circuit 160.

エンジン駆動用機器171C(第2のエンジン駆動用機器)は、点火コイル(または、燃料噴射用電磁弁)からなるエンジン駆動用機器171ac、171bdにより構成され、駆動制御用タイマTIM3、TIM4の出力信号により、増幅出力回路170を介して駆動される。エンジン駆動用機器161C、171Cは、どちらか一方が燃料噴射用電磁弁であって、他方が点火コイルとなる。   The engine driving device 171C (second engine driving device) includes engine driving devices 171ac and 171bd including ignition coils (or fuel injection solenoid valves), and output signals of drive control timers TIM3 and TIM4. Thus, it is driven via the amplification output circuit 170. One of the engine driving devices 161C and 171C is a fuel injection solenoid valve, and the other is an ignition coil.

車載エンジン制御装置100Cの主要部を構成するマイクロプロセッサ110Cは、演算処理用のRAMメモリ111、プログラムメモリ112C(たとえば、不揮発フラッシュメモリ)、および、図示しない多チャンネルAD変換器などと協働して動作し、車載センサ群105に含まれるアナログセンサの検出信号は、多チャンネルAD変換器を介して取り込まれる。   The microprocessor 110C constituting the main part of the in-vehicle engine control apparatus 100C cooperates with a RAM memory 111 for arithmetic processing, a program memory 112C (for example, a non-volatile flash memory), and a multi-channel AD converter not shown. The detection signals of the analog sensors that operate and are included in the in-vehicle sensor group 105 are taken in via the multi-channel AD converter.

プログラムメモリ112Cには、車載センサ群105および電気負荷群106に関する入出力制御プログラムが格納されるとともに、駆動制御用タイマTIM1〜TIM4によりエンジン駆動用機器161C、171Cに対する駆動制御指令を供給するための制御プログラムが格納されている。   The program memory 112C stores an input / output control program related to the in-vehicle sensor group 105 and the electric load group 106, and supplies drive control commands to the engine drive devices 161C and 171C by the drive control timers TIM1 to TIM4. A control program is stored.

気筒選択用ゲート回路116a〜116dは、エンジン駆動用機器161ac、161bdを駆動するための増幅出力回路160の入力部に接続された論理積素子であり、各論理積素子の入力端子には、タイマ出力切換指令信号INHBが入力されている。また、気筒選択用ゲート回路116a、116cには、駆動制御用タイマTIM1の出力信号が入力され、気筒選択用ゲート回路116b、116dには、駆動制御用タイマTIM2の出力信号が入力され、気筒選択用ゲート回路116a〜116dには、図1の場合と同様に、気筒選択用ゲート信号OP1〜OP4がそれぞれに入力されている。   The cylinder selection gate circuits 116a to 116d are AND elements connected to the input part of the amplification output circuit 160 for driving the engine driving devices 161ac and 161bd, and a timer is connected to the input terminal of each AND element. An output switching command signal INHB is input. The output signal of the drive control timer TIM1 is input to the cylinder selection gate circuits 116a and 116c, and the output signal of the drive control timer TIM2 is input to the cylinder selection gate circuits 116b and 116d. As in the case of FIG. 1, cylinder selection gate signals OP1 to OP4 are input to the gate circuits 116a to 116d, respectively.

気筒選択用ゲート回路117a〜117dは、エンジン駆動用機器171ac、171bdを駆動するための増幅出力回路170の入力部に接続された論理積素子であり、各論理積素子の入力端子には、タイマ出力切換指令信号INHBが入力されている。また、気筒選択用ゲート回路117a、117cには、駆動制御用タイマTIM3の出力信号が入力され、気筒選択用ゲート回路117b、117dには、駆動制御用タイマTIM4の出力信号が入力され、気筒選択用ゲート回路117a〜117dには、それぞれ、気筒選択用ゲート信号OP1〜OP4が接続されている。   The cylinder selection gate circuits 117a to 117d are AND elements connected to the input part of the amplification output circuit 170 for driving the engine driving devices 171ac and 171bd. An output switching command signal INHB is input. Further, the output signal of the drive control timer TIM3 is input to the cylinder selection gate circuits 117a and 117c, and the output signal of the drive control timer TIM4 is input to the cylinder selection gate circuits 117b and 117d. Cylinder selection gate signals OP1 to OP4 are connected to the gate circuits 117a to 117d, respectively.

なお、マイクロプロセッサ110Cが発生するタイマ出力切換指令信号INHBは、始動用キー103の認証照合結果が正当判定であった場合に論理レベルが「H」となり、エンジン駆動用機器161Cに対する駆動指令を有効にする。   Note that the timer output switching command signal INHB generated by the microprocessor 110C is “H” when the authentication verification result of the start key 103 is valid, and the drive command for the engine driving device 161C is valid. To.

駆動制御用タイマTIM1〜TIM4の出力信号は、図2とともに前述したとおり、クランク角センサ105aが動作してから、可変の第1設定時間の経過後に論理レベルが「H」となって、エンジン駆動用機器161C、171Cを駆動するとともに、可変の第2設定時間の経過後に論理レベルが「L」に復帰して、エンジン駆動用機器161C、171Cの駆動を停止する。   As described above with reference to FIG. 2, the output signals of the drive control timers TIM1 to TIM4 become the logic level “H” after the variable first set time has elapsed after the crank angle sensor 105a operates, and the engine drive The driving devices 161C and 171C are driven, and after the variable second set time has elapsed, the logic level returns to “L” and the driving of the engine driving devices 161C and 171C is stopped.

気筒選択用ゲート信号OP1〜OP4は、燃料噴射および点火が行われる気筒を順次選択して、各気筒のエンジン駆動用機器161ac、161bd、171ac、171bdが動作している期間において、論理レベルが「H」となる。なお、少なくともクランク角センサ105aが動作するごとに、気筒選択用ゲート信号OP1と気筒選択用ゲート信号OP3とが交互に論理反転し、気筒選択用ゲート信号OP2と気筒選択用ゲート信号OP4とが交互に論理反転する。したがって、気筒選択用ゲート信号OP1、OP3の論理レベルが同時に「H」になることはなく、同様に、気筒選択用ゲート信号OP2、OP4の論理レベルが同時に「H」になることはない。   The cylinder selection gate signals OP1 to OP4 sequentially select the cylinders to be injected and ignited, and the logic level is “in a period during which the engine driving devices 161ac, 161bd, 171ac, 171bd of each cylinder are operating. H ". At least every time the crank angle sensor 105a is operated, the cylinder selection gate signal OP1 and the cylinder selection gate signal OP3 are alternately logically inverted, and the cylinder selection gate signal OP2 and the cylinder selection gate signal OP4 are alternately changed. The logic is inverted. Therefore, the logic levels of the cylinder selection gate signals OP1 and OP3 are not simultaneously “H”, and similarly, the logic levels of the cylinder selection gate signals OP2 and OP4 are not simultaneously “H”.

マイクロプロセッサ110Cが発生する同期用クロック信号CLKは、車載エンジン制御装置100C内のドライバ回路141aと、外部配線である同期信号送信回線11と、キースイッチ本体104内のレシーバ回路141bとを介して、イモビライザ104cに供給される。   The synchronization clock signal CLK generated by the microprocessor 110C is transmitted via the driver circuit 141a in the in-vehicle engine control apparatus 100C, the synchronization signal transmission line 11 as an external wiring, and the receiver circuit 141b in the key switch body 104. It is supplied to the immobilizer 104c.

マイクロプロセッサ110Cとイモビライザ104cとの間の交信データDATAは、車載エンジン制御装置100C内のドライバ回路142aと、データ通信回線12Cと、キースイッチ本体104内のレシーバ回路142bとを介して、イモビライザ104cに送信されるとともに、イモビライザ104cから、キースイッチ本体104内のドライバ回路143bと、データ通信回線12Cと、車載エンジン制御装置100C内のレシーバ回路143aとを介して、マイクロプロセッサ110Cに送信される。   Communication data DATA between the microprocessor 110C and the immobilizer 104c is transferred to the immobilizer 104c via the driver circuit 142a in the in-vehicle engine control device 100C, the data communication line 12C, and the receiver circuit 142b in the key switch body 104. At the same time, it is transmitted from the immobilizer 104c to the microprocessor 110C via the driver circuit 143b in the key switch body 104, the data communication line 12C, and the receiver circuit 143a in the in-vehicle engine control device 100C.

認証用ゲート回路144は、駆動制御用タイマTIM1とタイマ出力切換指令信号INHBの反転論理信号とを入力信号とする論理積素子であり、論理積素子の出力信号は、ドライバ回路145aと、データ通信回線12Cと、キースイッチ本体104内のレシーバ回路145bとを介して、イモビライザ104cに供給される。   The authentication gate circuit 144 is an AND element that receives the drive control timer TIM1 and the inverted logic signal of the timer output switching command signal INHB as input signals. The output signal of the AND element is connected to the driver circuit 145a and data communication. The signal is supplied to the immobilizer 104c via the line 12C and the receiver circuit 145b in the key switch body 104.

なお、駆動制御用タイマTIM1は、始動用キー103の正当性が認証されるまでは、後述のように、パルス幅変調信号PWMを生成してイモビライザ104cに供給し、イモビライザ104cは、マイクロプロセッサ110Cから送信されたパルス幅変調信号PWMの周期に反比例した周波数と、パルス幅変調信号PWMのデューティ(論理レベルが「H」の時間と周期との比率)に比例した振幅とを有する無線信号を発生して、トランスポンダ104aとの間で無線交信を行う。   The drive control timer TIM1 generates and supplies a pulse width modulation signal PWM to the immobilizer 104c until the authenticity of the start key 103 is authenticated, and the immobilizer 104c is connected to the microprocessor 110C. Generates a radio signal having a frequency that is inversely proportional to the period of the pulse width modulation signal PWM transmitted from and an amplitude that is proportional to the duty of the pulse width modulation signal PWM (the ratio between the time and the period when the logic level is “H”) Then, wireless communication is performed with the transponder 104a.

駆動制御用タイマTIM1は、認証制御用タイマとして兼用され、パルス幅変調信号PWMを発生している期間においては、タイマ出力切換指令信号INHBの論理レベルが「L」となっていて、認証用ゲート回路144を介して、パルス幅変調信号PWMがイモビライザ104cに送信される。しかし、この時点では、気筒選択用ゲート回路116a、116cは、タイマ出力切換指令信号INHBによって出力停止されているので、エンジン駆動用機器161acにパルス幅変調信号PWMが供給されることはない。   The drive control timer TIM1 is also used as an authentication control timer. During the period in which the pulse width modulation signal PWM is generated, the logic level of the timer output switching command signal INHB is “L”, and the authentication gate The pulse width modulation signal PWM is transmitted to the immobilizer 104c via the circuit 144. However, at this time, the cylinder selection gate circuits 116a and 116c are stopped by the timer output switching command signal INHB, so that the pulse width modulation signal PWM is not supplied to the engine driving device 161ac.

なお、タイマ出力切換指令信号INHBの論理レベルが「L」となっている期間において、駆動制御用タイマTIM2〜TIM4の出力発生を停止させる場合には、図7内の破線で示したインターロック回路119は不要となる。しかし、インターロック回路119を接続しておけば、気筒選択用ゲート回路116b、116d、117a〜117dは、タイマ出力切換指令信号INHBにより出力停止されているので、認証照合が正常完了するまでは、確実に駆動制御用タイマTIM2〜TIM4の出力信号を停止させることができる。   When the output generation of the drive control timers TIM2 to TIM4 is stopped during the period when the logic level of the timer output switching command signal INHB is “L”, the interlock circuit indicated by the broken line in FIG. 119 becomes unnecessary. However, if the interlock circuit 119 is connected, the cylinder selection gate circuits 116b, 116d, 117a to 117d are stopped by the timer output switching command signal INHB. The output signals of the drive control timers TIM2 to TIM4 can be reliably stopped.

ただし、点火を行わないで燃料噴射を行うと生ガスを排出する問題があることと、不用意に点火コイルの通電を遮断すると異常な着火が行われる可能性があることとに鑑み、駆動制御用タイマTIM1〜TIM4の動作状態と、タイマ出力切換指令信号INHBとの関連を考慮しておく必要がある。   However, in view of the fact that there is a problem of exhausting raw gas if fuel injection is performed without ignition, and abnormal ignition may occur if the ignition coil is cut off unexpectedly. It is necessary to consider the relationship between the operating states of the timers TIM1 to TIM4 and the timer output switching command signal INHB.

マイクロプロセッサ110C内のタイマ回路部800nは、駆動制御用タイマTIM1〜TIM4を生成するためのカウンタ回路により構成されており、その詳細については、図8とともに後述する。同様に、タイマ回路部800nの中の1つは、エンジン回転速度Neの検出手段として機能し、クランク角センサ105aの動作時間間隔(回転周期T0)を測定するためのカウンタ回路として使用される。   The timer circuit unit 800n in the microprocessor 110C includes a counter circuit for generating the drive control timers TIM1 to TIM4, and details thereof will be described later with reference to FIG. Similarly, one of the timer circuit units 800n functions as a means for detecting the engine rotational speed Ne, and is used as a counter circuit for measuring the operating time interval (rotation period T0) of the crank angle sensor 105a.

次に、図8のブロック図を参照しながら、図7のマイクロプロセッサ110C内で示されたタイマ回路部800nについて説明する。なお、図8においてはタイマ回路部800nとタイマ出力部804nはマイクロプロセッサ110Cの外部に接続されている場合の構成となっている。
図8において、前述(図3参照)と同様のものについては、前述と同一符号を付して、または、符号の後に「C」を付している。
Next, the timer circuit unit 800n shown in the microprocessor 110C of FIG. 7 will be described with reference to the block diagram of FIG. In FIG. 8, the timer circuit unit 800n and the timer output unit 804n are configured to be connected to the outside of the microprocessor 110C.
In FIG. 8, the same components as those described above (see FIG. 3) are denoted with the same reference numerals as those described above, or with “C” after the reference numerals.

タイマ回路部800nは、駆動制御用タイマTIMn(図7内のTIM1〜TIM4)を生成するための各タイマ回路部を代表的に示している。計時用クロック信号113は、マイクロプロセッサ110Cに供給される基準クロック信号(図示せず)を分周して得られる一定時間のパルス列信号である。   The timer circuit unit 800n representatively shows each timer circuit unit for generating the drive control timer TIMn (TIM1 to TIM4 in FIG. 7). The clock signal 113 for time measurement is a pulse train signal of a fixed time obtained by dividing a reference clock signal (not shown) supplied to the microprocessor 110C.

タイマ回路部800n内の計時カウンタ801は、現在値レジスタを有し、計時用クロック信号113を計数する。これにより、計時カウンタ801内の現在値レジスタの値は、時間経過にともなって増加する。マイクロプロセッサ110Cが発生するリセット信号RSTは、論理レベルが「H」の場合に計時カウンタ801の計数現在値をゼロにリセットするとともに、計時用クロック信号113による計時信号の入力を停止させる。   The time counter 801 in the timer circuit unit 800n has a current value register and counts the time clock signal 113. As a result, the value of the current value register in the time counter 801 increases with time. The reset signal RST generated by the microprocessor 110C resets the current count value of the time counter 801 to zero when the logic level is “H”, and stops the input of the time signal by the time clock signal 113.

タイマ回路部800n内の設定値レジスタ802a、802b(第1および第2の設定値レジスタ)は、マイクロプロセッサ110Cからの設定出力SETa、SETbにより計時目標値が書込まれるメモリからなる。比較回路803a、803b(第1および第2の比較回路)は、計時カウンタ801の計数現在値と、設定値レジスタ802a、802bの各設定値とを比較して、比較一致したときに、フリップフロップ回路からなるタイマ出力部804nをセットまたはリセットする。比較回路803b(第2の比較回路)の出力信号は、完了信号FINとしてマイクロプロセッサ110Cに供給される。   The set value registers 802a and 802b (first and second set value registers) in the timer circuit unit 800n include memories in which timed target values are written by setting outputs SETa and SETb from the microprocessor 110C. The comparison circuits 803a and 803b (first and second comparison circuits) compare the count current value of the time counter 801 with the set values of the set value registers 802a and 802b, and when the comparison coincides, The timer output unit 804n composed of a circuit is set or reset. The output signal of the comparison circuit 803b (second comparison circuit) is supplied to the microprocessor 110C as the completion signal FIN.

タイマ回路部800nは、図9および図10とともに後述するように、駆動制御用タイマ(TIMn)として使用されたり、パルス幅変調信号PWMを発生する認証制御用タイマとして使用されたり、エンジンの回転周期T0を測定するために使用される。   As will be described later with reference to FIGS. 9 and 10, the timer circuit unit 800n is used as a drive control timer (TIMn), used as an authentication control timer for generating a pulse width modulation signal PWM, or engine rotation cycle. Used to measure T0.

ここで、図8に示したタイマ回路部800nの第1の例として、タイマ回路800rvを用いて回転周期T0を測定する場合のマイクロプロセッサ110Cの制御動作について説明する。   Here, as a first example of the timer circuit unit 800n shown in FIG. 8, the control operation of the microprocessor 110C when measuring the rotation period T0 using the timer circuit 800rv will be described.

まず、計時カウンタ801の計数現在値をリセット出力RSTによりリセットしておいて、マイクロプロセッサ110Cの割込入力端子に入力されたクランク角センサ105aの検出信号が動作(L→H)した時点で、読出入力RDにより計時カウンタ801の計数現在値を読出す。その直後、再びリセット出力RSTにより計数現在値を瞬時リセットし、以下、上記動作を繰返す。この結果、読出入力RDの値は、クランク角センサ105aの動作間隔時間(回転周期T0)に比例した値として得られる。   First, the current count value of the time counter 801 is reset by the reset output RST, and when the detection signal of the crank angle sensor 105a input to the interrupt input terminal of the microprocessor 110C operates (L → H), The current count value of the time counter 801 is read by the read input RD. Immediately thereafter, the current count value is instantaneously reset again by the reset output RST, and the above operation is repeated thereafter. As a result, the value of the read input RD is obtained as a value proportional to the operation interval time (rotation period T0) of the crank angle sensor 105a.

次に、タイマ回路部800nの第2の例として、タイマ回路部800acを用いてパルス幅変調信号PWMを生成する場合のマイクロプロセッサ110Cの制御動作について説明する。   Next, as a second example of the timer circuit unit 800n, a control operation of the microprocessor 110C when the pulse width modulation signal PWM is generated using the timer circuit unit 800ac will be described.

まず、設定出力SETa、SETbにより、設定値レジスタ802aにOFF時間(論理レベルが「L」となっている時間)を書込むとともに、設定値レジスタ802bにパルス周期(設定ON時間+設定OFF時間)を書込む。続いて、リセット信号RSTにより、タイマ出力部804ac(図8内の804n)および計時カウンタ801の計数現在値を瞬時リセットし、タイマ出力部804nの論理出力を「L」としてから、計時動作を開始する。   First, the OFF time (the time when the logic level is “L”) is written to the set value register 802a by the set outputs SETa and SETb, and the pulse period (set ON time + set OFF time) is set to the set value register 802b. Write. Subsequently, the count current value of the timer output unit 804ac (804n in FIG. 8) and the time counter 801 is instantaneously reset by the reset signal RST, and the logic output of the timer output unit 804n is set to “L”, and then the time measuring operation is started. To do.

その後、計時カウンタ801の計数現在値が、設定値レジスタ802aに格納されている設定OFF時間に達すると、比較回路803aは、初回の比較一致出力を発生してタイマ出力部804nをセットし、タイマ出力部804nの論理出力を「H」にする。   Thereafter, when the current count value of the time counter 801 reaches the set OFF time stored in the set value register 802a, the comparison circuit 803a generates the first comparison match output, sets the timer output unit 804n, and sets the timer The logic output of the output unit 804n is set to “H”.

さらに、計時が進行して、計時カウンタ801の計数現在値が、設定値レジスタ802bに格納されているパルス周期(設定ON時間+設定OFF時間)に達すると、比較回路803bは、次回の比較一致出力を発生してタイマ出力部804nをリセットし、タイマ出力部804nの論理出力を「L」にする。   Further, when the time measurement progresses and the current count value of the time counter 801 reaches the pulse period (set ON time + set OFF time) stored in the set value register 802b, the comparison circuit 803b makes the next comparison match. The output is generated, the timer output unit 804n is reset, and the logic output of the timer output unit 804n is set to “L”.

上記の一巡動作が完了すると、比較回路803bの比較一致出力が、完了信号FINとしてマイクロプロセッサ110Cに割込み入力され、マイクロプロセッサ110Cは、再度リセット信号RSTを発生し、以下、同様の動作を繰返し実行する。なお、パルス幅変調信号PWMの発生中に、設定OFF時間またはパルス周期(設定ON時間+設定OFF時間)を変更したい場合には、設定出力SETa、SETbにより、再セットすることができる。以上の動作は、タイマ回路部800nとしてタイマ回路部800acに代わってタイマ回路部800bdを用いた場合も同様である。   When the one-round operation is completed, the comparison coincidence output of the comparison circuit 803b is input to the microprocessor 110C as a completion signal FIN, and the microprocessor 110C generates the reset signal RST again. Thereafter, the same operation is repeatedly executed. To do. If the setting OFF time or the pulse period (setting ON time + setting OFF time) is desired to be changed while the pulse width modulation signal PWM is being generated, it can be reset by the setting outputs SETa and SETb. The above operation is the same when the timer circuit unit 800bd is used instead of the timer circuit unit 800ac as the timer circuit unit 800n.

次に、タイマ回路部800nの第3の例として、タイマ回路部800acを用いてエンジン駆動用機器161C、171Cに対する駆動制御信号を生成する場合のマイクロプロセッサ110Cの制御動作について説明する。   Next, as a third example of the timer circuit unit 800n, a control operation of the microprocessor 110C when generating a drive control signal for the engine driving devices 161C and 171C using the timer circuit unit 800ac will be described.

まず、設定出力SETa、SETbにより、設定値レジスタ802aにOFF時間を書込むとともに、設定値レジスタ802bにパルス周期(設定ON時間+設定OFF時間)を書込む。続いて、リセット信号RSTにより、タイマ出力部804acおよび計時カウンタ801の計数現在値を継続リセットして、タイマ出力部804acの論理出力を「L」とする。   First, the OFF time is written in the set value register 802a by the set outputs SETa and SETb, and the pulse period (set ON time + set OFF time) is written in the set value register 802b. Subsequently, the count output values of the timer output unit 804ac and the time counter 801 are continuously reset by the reset signal RST, and the logic output of the timer output unit 804ac is set to “L”.

その後、マイクロプロセッサ110Cの割込入力端子に接続されているクランク角センサ105aの検出信号の論理レベルが「H」になると、マイクロプロセッサ110Cは、リセット信号RSTの発生を停止して、計時カウンタ801による計時用クロック信号113の計数を開始させる。   Thereafter, when the logic level of the detection signal of the crank angle sensor 105a connected to the interrupt input terminal of the microprocessor 110C becomes “H”, the microprocessor 110C stops generating the reset signal RST, and the time counter 801 The counting of the clock signal 113 for clocking is started.

その後、計時カウンタ801の計数現在値が設定値レジスタ802aに格納されている設定OFF時間に達すると、比較回路803aは、初回の比較一致出力を発生してタイマ出力部804acをセットし、タイマ出力部804acの論理出力を「H」にする。   Thereafter, when the current count value of the time counter 801 reaches the set OFF time stored in the set value register 802a, the comparison circuit 803a generates the first comparison match output, sets the timer output unit 804ac, and outputs the timer output. The logic output of the unit 804ac is set to “H”.

さらに計時が進行して、計時カウンタ801の計数現在値が設定値レジスタ802bに格納されているパルス周期に達すると、比較回路803bは、次回の比較一致出力を発生してタイマ出力部804nをリセットし、タイマ出力部804acの論理出力を「L」にする。   When the time measurement further proceeds and the count current value of the time counter 801 reaches the pulse period stored in the set value register 802b, the comparison circuit 803b generates the next comparison match output and resets the timer output unit 804n. The logic output of the timer output unit 804ac is set to “L”.

上記の一巡動作が完了すると、比較回路803bの比較一致出力が、完了信号FINとしてマイクロプロセッサ110Cに割込み入力され、マイクロプロセッサ110Cは、クランク角センサ105aが再度動作するまで、リセット信号RSTを継続発生して、計時カウンタ801の動作を停止させる。以上の動作は、タイマ回路部800nとしてタイマ回路部800bdを用いた場合も同様である。   When the one-round operation is completed, the comparison coincidence output of the comparison circuit 803b is interrupted and input to the microprocessor 110C as the completion signal FIN, and the microprocessor 110C continuously generates the reset signal RST until the crank angle sensor 105a operates again. Then, the operation of the time counter 801 is stopped. The above operation is the same when the timer circuit unit 800bd is used as the timer circuit unit 800n.

なお、タイマ回路部800nの異なる形態として、完了信号FINが発生すると、タイマ回路部800nの内部で自動的に計時カウンタ801の計時動作を停止して、次回のクランク角センサ105aの動作に応動して、計時を開始するように構成されてもよい。この場合、マイクロプロセッサ110Cは、タイマ回路部800nに対してモード選択指令を供給し、パルス幅変調信号PWMを発生したいのであれば、完了信号FINに応動して自動的に計時動作を再開させることができる。   As a different form of the timer circuit unit 800n, when the completion signal FIN is generated, the time counting operation of the time counter 801 is automatically stopped inside the timer circuit unit 800n to respond to the next operation of the crank angle sensor 105a. And may be configured to start timing. In this case, the microprocessor 110C supplies a mode selection command to the timer circuit unit 800n, and automatically restarts the timing operation in response to the completion signal FIN if it is desired to generate the pulse width modulation signal PWM. Can do.

次に、図7に示したこの発明の実施の形態3の動作について概括説明する。
図7において、電源スイッチ103aを閉路すると、電源リレーの出力接点102aが閉路して、車載エンジン制御装置100Cには、車載バッテリ101から電源電圧Vb(=10V〜16Vが印加され、定電圧電源回路120を介して安定化された制御電源電圧Vcc(=5V)がマイクロプロセッサ110Cに供給される。
Next, the operation of the third embodiment of the present invention shown in FIG.
In FIG. 7, when the power switch 103a is closed, the output contact 102a of the power relay is closed, and the power supply voltage Vb (= 10V to 16V is applied from the in-vehicle battery 101 to the in-vehicle engine control device 100C. The stabilized control power supply voltage Vcc (= 5V) is supplied to the microprocessor 110C via 120.

マイクロプロセッサ110Cは、イモビライザ104cを介して、使用された始動用キー103の正当性を認証照合し、続いて、車載センサ群105の動作状態と、プログラムメモリ112Cに格納された入出力制御プログラムとに基づいて、電気負荷群106を制御する。また、駆動制御用タイマTIM1〜TIM4は、エンジン駆動用機器161C、171Cに対する駆動制御プログラムに基づいて動作する。   The microprocessor 110C authenticates and verifies the correctness of the used start key 103 via the immobilizer 104c, and then continues the operation state of the in-vehicle sensor group 105 and the input / output control program stored in the program memory 112C. The electrical load group 106 is controlled based on the above. Further, the drive control timers TIM1 to TIM4 operate based on a drive control program for the engine drive devices 161C and 171C.

次に、図7および図8とともに、図9のフローチャートを参照しながら、この発明の実施の形態3による認証照合動作および駆動制御動作について説明する。
図9において、ステップ900〜912、920は、前述(図4参照)のステップ400〜412、420と同様の処理であり、エンジン駆動用機器161C、171Cに対する駆動制御手段921が、ステップ913〜916により構成されている点のみが前述(図4)と異なる。
Next, an authentication verification operation and a drive control operation according to the third embodiment of the present invention will be described with reference to the flowchart of FIG. 9 together with FIGS.
9, steps 900 to 912 and 920 are the same processing as steps 400 to 412 and 420 described above (see FIG. 4), and the drive control unit 921 for the engine driving devices 161C and 171C performs steps 913 to 916. Only the point constituted by is different from the above (FIG. 4).

まず、マイクロプロセッサ110Cが動作を開始すると(ステップ900)、ステップ910により初回動作完了フラグがセットされているか否かを判定し(ステップ901)、初回動作である(すなわち、YES)と判定されれば、ステップ902に移行し、初回動作でない(すなわち、NO)と判定されれば、ステップ912に移行する。なお、ステップ910でセットされる初回動作完了フラグは、電源投入時にリセットされ、電源スイッチ103aの閉路時には、ステップ901において、必ず一旦は「YES」と判定される。   First, when the microprocessor 110C starts operating (step 900), it is determined whether or not the initial operation completion flag is set (step 901), and it is determined that the operation is the initial operation (ie, YES). If it is determined that the operation is not the first operation (that is, NO), the process proceeds to step 912. The initial operation completion flag set in step 910 is reset when the power is turned on, and when the power switch 103a is closed, it is always determined as “YES” in step 901.

ステップ902において、マイクロプロセッサ110Cは、同期信号送信回線11およびデータ通信回線12Cを介して、イモビライザ104cとの間で交信を行い、イモビライザ104cからデータ通信回線12Cを介して送信されたパルス幅変調信号の周波数および振幅の各値に関する交信データDATAを受信する。   In step 902, the microprocessor 110C communicates with the immobilizer 104c via the synchronization signal transmission line 11 and the data communication line 12C, and the pulse width modulation signal transmitted from the immobilizer 104c via the data communication line 12C. The communication data DATA regarding each value of the frequency and the amplitude is received.

続いて、ステップ903(読出確認手段)においては、ステップ902で読出された要求データと、プログラムメモリ112Aに格納されているデータとが一致しているか否かを判定し、読出情報が正常一致している(すなわち、YES)と判定されれば、ステップ904に移行し、不一致である(すなわち、NO)と判定されれば、ステップ908に移行する。   Subsequently, in step 903 (reading confirmation means), it is determined whether or not the request data read in step 902 matches the data stored in the program memory 112A, and the read information is normally matched. If it is determined (ie, YES), the process proceeds to step 904, and if it is determined that they do not match (ie, NO), the process proceeds to step 908.

ステップ904において、マイクロプロセッサ110Cは、タイマ出力切換指令信号INHBの論理レベルを「L」にして、認証用ゲート回路144の信号通過を可能にするとともに、気筒選択用ゲート回路116a〜116d、117a〜117dの論理出力レベルを「L」に固定して、エンジン駆動用機器161C、171C(点火コイルまたは燃料噴射用電磁弁)の動作を停止させる。   In step 904, the microprocessor 110C sets the logic level of the timer output switching command signal INHB to “L” to allow the signal to pass through the authentication gate circuit 144 and to select the cylinder selection gate circuits 116a to 116d, 117a to 117a. The logic output level of 117d is fixed to “L”, and the operation of the engine driving devices 161C and 171C (ignition coil or solenoid valve for fuel injection) is stopped.

続いて、ステップ905において、マイクロプロセッサ110Cは、タイマ回路部800acにより構成された駆動制御用タイマTIM1を用いて、パルス幅変調信号PWMを生成し、データ通信回線12Cを介してイモビライザ104cにパルス幅変調信号PWMを送信するために、タイマ回路部800acの計時カウンタ801をリセットし、設定値レジスタ802a、802bに対してOFF時間と、パルス周期(ON時間+OFF時間)を設定する。以降は、図10に示すマイクロプロセッサ110Cの割込制御動作により、パルス幅変調信号PWMが発生する処理に移行する。   Subsequently, in step 905, the microprocessor 110C generates the pulse width modulation signal PWM using the drive control timer TIM1 configured by the timer circuit unit 800ac, and supplies the pulse width to the immobilizer 104c via the data communication line 12C. In order to transmit the modulation signal PWM, the time counter 801 of the timer circuit unit 800ac is reset, and an OFF time and a pulse period (ON time + OFF time) are set in the setting value registers 802a and 802b. Thereafter, the processing shifts to processing in which the pulse width modulation signal PWM is generated by the interrupt control operation of the microprocessor 110C shown in FIG.

イモビライザ104cは、受信したパルス幅変調信号PWMの周期に反比例した周波数と、パルス幅変調信号PWMのデューティに比例した振幅とを有する無線信号を、トランスポンダ104aに対して送信し、始動用キー103に付与されている暗証番号を読出す。   The immobilizer 104 c transmits to the transponder 104 a a radio signal having a frequency inversely proportional to the period of the received pulse width modulation signal PWM and an amplitude proportional to the duty of the pulse width modulation signal PWM, to the start key 103. Read the assigned password.

マイクロプロセッサ110Cは、所定時間の経過後にパルス幅変調信号PWMの送信を停止し、続いて、ステップ906において、データ通信回線12Cを介して、イモビライザ104cから暗証番号を読出す。続いて、ステップ907(認証照合手段)において、プログラムメモリ112Cに格納されている暗証番号と、ステップ906で読出された暗証番号とが一致するか否かを照合し、一致する(すなわち、YES)と判定されれば、正当な始動用キー103と見なして、ステップ910に移行し、不一致である(すなわち、NO)と判定されれば、ステップ908に移行する。   The microprocessor 110C stops transmission of the pulse width modulation signal PWM after a predetermined time has elapsed, and then reads the personal identification number from the immobilizer 104c via the data communication line 12C in step 906. Subsequently, in step 907 (authentication verification means), it is verified whether the code number stored in the program memory 112C matches the code number read in step 906, and they match (that is, YES). If it is determined that the key is a valid start key 103, the process proceeds to step 910, and if it is determined that they do not match (that is, NO), the process proceeds to step 908.

なお、正当な暗証番号がイモビライザ104cに格納されている場合には、イモビライザ104cで認証照合を行い、その判定結果を、データ通信回線12Cを介してマイクロプロセッサ110Cに送信してもよい。   If a valid password is stored in the immobilizer 104c, authentication verification may be performed by the immobilizer 104c, and the determination result may be transmitted to the microprocessor 110C via the data communication line 12C.

ステップ908(始動停止手段)においては、始動電動機108の始動回路を遮断し、続くステップ909(出力禁止手段)においては、駆動制御用タイマTIM1〜TIM4の出力をリセットして、論理出力レベルを「L」に維持する。   In step 908 (starting stop means), the starting circuit of the starting motor 108 is shut off, and in the subsequent step 909 (output prohibiting means), the outputs of the drive control timers TIM1 to TIM4 are reset and the logic output level is set to “ L "is maintained.

ステップ910において、マイクロプロセッサ110Cは、初回動作完了フラグをセットし、続くステップ911において、タイマ出力切換指令信号INHBの論理レベルを「H」にして、認証用ゲート回路144の出力信号の論理レベルを「L」に固定するとともに、気筒選択用ゲート回路116a〜116d、117a〜117dの信号通過を可能にして、エンジン駆動用機器161C、171C(点火コイルまたは燃料噴射用電磁弁)の動作を有効にする。   In step 910, the microprocessor 110C sets an initial operation completion flag, and in subsequent step 911, the logic level of the timer output switching command signal INHB is set to “H”, and the logic level of the output signal of the authentication gate circuit 144 is set. While being fixed to “L”, the cylinder selection gate circuits 116a to 116d and 117a to 117d are allowed to pass through, and the operation of the engine driving devices 161C and 171C (ignition coil or solenoid valve for fuel injection) is made effective. To do.

続いて、ステップ912においては、始動電動機108によるエンジン始動操作により、ステップ1011(図10とともに後述する)で検出されたエンジン回転周期T0が、たとえば200ms以下(エンジン回転速度Neが300rpm以上)となっているか否かを判定する。   Subsequently, in step 912, the engine rotation operation T0 detected in step 1011 (described later with reference to FIG. 10) is, for example, 200 ms or less (the engine rotation speed Ne is 300 rpm or more) due to the engine start operation by the starter motor 108. It is determined whether or not.

ステップ912において、エンジン回転速度Ne<所定回転速度(すなわち、NO)と判定されれば、駆動制御手段921内のステップ913に移行し、エンジン回転速度Ne≧所定回転速度(すなわち、YES)と判定されれば、駆動制御手段921内のステップ915に移行する。   If it is determined in step 912 that the engine rotational speed Ne <predetermined rotational speed (that is, NO), the routine proceeds to step 913 in the drive control means 921, and it is determined that the engine rotational speed Ne ≧ the predetermined rotational speed (that is, YES). Then, the process proceeds to step 915 in the drive control unit 921.

ステップ913においては、駆動制御用タイマTIM1、TIM2をリセットして、タイマ出力部804nの論理出力を「L」にし、続くステップ914においては、駆動制御用タイマTIM3、TIM4をリセットして、タイマ出力部804nの論理出力を「L」にする。   In step 913, the drive control timers TIM1 and TIM2 are reset to set the logic output of the timer output unit 804n to “L”. In the subsequent step 914, the drive control timers TIM3 and TIM4 are reset to output the timer output. The logic output of the unit 804n is set to “L”.

ステップ915、916においては、図2内の開弁開始時期T11および励磁開始時期T13の適正値と、開弁期間T12および励磁期間T14の適正値と、開弁開始時期T21および励磁開始時期T23の適正値と、開弁期間T22および励磁期間T24の適正値とを算出する。なお、ステップ915、916で算出された設定OFF時間および設定ON時間は、所定時期(図10とともに後述する)に、タイマ回路部800n内の各設定値レジスタ802a、802bに転送書込みされる。   In steps 915 and 916, the appropriate values of the valve opening start timing T11 and the excitation start timing T13, the appropriate values of the valve opening period T12 and the excitation period T14, the valve opening start timing T21 and the excitation start timing T23 in FIG. Appropriate values and appropriate values for the valve opening period T22 and the excitation period T24 are calculated. The set OFF time and the set ON time calculated in steps 915 and 916 are transferred and written to the set value registers 802a and 802b in the timer circuit unit 800n at a predetermined time (described later with reference to FIG. 10).

次に、図10のフローチャートを参照しながら、この発明の実施の形態3による割込制御動作について説明する。
図10において、ステップ1000〜1002、1010、1020は、前述(図5参照)のステップ500〜502、510、520と同様の処理である。この場合、動作時間設定手段1021は、ステップ1005および1015により構成されている。
Next, an interrupt control operation according to the third embodiment of the present invention will be described with reference to the flowchart of FIG.
In FIG. 10, steps 1000 to 1002, 1010, and 1020 are the same processes as steps 500 to 502, 510, and 520 described above (see FIG. 5). In this case, the operating time setting unit 1021 is configured by steps 1005 and 1015.

まず、マイクロプロセッサ110Cは、クランク角センサ105aの検出信号、またはタイマ回路部800nが発生する完了信号FINが、割込動作指令として割込入力端子に入力された場合に、ステップ1000で割込動作を開始し、続くステップ1001において、現在の動作状態を一時的に退避し、ステップ1020の復帰処理の実行時に元の制御フローに復帰して演算を継続可能にする。   First, the microprocessor 110C performs an interrupt operation in step 1000 when the detection signal of the crank angle sensor 105a or the completion signal FIN generated by the timer circuit unit 800n is input to the interrupt input terminal as an interrupt operation command. In the subsequent step 1001, the current operation state is temporarily saved, and when the return process in step 1020 is executed, the process returns to the original control flow so that the calculation can be continued.

続くステップ1002においては、図9内のステップ910で初回動作完了フラグがセットされたか否かを判定し、セット未完了(すなわち、NO)と判定されれば、ステップ1003に移行し、セット完了(すなわち、YES)と判定されれば、ステップ1010に移行する。   In the subsequent step 1002, it is determined whether or not the initial operation completion flag is set in step 910 in FIG. 9, and if it is determined that the setting is not completed (that is, NO), the process proceeds to step 1003 and the setting is completed ( That is, if it is determined as YES), the process proceeds to step 1010.

ステップ1003においては、図8内の完了信号FINの論理レベルが「H」になったか否かを判定し、完了信号FINの論理レベルが「H」になった(すなわち、YES)と判定されれば、ステップ1005に移行し、完了信号FINの論理レベルが「H」なっていない(すなわち、NO)と判定されれば、復帰処理(ステップ1020)に移行する。なお、完了信号FINは、図9内のステップ905で計時カウンタ801が計時開始したことに基づいている。   In step 1003, it is determined whether or not the logical level of the completion signal FIN in FIG. 8 has become “H”, and it is determined that the logical level of the completion signal FIN has become “H” (that is, YES). For example, the process proceeds to step 1005, and if it is determined that the logic level of the completion signal FIN is not “H” (that is, NO), the process proceeds to a return process (step 1020). Note that the completion signal FIN is based on the fact that the time counter 801 has started counting in step 905 in FIG.

ステップ1005においては、設定出力SETa、SETbにより、各設定値レジスタ802a、802bに、OFF時間とパルス周期(ON時間+OFF時間)を設定する。続くステップ1009においては、リセット指令RSTにより、計時カウンタ801の計数現在値およびタイマ出力部804nを瞬時リセットして、論理出力を「L」に維持してから、復帰処理(ステップ1020)に移行する。   In step 1005, an OFF time and a pulse period (ON time + OFF time) are set in the setting value registers 802a and 802b by setting outputs SETa and SETb. In the following step 1009, the current count value of the time counter 801 and the timer output unit 804n are instantaneously reset by the reset command RST and the logic output is maintained at “L”, and then the process proceeds to the return process (step 1020). .

ステップ1002の判定結果が「YES」の場合に実行されるステップ1010においては、クランク角センサ105aの動作による割込動作開始であるか否かを判定し、クランク角センサ105aの動作による割込動作開始である(すなわち、YES)と判定されれば、ステップ1015に移行し、クランク角センサ105aの動作による割込動作開始でない(すなわち、NO)と判定されれば、ステップ1013に移行する。   In step 1010, which is executed when the determination result in step 1002 is “YES”, it is determined whether or not the interrupt operation is started by the operation of the crank angle sensor 105a, and the interrupt operation by the operation of the crank angle sensor 105a is determined. If it is determined that the operation is started (that is, YES), the process proceeds to step 1015. If it is determined that the interrupt operation is not started due to the operation of the crank angle sensor 105a (that is, NO), the process proceeds to step 1013.

ステップ1015においては、各タイマ回路部800nへの設定出力SETa、SETbにより、設定値レジスタ802a、802bに対して、OFF時間とパルス周期とを設定する。続くステップ1019においては、リセット指令RSTにより、計時カウンタ801の計数現在値およびタイマ出力部804nを瞬時リセットするか、または、後述のステップ1014で保持されたリセット状態を解除してから、ステップ1011に移行する。   In step 1015, an OFF time and a pulse period are set for the set value registers 802a and 802b by the set outputs SETa and SETb to each timer circuit unit 800n. In the subsequent step 1019, the reset current value of the time counter 801 and the timer output unit 804n are instantaneously reset by a reset command RST, or the reset state held in step 1014 described later is canceled, and then the process proceeds to step 1011. Transition.

ステップ1011においては、回転周期T0を測定するためのタイマ回路部800n内の計時カウンタ801の計数現在値を読出してから、リセット指令RSTにより、計時カウンタ801内の現在値レジスタを瞬時リセットし、復帰処理(ステップ1020)に移行する。   In step 1011, the count current value of the time counter 801 in the timer circuit unit 800n for measuring the rotation period T0 is read, and then the current value register in the time counter 801 is instantaneously reset and returned by a reset command RST. The process proceeds to processing (step 1020).

ステップ1013においては、図8内の完了信号FINの論理レベルが「H」になったか否かを判定し、完了信号FINの論理レベルが「H」になった(すなわち、YES)と判定されれば、ステップ1014に移行し、完了信号FINの論理レベルが「H」になっていない(すなわち、NO)と判定されれば、直ちに復帰処理(ステップ1020)に移行する。   In step 1013, it is determined whether or not the logic level of the completion signal FIN in FIG. 8 has become “H”, and it is determined that the logic level of the completion signal FIN has become “H” (that is, YES). For example, the process proceeds to step 1014, and if it is determined that the logic level of the completion signal FIN is not “H” (that is, NO), the process immediately proceeds to the return process (step 1020).

ステップ1014においては、リセット信号RSTの論理レベルを「H」に維持して、タイマ回路部800n内の計時カウンタ801の計数現在値を継続リセットするとともに、タイマ出力部804nのリセットを保持して、復帰処理(ステップ1020)に移行する。   In step 1014, the logic level of the reset signal RST is maintained at “H”, the count current value of the time counter 801 in the timer circuit unit 800n is continuously reset, and the reset of the timer output unit 804n is held. The process proceeds to return processing (step 1020).

以上のように、この発明の実施の形態3による車載エンジン制御装置100Cは、車載バッテリ101から給電され、燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器161C、171cに対する駆動制御手段921と、始動用キー103に対する認証照合手段(ステップ907)となる制御プログラムを格納したプログラムメモリ112Cと、プログラムメモリ112Cと協働するマイクロプロセッサ110Cとを備え、始動用キー103に設けられたトランスポンダ104aを介して始動用キー103の暗証番号を無線信号で読出すイモビライザ104cが接続されている。   As described above, the in-vehicle engine control apparatus 100C according to the third embodiment of the present invention is driven by the in-vehicle battery 101 and controls the driving of the engine driving devices 161C and 171c including at least one of the fuel injection solenoid valve and the ignition coil. The start key 103 is provided with a means 921, a program memory 112C storing a control program serving as an authentication verification means (step 907) for the start key 103, and a microprocessor 110C cooperating with the program memory 112C. An immobilizer 104c for reading the personal identification number of the start key 103 with a radio signal is connected via the transponder 104a.

また、マイクロプロセッサ110Cは、複数のタイマ回路部800nおよびタイマ出力部804nを備え、プログラムメモリ112Cは、タイマ回路部800nに対する動作時間設定手段1021およびタイマ出力切換手段(ステップ911)となる制御プログラムを含む。   The microprocessor 110C includes a plurality of timer circuit units 800n and a timer output unit 804n, and the program memory 112C stores a control program serving as an operation time setting unit 1021 and a timer output switching unit (step 911) for the timer circuit unit 800n. Including.

タイマ回路部800nは、計時用クロック信号113を計数する計時カウンタ801と、設定値レジスタ802a、802bと、計時カウンタ801の計数現在値が、設定値レジスタ802a、802bに格納された目標設定値に達したときに、比較一致出力を発生してタイマ出力部804nを駆動する比較回路803a、803bとにより構成されている。   The timer circuit unit 800n includes a time counter 801 that counts the time clock signal 113, set value registers 802a and 802b, and the current count value of the time counter 801 to the target set value stored in the set value registers 802a and 802b. The comparators 803a and 803b generate a comparison coincidence output and drive the timer output unit 804n.

タイマ出力部804nは、マイクロプロセッサ110Cにより、設定値レジスタ802a、802bに可変設定される所定のON時間およびOFF時間に対応した論理出力を発生する出力回路からなる。動作時間設定手段1021は、設定値レジスタ802a、802bに対して、OFF時間データ、ON時間データ、またはON/OFF合計時間のいずれかを転送格納するとともに、計時開始時には計時カウンタ801の計数現在値をリセットする。   The timer output unit 804n includes an output circuit that generates a logic output corresponding to predetermined ON and OFF times variably set in the set value registers 802a and 802b by the microprocessor 110C. The operation time setting means 1021 transfers and stores any one of the OFF time data, the ON time data, and the ON / OFF total time to the setting value registers 802a and 802b, and at the start of time measurement, the current count value of the time counter 801 To reset.

認証照合手段907は、マイクロプロセッサ110Cから送信されるパルス幅変調信号PWMの周期およびデューティに対応した、周波数および振幅を有する無線信号により暗証番号の読出しを行い、読出した暗証番号が、プログラムメモリ112Cまたはイモビライザ104cにあらかじめ格納されている正解暗証番号と一致するか否かの認証判定を行う。   The authentication verification unit 907 reads the password using a radio signal having a frequency and amplitude corresponding to the period and duty of the pulse width modulation signal PWM transmitted from the microprocessor 110C, and the read password is stored in the program memory 112C. Alternatively, an authentication determination is made as to whether the correct answer code stored in advance in the immobilizer 104c matches.

パルス幅変調信号PWMは、タイマ回路部800n、動作時間設定手段1021およびタイマ出力部804nにより生成されて、所定のOFF時間およびON時間を有する連続したパルス信号からなる。   The pulse width modulation signal PWM is generated by the timer circuit unit 800n, the operation time setting unit 1021, and the timer output unit 804n, and is composed of a continuous pulse signal having a predetermined OFF time and ON time.

タイマ出力切換手段911は、認証判定が一致判定の場合に、タイマ出力切換指令信号INHBを発生して、パルス幅変調信号PWMを生成するために使用されたタイマ回路部800nを、駆動制御用タイマTIM1として切換え使用する。   The timer output switching means 911 generates a timer output switching command signal INHB and outputs a timer circuit unit 800n used for generating the pulse width modulation signal PWM when the authentication determination is a coincidence determination to the drive control timer. Switching is used as TIM1.

駆動制御用タイマTIMnの出力信号は、タイマ回路部800n、動作時間設定手段1021およびタイマ出力部804nにより生成され、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生し、設定ON時間に対応した第2設定時間の経過後にタイマ出力を停止する。これにより、タイマ出力によってエンジン駆動用機器161C、171Cが駆動され、タイマ回路部800nの1つが認証照合手段907および駆動制御手段921の中で選択切換え使用されるとともに、認証照合の結果として一致判定が得られるまでは、駆動制御手段921への選択切換えが行われず、駆動制御手段921の出力発生が禁止される。   The output signal of the drive control timer TIMn is generated by the timer circuit unit 800n, the operation time setting means 1021, and the timer output unit 804n, and starts to operate in synchronization with the detection signal of the crank angle sensor 105a, corresponding to the set OFF time. The timer output is generated after elapse of the first set time, and the timer output is stopped after elapse of the second set time corresponding to the set ON time. As a result, the engine driving devices 161C and 171C are driven by the timer output, and one of the timer circuit units 800n is selectively used in the authentication verification unit 907 and the drive control unit 921, and the matching determination is performed as a result of the authentication verification. Is not switched to the drive control means 921, and output generation of the drive control means 921 is prohibited.

また、タイマ回路部800nは、計時用クロック信号113を計数する計時カウンタ801と、設定値レジスタ802a、802b(第1および第2の設定値レジスタ)と、計時カウンタ801の計数現在値が、設定値レジスタ802a、802bに格納された目標設定値に達したときに、第1および第2の比較一致出力を発生する比較回路803a、803b(第1および第2の比較回路)と、タイマ出力部804nに相当するタイマ出力回路とにより構成されている。   In addition, the timer circuit unit 800n sets the time counter 801 for counting the time clock signal 113, the set value registers 802a and 802b (first and second set value registers), and the current count value of the time counter 801. Comparison circuits 803a and 803b (first and second comparison circuits) that generate first and second comparison coincidence outputs when the target set values stored in the value registers 802a and 802b are reached, and a timer output unit And a timer output circuit corresponding to 804n.

タイマ出力部804nは、計時カウンタ801の計数現在値がリセットされてから、設定値レジスタ802a(第1の設定値レジスタ)に格納されているOFF時間だけ経過した時点でセットされ、設定値レジスタ802b(第2の設定値レジスタ)に格納されたON時間とOFF時間との合計値に応動して、所定のON時間を経過した時点でリセットされるフリップフロップ回路により構成されている。   The timer output unit 804n is set when the OFF time stored in the set value register 802a (first set value register) has elapsed after the count current value of the time counter 801 is reset, and the set value register 802b. In response to the total value of the ON time and OFF time stored in the (second set value register), the flip-flop circuit is reset when a predetermined ON time elapses.

したがって、計時用クロック信号113を高速計数する計時カウンタ801を用いることにより、マイクロプロセッサ110Cの制御負担を軽減して、高精度なタイマが得られるとともに、タイマ回路部800n内でタイマ出力部804nが生成されるので、マイクロプロセッサ110Cの制御負担をさらに軽減することができる。   Therefore, by using the clock counter 801 that counts the clock signal 113 for clocking at high speed, the control burden on the microprocessor 110C can be reduced, and a highly accurate timer can be obtained, and the timer output unit 804n is provided in the timer circuit unit 800n. Thus, the control burden on the microprocessor 110C can be further reduced.

また、マイクロプロセッサ110Cは、イモビライザ104cに対してパルス幅変調信号PWMを送信し、イモビライザ104cが始動用キー103の暗証番号を読出している期間では、イモビライザ104cとマイクロプロセッサ110Cとの間のデータ交信を行わず、イモビライザ104cが暗証番号を読取完了したと推定される時点で、パルス幅変調信号PWMの送信を停止して、イモビライザ104cから暗証番号情報または一致判定情報を入手するよう時分割動作する。また、マイクロプロセッサ110Cとイモビライザ104cとの間のデータ通信回線12Cは、パルス幅変調信号PWMの送信回線と兼用した同一回線となっているので、信号回線数を増加させることなく、高度な認証照合を行うことができる。   Further, the microprocessor 110C transmits a pulse width modulation signal PWM to the immobilizer 104c, and during the period in which the immobilizer 104c reads the password of the start key 103, data communication between the immobilizer 104c and the microprocessor 110C. When it is estimated that the immobilizer 104c has finished reading the code number, the transmission of the pulse width modulation signal PWM is stopped, and the time division operation is performed so as to obtain the code number information or the match determination information from the immobilizer 104c. . Further, since the data communication line 12C between the microprocessor 110C and the immobilizer 104c is the same line that is also used as the transmission line of the pulse width modulation signal PWM, a high-level authentication verification can be performed without increasing the number of signal lines. It can be performed.

また、パルス幅変調信号PWMの周期およびデューティの値は、プログラムメモリ112Cとイモビライザ104cとの両方に格納され、プログラムメモリ112Cは、読出確認手段(ステップ903)となる制御プログラムを含む。読出確認手段(ステップ903)は、あらかじめイモビライザ104cに格納されている周期およびデューティを読出して、読出したデータ(読出データ)が、プログラムメモリ112Cに格納されている正解データと一致した場合に、マイクロプロセッサ110Cからのパルス幅変調信号PWMの送信を有効にする。したがって、不正なイモビライザの使用を防止することができる。   Further, the period and duty value of the pulse width modulation signal PWM are stored in both the program memory 112C and the immobilizer 104c, and the program memory 112C includes a control program serving as a read confirmation unit (step 903). The read confirmation means (step 903) reads the cycle and duty stored in advance in the immobilizer 104c, and when the read data (read data) matches the correct data stored in the program memory 112C, Enable transmission of the pulse width modulation signal PWM from the processor 110C. Accordingly, it is possible to prevent an unauthorized immobilizer from being used.

また、駆動制御用タイマTIM1の出力信号は、タイマ回路部800n、動作時間設定手段1021およびタイマ出力部804nにより生成されて、エンジンの点火コイルに対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生して、点火コイルに対する励磁を開始し、設定ON時間に対応した第2設定時間の経過後にタイマ出力を停止して、点火コイルの励磁を遮断して着火を行う。したがって、クランク角センサ105aの動作と同期して動作開始する点火制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   The output signal of the drive control timer TIM1 is generated by the timer circuit unit 800n, the operation time setting unit 1021 and the timer output unit 804n, and gives an energization command to the ignition coil of the engine, and the detection signal of the crank angle sensor 105a. The operation is started synchronously, a timer output is generated after the first set time corresponding to the set OFF time has elapsed, the excitation to the ignition coil is started, and the timer is started after the second set time corresponding to the set ON time has elapsed. The output is stopped and the ignition coil is turned off to ignite. Therefore, the pulse width modulation signal PWM can be easily generated by changing the operation start command of the ignition control drive control timer that starts operation in synchronization with the operation of the crank angle sensor 105a.

また、駆動制御用タイマTIM1の出力信号は、タイマ回路部800n、動作時間設定手段1021およびタイマ出力部804nにより生成されて、燃料噴射用電磁弁に対する通電指令を行い、クランク角センサ105aの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後にタイマ出力を発生して、燃料噴射用電磁弁の開弁駆動を行い、設定ON時間に対応した第2設定時間の経過後にタイマ出力を停止して、燃料噴射用電磁弁の閉弁復帰を行う。これにより、タイマ出力によって給燃時期および給燃期間が決定されるので、クランク角センサ105aの動作と同期して動作開始する燃料噴射制御用の駆動制御用タイマの動作開始指令を変更することにより、簡単にパルス幅変調信号PWMを生成することができる。   The output signal of the drive control timer TIM1 is generated by the timer circuit unit 800n, the operation time setting unit 1021, and the timer output unit 804n, and an energization command is given to the fuel injection solenoid valve to detect the detection signal of the crank angle sensor 105a. The operation starts in synchronization with the first setting time after the first set time corresponding to the set OFF time has elapsed, the fuel injection solenoid valve is driven to open, and the second setting corresponding to the set ON time. After a lapse of time, the timer output is stopped and the fuel injection solenoid valve is returned to the closed state. Thus, since the fuel supply timing and the fuel supply period are determined by the timer output, the operation start command of the drive control timer for fuel injection control that starts operation in synchronization with the operation of the crank angle sensor 105a is changed. The pulse width modulation signal PWM can be easily generated.

また、マイクロプロセッサ110Cは、第1または第2のエンジン駆動用機器161C、171C(点火コイル、燃料噴射用電磁弁のいずれか)の両方に対する駆動制御手段921を含み、第1のエンジン駆動用機器161Cに対しては、隣接動作しない奇数順序の気筒と偶数順序の気筒とに対応して、第1および第2の駆動制御用タイマTIM1、TIM2が使用されている。   The microprocessor 110C includes drive control means 921 for both the first and second engine driving devices 161C and 171C (either the ignition coil or the fuel injection solenoid valve), and the first engine driving device For 161C, first and second drive control timers TIM1 and TIM2 are used corresponding to the odd-ordered cylinder and the even-ordered cylinder that do not operate adjacently.

また、第2のエンジン駆動用機器171Cに対しては、隣接動作しない奇数順序の気筒と偶数順序の気筒とに対応して、第3、第4の駆動制御用タイマTIM3、TIM4が使用されている。第1〜第4の駆動制御用タイマTIM1〜TIM4の出力回路のそれぞれには、該当気筒を選択する複数の気筒選択用ゲート回路116a〜116d、117a〜117dが設けられている。   For the second engine drive device 171C, the third and fourth drive control timers TIM3 and TIM4 are used corresponding to the odd-order cylinder and the even-order cylinder that do not operate adjacently. Yes. Each of the output circuits of the first to fourth drive control timers TIM1 to TIM4 is provided with a plurality of cylinder selection gate circuits 116a to 116d and 117a to 117d for selecting the corresponding cylinder.

第1〜第4の駆動制御用タイマTIM1〜TIM4のいずれか1つは、イモビライザ104cに送信するパルス幅変調信号PWMを生成する認証制御用タイマTIM1として兼用されている。   Any one of the first to fourth drive control timers TIM1 to TIM4 is also used as the authentication control timer TIM1 for generating the pulse width modulation signal PWM to be transmitted to the immobilizer 104c.

認証制御用タイマTIM1の出力回路には、タイマ出力切換手段(ステップ911)によって生成されたタイマ出力切換指令信号INHBにより選択動作する認証用ゲート回路144が接続され、認証照合手段(ステップ907)が照合一致判定を行うまでは、認証用ゲート回路144を介してパルス幅変調信号PWMの送信が可能である。   The output circuit of the authentication control timer TIM1 is connected to an authentication gate circuit 144 that is selectively operated by the timer output switching command signal INHB generated by the timer output switching means (step 911), and the authentication verification means (step 907). Until the collation coincidence determination is performed, the pulse width modulation signal PWM can be transmitted through the authentication gate circuit 144.

また、少なくとも認証制御用タイマとして兼用された駆動制御用タイマTIM1の出力回路に設けられた気筒選択用ゲート回路116a、116cを含む、一部または全部の気筒選択用ゲート回路116a〜116d、117a〜117dは、駆動制御用タイマTIM1〜TIM4のタイマ出力を禁止する。   In addition, some or all of the cylinder selection gate circuits 116a to 116d and 117a to 117a include a cylinder selection gate circuit 116a and 116c provided in the output circuit of the drive control timer TIM1 that is also used as an authentication control timer. 117d prohibits the timer output of the drive control timers TIM1 to TIM4.

したがって、エンジンの始動過程にあって、認証照合処理中における点火制御および燃料噴射制御が停止されるので、車載バッテリ101の負荷電流を抑制して、寒冷始動能力を向上されることができる。すなわち、認証照合が正常完了するまでは、車載バッテリ101の不要な放電を抑制して、低圧始動特性および寒冷始動特性を改善することができる。また、充電状態が良好でない車載バッテリ101によるエンジンの寒冷始動特性を悪化させずに、認証照合を行うことができる。   Accordingly, since the ignition control and the fuel injection control during the authentication verification process are stopped in the engine starting process, it is possible to suppress the load current of the in-vehicle battery 101 and improve the cold starting ability. That is, until the authentication verification is normally completed, unnecessary discharge of the in-vehicle battery 101 can be suppressed and the low-pressure start characteristic and the cold start characteristic can be improved. Further, the authentication verification can be performed without deteriorating the cold start characteristic of the engine by the in-vehicle battery 101 whose charging state is not good.

さらに、プログラムメモリ112cは、出力禁止手段(ステップ909)となる制御プログラムを含み、出力禁止手段(ステップ909)は、認証照合手段(ステップ907)が認証判定中の場合と、認証判定結果が不一致判定の場合とに作用して、認証制御用タイマTIM1を除く駆動制御用タイマTIM2〜TIM4の出力発生を停止する。したがって、正常認証結果が得られなくても、始動電動機108の回転動作が行われるものの、点火制御や燃料噴射制御が停止されているので、エンジンが自立回転することはなく、不正に運転されることを防止することができる。   Further, the program memory 112c includes a control program serving as an output prohibition unit (step 909). The output prohibition unit (step 909) does not match the authentication determination result with the case where the authentication verification unit (step 907) is performing the authentication determination. In response to the determination, output generation of the drive control timers TIM2 to TIM4 excluding the authentication control timer TIM1 is stopped. Therefore, even if the normal authentication result is not obtained, the rotation operation of the starting motor 108 is performed, but the ignition control and the fuel injection control are stopped, so that the engine does not rotate independently and is operated illegally. This can be prevented.

この発明の実施の形態1に係る車載エンジン制御装置を示す回路ブロック図である。It is a circuit block diagram which shows the vehicle-mounted engine control apparatus which concerns on Embodiment 1 of this invention. 図1内の駆動制御用タイマの出力特性を示すタイミングチャートである。2 is a timing chart illustrating output characteristics of a drive control timer in FIG. 1. 図1内のタイマ回路部およびタイマ出力部を示すブロック図である。FIG. 2 is a block diagram illustrating a timer circuit unit and a timer output unit in FIG. 1. この発明の実施の形態1による認証照合動作および駆動制御動作を示すフローチャートである。It is a flowchart which shows the authentication collation operation | movement and drive control operation | movement by Embodiment 1 of this invention. この発明の実施の形態1による割込制御動作を示すフローチャートである。It is a flowchart which shows the interrupt control operation | movement by Embodiment 1 of this invention. この発明の実施の形態2に係る車載エンジン制御装置を示す回路ブロック図である。It is a circuit block diagram which shows the vehicle-mounted engine control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態3に係る車載エンジン制御装置を示す回路ブロック図である。It is a circuit block diagram which shows the vehicle-mounted engine control apparatus which concerns on Embodiment 3 of this invention. 図7内のタイマ回路部およびタイマ出力部を示すブロック図である。FIG. 8 is a block diagram illustrating a timer circuit unit and a timer output unit in FIG. 7. この発明の実施の形態3による認証照合動作および駆動制御動作を示すフローチャートである。It is a flowchart which shows the authentication collation operation | movement and drive control operation | movement by Embodiment 3 of this invention. この発明の実施の形態3による割込制御動作を示すフローチャートである。It is a flowchart which shows the interrupt control operation | movement by Embodiment 3 of this invention.

符号の説明Explanation of symbols

12A データ通信回線、12C データ通信回線兼PWM信号送信回線、100A、100B、100C 車載エンジン制御装置、101 車載バッテリ、103 始動用キー、103b 始動スイッチ、104 キースイッチ本体、104a トランスポンダ、104b、104c イモビライザ、105a クランク角センサ、107 電磁リレー、107b 励磁コイル、108 始動電動機、110、110C マイクロプロセッサ(CPU)、112A、112B、112C プログラムメモリ、113 計時用クロック信号、116a〜116d 気筒選択用ゲート回路、117a〜117d 気筒選択用ゲート回路、130 直列開閉素子、137 補助開閉素子、144 認証用ゲート回路、161A、161B エンジン駆動用機器、161C 第1のエンジン駆動用機器、171C 第2のエンジン駆動用機器、300n、800n、300ac、300bd タイマ回路部、301、801 計時カウンタ、302 設定値レジスタ、303 比較回路、304n、804n タイマ出力部、403、903 読出確認手段、407、907 認証照合手段、408、908 始動停止手段、409、909 出力禁止手段、411、911 タイマ出力切換手段、421、921 駆動制御手段、521、1021 動作時間設定手段、522 フラグ反転手段、802a 第1の設定値レジスタ、802b 第2の設定値レジスタ、803a 第1の比較回路、803b 第2の比較回路、CMP 比較一致出力、INHB タイマ出力切換指令信号、PWM パルス幅変調信号、TIM1〜TIM4、駆動制御用タイマ。   12A Data communication line, 12C Data communication line and PWM signal transmission line, 100A, 100B, 100C In-vehicle engine control device, 101 In-vehicle battery, 103 Start key, 103b Start switch, 104 Key switch body, 104a Transponder, 104b, 104c Immobilizer 105a, crank angle sensor, 107 electromagnetic relay, 107b exciting coil, 108 starter motor, 110, 110C microprocessor (CPU), 112A, 112B, 112C program memory, 113 clock signal for timing, 116a-116d gate circuit for cylinder selection, 117a to 117d Cylinder selection gate circuit, 130 series switching element, 137 auxiliary switching element, 144 authentication gate circuit, 161A, 161B engine driving device, 61C first engine driving device, 171C second engine driving device, 300n, 800n, 300ac, 300bd timer circuit unit, 301, 801 time counter, 302 set value register, 303 comparison circuit, 304n, 804n timer output unit , 403, 903 Reading confirmation means, 407, 907 Authentication verification means, 408, 908 Start stop means, 409, 909 Output prohibition means, 411, 911 Timer output switching means, 421, 921 Drive control means, 521, 1021 Operation time setting Means 522 flag inversion means 802a first set value register 802b second set value register 803a first comparison circuit 803b second comparison circuit CMP comparison coincidence output INHB timer output switching command signal PWM Pulse width modulation signal, T M1~TIM4, the drive control for the timer.

Claims (12)

車載のエンジンの運転状態を検出するためのクランク角センサを含む各種センサに接続され、車載バッテリから給電されて、前記運転状態に応じて燃料噴射用電磁弁および点火コイルの少なくとも一方からなるエンジン駆動用機器を制御する駆動制御手段と、
前記エンジンの始動用キーに対する認証照合手段となる制御プログラムを格納したプログラムメモリと、前記プログラムメモリと協働するマイクロプロセッサとを備え、
前記始動用キーに設けられたトランスポンダを介して、前記始動用キーの暗証番号を無線信号で読出すためのイモビライザと接続された車載エンジン制御装置であって、
前記マイクロプロセッサは、複数のタイマ回路部およびタイマ出力部と協働し、
前記プログラムメモリは、前記タイマ回路部に対する動作時間設定手段およびタイマ出力切換手段となる制御プログラムを含み、
前記タイマ回路部は、計時用クロック信号を計数する計時カウンタと、設定値レジスタと、前記計時カウンタの計数現在値が前記設定値レジスタに格納された目標設定値に達したときに比較一致出力を発生して前記タイマ出力部を駆動する比較回路により構成され、
前記タイマ出力部は、前記マイクロプロセッサによって前記設定値レジスタに可変設定される所定のON時間およびOFF時間に対応した論理出力を発生し、
前記動作時間設定手段は、前記設定値レジスタに対して、前記ON時間および前記OFF時間に対応したON時間データおよびOFF時間データ、またはON/OFF合計時間データとON時間データ又はOFF時間データを転送格納するとともに、計時開始時には前記計数現在値をリセットし、
前記認証照合手段は、前記マイクロプロセッサから送信されるパルス幅変調信号の周期およびデューティに対応した、周波数および振幅を有する無線信号により、前記イモビライザを介して前記始動キーの暗証番号を読出し、読出した前記暗証番号が、前記プログラムメモリまたは前記イモビライザにあらかじめ格納されている正解暗証番号と一致しているか否かの認証判定を行い、
前記パルス幅変調信号は、前記タイマ回路部、前記動作時間設定手段、および前記タイマ出力部により生成され、所定のOFF時間およびON時間を有する連続したパルス信号からなり、
前記タイマ出力切換手段は、前記認証判定が一致判定であった場合にタイマ出力切換指令信号を発生して、前記パルス幅変調信号を生成するために使用された前記タイマ回路部を駆動制御用タイマとして切換え使用し、
前記駆動制御用タイマは、前記タイマ回路部、前記動作時間設定手段、および前記タイマ出力部により構成され、前記タイマ回路部は前記クランク角センサの検出信号と同期して動作開始して、設定OFF時間に対応した第1設定時間の経過後に初回の比較一致出力を発生するとともに、設定ON時間に対応した第2設定時間の経過後に次回の比較一致出力を発生し、前記タイマ出力部は初回の一致出力が発生してから次回の比較一致出力が発生するまでの期間においてタイマ出力を発生し、
前記エンジン駆動用機器は、前記タイマ出力部からのタイマ出力によって駆動され、
前記複数のタイマ回路部のうちの1つは、前記認証照合手段および前記駆動制御手段の中で選択切換え使用されるとともに、前記認証照合手段による認証照合の結果として一致判定が得られるまでは、前記駆動制御手段への選択切換えが行われず、前記駆動制御手段の出力発生が禁止されることを特徴とする車載エンジン制御装置。
Engine drive connected to various sensors including a crank angle sensor for detecting the operating state of the vehicle-mounted engine, supplied with power from the vehicle-mounted battery, and comprising at least one of a fuel injection solenoid valve and an ignition coil according to the driving state Drive control means for controlling the equipment,
A program memory storing a control program serving as an authentication verification unit for the engine start key, and a microprocessor cooperating with the program memory;
An in-vehicle engine control device connected to an immobilizer for reading out a personal identification number of the start key with a radio signal via a transponder provided in the start key,
The microprocessor cooperates with a plurality of timer circuit units and a timer output unit,
The program memory includes a control program serving as an operation time setting unit and a timer output switching unit for the timer circuit unit,
The timer circuit unit includes a clock counter for counting a clock signal for clocking, a set value register, and a comparison coincidence output when the current count value of the clock counter reaches a target set value stored in the set value register. A comparator circuit that generates and drives the timer output unit;
The timer output unit generates a logic output corresponding to a predetermined ON time and OFF time variably set in the set value register by the microprocessor,
The operation time setting means transfers ON time data and OFF time data corresponding to the ON time and the OFF time, or ON / OFF total time data and ON time data or OFF time data to the set value register. In addition to storing, at the start of timing, reset the current count value,
The authentication verification means reads out and reads out the personal identification number of the start key via the immobilizer with a radio signal having a frequency and an amplitude corresponding to the period and duty of the pulse width modulation signal transmitted from the microprocessor. An authentication determination is performed as to whether or not the personal identification number matches a correct personal identification number stored in advance in the program memory or the immobilizer,
The pulse width modulation signal is generated by the timer circuit unit, the operation time setting unit, and the timer output unit, and includes a continuous pulse signal having a predetermined OFF time and ON time,
The timer output switching means generates a timer output switching command signal when the authentication determination is a coincidence determination, and controls the timer circuit unit used for generating the pulse width modulation signal as a drive control timer. Use as switching and
The drive control timer includes the timer circuit unit, the operation time setting means, and the timer output unit. The timer circuit unit starts operating in synchronization with a detection signal of the crank angle sensor, and is set to OFF. The first comparison coincidence output is generated after elapse of the first set time corresponding to the time, and the next comparison coincidence output is generated after elapse of the second set time corresponding to the set ON time. Timer output is generated during the period from when the match output occurs until the next comparison match output occurs,
The engine driving device is driven by a timer output from the timer output unit,
One of the plurality of timer circuit units is selectively used in the authentication verification unit and the drive control unit, and until a match determination is obtained as a result of the authentication verification by the authentication verification unit, An on-vehicle engine control device characterized in that selection switching to the drive control means is not performed and output generation of the drive control means is prohibited.
前記タイマ出力部は、前記プログラムメモリに格納されたフラグ反転手段によって生成され、
前記動作時間設定手段は、前記設定値レジスタに対して前記OFF時間データまたは前記ON時間データを交互に転送格納するとともに、計時開始時には前記計数現在値をリセットし、
前記フラグ反転手段は、前記計時カウンタの比較回路が比較一致出力を発生するごとに前記論理出力を反転させて、前記OFF時間データの設定期間では前記論理出力の論理レベルが「L」となり、前記ON時間データの設定期間では前記論理出力の論理レベルが 「H」となるフラグを前記タイマ出力として生成する
ことを特徴とする請求項1に記載の車載エンジン制御装置。
The timer output unit is generated by flag inversion means stored in the program memory,
The operation time setting means alternately transfers and stores the OFF time data or the ON time data to the set value register, and resets the current count value at the start of timing,
The flag inversion means inverts the logic output every time the comparator circuit of the time counter generates a comparison coincidence output, and the logic level of the logic output becomes “L” in the set period of the OFF time data. The in-vehicle engine control device according to claim 1, wherein a flag in which a logic level of the logic output is “H” is generated as the timer output in a set period of ON time data.
前記タイマ回路部は、前記設定値レジスタとして第1および第2の設定値レジスタを含むとともに、前記比較回路として第1および第2の比較回路を含み、
前記第1の比較回路は、前記計数現在値が前記第1の設定値レジスタに格納された目標設定値に達したときに第1の比較一致出力を発生し、
前記第2の比較回路は、前記計数現在値が前記第2の設定値レジスタに格納された目標設定値に達したときに第2の比較一致出力を発生し、
前記タイマ出力部は、前記計数現在値がリセットされてから前記第1の設定値レジスタに格納されているOFF時間を経過したときにセットされ、前記第2の設定値レジスタに格納されたON時間とOFF時間との合計値に応動して所定のON時間を経過したときにリセットされるフリップフロップ回路により構成された
ことを特徴とする請求項1に記載の車載エンジン制御装置。
The timer circuit unit includes first and second setting value registers as the setting value register, and includes first and second comparison circuits as the comparison circuit,
The first comparison circuit generates a first comparison coincidence output when the current count value reaches a target set value stored in the first set value register;
The second comparison circuit generates a second comparison coincidence output when the current count value reaches a target set value stored in the second set value register,
The timer output unit is set when the OFF time stored in the first set value register elapses after the current count value is reset, and the ON time stored in the second set value register The in-vehicle engine control device according to claim 1, wherein the on-vehicle engine control device is configured by a flip-flop circuit that is reset when a predetermined ON time elapses in response to a total value of the time and the OFF time.
前記マイクロプロセッサは、前記イモビライザに前記パルス幅変調信号を送信し、前記イモビライザが前記始動用キーの暗証番号を読出している期間では前記イモビライザとの間のデータ交信を行わず、前記イモビライザが暗証番号を読取完了したと推定される時点には、前記パルス幅変調信号の送信を停止して、前記イモビライザから暗証番号情報または一致判定情報を入手するように時分割動作し、
前記マイクロプロセッサと前記イモビライザとの間の通信回線と、前記パルス幅変調信号の送信回線とは、同一回線で構成された
ことを特徴とする請求項1に記載の車載エンジン制御装置。
The microprocessor transmits the pulse width modulation signal to the immobilizer, and does not perform data communication with the immobilizer during a period in which the immobilizer reads the password of the start key, and the immobilizer At the time when it is estimated that the reading is completed, the transmission of the pulse width modulation signal is stopped, and the time division operation is performed so as to obtain the personal identification number information or the coincidence determination information from the immobilizer,
The in-vehicle engine control device according to claim 1, wherein a communication line between the microprocessor and the immobilizer and a transmission line for the pulse width modulation signal are configured by the same line.
前記パルス幅変調信号の周期およびデューティの各値は、前記プログラムメモリおよび前記イモビライザの両方にあらかじめ格納されており、
前記プログラムメモリは、読出確認手段となる制御プログラムを含み、
前記読出確認手段は、前記イモビライザに格納されている周期およびデューティを読出データとして読出し、前記読出データが、前記プログラムメモリに格納されている周期およびデューティの正解データと一致するか否かを確認し、
前記マイクロプロセッサは、前記読出データが前記正解データと一致した場合に前記パルス幅変調信号を送信する
ことを特徴とする請求項1または請求項4に記載の車載エンジン制御装置。
Each value of the period and duty of the pulse width modulation signal is stored in advance in both the program memory and the immobilizer,
The program memory includes a control program serving as a read confirmation unit,
The reading confirmation means reads the cycle and duty stored in the immobilizer as read data, and checks whether the read data matches the correct data of the cycle and duty stored in the program memory. ,
The in-vehicle engine control device according to claim 1 or 4, wherein the microprocessor transmits the pulse width modulation signal when the read data matches the correct answer data.
前記駆動制御用タイマは、前記点火コイルに対する通電指令を行うとともに、前記クランク角センサの検出信号と同期して動作開始して、前記第1設定時間の経過後に前記タイマ出力を発生して前記点火コイルに対する励磁を開始し、前記第2設定時間の経過後に前記タイマ出力を停止して前記点火コイルの励磁を遮断して着火を行う
ことを特徴とする請求項1に記載の車載エンジン制御装置。
The drive control timer issues an energization command to the ignition coil, starts operating in synchronization with a detection signal of the crank angle sensor, generates the timer output after the first set time elapses, and generates the ignition The in-vehicle engine control device according to claim 1, wherein excitation of the coil is started, and after the second set time has elapsed, the timer output is stopped, the excitation of the ignition coil is cut off, and ignition is performed.
前記エンジンは、順次に点火制御される複数の気筒を有し、
前記駆動制御用タイマは、第1および第2の駆動制御用タイマを含み、
前記第1の駆動制御用タイマの出力信号は、隣接する点火気筒を弁別する気筒選択用ゲート回路を介して前記複数の気筒に順次分配供給され、
点火順序が奇数番号の気筒に対しては、前記複数のタイマ回路部のうちの1個のタイマ回路部が使用され、
点火順序が偶数番号の気筒に対しては、前記複数のタイマ回路部のうちの他の1個のタイマ回路部による前記第2の駆動制御用タイマとが使用され、
前記第2の駆動制御用タイマの出力信号は、前記気筒選択用ゲート回路を介して前記偶数番号の気筒に順次分配供給される
ことを特徴とする請求項6に記載の車載エンジン制御装置。
The engine has a plurality of cylinders that are sequentially controlled to be ignited,
The drive control timer includes first and second drive control timers,
The output signal of the first drive control timer is sequentially distributed and supplied to the plurality of cylinders via a cylinder selection gate circuit that discriminates adjacent ignition cylinders.
For a cylinder with an odd ignition number, one timer circuit portion of the plurality of timer circuit portions is used,
For the cylinders whose ignition order is an even number, the second drive control timer by the other one of the plurality of timer circuit units is used,
The in-vehicle engine control apparatus according to claim 6, wherein an output signal of the second drive control timer is sequentially distributed and supplied to the even-numbered cylinders via the cylinder selection gate circuit.
前記駆動制御用タイマは、前記燃料噴射用電磁弁に対する通電指令を行うとともに、前記クランク角センサの検出信号と同期して動作開始して、前記第1設定時間の経過後に前記タイマ出力を発生して前記燃料噴射用電磁弁の開弁駆動を行い、前記第2設定時間の経過後に前記タイマ出力を停止して前記燃料噴射用電磁弁の閉弁復帰を行い、
前記エンジンに対する給燃時期および給燃期間は、前記駆動制御用タイマのタイマ出力により決定されることを特徴とする請求項1に記載の車載エンジン制御装置。
The drive control timer issues an energization command to the fuel injection solenoid valve, starts operation in synchronization with a detection signal of the crank angle sensor, and generates the timer output after the first set time has elapsed. The fuel injection solenoid valve is driven to open, the timer output is stopped after the second set time has elapsed, and the fuel injection solenoid valve is returned to the closed state,
The in-vehicle engine control apparatus according to claim 1, wherein a fuel supply timing and a fuel supply period for the engine are determined by a timer output of the drive control timer.
前記エンジンは、順次に燃料噴射制御される複数の気筒を有し、
前記駆動制御用タイマは、第1および第2の駆動制御用タイマを含み、
前記第1の駆動制御用タイマの出力信号は、隣接する噴射気筒を弁別する気筒選択用ゲート回路を介して前記複数の気筒に順次分配供給され、
燃料噴射順序が奇数番号の気筒に対しては、前記複数のタイマ回路部のうちの1個のタイマ回路部が使用され、
燃料噴射順序が偶数番号の気筒に対しては、前記複数のタイマ回路部のうちの他の1個のタイマ回路部による前記第2の駆動制御用タイマとが使用され、
前記第2の駆動制御用タイマの出力信号は、前記気筒選択用ゲート回路を介して前記偶数番号の気筒に順次分配供給される
ことを特徴とする請求項8に記載の車載エンジン制御装置。
The engine has a plurality of cylinders that are sequentially subjected to fuel injection control,
The drive control timer includes first and second drive control timers,
The output signal of the first drive control timer is sequentially distributed and supplied to the plurality of cylinders via a cylinder selection gate circuit that discriminates adjacent injection cylinders.
For a cylinder with an odd number of fuel injection orders, one timer circuit portion of the plurality of timer circuit portions is used,
For the cylinders with an even number of fuel injection orders, the second drive control timer by the other one of the plurality of timer circuit units is used,
The on-vehicle engine control device according to claim 8, wherein the output signal of the second drive control timer is sequentially distributed and supplied to the even-numbered cylinders via the cylinder selection gate circuit.
前記始動用キーに応動する始動スイッチは直列開閉素子および補助開閉素子をさらに備え、
前記直列開閉素子は、前記車載バッテリと前記エンジンの始動電動機とを接続する電磁リレーの励磁コイルに対して直列接続され、前記エンジンの始動スイッチの閉路時に導通して前記エンジンの始動を行い、
前記補助開閉素子は、前記認証照合手段による判定結果が比較不一致であったことに応動して、前記直列開閉素子の導通を禁止するとともに、前記マイクロプロセッサの不作動時に前記直列開閉素子の導通を阻害しない関係にバイアス付勢されている
ことを特徴とする請求項1に記載の車載エンジン制御装置。
The start switch responsive to the start key further comprises a series opening / closing element and an auxiliary opening / closing element,
The series open / close element is connected in series to an excitation coil of an electromagnetic relay that connects the vehicle battery and the engine starter motor, and conducts when the engine start switch is closed to start the engine,
The auxiliary switching element responds to the determination result by the authentication verification means being inconsistent and prohibits the series switching element from conducting, and prevents the series switching element from conducting when the microprocessor is inoperative. The vehicle-mounted engine control device according to claim 1, wherein bias is applied to a relationship that does not hinder.
前記エンジンは、順次に燃料噴射制御および点火制御される複数の気筒を有し、
前記エンジン駆動用機器は、前記燃料噴射用電磁弁または前記点火コイルの一方である第1のエンジン駆動用機器と、前記燃料噴射用電磁弁または前記点火コイルの他方である第2のエンジン駆動用機器とを含み、
前記駆動制御用タイマは、第1〜第4の駆動制御用タイマを含み、
前記駆動制御手段は、前記第1および第2のエンジン駆動用機器の両方を制御し、
前記第1のエンジン駆動用機器に対しては、隣接動作しない奇数順序の気筒と偶数順序の気筒とに対応して、前記第1および第2の駆動制御用タイマが使用され、
前記第2のエンジン駆動用機器に対しては、隣接動作しない前記奇数順序の気筒および前記偶数順序の気筒とに対応して、前記第3および第4の駆動制御用タイマが使用され、
前記第1〜第4の駆動制御用タイマの出力回路のそれぞれには、対応する気筒を選択する複数の気筒選択用ゲート回路が設けられ、
前記第1〜第4の駆動制御用タイマのいずれか1つは、前記イモビライザに送信される前記パルス幅変調信号を生成する認証制御用タイマと兼用されており、
前記認証制御用タイマの出力回路には、前記タイマ出力切換手段により生成されたタイマ出力切換指令信号によって選択動作する認証用ゲート回路が接続され、
前記認証照合手段が照合一致判定を行うまでは、前記認証用ゲート回路を介して前記パルス幅変調信号の送信が可能であるとともに、
前記複数の気筒選択用ゲート回路のうち、前記認証制御用タイマと兼用された兼用駆動制御用タイマの出力回路に設けられた気筒選択用ゲート回路を含む一部または全部の気筒選択用ゲート回路は、前記駆動制御用タイマのタイマ出力を禁止する
ことを特徴とする請求項6または請求項8に記載の車載エンジン制御装置。
The engine has a plurality of cylinders that are sequentially subjected to fuel injection control and ignition control,
The engine driving device is a first engine driving device that is one of the fuel injection solenoid valve or the ignition coil, and a second engine driving device that is the other of the fuel injection solenoid valve or the ignition coil. Including equipment,
The drive control timer includes first to fourth drive control timers,
The drive control means controls both the first and second engine driving devices,
For the first engine drive device, the first and second drive control timers are used corresponding to the odd-ordered cylinder and the even-ordered cylinder that do not operate adjacently,
For the second engine drive device, the third and fourth drive control timers are used corresponding to the odd-order cylinder and the even-order cylinder that do not operate adjacently,
Each of the output circuits of the first to fourth drive control timers is provided with a plurality of cylinder selection gate circuits for selecting the corresponding cylinders,
Any one of the first to fourth drive control timers is also used as an authentication control timer for generating the pulse width modulation signal transmitted to the immobilizer,
The authentication control timer output circuit is connected to an authentication gate circuit that is selectively operated by a timer output switching command signal generated by the timer output switching means.
Until the authentication verification unit performs verification match determination, the pulse width modulation signal can be transmitted through the authentication gate circuit, and
Among the plurality of cylinder selection gate circuits, a part or all of the cylinder selection gate circuits including a cylinder selection gate circuit provided in an output circuit of a dual-purpose drive control timer that is also used as the authentication control timer The on-board engine control device according to claim 6 or 8, wherein a timer output of the drive control timer is prohibited.
前記プログラムメモリは、出力禁止手段となる制御プログラムを含み、
前記出力禁止手段は、前記認証照合手段が認証判定中の場合と、認証判定結果が不一致判定の場合とに作用して、前記認証制御用タイマ以外の駆動制御用タイマの出力発生を停止することを特徴とする請求項11に記載の車載エンジン制御装置。
The program memory includes a control program serving as output prohibiting means,
The output prohibiting means acts when the authentication collating means is performing authentication determination and when the authentication determination result is a mismatch determination, and stops output generation of a drive control timer other than the authentication control timer. The in-vehicle engine control device according to claim 11.
JP2007001566A 2007-01-09 2007-01-09 In-vehicle engine controller Expired - Fee Related JP4237229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007001566A JP4237229B2 (en) 2007-01-09 2007-01-09 In-vehicle engine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007001566A JP4237229B2 (en) 2007-01-09 2007-01-09 In-vehicle engine controller

Publications (2)

Publication Number Publication Date
JP2008169709A JP2008169709A (en) 2008-07-24
JP4237229B2 true JP4237229B2 (en) 2009-03-11

Family

ID=39698042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007001566A Expired - Fee Related JP4237229B2 (en) 2007-01-09 2007-01-09 In-vehicle engine controller

Country Status (1)

Country Link
JP (1) JP4237229B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5894493B2 (en) 2011-08-09 2016-03-30 ルネサスエレクトロニクス株式会社 Timing control apparatus and control system including the same
JP6450302B2 (en) * 2015-10-22 2019-01-09 ヤンマー株式会社 engine

Also Published As

Publication number Publication date
JP2008169709A (en) 2008-07-24

Similar Documents

Publication Publication Date Title
US8583323B2 (en) Vehicle-use electronic control device
CN110107415B (en) Engine cold start method, electronic control unit and system
US11753971B2 (en) Method for verifying CVVD location learning result and CVVD system thereof
US6796169B2 (en) Cylinder identifying system for internal combustion engine
JP4237229B2 (en) In-vehicle engine controller
US6612296B1 (en) Control apparatus for internal combustion engine
US5186144A (en) Ignition control system with cylinder identification evaluation
JP3595085B2 (en) Ignition control system
US20150267572A1 (en) Method for controlling and monitoring an electromagnet, in particular in a variable valve lift control device
JP2002537518A (en) Ignition control device and ignition control method
AU634685B2 (en) Method and apparatus for controlling spark timing
JPH10220333A (en) Internal combustion engine control device
RU2198314C2 (en) Internal combustion engine control system
JP2004137983A (en) Electric load device energization abnormality detection method and device for internal combustion engine
US6170323B1 (en) Self-diagnosis apparatus for vehicle meters and method starting a self-diagnosis mode for vehicle meters
US7353104B2 (en) Signal output unit and electronic control unit
JPH08268229A (en) Vehicle engine controller
JP2611663B2 (en) Vehicle anti-theft device
US7367321B2 (en) Erroneous connection detecting method of ignition devices and apparatus of the same
US20090308355A1 (en) Fuel injection control method and fuel injection control apparatus
KR102474615B1 (en) Method for CVVD Location Learning Correction Based on Indirect Diagnosis and CVVD System Thereof
JP2946948B2 (en) Fuel injection timing control device
JPH07158548A (en) Abnormality detecting device of diesel engine start auxiliary device
JPH062603A (en) Internal combustion engine controller
JPS6241892B2 (en)

Legal Events

Date Code Title Description
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: 20081216

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081217

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131226

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees