JPH058832U - Switch signal input circuit - Google Patents

Switch signal input circuit

Info

Publication number
JPH058832U
JPH058832U JP5459291U JP5459291U JPH058832U JP H058832 U JPH058832 U JP H058832U JP 5459291 U JP5459291 U JP 5459291U JP 5459291 U JP5459291 U JP 5459291U JP H058832 U JPH058832 U JP H058832U
Authority
JP
Japan
Prior art keywords
switch
contact
control unit
state
switches
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
Application number
JP5459291U
Other languages
Japanese (ja)
Inventor
宏 青柳
Original Assignee
日本電子機器株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電子機器株式会社 filed Critical 日本電子機器株式会社
Priority to JP5459291U priority Critical patent/JPH058832U/en
Publication of JPH058832U publication Critical patent/JPH058832U/en
Pending legal-status Critical Current

Links

Landscapes

  • Keying Circuit Devices (AREA)

Abstract

(57)【要約】 【目的】 共にOFF状態となる操作位置を有すると共
にいずれか一方がON状態に操作されたときに他方がO
FF状態となる第1及び第2のスイッチを有する場合
に、これら第1及び第2のスイッチの各ON・OFF信
号を1本の信号線でコントロールユニット側に伝える。 【構成】 第1のスイッチ1の一方の接点E1 を電源に
接続し、第2のスイッチ2の一方の接点E2 を接地し、
これら第1及び第2のスイッチ1,2の各他方の接点を
共通にして、この共通接点Cからの単一の信号線Sをコ
ントロールユニット3に接続し、このコントロールユニ
ット3内に前記共通接点Cのオープン、電源接続、接地
の3状態に応じた電圧(H・L,H・H,L・L)を得
る電圧変換回路5を設ける。
(57) [Summary] [Purpose] Both have operating positions that are in the OFF state, and when one of them is operated in the ON state, the other becomes O.
When having the first and second switches in the FF state, each ON / OFF signal of these first and second switches is transmitted to the control unit side by one signal line. [Configuration] One contact E 1 of the first switch 1 is connected to a power source, one contact E 2 of the second switch 2 is grounded,
The other contact of each of the first and second switches 1 and 2 is made common, and a single signal line S from the common contact C is connected to the control unit 3 and the common contact is provided in the control unit 3. A voltage conversion circuit 5 is provided for obtaining voltages (H.L, H.H, L.L) according to three states of C open, power supply connection, and ground.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、共にOFF状態となる操作位置を有すると共にいずれか一方がON 状態に操作されたときに他方がOFF状態となる第1及び第2のスイッチを有す る場合に、これら第1及び第2のスイッチの各ON・OFF信号をコントロール ユニット側に伝えるスイッチ信号入力回路に関する。 The present invention has the first and second switches that both have an operation position that is in the OFF state and that when one of them is operated in the ON state, the other is in the OFF state. The present invention relates to a switch signal input circuit for transmitting each ON / OFF signal of the second switch to the control unit side.

【0002】[0002]

【従来の技術】[Prior Art]

2つのスイッチが互いに関連性を有し、共にOFF状態となる操作位置を有す るが、いずれか一方がON状態に操作されたときに他方が必ずOFF状態となる ものがある。 例えば図4に示すようなシーソー型のスイッチ構造を用いて、実質的に2つの スイッチ(第1及び第2のスイッチ)1,2を構成する場合がこれに当たり、よ り具体的には、自動車において自動変速機の特性を通常のノーマルモードから山 岳走行等に適したパワフルモード又は雪道走行等に適したホールドモードへ切替 えることができるように運転席のパネル上に設けられるモード切替えスイッチな どに採用されている。 Two switches are related to each other, and both have an operating position where they are in the OFF state. However, when one of them is operated in the ON state, the other is always in the OFF state. For example, this is the case where substantially two switches (first and second switches) 1 and 2 are configured by using a seesaw-type switch structure as shown in FIG. 4, and more specifically, an automobile. In order to switch the characteristics of the automatic transmission from the normal mode to the powerful mode suitable for mountain driving or the hold mode suitable for snowy driving, the mode changeover switch provided on the driver's seat panel It has been adopted.

