JPH111155A - Switch state detection device for vehicles - Google Patents
Switch state detection device for vehiclesInfo
- Publication number
- JPH111155A JPH111155A JP15532697A JP15532697A JPH111155A JP H111155 A JPH111155 A JP H111155A JP 15532697 A JP15532697 A JP 15532697A JP 15532697 A JP15532697 A JP 15532697A JP H111155 A JPH111155 A JP H111155A
- Authority
- JP
- Japan
- Prior art keywords
- switch
- key
- vehicle
- closed
- current
- 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.)
- Pending
Links
Landscapes
- Lock And Its Accessories (AREA)
Abstract
(57)【要約】
【課題】 エンジン停止時に車載スイッチが閉じられた
際のバッテリの消費電力量を抑制でき、しかも車載スイ
ッチの接点に形成される酸化皮膜の影響を受けることな
く車載スイッチの開閉状態を検出できる装置を提供す
る。
【解決手段】 キーシリンダにイグニッションキーが挿
入されたときに閉状態となるキー挿入スイッチ2に対し
て、微小電流通電用の抵抗R1及びダイオードD1を介
して常時電源供給を行うことにより、キー挿入をコンパ
レータ50にて速やかに検出できるようにする。また、
キー挿入スイッチ2に酸化皮膜が形成されるとキー挿入
を検出できなくなるので、イグニッションスイッチ3の
オン時には、メインリレー21,抵抗R0及びダイオー
ドD0を介して、キー挿入スイッチ2に大電流を流し、
酸化皮膜を破壊させる。この結果、キーシリンダにキー
を挿入したまま車両が駐車された際のバッテリ5の電力
消費量を抑制でき、しかも、キー挿入も問題なく検出で
きることになる。
(57) [Summary] [PROBLEMS] To reduce the power consumption of a battery when an on-vehicle switch is closed when an engine is stopped, and to open / close the on-vehicle switch without being affected by an oxide film formed on a contact point of the on-vehicle switch. An apparatus capable of detecting a state is provided. SOLUTION: Power is always supplied to a key insertion switch 2 which is closed when an ignition key is inserted into a key cylinder via a resistor R1 for supplying a small current and a diode D1 to thereby insert the key. Can be quickly detected by the comparator 50. Also,
If an oxide film is formed on the key insertion switch 2, the key insertion cannot be detected. Therefore, when the ignition switch 3 is turned on, a large current flows through the key insertion switch 2 via the main relay 21, the resistor R0, and the diode D0.
Breaks down oxide film. As a result, the power consumption of the battery 5 when the vehicle is parked with the key inserted in the key cylinder can be suppressed, and the key insertion can be detected without any problem.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば、イグニッ
ションキーのキーシリンダへの挿入状態を検出するキー
挿入スイッチや車両運転者が運転席に座ったことを検出
する着座スイッチ等、イグニッションスイッチが閉じら
れる前に開閉状態が切り替えられる車載スイッチの開閉
状態を検出する車両用スイッチ状態検出装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switch for closing an ignition switch such as a key insertion switch for detecting a state of insertion of an ignition key into a key cylinder and a seating switch for detecting that a vehicle driver is sitting in a driver's seat. The present invention relates to a vehicle switch state detection device that detects an open / close state of an on-vehicle switch whose open / close state is switched before being opened.
【0002】[0002]
【従来の技術】従来より、イグニッションキー(以下、
単にキーともいう)によってキーロータが回転操作され
てエンジンを始動する際、キーシリンダに挿入されたイ
グニッションキーが本物であるか偽物であるかを識別し
て、本物である場合にのみエンジンの始動を許可する車
両用盗難防止装置が知られている。2. Description of the Related Art Conventionally, an ignition key (hereinafter, referred to as an ignition key)
When the engine is started by rotating the key rotor by simply using the key), the ignition key inserted into the key cylinder is identified as genuine or fake, and the engine is started only if it is genuine. Permitted vehicle anti-theft devices are known.
【0003】この車両用盗難防止装置においては、イグ
ニッションスイッチ(以下、単にIGスイッチともい
う)が閉状態(オン状態)となってからコード照合装置
への電源供給を開始することにより、コード照合装置を
起動し、コード照合装置に対して、キーとの間で、キー
側の暗証コードと車両側の暗証コードとを照合するため
の通信を実行させる。そして、その照合結果に応じて、
エンジン制御装置に対して、エンジンの始動を許可また
は禁止する。In this vehicle anti-theft device, the power supply to the code collation device is started after an ignition switch (hereinafter, also simply referred to as an IG switch) is turned on (on state), whereby the code collation device is started. And causes the code collation device to execute communication between the key and the key for collating the password code on the key side with the password code on the vehicle side. Then, according to the matching result,
Allow or prohibit the engine control unit from starting the engine.
【0004】しかし、このようにIGスイッチがオン状
態となってからコード照合装置を起動する従来の車両用
盗難防止装置においては、以下のような問題があった。
即ち、コード照合装置が上記照合用の通信を行うには、
通常、100〜500(msec.)程度の時間が必要であ
る。従って、IGスイッチがオン状態となってからコー
ド照合装置を起動するようにすると、IGスイッチオン
からスタータスイッチオンまでのキー操作を素早く行っ
た際に、スタータの作動中に上記通信が行われることに
なる。そしてこの場合には、スタータの回転によりバッ
テリの出力電圧が低下した状態で上記通信が行われるこ
とになり、通信エラーとなる可能性が高い。However, the conventional vehicle anti-theft device that activates the code collation device after the IG switch is turned on has the following problems.
That is, in order for the code collation device to perform the communication for the collation,
Usually, a time of about 100 to 500 (msec.) Is required. Therefore, if the code collation device is started after the IG switch is turned on, the above-mentioned communication is performed during the operation of the starter when the key operation from the IG switch on to the starter switch on is performed quickly. become. In this case, the communication is performed in a state where the output voltage of the battery is reduced due to the rotation of the starter, and a communication error is highly likely to occur.
【0005】従って、コード照合装置とキーとの間の通
信を正確に実行させるには、IGスイッチがオン操作さ
れる前にコード照合装置に電源供給を行い、スタータの
動作時には、上記通信を完了しておくことが望ましい。
そして、このためには、キーシリンダにキーが挿入され
ることにより接点が閉じられるキー挿入スイッチを設
け、このスイッチが開(オフ)状態から閉(オン)状態
に変化したときにキーシリンダへのキー挿入を検出し
て、コード照合装置への電源供給を開始し、コード照合
装置を起動するようにすればよい。Therefore, in order to accurately execute communication between the code collation device and the key, power is supplied to the code collation device before the IG switch is turned on, and the communication is completed when the starter operates. It is desirable to keep.
For this purpose, there is provided a key insertion switch for closing a contact by inserting a key into the key cylinder, and when the switch changes from an open (off) state to a closed (on) state, the key insertion switch is closed. The key insertion may be detected, power supply to the code collation device may be started, and the code collation device may be activated.
【0006】図10は、このようにキー挿入スイッチを
設けて、キーシリンダにキーが挿入された直後からコー
ド照合装置への電源供給を開始するようにした電源供給
回路の一例を表す。図10に示すように、この回路に
は、キーシリンダへのキー挿入時にオン状態となるキー
挿入スイッチ72と、バッテリ78からキー挿入スイッ
チ72に電源供給を行う給電経路を形成する抵抗Ra及
びダイオードDaと、この抵抗RaとダイオードDaと
の接続点に抵抗Rbを介して反転入力端子(−)が接続
され、非反転入力端子(+)には、バッテリ78からの
電源電圧を抵抗Rc,Rdにて分圧した基準電圧が印加
されたコンパレータ80と、が備えられる。FIG. 10 shows an example of a power supply circuit in which a key insertion switch is provided as described above, and power supply to the code collating apparatus is started immediately after a key is inserted into a key cylinder. As shown in FIG. 10, the circuit includes a key insertion switch 72 which is turned on when a key is inserted into a key cylinder, a resistor Ra and a diode which form a power supply path for supplying power from the battery 78 to the key insertion switch 72. An inverting input terminal (-) is connected to the connection point between the resistor Da and the resistor Ra and the diode Da via a resistor Rb, and the power supply voltage from the battery 78 is connected to the non-inverting input terminal (+) with the resistors Rc and Rd. And a comparator 80 to which the reference voltage divided by is applied.
【0007】このため、キー挿入スイッチ72がオフ状
態である場合には、バッテリ78からの電源電圧が、抵
抗Ra及びRbを介して、コンパレータ80の反転入力
端子(−)に印加されて、コンパレータ80からの出力
はローレベルとなり、キー挿入スイッチ72がオン状態
になると、バッテリ78から抵抗Ra,ダイオードD
a,キー挿入スイッチ72を通って接地ラインに至る経
路で電流isが流れて、コンパレータ80の反転入力端
子(−)は、接地電位付近の低レベルとなり、コンパレ
ータ80からの出力はハイレベルとなる。For this reason, when the key insertion switch 72 is off, the power supply voltage from the battery 78 is applied to the inverting input terminal (-) of the comparator 80 via the resistors Ra and Rb. The output from the battery 80 becomes low level, and when the key insertion switch 72 is turned on, the resistor Ra and the diode D
a, The current is flows through the path through the key insertion switch 72 to the ground line, the inverting input terminal (-) of the comparator 80 becomes low near the ground potential, and the output from the comparator 80 becomes high. .
【0008】つまり、キーシリンダにキーが挿入されて
おらず、キー挿入スイッチ72がオフ状態になっている
ときには、コンパレータ80の出力はローレベルとな
り、キーシリンダにキーが挿入されて、キー挿入スイッ
チ72がオン状態になると、コンパレータ80の出力が
ハイレベルとなる。That is, when the key is not inserted into the key cylinder and the key insertion switch 72 is in the off state, the output of the comparator 80 becomes low level, and the key is inserted into the key cylinder, and the key insertion switch is turned off. When 72 is turned on, the output of the comparator 80 goes high.
【0009】そして、このコンパレータ80の出力に
は、エミッタが接地されたNPNトランジスタ82のベ
ースが接続され、NPNトランジスタ82のコレクタに
は、抵抗Reを介して、エミッタがバッテリ78(正極
側)に接続されたPNPトランジスタ84のベースが接
続され、更に、PNPトランジスタ84のコレクタは、
コード照合装置76に電源供給を行うメインリレー74
のコイルに接続されている。尚、このコイルの他端は、
バッテリ78の負極側と同電位のグランドに接地されて
いる。The output of the comparator 80 is connected to the base of an NPN transistor 82 whose emitter is grounded. The collector of the NPN transistor 82 has its emitter connected to the battery 78 (positive electrode side) via a resistor Re. The base of the connected PNP transistor 84 is connected, and the collector of the PNP transistor 84 is
Main relay 74 for supplying power to code collation device 76
Connected to the coil. The other end of this coil is
It is grounded to the ground of the same potential as the negative side of the battery 78.
【0010】このため、キーシリンダにキーが挿入され
てコンパレータ80の出力がハイレベルになると、NP
Nトランジスタ82,PNPトランジスタ84がオンし
て、メインリレー74のコイルに電流が流れ、メインリ
レー74の接点が閉じられ、コード照合装置76への給
電が開始される。Therefore, when a key is inserted into the key cylinder and the output of the comparator 80 becomes high level, NP
The N transistor 82 and the PNP transistor 84 are turned on, a current flows through the coil of the main relay 74, the contacts of the main relay 74 are closed, and power supply to the code collating device 76 is started.
【0011】従って、図10に示す電源供給回路では、
キー挿入スイッチ72にキーが挿入されたときに、コー
ド照合装置76を起動して、キーシリンダに挿入された
キーが本物であるか否かを照合させることができる。
尚、コード照合装置76は、イグニッションキー側に設
けられた通信回路との間で通信を行うことにより、イグ
ニッションキー側の記憶装置に予め登録された暗証コー
ドを読み出し、この暗証コードとコード照合装置76側
に登録された暗証コードとを照合して、これら両コード
が一致している場合に、図示しないエンジン制御装置に
対してエンジンの始動を許可するものである。Therefore, in the power supply circuit shown in FIG.
When a key is inserted into the key insertion switch 72, the code collation device 76 can be activated to collate whether the key inserted into the key cylinder is genuine.
The code collating device 76 communicates with a communication circuit provided on the ignition key side to read out a personal identification code registered in advance in a storage device on the ignition key side, and reads the personal identification code and the code collating device. The password is collated with the personal identification code registered on the 76 side, and when these codes match, the engine control device (not shown) is permitted to start the engine.
【0012】[0012]
【発明が解決しようとする課題】ところで、一般に、キ
ー挿入スイッチ72の接点の表面には、絶縁効果のある
酸化皮膜が時間の経過と共に形成される。よって、この
スイッチに流す電流が小さい場合には、キー挿入スイッ
チ72が機械的に閉じられていても、酸化皮膜によって
電気的な接続を確保することができない。従って、上記
回路において、キー挿入スイッチ72がオンした際に、
キー挿入スイッチ72に確実に電流isが流れるように
するには、酸化皮膜を突き破るのに充分な大電流を流す
必要があり、この電流isを確保するには、その電流経
路を形成する抵抗Raの抵抗値をできるだけ小さい値
(例えば1KΩ以下)に設定する必要がある。Generally, an oxide film having an insulating effect is formed on the surface of the contact of the key insertion switch 72 with the passage of time. Therefore, when the current flowing through this switch is small, even if the key insertion switch 72 is mechanically closed, electrical connection cannot be secured by the oxide film. Therefore, in the above circuit, when the key insertion switch 72 is turned on,
In order to ensure that the current is flows through the key insertion switch 72, it is necessary to supply a large current sufficient to break through the oxide film. To secure this current is, the resistance Ra forming the current path is required. Must be set to a value as small as possible (for example, 1 KΩ or less).
【0013】しかしながら、上記回路において、電流i
sは、キーシリンダにキーが挿入しただけで流れること
から、抵抗Raの抵抗値を小さくして電流isを大きく
(例えば12mA程度に)すると、例えば、車両駐車の
ために、IGスイッチをオフしてエンジンを停止させ、
その後、キーシリンダにキーを挿入したまま車両を放置
したような場合には、バッテリ78が電流is(たとえ
ば12mA程度)にて放電され続け、比較的短時間(例
えば2〜3日)でバッテリ78が完全放電されてしまう
といった問題がある。However, in the above circuit, the current i
Since s flows only when the key is inserted into the key cylinder, if the resistance value of the resistor Ra is reduced and the current is increased (for example, to about 12 mA), for example, the IG switch is turned off to park the vehicle. To stop the engine,
Thereafter, when the vehicle is left with the key inserted in the key cylinder, the battery 78 is continuously discharged at the current is (eg, about 12 mA), and the battery 78 is discharged in a relatively short time (eg, two to three days). Is completely discharged.
【0014】つまり、エンジン搭載車両では、エンジン
の運転中には、エンジンの回転によりオルタネータを動
作させて、バッテリを充電するようにされているので、
キー挿入スイッチ72に電流isが流れても問題はな
い。しかし、エンジンの停止中には、バッテリへの充電
はないことから、電流isが流れると、この電流isに
よってバッテリが放電されてしまう。このため、例え
ば、車両を自宅の車庫に長期間しまっておく場合に、キ
ーシリンダにキーを挿入したままにすると、上記電流i
sによりバッテリ78が放電されて、車両駐車後、何日
も経たない内に、エンジンを始動できないようになって
しまう、といった問題が生じるのである。That is, in an engine-equipped vehicle, during operation of the engine, the alternator is operated by the rotation of the engine to charge the battery.
There is no problem even if the current is flows through the key insertion switch 72. However, since the battery is not charged while the engine is stopped, when the current is flows, the battery is discharged by the current is. For this reason, for example, when the vehicle is kept in the garage at home for a long time, if the key is kept inserted into the key cylinder, the current i
As a result, the battery 78 is discharged by s, and the engine cannot be started within a few days after parking the vehicle.
【0015】また、こうした問題は、キー挿入スイッチ
72のオン・オフ状態を検出する装置に限らず、例え
ば、車両のドアの開閉状態を検出するドアスイッチや、
運転者が運転席に座ったことを検出する着座スイッチ
等、IGスイッチが閉じられる前(換言すればエンジン
停止中)に開閉状態が切り替えられる車載スイッチの開
閉状態を検出する装置であれば、上記と同様に発生す
る。Further, such a problem is not limited to the device for detecting the ON / OFF state of the key insertion switch 72. For example, a door switch for detecting the open / closed state of a vehicle door,
A device that detects the open / closed state of an in-vehicle switch, such as a seat switch that detects that the driver is sitting in the driver's seat, that is opened / closed before the IG switch is closed (in other words, when the engine is stopped), Occurs in the same way as
【0016】本発明は、こうした問題に鑑みなされたも
のであり、IGスイッチが閉じられる前に開閉状態が切
り替えられる車載スイッチの開閉状態を検出する装置に
おいて、エンジン停止時に車載スイッチが閉じられた際
のバッテリの消費電力量を充分抑制でき、しかも車載ス
イッチの接点に形成される酸化皮膜の影響を受けること
なく開閉状態を検出できるようにすることを目的とす
る。SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and is directed to a device for detecting the open / closed state of an on-vehicle switch which is switched between open and closed states before an IG switch is closed. It is an object of the present invention to sufficiently suppress the power consumption of the battery and detect the open / closed state without being affected by the oxide film formed on the contact point of the on-vehicle switch.
【0017】[0017]
【課題を解決するための手段】かかる目的を達成するた
めになされた請求項1に記載の車両用スイッチ状態検出
装置においては、イグニッションスイッチの開時には、
車載スイッチに第2経路から電源供給がなされ、イグニ
ッションスイッチの閉時には、車載スイッチに第1経路
及び第2経路から電源供給がなされる。According to a first aspect of the present invention, there is provided a vehicle switch state detecting device, comprising:
Power is supplied to the in-vehicle switch from the second path, and when the ignition switch is closed, power is supplied to the in-vehicle switch from the first path and the second path.
【0018】従って、イグニッションスイッチが開状態
である時に車載スイッチが閉状態であれば、車載スイッ
チには、第2制限手段により制限される第2電流が流
れ、イグニッションスイッチが閉状態である時に車載ス
イッチが閉状態であれば、車載スイッチには、第2電流
制限手段により制限される第2電流と、第1電流制限手
段により制限される第1電流とを合成した大電流が流れ
る。Therefore, if the on-vehicle switch is closed when the ignition switch is open, the second current limited by the second limiting means flows through the on-vehicle switch, and the on-vehicle switch is closed when the ignition switch is closed. When the switch is in the closed state, a large current obtained by combining the second current limited by the second current limiting means and the first current limited by the first current limiting means flows through the on-vehicle switch.
【0019】そして、このようにイグニッションスイッ
チの閉時に流れる電流は、車載スイッチの接点に形成さ
れる酸化皮膜を突き破るのに充分な第1電流以上となる
ため、イグニッションスイッチの閉時に車載スイッチが
閉状態になれば、車載スイッチに酸化皮膜が形成されて
いたとしても、車載スイッチに電流が流れ、検出手段に
て車載スイッチの閉状態を検出できる。またこのように
車載スイッチに一旦電流が流れると、接点に形成された
酸化皮膜は破壊されて、車載スイッチが閉状態であれば
低抵抗の電流経路が形成されることになるので、車載ス
イッチには、酸化皮膜を突き破ることのできない微小電
流を流すことができるようになる。Since the current flowing when the ignition switch is closed is equal to or more than the first current sufficient to break through the oxide film formed on the contact point of the on-vehicle switch, the on-vehicle switch is closed when the ignition switch is closed. In this state, even if an oxide film is formed on the on-vehicle switch, a current flows through the on-vehicle switch, and the closed state of the on-vehicle switch can be detected by the detection unit. Also, once the current flows through the on-vehicle switch, the oxide film formed on the contact is destroyed, and if the on-vehicle switch is closed, a low-resistance current path is formed. Allows a very small current that cannot penetrate the oxide film to flow.
【0020】一方、イグニッションスイッチの開時に
は、車載スイッチに流れる電流が第2電流に制限される
ことから、イグニッションスイッチの開時に車載スイッ
チが閉状態になった場合に、車載スイッチに酸化皮膜が
形成されていれば、車載スイッチに電流が流れず、検出
手段により車載スイッチの閉状態を検出できなくなる。On the other hand, when the ignition switch is opened, the current flowing through the on-vehicle switch is limited to the second current. Therefore, when the on-vehicle switch is closed when the ignition switch is opened, an oxide film is formed on the on-vehicle switch. If this is done, no current flows in the on-vehicle switch, and the detection means cannot detect the closed state of the on-vehicle switch.
【0021】しかし、車両が頻繁に運転される場合に
は、その運転の度に車載スイッチが閉状態になった時点
で第1電流以上の大電流が流れることになるので、車載
スイッチの接点に、第2電流を流すことのできない高抵
抗の酸化皮膜が形成されるようなことはなく、イグニッ
ションスイッチの開時に車載スイッチが閉状態になれ
ば、検出手段にて、車載スイッチの閉状態を速やかに検
出できる。However, when the vehicle is frequently driven, a large current equal to or greater than the first current flows when the vehicle-mounted switch is closed each time the vehicle is driven. When the ignition switch is closed and the on-vehicle switch is closed without the formation of a high-resistance oxide film through which the second current can flow, the detection means quickly switches the on-vehicle switch to the closed state. Can be detected.
【0022】また、車両が長期間放置されて、車載スイ
ッチの接点に第2電流では突き破ることのできない酸化
皮膜が形成されたとしても、イグニッションスイッチの
閉時に車載スイッチが閉状態になれば、第1電流以上の
大電流で酸化皮膜が破壊されて車載スイッチに電流が流
れるので、検出手段にて車載スイッチの閉状態を検出で
き、その後は、イグニッションスイッチの開時に車載ス
イッチが閉状態になった時点で車載スイッチに第2電流
を流すことができるようになるので、検出手段にて車載
スイッチの閉状態を問題なく検出できるようになる。Even if the vehicle is left undisturbed for a long period of time and an oxide film that cannot be broken through by the second current is formed on the contact of the vehicle-mounted switch, if the vehicle-mounted switch becomes closed when the ignition switch is closed, Since the oxide film was destroyed by a large current of 1 current or more and current flowed to the on-vehicle switch, the closed state of the on-vehicle switch could be detected by the detection means. Since the second current can be passed to the on-vehicle switch at the time, the closed state of the on-vehicle switch can be detected by the detecting means without any problem.
【0023】そして、このように本発明では、イグニッ
ションスイッチの開時に車載スイッチに流す第2電流
を、車載スイッチに形成される酸化皮膜を突き破ること
ができない電流に設定しても、車載スイッチの開閉状態
を問題なく検出できるので、第2電流を充分小さい電流
値に設定しておくことになり、イグニッションスイッチ
の開時(換言すればエンジン停止時)に車載スイッチに
流れる電流(所謂暗電流)を小さくして、バッテリから
の放電を抑制できる。As described above, according to the present invention, even when the second current flowing through the on-vehicle switch when the ignition switch is opened is set to a current that cannot break through the oxide film formed on the on-vehicle switch, the on-off switch of the on-vehicle switch is opened and closed. Since the state can be detected without any problem, the second current is set to a sufficiently small current value, and the current (so-called dark current) flowing through the on-vehicle switch when the ignition switch is opened (in other words, when the engine is stopped) is set. By reducing the size, discharge from the battery can be suppressed.
【0024】よって、本発明によれば、車載スイッチが
閉(オン)状態に切り替えられたまま車両が駐車された
場合に、バッテリがエンジンを始動できない程度に放電
されるまでの期間を、充分長くすることができ、バッテ
リを放電から保護することが可能になる。Therefore, according to the present invention, when the vehicle is parked while the on-vehicle switch is switched to the closed (on) state, the period until the battery is discharged to such an extent that the engine cannot be started is made sufficiently long. And protect the battery from discharging.
【0025】なお、このようにイグニッションスイッチ
開時のバッテリの放電を抑制するには、第2電流制限手
段を、第2電流から車載スイッチに流れる第2電流を1
mA以下に制限するように構成することが望ましい。こ
こで、第1経路及び第2経路に設けられる電流制限手段
は、各経路を介して車載スイッチに流れる電流を第1電
流或いは第2電流に制限できればよく、例えば、各経路
に、トランジスタを用いた電流制限回路を設けるように
してもよい。しかし、トランジスタを用いた電流制限回
路では、回路構成が複雑になるので、より好ましくは、
請求項2に記載のように、前記各電流制限手段を、各経
路に直列に設けられた抵抗にて構成し、第1経路に設け
られた第1抵抗の抵抗値を、第2経路に設けられた第2
抵抗の抵抗値に比べて小さくするようにすればよい。つ
まり、各電流制限手段をこのように構成すれば、第2電
流を第1電流よりも小さい電流値に制限でき、しかも、
2つの抵抗だけで実現できることから、装置構成を極め
て簡単にすることができる。In order to suppress the discharge of the battery when the ignition switch is opened, the second current limiting means is used to reduce the second current flowing from the second current to the on-vehicle switch by one.
It is desirable to configure so as to limit it to mA or less. Here, the current limiting means provided on the first path and the second path only needs to be able to limit the current flowing to the on-vehicle switch via each path to the first current or the second current. For example, a transistor is used for each path. Current limiting circuit may be provided. However, in a current limiting circuit using a transistor, the circuit configuration becomes complicated.
As described in claim 2, each of the current limiting means is constituted by a resistor provided in series in each path, and a resistance value of the first resistor provided in the first path is provided in a second path. The second
What is necessary is just to make it small compared with the resistance value of a resistor. That is, if each current limiting means is configured in this manner, the second current can be limited to a current value smaller than the first current, and
Since it can be realized with only two resistors, the configuration of the device can be extremely simplified.
【0026】また、車載スイッチとしては、例えば、イ
グニッションキーを車両ドアに設けられたキーシリンダ
に挿入することによりオン・オフするドアスイッチや、
運転者がシートに座ったことを検出する着座スイッチ
等、イグニッションスイッチが閉じられる前に開閉状態
が切り替えられるスイッチであれば、本発明を適用する
ことにより、上記効果を得ることができる。As the on-vehicle switch, for example, a door switch which is turned on / off by inserting an ignition key into a key cylinder provided on a vehicle door,
The above-described effects can be obtained by applying the present invention to any switch that switches between open and closed states before the ignition switch is closed, such as a seat switch that detects that the driver is sitting on the seat.
【0027】そして、例えば、請求項3に記載のよう
に、本発明を、イグニッションキーがキーシリンダに挿
入された際に閉状態となるキー挿入スイッチの開閉状態
を検出する装置に適用すれば、イグニッションキーがキ
ーシリンダに挿入されたことをイグニッションスイッチ
が閉じられる前に速やかに検出することが可能になり、
運転者がイグニッションキーをキーシリンダに挿入して
エンジンを始動しようとしていることを検出して所定の
制御を実行する装置を速やかに起動させることができ
る。For example, if the present invention is applied to a device for detecting the open / closed state of a key insertion switch which is closed when an ignition key is inserted into a key cylinder, as described in claim 3, It is possible to quickly detect that the ignition key has been inserted into the key cylinder before the ignition switch is closed,
By detecting that the driver is trying to start the engine by inserting the ignition key into the key cylinder, it is possible to quickly start the device that executes the predetermined control.
【0028】そして、この請求項3に記載の装置を、請
求項4に記載のように、イグニッションキーに内蔵され
た記憶手段からキー認証用の識別コードを読み出し、識
別コードからイグニッションキーが当該車両用のキーか
否かを判定して、イグニッションキーが当該車両用のキ
ーである場合にエンジンの始動を許可する盗難防止用の
照合手段を搭載した車両に適用すれば、イグニッション
キーがキーシリンダに挿入された直後に速やかに照合手
段を起動して、イグニッションキーが閉じられる前にキ
ーシリンダに挿入されたイグニッションキーの照合を実
行させることが可能になる。The device according to claim 3 reads the identification code for key authentication from the storage means incorporated in the ignition key as described in claim 4, and the ignition key is read from the identification code by the ignition key. If the ignition key is applied to a vehicle equipped with anti-theft collation means that allows the engine to start when the ignition key is a key for the vehicle, the ignition key is used as a key cylinder. Immediately after the insertion, the collating means can be activated immediately, and the collation of the ignition key inserted into the key cylinder can be executed before the ignition key is closed.
【0029】[0029]
【発明の実施の形態】以下に、本発明を適用した実施例
の車両用盗難防止装置について説明する。尚、本実施例
の盗難防止装置は、イグニッションキーがキーシリンダ
に挿入されたことを検出する車両用スイッチ状態検出装
置としての機能と、イグニッションキーが当該車両用の
キーであるかどうかを判定する照合手段としての機能
と、エンジン制御を行うエンジン制御手段としての機能
とを、一つの電子制御ユニット7内に組み込み、盗難防
止装置としての機能を実現できるようにしたものであ
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A vehicle antitheft device according to an embodiment of the present invention will be described below. The anti-theft device according to the present embodiment has a function as a vehicle switch state detecting device that detects that an ignition key has been inserted into a key cylinder, and determines whether the ignition key is a key for the vehicle. The function as the collation means and the function as the engine control means for controlling the engine are incorporated in one electronic control unit 7 so that the function as the antitheft device can be realized.
【0030】図1は、その電子制御ユニット7とこれに
接続された周辺装置の全体構成を表す構成図であり、図
2は、車両のステアリングコラム部分に設けられたキー
シリンダ31の外観を表す説明図である。図1に示すキ
ー(イグニッションキー)1内には、予め識別用の暗証
コードが格納されたROM等の記憶装置(記憶手段)
と、増幅器16からアンテナ17を介して送信されてく
る電力(電波)に応じて電荷が蓄えられるコンデンサ
と、このコンデンサに蓄えられた電荷を電源として記憶
装置から暗証コードを読み出し、アンテナ17に送信す
る送信器とが内蔵されている。そして、このキー1が図
2に示すキーシリンダ31に差し込まれると、図1に示
すキー挿入スイッチ2が機械的に閉じる。FIG. 1 is a block diagram showing the overall configuration of the electronic control unit 7 and peripheral devices connected thereto. FIG. 2 shows the appearance of a key cylinder 31 provided on a steering column portion of the vehicle. FIG. In a key (ignition key) 1 shown in FIG. 1, a storage device (storage means) such as a ROM in which a personal identification code is stored in advance.
And a capacitor in which electric charges are stored in accordance with electric power (radio waves) transmitted from the amplifier 16 via the antenna 17, and read out a personal identification code from a storage device using the electric charges stored in the capacitor as a power supply and transmit the code to the antenna 17. And a built-in transmitter. When the key 1 is inserted into the key cylinder 31 shown in FIG. 2, the key insertion switch 2 shown in FIG. 1 is mechanically closed.
【0031】なお、このキー挿入スイッチ2の一方の接
点には、メインリレー制御部15から給電経路22を介
して正電圧が印加されており、他方の接点は、バッテリ
5の負極側と同電位のグランドに接地されている。この
ため、キー挿入スイッチ2の給電経路22は、キー挿入
スイッチ2が閉じるとローレベル(0V)となり、キー
挿入スイッチ2が開くとハイレベルとなる。A positive voltage is applied to one contact of the key insertion switch 2 from the main relay control unit 15 via a power supply path 22, and the other contact has the same potential as the negative electrode of the battery 5. Grounded. Therefore, the power supply path 22 of the key insertion switch 2 becomes low level (0 V) when the key insertion switch 2 is closed, and becomes high level when the key insertion switch 2 is opened.
【0032】また、図2に示すキーシリンダ31におい
て、キー1が挿入・回動されることにより、キーロータ
32が「ON」位置になると、図1に示すIGスイッチ
(イグニッションスイッチ)3が機械的に閉じる。IG
スイッチ3は、一方の接点がバッテリ5の正極側に接続
され、他方の接点は車両各部に電源供給を行う電源ライ
ン23に接続されている。このため、電源ライン23
は、IGスイッチ3が閉じるとハイレベル(バッテリ電
圧)となり、IGスイッチ3が開くとローレベルとな
る。In the key cylinder 31 shown in FIG. 2, when the key 1 is inserted and rotated, and the key rotor 32 is turned to the "ON" position, the IG switch (ignition switch) 3 shown in FIG. Close to. IG
The switch 3 has one contact connected to the positive electrode side of the battery 5 and the other contact connected to a power supply line 23 that supplies power to various parts of the vehicle. Therefore, the power supply line 23
Goes to a high level (battery voltage) when the IG switch 3 is closed, and goes to a low level when the IG switch 3 is opened.
【0033】また、キーシリンダ31において、キー1
をさらに回動し、キーロータ32が図2に示す「STA
RT」位置になると、図1に示すスタータスイッチ4が
機械的に閉じる。すると、バッテリ5からスタータ6に
電源が供給されて、スタータ6が始動する。In the key cylinder 31, the key 1
Is further rotated, and the key rotor 32 is moved to the “STA” shown in FIG.
In the "RT" position, the starter switch 4 shown in FIG. 1 is mechanically closed. Then, power is supplied from the battery 5 to the starter 6, and the starter 6 starts.
【0034】一方、図1に示すように、電子制御ユニッ
ト7は、エンジン制御部8,EEPR0M10,第1〜
第3トランジスタ(PNPトランジスタ)11〜13,
電源制御部14,及びメインリレー制御部15を備えて
いる。第1トランジスタ11は、エミッタがバッテリ5
の正極側に直接接続され、ベースがメインリレー制御部
15に接続され、コレクタがメインリレー21のコイル
21aに接続されている。そして、このコイル21aの
他端は接地されていることから、第1トランジスタ11
がオンすると、コイル21aが通電されて、メインリレ
ー21の接点21bが閉じる。On the other hand, as shown in FIG. 1, the electronic control unit 7 includes an engine control unit 8, an EEPR0M10,
Third transistors (PNP transistors) 11 to 13,
A power supply control unit 14 and a main relay control unit 15 are provided. The first transistor 11 has an emitter connected to the battery 5.
, The base is connected to the main relay control unit 15, and the collector is connected to the coil 21 a of the main relay 21. Since the other end of the coil 21a is grounded, the first transistor 11
Is turned on, the coil 21a is energized, and the contact 21b of the main relay 21 is closed.
【0035】また、第2トランジスタ12は、エミッタ
がバッテリ5の正極側に直接接続され、ベースが電源制
御部14に接続され、コレクタがメインリレー制御部1
5に接続されている。また、第3トランジスタ13は、
エミッタがメインリレー21の接点21bの一方に接続
され、ベースが電源制御部14に接続され、コレクタが
エンジン制御部8,EEPR0M10,メインリレー制
御部15,増幅器16等に接続されている。尚、メイン
リレー21の接点21bの他方は、バッテリ5の正極側
に接続されている。The second transistor 12 has an emitter connected directly to the positive electrode of the battery 5, a base connected to the power supply control unit 14, and a collector connected to the main relay control unit 1.
5 is connected. Also, the third transistor 13
The emitter is connected to one of the contacts 21b of the main relay 21, the base is connected to the power control unit 14, and the collector is connected to the engine control unit 8, the EEPR0M10, the main relay control unit 15, the amplifier 16, and the like. The other of the contacts 21b of the main relay 21 is connected to the positive electrode of the battery 5.
【0036】電源制御部14は、バッテリ5から直接電
源供給を受けて、常時作動状態となっており、第2トラ
ンジスタ12及び第3トランジスタ13の各コレクタ電
圧が所定電圧(本実施例では5V)になるように、各ト
ランジスタ12,13のベース電圧を制御する。従っ
て、第2トランジスタ12からメインリレー制御部15
には、第2トランジスタ12のコレクタに接続された電
源ライン28を介して、常時5Vの電圧が供給され、メ
インリレー制御部15は常時作動状態となる。The power supply control unit 14 receives power directly from the battery 5 and is always in operation, and the collector voltages of the second transistor 12 and the third transistor 13 are set to a predetermined voltage (5 V in this embodiment). The base voltage of each of the transistors 12 and 13 is controlled so that Therefore, the main transistor control unit 15
Is always supplied with a voltage of 5 V via a power supply line 28 connected to the collector of the second transistor 12, and the main relay control unit 15 is always in an operating state.
【0037】メインリレー制御部15は、給電経路22
を介してキー挿入スイッチ2に電流が流れたか否かを判
定することによりキーシリンダ31へのキー挿入を検出
する検出手段としての機能を有し、キー挿入を検出する
と、第1トランジスタ11をオンさせて、メインリレー
21の接点21bを閉成する。そしてこのようにメイン
リレー21がオンすると、第3トランジスタ13のコレ
クタにバッテリ5から電源供給がなされて、第3トラン
ジスタ13のエミッタから、電子制御ユニット7内各部
(エンジン制御部8,EEPROM10,及び増幅器1
6)に対して、5Vの電源電圧が供給されることにな
る。The main relay control unit 15 includes a power supply path 22
Has a function as a detecting means for detecting a key insertion into the key cylinder 31 by determining whether or not a current flows through the key insertion switch 2 via the switch. When the key insertion is detected, the first transistor 11 is turned on. Then, the contact 21b of the main relay 21 is closed. When the main relay 21 is turned on in this manner, power is supplied from the battery 5 to the collector of the third transistor 13, and various parts in the electronic control unit 7 (engine control unit 8, EEPROM 10, and Amplifier 1
For 6), a power supply voltage of 5 V is supplied.
【0038】従って、本実施例では、キーシリンダ31
にキー1が挿入され、キー挿入スイッチ2が閉じられた
直後に、エンジン制御部8が起動することになる。そし
て、エンジン制御部8は、起動されると、キー1から暗
証コードを読み出し、その暗証コードとEEPROM1
0内に記憶された暗証コード(車両側に記憶された暗証
コード)との照合を行うことによって、キーシリンダ3
1に挿入されたキー1が当該車両用のキーであるかどう
かを判定する、照合手段としてのコード照合処理を実行
し、両暗証コードが一致したときに、エアフロメータ1
8,回転角センサ19等からの信号に基づいて、燃料噴
射量及び点火時期等の演算を行い、この演算結果に基づ
いてインジェクタ20a、イグナイタ20b等を駆動す
る、エンジン制御手段としてのエンジン制御処理を開始
する。よって、本実施例においては、IGスイッチ3が
閉じられる前に、エンジン制御部8によるコード照合処
理を実行できることになる。尚、エンジン制御部8は、
エンジン制御実行時に、エンジン20についての学習値
(例えば空燃比の学習値)をEEPROM10に書き込
む。Therefore, in this embodiment, the key cylinder 31
Immediately after the key 1 is inserted and the key insertion switch 2 is closed, the engine control unit 8 is activated. When activated, the engine control unit 8 reads out the password from the key 1 and stores the password and the EEPROM 1
By comparing the key cylinder 3 with the password stored in the key 0 (the password stored in the vehicle), the key cylinder 3
A code collation process is performed as collation means for determining whether or not the key 1 inserted in the key 1 is a key for the vehicle.
8. Engine control processing as engine control means for calculating the fuel injection amount, ignition timing, and the like based on signals from the rotation angle sensor 19 and the like, and driving the injector 20a, the igniter 20b, and the like based on the calculation results. To start. Therefore, in the present embodiment, before the IG switch 3 is closed, the code comparison processing by the engine control unit 8 can be executed. Note that the engine control unit 8
At the time of executing the engine control, a learning value of the engine 20 (for example, a learning value of the air-fuel ratio) is written in the EEPROM 10.
【0039】次に、エンジン制御部8は、入出力ポート
8a,CPU8b,ROM8c,RAM8d等から構成
されている。また、入出力ポート8aには、増幅器16
の動作モードを、アンテナ17から電波を送信する送信
モードと、キー1から暗証コードを受信する受信モード
とのいずれかに切り換えるための送受信切換ポート8a1
が備えられている。そして、この送受信切替ポート8a1
からハイレベルの信号が出力されると、増幅器16は、
送信モードとなって、アンテナ17を介してキー1に送
信する電波を変調・増幅し、送受信切替ポート8a1から
ローレベルの信号が出力されると、増幅器16は、受信
モードとなって、キー1から送信されてくる暗証コード
を復調する。Next, the engine control unit 8 comprises an input / output port 8a, a CPU 8b, a ROM 8c, a RAM 8d and the like. The input / output port 8a has an amplifier 16
The transmission / reception switching port 8a1 for switching the operation mode between a transmission mode for transmitting radio waves from the antenna 17 and a reception mode for receiving a password from the key 1.
Is provided. The transmission / reception switching port 8a1
When a high-level signal is output from the
When the transmission mode is set and the radio wave transmitted to the key 1 via the antenna 17 is modulated and amplified, and a low-level signal is output from the transmission / reception switching port 8a1, the amplifier 16 is set in the reception mode and the key 1 is switched to the reception mode. Demodulates the personal identification code transmitted from.
【0040】一方、CPU8bには、バッテリ5からの
電源供給が遮断されても記憶内容を保持する上述のEE
PROM10が接続されている。このEEPR0M10
には、上記両暗証コードの照合結果を示す盗難判定フラ
グをストアする領域10aと、エンジン20についての
上記学習値をストアする領域10bと、車両側の暗証コ
ードをストアしている領域10cとが形成されている。On the other hand, the CPU 8b retains the above-mentioned EE that retains the stored contents even when the power supply from the battery 5 is cut off.
The PROM 10 is connected. This EEPR0M10
An area 10a for storing a theft determination flag indicating the result of collation of the two security codes, an area 10b for storing the learning value for the engine 20, and an area 10c for storing the vehicle-side security code. Is formed.
【0041】次に、エンジン制御部8(詳しくはCPU
8b)において、盗難防止のために起動直後に実行され
るコード照合処理、及びコード照合処理の結果に従いエ
ンジン制御処理の実行を許可又は禁止するための割込処
理を、図3及び図4に示すフローチャートに沿って説明
する。Next, the engine control unit 8 (specifically, the CPU
8b) shows a code collation process executed immediately after startup to prevent theft and an interrupt process for permitting or prohibiting the execution of the engine control process according to the result of the code collation process. Description will be given along a flowchart.
【0042】まず、図3は、CPU8bが、電源投入直
後に各種初期設定を行った後で、イニシャルルーチンと
して1回だけ行うコード照合処理を表す。図3に示す如
く、この処理が開始されると、S100(Sはステップ
を表す)にて、キー挿入スイッチ2が閉じているか否か
を判定する。キー挿入スイッチ2がキーシリンダ31に
挿入されて、エンジン制御部8が起動された正常動作の
場合には、その判定がYESとなり、続くS110に移
行する。First, FIG. 3 shows a code collation process performed only once as an initial routine by the CPU 8b after performing various initial settings immediately after turning on the power. As shown in FIG. 3, when this process is started, it is determined in S100 (S represents a step) whether or not the key insertion switch 2 is closed. When the key insertion switch 2 is inserted into the key cylinder 31 and the engine control unit 8 is started up in a normal operation, the determination is YES, and the process proceeds to S110.
【0043】S110では、RAM8d内のエラーカウ
ンタをクリア(0にセット)し、続くS115にて、送
受信切換ポート80a1からの出力を所定時間(例えば5
0ms)ハイレベルにする。この結果、増幅器16が送
信モードとなって、増幅器16にて増幅された電力(電
波)が、アンテナ17を介してキー1に所定時間送信さ
れ続け、キー1内のコンデンサに電荷が蓄えられる。な
お、ここでいう所定時間とは、キー1のコンデンサに蓄
えられる電荷量がキー1内の送信器の電源となり得るの
に十分な時間である。In S110, the error counter in the RAM 8d is cleared (set to 0), and in S115, the output from the transmission / reception switching port 80a1 is output for a predetermined time (for example, 5 seconds).
0 ms) High level. As a result, the amplifier 16 enters the transmission mode, and the electric power (radio wave) amplified by the amplifier 16 continues to be transmitted to the key 1 via the antenna 17 for a predetermined time, and the electric charge is stored in the capacitor in the key 1. Here, the predetermined time is a time sufficient for the amount of electric charge stored in the capacitor of the key 1 to be able to serve as a power source of a transmitter in the key 1.
【0044】次にS120では、送受信切換ポート80
a1からの出力をローレベルに切り替えて、増幅器16を
受信モードに設定し、増幅器16から送信されてくるキ
ー1側の暗証コードを受信したか否かを判定する。つま
り、増幅器16を受信モードにすれば、キー1への電力
供給が遮断されて、キー1内の送信器が暗証コードを送
信し、増幅器16が、この暗証コードを復調して、送受
信切替ポート80a1に復調した暗証コードを転送してく
ることから、S120では、そのキー1側の暗証コード
を受信したか否かを判定するのである。そして、キー1
側の暗証コードを受信するまで、S115とS120の
処理を繰り返し実行し、暗証コードを受信すると、S1
25に移行する。Next, in S120, the transmission / reception switching port 80
The output from a1 is switched to low level, the amplifier 16 is set to the reception mode, and it is determined whether or not the key 1-side password transmitted from the amplifier 16 has been received. That is, when the amplifier 16 is set to the reception mode, the power supply to the key 1 is cut off, the transmitter in the key 1 transmits the security code, and the amplifier 16 demodulates the security code, and the transmission / reception switching port Since the demodulated personal identification code is transferred to 80a1, it is determined in S120 whether the personal identification code of the key 1 has been received. And key 1
Until the personal identification code is received, the processes of S115 and S120 are repeatedly executed.
It moves to 25.
【0045】S125では、EEPR0M10の領域1
0c内に記憶された暗証コードをロードする。そして、
次のS130にて、キー1からの暗証コードとEEPR
OM10からの暗証コードとの照合を行い、両暗証コー
ドが一致した時には、キーシリンダ31に挿入されたキ
ー1は当該車両用のものであり、車両の盗難はなかった
と判断して、S145で、EEPR0M10内の盗難判
定フラグを0にセットし、当該処理を終了する。つま
り、車両の盗難はなかったことをEEPR0M10に記
憶する。In S125, area 1 of EEPR0M10
The personal identification code stored in 0c is loaded. And
In the next S130, the password from the key 1 and the EEPR
The password is collated with the security code from the OM 10, and when both security codes match, it is determined that the key 1 inserted into the key cylinder 31 is for the vehicle and that the vehicle has not been stolen. The theft determination flag in the EEPR0M10 is set to 0, and the process ends. That is, the fact that the vehicle was not stolen is stored in the EEPR0M10.
【0046】一方、両暗証コードが不一致の時には、S
135に進んでエラーカウンタを1つカウントアップ
し、続くS140にて、このエラーカウンタが所定数
(本実施形態では10)を越えたか否かを判定する。そ
して、エラーカウンタが10を超えない時には、スナッ
ブ115に戻り、上述した処理を繰り返し、エラーカウ
ンタが10を越えた時には、正しい暗証コードが受信で
きないとして、次のS150にて、EEPROM10内
の盗難判定フラグを1にセットすると共に、図1に示す
警告ランプ27を点灯し、当該処理を終了する。On the other hand, when the passwords do not match, S
The routine proceeds to 135, where the error counter is incremented by one, and in S140, it is determined whether or not this error counter has exceeded a predetermined number (10 in this embodiment). When the error counter does not exceed 10, the process returns to the snub 115, and the above-described processing is repeated. When the error counter exceeds 10, it is determined that the correct password cannot be received, and in the next S150, the theft determination in the EEPROM 10 is performed. The flag is set to 1, the warning lamp 27 shown in FIG. 1 is turned on, and the process is terminated.
【0047】次に図4は、エンジン制御部8(詳しくは
CPU8b)において、所定周期(例えば4msec.)毎
に実行されるの割込処理(割込ルーチン)を表す。この
割込ルーチンでは、まずS300にて、EEPR0M1
0に書き込まれた盗難判定フラグが0にセットされてい
るか否かを判定する。つまり、車両盗難がなかったか否
かを判定する。そして、盗難判定フラグが0にセットさ
れている時には、S305及びS310にて、燃料噴射
フラグ及び点火フラグを1にセットし、逆に、盗難判定
フラグが1にセットされている時には、S315及びS
320にて、燃料噴射フラグ及び点火フラグを0にセッ
トし、当該処理を終了する。FIG. 4 shows an interruption process (interruption routine) executed at predetermined intervals (for example, 4 msec.) In the engine control unit 8 (specifically, the CPU 8b). In this interrupt routine, first, in S300, the EEPR0M1
It is determined whether or not the theft determination flag written to “0” is set to “0”. That is, it is determined whether or not the vehicle has been stolen. When the theft determination flag is set to 0, the fuel injection flag and the ignition flag are set to 1 in S305 and S310, and conversely, when the theft determination flag is set to 1, in S315 and S310.
At 320, the fuel injection flag and the ignition flag are set to 0, and the process ends.
【0048】エンジン制御部8(詳しくはCPU8b)
は、図示しないエンジン制御処理において、IGスイッ
チ3が閉じている時に、燃料噴射及び点火等のエンジン
制御を行う。そして、このエンジン制御では、燃料噴射
フラグが1にセットされていれば、インジェクタ20a
に燃料噴射パルスを送る制御を実行し、また点火フラグ
が1にセットされていれば、イグナイタ20bに点火パ
ルスを送る制御を実行する。しかし、燃料噴射フラグが
0にセットされていると、インジェクタ20aに燃料噴
射パルスを送出するのを禁止し、また点火フラグが0に
セットされていると、イグナイタ20bに点火パルスを
送出するのを禁止する。つまり、燃料噴射フラグ、点火
フラグが1にセットされている時にはエンジン20の始
動が許可され、燃料噴射フラグ、点火フラグが0にセッ
トされている時にはエンジン20の始動が禁止される。Engine control unit 8 (specifically, CPU 8b)
Performs engine control such as fuel injection and ignition when the IG switch 3 is closed in an engine control process (not shown). In this engine control, if the fuel injection flag is set to 1, the injector 20a
Control to send a fuel injection pulse to the igniter 20b if the ignition flag is set to 1. However, when the fuel injection flag is set to 0, the transmission of the fuel injection pulse to the injector 20a is prohibited, and when the ignition flag is set to 0, the transmission of the ignition pulse to the igniter 20b is prohibited. Ban. That is, when the fuel injection flag and the ignition flag are set to 1, the start of the engine 20 is permitted, and when the fuel injection flag and the ignition flag are set to 0, the start of the engine 20 is prohibited.
【0049】従って、本実施例では、コード照合処理の
結果、キー1側に記憶された暗証コードと車両側に記憶
された暗証コードとが一致し、盗難判定フラグが0にセ
ットされた場合にだけ(つまり、車両盗難が無かったと
判断された場合にだけ)、エンジン20を始動できるこ
とになり、車両の盗難を未然に防止できる。Therefore, in the present embodiment, if the code stored in the key 1 matches the code stored in the vehicle as a result of the code collation processing, and the password determined by the theft determination flag is set to 0, Only (that is, only when it is determined that the vehicle has not been stolen), the engine 20 can be started, and theft of the vehicle can be prevented.
【0050】次に、図5を用いて、本発明にかかわる主
要部であるメインリレー制御部15の構成を説明する。
図5に示す如く、メインリレー制御部15内では、キー
挿入スイッチ2の一方の接点に接続された給電経路22
がダイオードD1のカソードに接続されている。またダ
イオードD1のアノードは、抵抗R1,電源ライン28
を介して、第2トランジスタ12のコレクタに接続され
ると共に、抵抗R2を介して、コンパレータ50の反転
入力端子(−)に接続されている。そして、第2トラン
ジスタ12はコレクタから常時5Vを出力していること
から、キー挿入スイッチ2には、抵抗R1及びダイオー
ドD1を介して常時電源が供給されることになる。従っ
て、キー挿入スイッチ2が開状態である時には、コンパ
レータ50の反転入力端子(−)はハイレベル(5V)
となり、キーシリンダ31にキー1が挿入されてキー挿
入スイッチ2が電気的に閉じると、コンパレータ50の
反転入力端子(−)はローレベル(約0V)となる。Next, the configuration of the main relay control unit 15, which is a main part of the present invention, will be described with reference to FIG.
As shown in FIG. 5, in the main relay control unit 15, a power supply path 22 connected to one contact of the key insertion switch 2.
Is connected to the cathode of the diode D1. The anode of the diode D1 is connected to the resistor R1 and the power supply line 28.
Is connected to the collector of the second transistor 12 via the resistor R2 and to the inverting input terminal (-) of the comparator 50 via the resistor R2. Since the second transistor 12 always outputs 5 V from the collector, the power is always supplied to the key insertion switch 2 via the resistor R1 and the diode D1. Therefore, when the key insertion switch 2 is open, the inverting input terminal (-) of the comparator 50 is at the high level (5 V).
When the key 1 is inserted into the key cylinder 31 and the key insertion switch 2 is electrically closed, the inverting input terminal (-) of the comparator 50 becomes low level (about 0 V).
【0051】尚、本実施例においては、バッテリ5か
ら、第2トランジスタ12,電源ライン28,抵抗R
1,ダイオードD1,及び給電経路22を介して、キー
挿入スイッチ2に常時電源供給がなされることから、こ
れら各部からなる給電経路が本発明の第2経路に相当す
ることになり、この第2経路を介してキー挿入スイッチ
2に流れる電流は、抵抗R1により制限されることか
ら、抵抗R1が第2電流制限手段として機能することに
なる。そして、本実施例では、抵抗R1の抵抗値を大き
い値(例えば51kΩ)に設定することにより、キー挿
入スイッチ2の閉時にこの経路を流れる電流が0.1m
A程度の微小電流(第2電流)となるようにされてい
る。In this embodiment, the second transistor 12, the power supply line 28, the resistor R
Since power is always supplied to the key insertion switch 2 via the diode 1, the diode D1, and the power supply path 22, the power supply path including these components corresponds to the second path of the present invention. Since the current flowing through the key insertion switch 2 via the path is limited by the resistor R1, the resistor R1 functions as a second current limiting unit. In this embodiment, by setting the resistance value of the resistor R1 to a large value (for example, 51 kΩ), the current flowing through this path when the key insertion switch 2 is closed is 0.1 m.
A small current (second current) of about A is set.
【0052】次に、コンパレータ50の非反転入力端子
(+)は、電源ライン28の電圧(5V)を分圧する抵
抗R3,R4の接続点に接続されており、その電位は、
この抵抗R3,R4の抵抗比により決定される基準電位
(例えば2.5V)に保持される。このため、キー挿入
スイッチ2が開状態で、非反転入力端子(ー)の電位が
ハイレベルとなっている場合には、コンパレータ50か
らローレベルの信号が出力され、逆に、キー挿入スイッ
チ2が閉じられ、非反転入力端子(ー)の電位がローレ
ベルとなると、コンパレータ50からハイレベルの信号
が出力されることになる。尚、コンパレータ50は、第
2電源ライン28から電源供給を受けて、常時動作する
ようにされており、本実施例では、このコンパレータ5
0が、キー挿入スイッチ2の開閉状態を検出する検出手
段として機能する。Next, the non-inverting input terminal (+) of the comparator 50 is connected to the connection point of the resistors R3 and R4 for dividing the voltage (5 V) of the power supply line 28, and the potential is
The reference potential (for example, 2.5 V) determined by the resistance ratio of the resistors R3 and R4 is maintained. Therefore, when the key insertion switch 2 is in the open state and the potential of the non-inverting input terminal (-) is at the high level, a low-level signal is output from the comparator 50. Is closed and the potential of the non-inverting input terminal (-) becomes low level, the comparator 50 outputs a high level signal. Note that the comparator 50 is always operated by receiving power supply from the second power supply line 28. In the present embodiment, the comparator 50
0 functions as detecting means for detecting the open / closed state of the key insertion switch 2.
【0053】一方、コンパレータ50の出力端子には、
タイマ回路51が接続されている。タイマ回路51は、
コンパレータ50にてキー挿入スイッチ2の閉状態が検
出され、その出力がハイレベルになってからの経過時間
を計時するためのもので、計時開始後、経過時間が所定
時間(例えば1分間)になるまで、ハイレベルの信号を
出力する。そして、このタイマ回路51からの出力は、
OR回路54に入力される。従って、OR回路54から
は、コンパレータ50にてキー挿入スイッチの閉状態が
検出された後、所定時間(1分)が経過するまでの間
は、必ずハイレベルの信号が出力されることになる。
尚、タイマ回路51は、コンパレータ50と同様、第2
電源ライン28から電源供給を受けて、常時動作できる
ようにされている。On the other hand, the output terminal of the comparator 50
The timer circuit 51 is connected. The timer circuit 51
The comparator 50 detects the closed state of the key insertion switch 2 and measures the elapsed time from when its output goes to a high level. After the start of the time measurement, the elapsed time reaches a predetermined time (for example, one minute). Until it outputs a high level signal. The output from the timer circuit 51 is
The signal is input to the OR circuit 54. Accordingly, a high-level signal is always output from the OR circuit 54 until a predetermined time (1 minute) elapses after the comparator 50 detects the closed state of the key insertion switch. .
Note that the timer circuit 51 has a second
Power is supplied from a power supply line 28 so that the power supply 28 can always operate.
【0054】次に、OR回路54には、上記タイマ回路
51からの出力信号に加えて、コンパレータ52からの
出力信号も入力される。このコンパレータ52は、IG
スイッチ3の開閉状態を検出するためのものであり、反
転入力端子(−)には、上記分圧用抵抗R3,R4にて
分圧された基準電圧が印加されている。また、コンパレ
ータ52の非反転入力端子(+)は、抵抗R6を介し
て、一端が接地された抵抗R5の他端及びIGスイッチ
3からの電源ライン23に接続されている。Next, the output signal from the comparator 52 is input to the OR circuit 54 in addition to the output signal from the timer circuit 51. This comparator 52 has an IG
This is for detecting the open / close state of the switch 3, and a reference voltage divided by the voltage dividing resistors R3 and R4 is applied to the inverting input terminal (-). The non-inverting input terminal (+) of the comparator 52 is connected to the other end of the grounded resistor R5 and the power supply line 23 from the IG switch 3 via the resistor R6.
【0055】このため、IGスイッチ3が開状態である
場合には、コンパレータ52の非反転入力端子(+)は
ローレベル(0V)となって、コンパレータ52からの
出力もローレベルとなり、IGスイッチ3が閉じられる
と、コンパレータ52の非反転入力端子(+)がハイレ
ベル(バッテリ電圧;12〜14V)となって、コンパ
レータ52からハイレベルの信号が出力されることにな
る。尚、コンパレータ52は、コンパレータ50及びタ
イマ回路51と同様、第2電源ライン28から電源供給
を受けて、常時動作できるようにされている。Therefore, when the IG switch 3 is open, the non-inverting input terminal (+) of the comparator 52 goes low (0 V), and the output from the comparator 52 goes low. When 3 is closed, the non-inverting input terminal (+) of the comparator 52 goes high (battery voltage; 12 to 14 V), and a high-level signal is output from the comparator 52. The comparator 52, like the comparator 50 and the timer circuit 51, receives power supply from the second power supply line 28 and can always operate.
【0056】従って、OR回路54からの出力は、コン
パレータ50にてキー挿入スイッチの閉状態が検出され
てから所定時間(1分)が経過するまでの間だけではな
く、運転者のキー操作によってIGスイッチ3が閉じら
れた場合にも、ハイレベルとなる。Therefore, the output from the OR circuit 54 is determined not only by the time the predetermined time (one minute) elapses after the closed state of the key insertion switch is detected by the comparator 50 but also by the key operation of the driver. Also when the IG switch 3 is closed, it is at the high level.
【0057】また次に、OR回路54の出力は、抵抗R
7を介して、エミッタが接地されたNPNトランジスタ
56のベースに接続されている。また、NPNトランジ
スタ56のコレクタは、抵抗R8を介して、第1トラン
ジスタ11のベースに接続されている。このため、NP
Nトランジスタ56及び第1トランジスタ11は、コン
パレータ50にてキー挿入スイッチ2の閉状態が検出さ
れてから所定時間(1分)が経過するまでの間、及び、
IGスイッチ3が閉じられている場合に、オン状態とな
り、その間、メインリレー21の接点が閉じて、エンジ
ン制御部8等に電源供給がなされることになる。Next, the output of the OR circuit 54 is a resistor R
The emitter is connected to the base of a grounded NPN transistor 56 via. The collector of the NPN transistor 56 is connected to the base of the first transistor 11 via the resistor R8. For this reason, NP
The N-transistor 56 and the first transistor 11 operate until a predetermined time (1 minute) elapses after the comparator 50 detects that the key insertion switch 2 is closed, and
When the IG switch 3 is closed, it is turned on. During that time, the contact of the main relay 21 is closed and power is supplied to the engine control unit 8 and the like.
【0058】ところで、本実施例においては、第2トラ
ンジスタ12を介して常時電源供給がなされる電源ライ
ン28からキー挿入スイッチ2への給電経路(第2経
路)に、抵抗R1を設け、この抵抗R1の抵抗値を大き
くすることにより、IGスイッチ3の開時(換言すれ
ば、エンジン20の停止時)にキー挿入スイッチ2にキ
ー1が挿入されることによって流れる電流(暗電流)が
0.1mA程度の微小電流となるようにしている。In this embodiment, a resistor R1 is provided in a power supply path (second path) from the power supply line 28 to which the power is always supplied via the second transistor 12 to the key insertion switch 2, and the resistance R1 is provided. By increasing the resistance value of R1, the current (dark current) flowing when the key 1 is inserted into the key insertion switch 2 when the IG switch 3 is opened (in other words, when the engine 20 is stopped) is reduced to 0. A very small current of about 1 mA is set.
【0059】このため、キーシリンダ31にキー1を挿
入したまま車両を駐車した場合等に生じるバッテリ5の
消費電力量を抑制して、バッテリ5がエンジン20を始
動できない程度に放電されるまでの期間を長くすること
ができるが、キー挿入スイッチ2の接点に酸化皮膜が形
成されると、キー挿入スイッチ2が閉じられた際に酸化
皮膜を突き破ることのできる大電流を流すことができ
ず、コンパレータ50によりキー挿入スイッチ2の閉状
態を検出できなくなってしまう。For this reason, the amount of power consumption of the battery 5 generated when the vehicle is parked with the key 1 inserted in the key cylinder 31 is suppressed, and the battery 5 is discharged until the engine 20 cannot be started. Although the period can be lengthened, if an oxide film is formed on the contact of the key insertion switch 2, a large current that can break through the oxide film when the key insertion switch 2 is closed cannot flow, The closed state of the key insertion switch 2 cannot be detected by the comparator 50.
【0060】そこで、本実施例では、メインリレー21
から第3トランジスタ13に至る電源ラインと、キー挿
入スイッチ2の接点に接続された給電経路22とを接続
する給電経路(第1経路)60を形成し、その給電経路
60上に、抵抗R0及びダイオードD0を直列に設け
て、キー挿入スイッチ2の接点に形成された酸化皮膜に
よって第2経路からキー挿入スイッチ2に電流を流すこ
とができない場合であっても、この給電経路60を介し
て、キー挿入スイッチ2に形成された酸化皮膜を突き破
る大電流を流すことができるようにされている。Therefore, in this embodiment, the main relay 21
A power supply path (first path) 60 for connecting a power supply line from the power supply line to the third transistor 13 and the power supply path 22 connected to the contact point of the key insertion switch 2 is formed. Even if the diode D0 is provided in series and the current cannot flow from the second path to the key insertion switch 2 due to the oxide film formed on the contact of the key insertion switch 2, A large current that penetrates the oxide film formed on the key insertion switch 2 can be passed.
【0061】つまり、本実施例では、給電経路60に設
けられる第1電流制限手段としての抵抗R0の抵抗値を
小さく(例えば、1kΩ)にすることにより、メインリ
レー21が閉状態にある場合にキー挿入スイッチ2に流
れる電流を、抵抗R0の抵抗値とバッテリ電圧(12〜
14V)とによって決定される12〜14mA程度の大
電流(第1電流)に制限し、この大電流によって、キー
挿入スイッチ2に形成された酸化皮膜を破壊できるよう
にしているのである。That is, in this embodiment, the resistance value of the resistor R0 as the first current limiting means provided in the power supply path 60 is reduced (for example, 1 kΩ) so that the main relay 21 is closed. The current flowing through the key insertion switch 2 is determined by the resistance value of the resistor R0 and the battery voltage (12 to
14V), the current is limited to a large current (first current) of about 12 to 14 mA, and an oxide film formed on the key insertion switch 2 can be broken by this large current.
【0062】尚、給電経路60に設けられるダイオード
D0は、アノードが抵抗R0を介して、メインリレー2
1の接点に接続され、カソードが給電経路22を介して
キー挿入スイッチ2の接点に接続されている。そして、
この第1経路側のダイオードD0、及び第2経路側のダ
イオードD1は、それぞれ、他方の経路からの電流の逆
流を防止する逆流防止手段として機能する。The diode D0 provided in the power supply path 60 has an anode connected to the main relay 2 via a resistor R0.
1, and the cathode is connected to the contact of the key insertion switch 2 via the power supply path 22. And
The diode D0 on the first path side and the diode D1 on the second path side each function as backflow prevention means for preventing backflow of current from the other path.
【0063】以上のように構成された本実施例の車両用
盗難防止装置においては、図6に示すように、キー挿入
スイッチ2の接点に酸化皮膜が形成されていない通常時
に、キーシリンダ31にキー1が挿入されて、キー挿入
スイッチ2がオン(閉)状態になると(時点t1)、キ
ー挿入スイッチ2に微小電流(第2電流)が流れ、コン
パレータ50にてキー挿入スイッチ2のオン状態が検出
され、メインリレー21がオン(閉)される。このた
め、キーシリンダ31にキー1が挿入された直後からエ
ンジン制御部8を起動することができ、その後、運転者
のキー操作によって、IGスイッチ3がオン(閉)さ
れ、更に、スタータが駆動されるまでの間に、エンジン
制御部8にてキーシリンダ31に挿入されたイグニッシ
ョンキーが本物であるかを照合することができる。In the vehicular anti-theft device of the present embodiment configured as described above, as shown in FIG. 6, when the oxide film is not formed on the contact of the key insertion switch 2, the key cylinder 31 When the key 1 is inserted and the key insertion switch 2 is turned on (closed) (time t1), a minute current (second current) flows through the key insertion switch 2 and the comparator 50 turns on the key insertion switch 2. Is detected, and the main relay 21 is turned on (closed). For this reason, the engine control unit 8 can be started immediately after the key 1 is inserted into the key cylinder 31, and then the IG switch 3 is turned on (closed) by the key operation of the driver, and the starter is further driven. In the meantime, the engine control unit 8 can check whether the ignition key inserted into the key cylinder 31 is genuine.
【0064】また、IGスイッチ3がオフ(閉)され、
キー挿入スイッチ2がキーシリンダ31から抜かれてか
ら(時点t2)、長期間(例えば1ヶ月程度)放置さ
れ、キー挿入スイッチ2の接点に酸化皮膜が形成される
と、その後、キーシリンダ31にキー1が挿入されて、
キー挿入スイッチ2がオン状態になっても(時点t
3)、キー挿入スイッチ2に微小電流(第2電流)を流
すことができず、コンパレータ50にて、キー挿入スイ
ッチ2のオン状態を検出できなくなる。しかし、その
後、IGスイッチ3がオン状態になれば(時点t4)、
メインリレー21がオンして、エンジン制御部8が起動
するので、スタータが駆動されるまでの間にイグニッシ
ョンキーの照合が完了しない可能性があるが、エンジン
20の始動は問題なく行うことができる。Further, the IG switch 3 is turned off (closed),
After the key insertion switch 2 is pulled out of the key cylinder 31 (time point t2), the key insertion switch 2 is left for a long time (for example, about one month) to form an oxide film on the contact of the key insertion switch 2. 1 is inserted,
Even if the key insertion switch 2 is turned on (time t
3), a small current (second current) cannot flow through the key insertion switch 2, and the comparator 50 cannot detect the ON state of the key insertion switch 2; However, after that, when the IG switch 3 is turned on (time t4),
Since the main relay 21 is turned on and the engine control unit 8 is started, the ignition key verification may not be completed before the starter is driven, but the engine 20 can be started without any problem. .
【0065】そして、メインリレー21が一旦オンすれ
ば、キー挿入スイッチ2には大電流(第1電流)が流れ
て、接点に形成された酸化皮膜が破られることから、そ
の後、IGスイッチ3がオフ(閉)され、キー挿入スイ
ッチ2がキーシリンダ31から抜かれてから(時点t
5)、次にエンジン20が始動されるまでにキー挿入ス
イッチ2に微小電流を流すことのできない酸化皮膜が形
成されなければ、エンジン20を始動するためにキーシ
リンダ31にキー1が挿入された際に(時点t6)、コ
ンパレータ50にて、速やかにキー挿入スイッチ2のオ
ン状態が検出されることになる。また、例えば、IGス
イッチ3が閉じられ(時点t7)、エンジン20が停止
した後、キーシリンダ31からキー1が抜かれず、キー
挿入スイッチ2がオン状態に保持されたとしても、IG
スイッチ3がオフすれば、メインリレー21もオフ状態
となるため、キー挿入スイッチ2に流れる電流は、酸化
皮膜を破壊できる大電流から微小電流(第2電流)に切
り替えられる。このため、車両がキーシリンダ31にキ
ー1を挿入した状態で駐車された際のバッテリ5の消費
電力量を抑制でき、駐車期間中に、バッテリ5がエンジ
ン20を始動できない程度に放電されてしまうまでの期
間を長くすることができる。Once the main relay 21 is turned on, a large current (first current) flows through the key insertion switch 2 and the oxide film formed on the contact is broken. It is turned off (closed) and the key insertion switch 2 is removed from the key cylinder 31 (at time t).
5) Unless an oxide film that cannot allow a small current to flow through the key insertion switch 2 before the engine 20 is started next time, the key 1 is inserted into the key cylinder 31 to start the engine 20. At this time (time t6), the ON state of the key insertion switch 2 is immediately detected by the comparator 50. Further, for example, even if the key 1 is not removed from the key cylinder 31 after the IG switch 3 is closed (time t7) and the engine 20 is stopped, and the key insertion switch 2 is kept on,
When the switch 3 is turned off, the main relay 21 is also turned off, so that the current flowing through the key insertion switch 2 is switched from a large current that can destroy the oxide film to a small current (second current). For this reason, the power consumption of the battery 5 when the vehicle is parked with the key 1 inserted into the key cylinder 31 can be suppressed, and the battery 5 is discharged to such an extent that the engine 20 cannot be started during the parking period. The period up to can be lengthened.
【0066】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく、種
々の態様を採ることができる。例えば、上記実施例で
は、第1経路としての給電経路60を、メインリレー2
1を介してバッテリ5から直接電源供給を受けるように
構成したが、この給電経路60としては、キー挿入スイ
ッチ2に対して、IGスイッチ3のオン時に大電流(第
1電流)を流すことができればよいので、図7に示す如
く、給電経路60を、IGスイッチ3を介して直接バッ
テリ5に接続される電源ライン23に接続し、給電経路
60には、IGスイッチ3のオン時にのみ電源が供給さ
れるように構成してもよい。As described above, one embodiment of the present invention has been described. However, the present invention is not limited to the above-described embodiment, and various embodiments can be adopted. For example, in the above embodiment, the power supply path 60 as the first path is connected to the main relay 2
Although the power supply path is directly received from the battery 5 via the power supply line 1, the power supply path 60 allows a large current (first current) to flow to the key insertion switch 2 when the IG switch 3 is turned on. As shown in FIG. 7, the power supply path 60 is connected to the power supply line 23 directly connected to the battery 5 via the IG switch 3, and power is supplied to the power supply path 60 only when the IG switch 3 is turned on. It may be configured to be supplied.
【0067】そして、このようにすれば、上記実施例の
ように、キー挿入スイッチ2にキー1が挿入されてから
IGスイッチ3がオン状態に切り替えられないときにキ
ー挿入スイッチ2に大電流(第1電流)が流れ続けるの
を防止するためのタイマ回路51を設ける必要がなく、
コンパレータ50からの出力をそのままOR回路54に
入力すればよいので、上記実施例に比べて、メインリレ
ー制御部15の構成を簡単にすることができる。Then, when the IG switch 3 cannot be turned on after the key 1 is inserted into the key insertion switch 2 as in the above embodiment, a large current ( There is no need to provide a timer circuit 51 for preventing the first current) from continuing to flow,
Since the output from the comparator 50 may be directly input to the OR circuit 54, the configuration of the main relay control unit 15 can be simplified as compared with the above embodiment.
【0068】また、第1経路としての給電経路60は、
例えば、図8に示すように、キー挿入スイッチ2に対し
て常時電源供給を行う第2経路を構成する抵抗R1に対
して並列に形成し、その経路60上に、電流制限用の抵
抗R0と、その経路60を導通遮断するスイッチング素
子(PNPトランジスタ)62とを設け、このPNPト
ランジスタ62のベースにコンパレータ52からの出力
をインバータ64を介して入力することにより、コンパ
レータ52でIGスイッチ3のオン状態が検出されたと
きにだけ、PNPトランジスタ62をオンして、給電経
路60を導通させるようにしてもよい。つまり、このよ
うに構成しても、IGスイッチ3のオン時にだけ、キー
挿入スイッチ2に大電流を流すことができるようにな
り、図7に示したものと同様の効果を得ることができ
る。The power supply path 60 as the first path is
For example, as shown in FIG. 8, a resistor R1 forming a second path for always supplying power to the key insertion switch 2 is formed in parallel with the resistor R1. A switching element (PNP transistor) 62 for conducting and blocking the path 60 is provided, and the output of the comparator 52 is input to the base of the PNP transistor 62 via the inverter 64 so that the IG switch 3 is turned on by the comparator 52. Only when a state is detected, the PNP transistor 62 may be turned on to make the power supply path 60 conductive. That is, even with such a configuration, a large current can flow through the key insertion switch 2 only when the IG switch 3 is turned on, and the same effect as that shown in FIG. 7 can be obtained.
【0069】尚、図8において、給電経路60を導通・
遮断するPNPトランジスタ62は、コレクタが抵抗R
0を介してダイオードD1のアノード(延いてはキー挿
入スイッチ2の接点)に接続され、エミッタが第2トラ
ンジスタ12を介して常時電源供給がなされる電源ライ
ン28に接続されており、IGスイッチ3がオン状態と
なって、コンパレータ52からの信号がハイレベルにな
ると、インバータ64の動作によってベース電位がロー
レベルに切り替えられて、オン状態となる。In FIG. 8, the power supply path 60 is
The PNP transistor 62 to be cut off has the collector R
IG switch 3 is connected to the anode of diode D1 (extendedly, the contact of key insertion switch 2) via a line 0, the emitter is connected to power supply line 28 that is always supplied with power via second transistor 12, and Is turned on, and the signal from the comparator 52 goes to a high level, the base potential is switched to a low level by the operation of the inverter 64 to be turned on.
【0070】また、第1経路としての給電経路60は、
例えば、図9に示すように、バッテリの正極側にコレク
タが接続され、エミッタが抵抗R0に接続されたNPN
トランジスタ66により構成し、このNPNトランジス
タ66を、エンジン制御部8の制御動作によって、IG
スイッチ3のオン時にのみ、オン状態にするようにして
もよい。The power supply path 60 as the first path is
For example, as shown in FIG. 9, an NPN having a collector connected to the positive electrode side of the battery and an emitter connected to the resistor R0.
The NPN transistor 66 is controlled by the engine control unit 8 to control the IG
The switch 3 may be turned on only when the switch 3 is turned on.
【0071】つまり、給電経路60を図9のように構成
した場合、NPNトランジスタ66のベースにハイレベ
ルの信号を入力すれば、NPNトランジスタ66がオン
して、バッテリ5から、NPNトランジスタ66,抵抗
R0,ダイオードD0,給電経路22を通って、キー挿
入スイッチ2に電源供給がなされて、キー挿入スイッチ
2に大電流(第1電流)が流れることになるので、エン
ジン制御部8の動作によって、NPNトランジスタ66
をIGスイッチ3のオン時にのみオンさせるようにすれ
ば、図7,図8に示したものと同様の効果を得ることが
できる。That is, when the power supply path 60 is configured as shown in FIG. 9, when a high-level signal is input to the base of the NPN transistor 66, the NPN transistor 66 is turned on, and the NPN transistor 66 and the resistor Power is supplied to the key insertion switch 2 through R 0, the diode D 0, and the power supply path 22, and a large current (first current) flows through the key insertion switch 2. NPN transistor 66
Is turned on only when the IG switch 3 is turned on, the same effect as that shown in FIGS. 7 and 8 can be obtained.
【0072】一方、上記実施例では、本発明を車両用盗
難防止装置におけるキー挿入スイッチ2の開閉状態検出
装置に適用した場合について説明したが、本発明は、I
Gスイッチ3が閉じられる前に開閉状態が切り替えられ
る車載スイッチの開閉状態を検出するものであれば、上
記実施例と同様の効果を得ることができる。つまり、例
えば、キーを車両ドアに設けられたキーシリンダに挿入
することによりオン・オフするドアスイッチや、運転者
がシートに座ったことを検出する着座スイッチ等、IG
スイッチが閉じられる前にスイッチ状態が変化するスイ
ッチのオン・オフ状態(開閉状態)を検出する装置に適
用しても、上記実施例と同様の効果を得ることができ
る。On the other hand, in the above embodiment, the case where the present invention is applied to the open / closed state detecting device of the key insertion switch 2 in the vehicle antitheft device has been described.
The same effect as in the above embodiment can be obtained as long as the switch detects the open / closed state of the on-vehicle switch whose open / close state is switched before the G switch 3 is closed. That is, for example, an IG such as a door switch that is turned on / off by inserting a key into a key cylinder provided on a vehicle door, a seat switch that detects that a driver is sitting on a seat, or the like.
Even when the present invention is applied to a device that detects the on / off state (open / closed state) of a switch in which the switch state changes before the switch is closed, the same effect as in the above embodiment can be obtained.
【図1】 実施例の車両用盗難防止装置の全体構成を表
す構成図である。FIG. 1 is a configuration diagram illustrating an overall configuration of a vehicle antitheft device according to an embodiment.
【図2】 キーシリンダのキー挿入部を表す説明図であ
る。FIG. 2 is an explanatory diagram illustrating a key insertion portion of a key cylinder.
【図3】 エンジン制御部でイニシャルルーチンとして
実行されるコード照合処理を表すフローチャートであ
る。FIG. 3 is a flowchart illustrating a code collation process executed as an initial routine by an engine control unit.
【図4】 エンジン制御部で実行されるの割込処理を表
すフローチャートである。FIG. 4 is a flowchart illustrating an interrupt process executed by an engine control unit.
【図5】 メインリレー制御部の構成を表す電気回路図
である。FIG. 5 is an electric circuit diagram illustrating a configuration of a main relay control unit.
【図6】 メインリレー制御部の動作を説明するタイム
チャートである。FIG. 6 is a time chart illustrating an operation of a main relay control unit.
【図7】 メインリレー制御部の第2の構成例を表す電
気回路図である。FIG. 7 is an electric circuit diagram illustrating a second configuration example of the main relay control section.
【図8】 メインリレー制御部の第3の構成例を表す電
気回路図である。FIG. 8 is an electric circuit diagram illustrating a third configuration example of the main relay control unit.
【図9】 メインリレー制御部の第4の構成例を表す電
気回路図である。FIG. 9 is an electric circuit diagram illustrating a fourth configuration example of the main relay control unit.
【図10】 キー挿入スイッチの開閉状態を検出する従
来の回路構成例を表す電気回路図である。FIG. 10 is an electric circuit diagram showing a conventional circuit configuration example for detecting the open / close state of a key insertion switch.
【符号の説明】 2…キー挿入スイッチ 3…IGスイッチ(イグニッ
ションスイッチ) 7…電子制御ユニット 8…エンジン制御部 15
…メインリレー制御部 20…エンジン 21…メインリレー 31…キー
シリンダ 50…コンパレータ(検出手段) R0…抵抗(第1
電流制御手段) R1…抵抗(第2電流制御手段)[Description of Signs] 2 ... Key insertion switch 3 ... IG switch (ignition switch) 7 ... Electronic control unit 8 ... Engine control unit 15
... Main relay control unit 20 ... Engine 21 ... Main relay 31 ... Key cylinder 50 ... Comparator (detection means) R0 ... Resistor (first
Current control means) R1 ... resistance (second current control means)
Claims (4)
に開閉状態が切り替えられる車載スイッチに対して、該
車載スイッチが閉じられたときに電流が流れるように電
源供給を行う給電経路と、 該給電経路を介して前記車載スイッチに電流が流れたと
きに前記車載スイッチの閉状態を検出する検出手段と、 を備えた車両用スイッチ状態検出装置において、 前記給電経路として、前記イグニッションスイッチの閉
時に電源供給を行う第1経路と、前記イグニッションス
イッチの開閉状態にかかわらず常時電源供給を行う第2
経路とを備え、 前記第1経路には、前記車載スイッチの閉時に前記車載
スイッチの接点に形成される酸化皮膜を突き破るのに充
分な第1電流を流す第1電流制限手段を設け、前記第2
経路には、前記車載スイッチの閉時に前記第1電流より
も小さい第2電流を流す第2電流制限手段を設けたこ
と、 を特徴とする車両用スイッチ状態検出装置。1. A power supply path for supplying power to an in-vehicle switch whose opening / closing state is switched before an ignition switch is closed so that a current flows when the in-vehicle switch is closed; And a detecting means for detecting a closed state of the on-vehicle switch when a current flows through the on-vehicle switch, wherein a power supply is performed when the ignition switch is closed as the power supply path. A first path and a second path for constantly supplying power regardless of the open / closed state of the ignition switch.
A first current limiting means for flowing a first current sufficient to break through an oxide film formed at a contact point of the on-vehicle switch when the on-vehicle switch is closed; 2
The vehicle switch state detection device, wherein a second current limiting means for supplying a second current smaller than the first current when the on-vehicle switch is closed is provided on the path.
列に設けられた抵抗からなり、前記第1経路に設けられ
た第1抵抗の抵抗値は、前記第2経路に設けられた第2
抵抗の抵抗値に比べて小さいことを特徴とする請求項1
に記載の車両用スイッチ状態検出装置。2. Each of the current limiting means includes a resistor provided in series with each of the paths, and a resistance value of a first resistor provided on the first path is equal to a resistance value of a first resistor provided on the second path. 2
2. The method according to claim 1, wherein the resistance is smaller than a resistance value of the resistance.
2. The vehicle switch state detecting device according to claim 1.
ンキーがキーシリンダに挿入された際に閉状態となるキ
ー挿入スイッチであることを特徴とする請求項1又は請
求項2に記載の車両用スイッチ状態検出装置。3. The switch state for a vehicle according to claim 1, wherein the on-vehicle switch is a key insertion switch that closes when the ignition key is inserted into a key cylinder. Detection device.
てエンジン制御を行うエンジン制御手段と、 前記キーシリンダに挿入されたイグニッションキー内の
記憶手段からキー識別用のコードを読み出し、該コード
から前記キーシリンダに挿入されたイグニッションキー
が当該車両用のキーか否かを判定して、前記イグニッシ
ョンキーが当該車両用のキーである場合に、前記エンジ
ン制御手段に対してエンジンの始動を許可する盗難防止
用の照合手段と、 が備えられ、 前記検出手段は、前記キー挿入スイッチの閉状態を検出
すると前記照合手段を起動することを特徴とする請求項
3に記載の車両用スイッチ状態検出装置。4. A vehicle, comprising: an engine control means for starting an engine when the ignition switch is closed to control the engine; and reading a key identification code from a storage means in an ignition key inserted into the key cylinder. Determining whether the ignition key inserted into the key cylinder is a key for the vehicle from the code, and when the ignition key is a key for the vehicle, the engine control means 4. The vehicle according to claim 3, further comprising: anti-theft checking means for permitting the start, and wherein the detecting means activates the checking means when detecting the closed state of the key insertion switch. Switch state detector.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15532697A JPH111155A (en) | 1997-06-12 | 1997-06-12 | Switch state detection device for vehicles |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15532697A JPH111155A (en) | 1997-06-12 | 1997-06-12 | Switch state detection device for vehicles |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH111155A true JPH111155A (en) | 1999-01-06 |
Family
ID=15603453
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15532697A Pending JPH111155A (en) | 1997-06-12 | 1997-06-12 | Switch state detection device for vehicles |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH111155A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001115705A (en) * | 1999-10-20 | 2001-04-24 | Daihatsu Motor Co Ltd | Smart entry system for vehicle |
| JP2006121746A (en) * | 2005-12-21 | 2006-05-11 | Denso Corp | Signal input device |
| US7123018B2 (en) | 2002-06-05 | 2006-10-17 | Denso Corporation | Switching status determination device and method for determining switching status |
| JP2011205733A (en) * | 2010-03-24 | 2011-10-13 | Chugoku Electric Power Co Inc:The | Apparatus misidentification operation preventing device using tablet |
-
1997
- 1997-06-12 JP JP15532697A patent/JPH111155A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001115705A (en) * | 1999-10-20 | 2001-04-24 | Daihatsu Motor Co Ltd | Smart entry system for vehicle |
| US7123018B2 (en) | 2002-06-05 | 2006-10-17 | Denso Corporation | Switching status determination device and method for determining switching status |
| JP2006121746A (en) * | 2005-12-21 | 2006-05-11 | Denso Corp | Signal input device |
| JP2011205733A (en) * | 2010-03-24 | 2011-10-13 | Chugoku Electric Power Co Inc:The | Apparatus misidentification operation preventing device using tablet |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH07307983A (en) | Anti-theft device for vehicle | |
| JP3001782B2 (en) | Engine control device for vehicle theft prevention | |
| JP3415514B2 (en) | Vehicle remote door lock control device | |
| US20060232131A1 (en) | Vehicle theft prevention system | |
| JP2915299B2 (en) | Vehicle anti-theft device | |
| JP2943976B2 (en) | Engine control device with vehicle anti-theft function | |
| JPH0995210A (en) | Anti-theft device | |
| JPH08127315A (en) | Anti-theft device | |
| JPH111155A (en) | Switch state detection device for vehicles | |
| US20020089411A1 (en) | Apparatus and method for preventing un-authorized starting of a vehicle | |
| JP3158010B2 (en) | Vehicle identification device | |
| CN109177919B (en) | Vehicle anti-theft control system and vehicle anti-theft control method | |
| US5621381A (en) | Vehicle anti-theft engine control device | |
| JPH08192723A (en) | Burglary preventing device for vehicle | |
| JP3216504B2 (en) | Vehicle antitheft device | |
| JPH08133018A (en) | Engine control means with anti-theft device for vehicle anti-theft function | |
| JP3171083B2 (en) | Immobilizer system | |
| JP3216522B2 (en) | Vehicle anti-theft device | |
| JP3651102B2 (en) | Anti-theft device | |
| JP2768322B2 (en) | Vehicle antitheft device | |
| JP2710970B2 (en) | Vehicle anti-theft device | |
| JP2000025571A (en) | Engine start control device | |
| JP3388648B2 (en) | Vehicle anti-theft device | |
| JP3185574B2 (en) | Vehicle antitheft device | |
| JPH106927A (en) | Engine start control device |