【0003】 この場合、第1のスイッチ1と第2のスイッチ2とのON・OFFの組合わせ は、次の3通りである。 (1) 1…OFF 2…OFF (2) 1…ON 2…OFF (3) 1…OFF 2…ON これら第1及び第2のスイッチの各ON・OFF信号を各種制御を行うコント ロールユニット内のマイクロコンピュータへ入力する場合、従来においては、次 のようにしていた。In this case, there are the following three combinations of ON / OFF of the first switch 1 and the second switch 2. (1) 1 ... OFF 2 ... OFF (2) 1 ... ON 2 ... OFF (3) 1 ... OFF 2 ... ON In the control unit that performs various control of each ON / OFF signal of these first and second switches. Conventionally, when inputting to the microcomputer, the following was done.

【0004】 すなわち、図3及び図4に示すように、第1及び第2のスイッチ1,2の各一 方の接点を共通にして、この共通接点Cを電源(Vb)に接続し、第1及び第2 のスイッチ1,2の各他方の接点をそれぞれ別にして、これら接点E1 ,E2 か らの2本の信号線(ハーネス)S1 ,S2 をコントロールユニット3まで引回し 、コントロールユニット3内において、それぞれ所定の回路I1 ,I2 を介しマ イクロコンピュータ4の2つの入力ポートA,Bに入力して、レベル判定を行わ せることにより、第1及び第2のスイッチ1,2の各ON・OFF信号を読込ん でいた。That is, as shown in FIGS. 3 and 4, one contact of each of the first and second switches 1 and 2 is made common, and this common contact C is connected to a power source (Vb), Apart 1 and each other contact of the second switch 1, respectively, leading these contacts E 1, E 2 or these two signal lines (harness) S 1, S 2 until the control unit 3 , The first and second switches in the control unit 3 by inputting to the two input ports A and B of the micro computer 4 via predetermined circuits I 1 and I 2 , respectively, to make level judgment. Each ON / OFF signal of 1 and 2 was read.

【0005】[0005]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、このような従来のスイッチ信号入力回路においては、第1及び 第2のスイッチのON・OFF信号の組み合わせが3通りであるにもかかわらず 、スイッチ信号の入力はそれぞれ独立に行っており、このため、スイッチ部とコ ントロールユニットとの間に2本の信号線が必要で、信号線が無駄に使用されて いるという問題点があった。 However, in such a conventional switch signal input circuit, although there are three combinations of ON / OFF signals of the first and second switches, the switch signal is input independently, Therefore, there is a problem that two signal lines are needed between the switch section and the control unit, and the signal lines are wastefully used.

【0006】 本考案は、このような従来の問題点に鑑み、スイッチ部とコントロールユニッ トとの間の信号線を1本にして、コスト低減等を図ることを目的とする。In view of the above conventional problems, the present invention aims to reduce the cost by providing a single signal line between the switch unit and the control unit.

【0007】[0007]

【課題を解決するための手段】[Means for Solving the Problems]

このため、本考案は、共にOFF状態となる操作位置を有すると共にいずれか 一方がON状態に操作されたときに他方がOFF状態となる第1及び第2のスイ ッチの各ON・OFF信号をコントロールユニット側に伝えるスイッチ信号入力 回路において、第1のスイッチの一方の接点を電源に接続し、第2のスイッチの 一方の接点を接地し、これら第1及び第2のスイッチの各他方の接点を共通にし て、この共通接点からの単一の信号線をコントロールユニットに接続し、このコ ントロールユニット内に前記共通接点のオープン、電源接続、接地の3状態に応 じた電圧を得る電圧変換回路を具備させる構成としたものである。 Therefore, according to the present invention, each ON / OFF signal of the first and second switches has an operation position in which both are in an OFF state, and when one of them is operated in an ON state, the other is in an OFF state. In the switch signal input circuit for transmitting the signal to the control unit side, one contact of the first switch is connected to the power source, one contact of the second switch is grounded, and the other contact of each of the first and second switches is connected. A voltage that obtains a voltage corresponding to the three states of open, power supply connection, and ground of the common contact in this control unit by connecting the single signal line from this common contact to the control unit with common contacts. The configuration is such that a conversion circuit is provided.

【0008】[0008]

【作用】 上記の構成においては、第1のスイッチと第2のスイッチとのON・OFFの 3通りの組合わせに対し、それぞれ下記のように、共通接点Cの状態が変化する 。 (1) 1…OFF 2…OFF :C…オープン (2) 1…ON 2…OFF :C…電源接続 (3) 1…OFF 2…ON :C…接地 従って、共通接点Cのオープン、電源接続、接地の3状態を、電圧変換回路に よってこれらの状態に応じた電圧に変換することで、単一の信号線であっても、 第1及び第2のスイッチの各ON・OFF信号の読込みが可能となる。In the above configuration, the state of the common contact C changes as follows for each of the three combinations of ON / OFF of the first switch and the second switch. (1) 1 ... OFF 2 ... OFF: C ... open (2) 1 ... ON 2 ... OFF: C ... power supply connection (3) 1 ... OFF 2 ... ON: C ... ground Therefore, common contact C is open, power supply connection By converting the three states of grounding and grounding into voltages according to these states by a voltage conversion circuit, even with a single signal line, reading of each ON / OFF signal of the first and second switches is possible. Is possible.

【0009】[0009]

【実施例】【Example】

以下に本考案の一実施例を図1及び図2に基づいて説明する。 図1及び図2において、第1のスイッチ1の一方の接点E1 を電源(Vb)に 接続し、第2のスイッチ2の一方の接点E2 を接地(GND)し、これら第1及 び第2のスイッチ1,2の各他方の接点を共通にして、この共通接点Cからの単 一の信号線Sをコントロールユニット3まで引回す。従って、スイッチ部からコ ントロールユニットまでの信号線は1本となる。An embodiment of the present invention will be described below with reference to FIGS. 1 and 2, the one contact E 1 of the first switch 1 is connected to a power source (Vb), the one contact E 2 of the second switch 2 to the ground (GND), these first及beauty The other contacts of the second switches 1 and 2 are made common, and the single signal line S from this common contact C is routed to the control unit 3. Therefore, there is only one signal line from the switch unit to the control unit.

【0010】 コントロールユニット3内には、マイクロコンピュータ4の入力側に第1〜第 4の抵抗R1 〜R4 よりなる電圧変換回路5を設ける。 すなわち、電源(Vb)を第1の抵抗R1 及び第2の抵抗R2 を介してマイク ロコンピュータ4の1つの入力ポートAに接続し、第1の抵抗R1 と第2の抵抗 R2 との接続点を第3の抵抗R3 及び第4の抵抗R4 を介して接地した上で、第 3の抵抗R3 と第4の抵抗R4 との接続点をマイクロコンピュータ4のもう1つ の入力ポートBに接続する。In the control unit 3, a voltage conversion circuit 5 including first to fourth resistors R 1 to R 4 is provided on the input side of the microcomputer 4. That is, connected to one input port A of the micro computer 4 power supply (Vb) through a first resistor R 1 and a second resistor R 2, a first resistor R 1 and the second resistor R 2 The connection point between the third resistor R 3 and the fourth resistor R 4 is grounded via the third resistor R 3 and the fourth resistor R 4, and the connection point between the third resistor R 3 and the fourth resistor R 4 is connected to the other end of the microcomputer 4. One input port B.

【0011】 そして、前記共通接点Cからの単一の信号線Sを第1の抵抗R1 と第2の抵抗 R2 との接続点(第1の抵抗R1 と第3の抵抗R2 との接続点でもある)に接続 する。 尚、マイクロコンピュータ4の各入力ポートA,Bの直前には、定電圧電源( Vcc)と2個のダイオードとからなる入力ポート保護用のラッチアップ回路がそ れぞれ設けられることは従来と同一である。[0011] Then, the common single signal line S from the contact C first resistor R 1 and the second resistor R 2 and the connection point (first resistor R 1 and the third resistor R 2 Is also the connection point of). It is to be noted that a latch-up circuit for protecting the input port, which is composed of a constant voltage power supply (Vcc) and two diodes, is provided in front of each of the input ports A and B of the microcomputer 4, respectively. It is the same.

【0012】 この場合、第1のスイッチ1と第2のスイッチ2とのON・OFFの組合わせ 及び前記共通接点Cの状態は、次の3通りである。 (1) 1…OFF 2…OFF :C…オープン (2) 1…ON 2…OFF :C…電源接続 (3) 1…OFF 2…ON :C…接地 上記(1)〜(3)の各場合における入力ポートA,Bの入力電圧は次の通り となる。In this case, the ON / OFF combinations of the first switch 1 and the second switch 2 and the state of the common contact C are in the following three ways. (1) 1 ... OFF 2 ... OFF: C ... Open (2) 1 ... ON 2 ... OFF: C ... Power connection (3) 1 ... OFF 2 ... ON: C ... Grounding Each of the above (1) to (3) In this case, the input voltage at the input ports A and B is as follows.

【0013】 (1) A… Vb×〔(R3 +R4 )/(R1 +R3 +R4 )〕 B… Vb×〔R4 /(R1 +R3 +R4 )〕 (2) A… Vb B… Vb×〔R4 /(R3 +R4 )〕 (3) A… 0 B… 0 ここで、上記(1)のAをA1 、(1)のBをB1 、(2)のAをA2 、(2 )のBをB2 とすれば、 A2 >A1 >B1 2 >B2 >B1 が成立する。(1) A ... Vb × [(R 3 + R 4 ) / (R 1 + R 3 + R 4 )] B ... Vb × [R 4 / (R 1 + R 3 + R 4 )] (2) A ... Vb B ... Vb × [R 4 / (R 3 + R 4 )] (3) A ... 0 B ... 0 where A in (1) above is A 1 , B in (1) is B 1 and (2) is If A is A 2 and B of (2) is B 2 , then A 2 > A 1 > B 1 A 2 > B 2 > B 1 holds.

【0014】 よって、マイクロコンピュータ4のHレベル・Lレベルの判定用の閾(しきい )値に合わせ、A1 及びB2 がHレベル、B1 がLレベルとなるように、第1〜 第4の抵抗R1 〜R4 の値を設定すれば、上記(1)〜(3)の各場合において 、次のような判定がなされる。 (1) A…Hレベル B…Lレベル (2) A…Hレベル B…Hレベル (3) A…Lレベル B…Lレベル よって、上記(1)〜(3)の組合わせのスイッチ信号をマイクロコンピュー タ4にて判別可能となる。Therefore, the first to the first so that A 1 and B 2 are at the H level and B 1 is at the L level in accordance with the threshold value for the H level / L level determination of the microcomputer 4. If the values of the resistors R 1 to R 4 of No. 4 are set, the following judgments are made in each of the cases (1) to (3). (1) A ... H level B ... L level (2) A ... H level B ... H level (3) A ... L level B ... L level Therefore, the switch signal of the combination of the above (1) to (3) is applied. It can be determined by the microcomputer 4.

【0015】[0015]

【考案の効果】[Effect of the device]

以上説明したように本考案によれば、スイッチ部とコントロールユニットとの 間の信号線を1本にして、コスト低減等を図ることができるという効果が得られ る。 As described above, according to the present invention, it is possible to reduce the cost by using only one signal line between the switch unit and the control unit.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本考案の一実施例を示すスイッチ信号入力回
路の回路図
FIG. 1 is a circuit diagram of a switch signal input circuit showing an embodiment of the present invention.

【図2】 同上実施例のスイッチ構造を示す図FIG. 2 is a diagram showing a switch structure according to the above embodiment.

【図3】 従来例を示すスイッチ信号入力回路の回路図FIG. 3 is a circuit diagram of a switch signal input circuit showing a conventional example.

【図4】 同上従来例のスイッチ構造を示す図FIG. 4 is a diagram showing a conventional switch structure of the same as above.

【符号の説明】[Explanation of symbols]

1 第1のスイッチ 2 第2のスイッチ 3 コントロールユニット 4 マイクロコンピュータ 5 電圧変換回路 1 1st switch 2 2nd switch 3 Control unit 4 Microcomputer 5 Voltage conversion circuit

Claims (1)

【実用新案登録請求の範囲】 【請求項1】共にOFF状態となる操作位置を有すると
共にいずれか一方がON状態に操作されたときに他方が
OFF状態となる第1及び第2のスイッチの各ON・O
FF信号をコントロールユニット側に伝えるスイッチ信
号入力回路において、 第1のスイッチの一方の接点を電源に接続し、第2のス
イッチの一方の接点を接地し、これら第1及び第2のス
イッチの各他方の接点を共通にして、この共通接点から
の単一の信号線をコントロールユニットに接続し、この
コントロールユニット内に前記共通接点のオープン、電
源接続、接地の3状態に応じた電圧を得る電圧変換回路
を具備させたことを特徴とするスイッチ信号入力回路。
[Claims for utility model registration] [Claim 1] Each of a first switch and a second switch that have operating positions that are both in the OFF state and that when one of them is operated in the ON state, the other is in the OFF state. ON / O
In the switch signal input circuit for transmitting the FF signal to the control unit side, one contact of the first switch is connected to the power supply, one contact of the second switch is grounded, and each of the first and second switches is connected. A voltage for obtaining a voltage corresponding to three states of open, power connection, and ground of the common contact in the control unit by connecting the single signal line from the common contact to the control unit by making the other contact common A switch signal input circuit comprising a conversion circuit.
JP5459291U 1991-07-15 1991-07-15 Switch signal input circuit Pending JPH058832U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5459291U JPH058832U (en) 1991-07-15 1991-07-15 Switch signal input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5459291U JPH058832U (en) 1991-07-15 1991-07-15 Switch signal input circuit

Publications (1)

Publication Number Publication Date
JPH058832U true JPH058832U (en) 1993-02-05

Family

ID=12974999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5459291U Pending JPH058832U (en) 1991-07-15 1991-07-15 Switch signal input circuit

Country Status (1)

Country Link
JP (1) JPH058832U (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH032913A (en) * 1989-03-27 1991-01-09 Natl Semiconductor Corp <Ns> Level and edge sensitive input circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH032913A (en) * 1989-03-27 1991-01-09 Natl Semiconductor Corp <Ns> Level and edge sensitive input circuit

Similar Documents

Publication Publication Date Title
JP4596575B2 (en) Diagnostic inspection equipment for electronic control units in different motor vehicle types
US7015798B2 (en) Method and system for bidirectional data and power transmission
US7930461B2 (en) Interface circuit
US20060167565A1 (en) Systems and methods for robust switching using multi-state switch contacts and a common electrical reference
JPH07107565A (en) Av system
US6426572B1 (en) Switching function properly-alterable switch unit, and vehicle mounted device control apparatus including the same switch unit
JPH058832U (en) Switch signal input circuit
US20210126811A1 (en) Galvanic isolation device for a lin bus system
JP2002185293A (en) Input circuit of microcomputer
JP2001165817A (en) Disconnection detection circuit
JPS6316294B2 (en)
JPH07112788B2 (en) Constant-speed traveling device for automobiles
KR940002619B1 (en) Apparatus for interface laser machine and cnc
KR0157736B1 (en) Bidirectional bus interface switching device and data transmission system
CN209860749U (en) Motor control panel and have motor control panel&#39;s motor
EP0819576B1 (en) A system for adjusting the attitude of the headlamps of a motor vehicle
CN111031642B (en) Control circuit and control system for adjusting angle of car lamp
JP2503905B2 (en) Bus termination circuit
KR100431174B1 (en) Compatible output driving circuit
US20060085143A1 (en) Systems and methods for robust representation of ternary data states
JP2000011792A (en) Signal transmission device
JP3004469U (en) Plug connection device
KR100202520B1 (en) Power window switch system
KR890003597Y1 (en) Dubing circuit for video and audio signal
JPS62191248A (en) Self-diagnosis indicating device