JP4321672B2 - Digital / analog common interface circuit - Google Patents

Digital / analog common interface circuit Download PDF

Info

Publication number
JP4321672B2
JP4321672B2 JP2000221839A JP2000221839A JP4321672B2 JP 4321672 B2 JP4321672 B2 JP 4321672B2 JP 2000221839 A JP2000221839 A JP 2000221839A JP 2000221839 A JP2000221839 A JP 2000221839A JP 4321672 B2 JP4321672 B2 JP 4321672B2
Authority
JP
Japan
Prior art keywords
connection terminal
input
resistor
interface circuit
analog
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
JP2000221839A
Other languages
Japanese (ja)
Other versions
JP2002041246A (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.)
Bosch Corp
Original Assignee
Bosch 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 Bosch Corp filed Critical Bosch Corp
Priority to JP2000221839A priority Critical patent/JP4321672B2/en
Publication of JP2002041246A publication Critical patent/JP2002041246A/en
Application granted granted Critical
Publication of JP4321672B2 publication Critical patent/JP4321672B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、スイッチの開閉信号に代表されるディジタル信号やセンサのアナログ出力信号等を所定の信号レベルに変換して、これらの信号を必要とする回路へ入力するためのインターフェイス回路に係り、特に、ディジタル信号入力とアナログ信号入力に対する共用化を図ったものに関する。
【0002】
【従来の技術】
従来、この種の回路の代表的なものとして、いわゆるスイッチ信号入力のためのインターフェイス回路と、アナログ信号入力のためのインターフェイス回路とがある。
図7(A)及び図7(B)には、スイッチ信号入力のためのインターフェイス回路の回路構成例が示されており、以下、同図を参照しつつこの回路例について説明する。
最初に、図7(A)に示されたインターフェイス回路においては、外部に設けられたスイッチ61の一端がアースに接続され、他端がインターフェイス回路に接続されるような用い方がなされる場合、インターフェイス回路内部では、一般にプルアップ抵抗器と称される抵抗器R1を介して、そのスイッチ61の他端に所定の電圧VBが印加されると共に、そのスイッチ61の他端と抵抗器R1との接続点は抵抗器Rを介して所定のICの入力段へ接続されるような構成とされている。
そして、ICは、スイッチ61の開閉成に応じたその入力段における電圧変化を、所定のディジタル信号のレベルに変換し、いわゆる論理値High、論理値Lowのディジタル信号として後段の回路へ出力するようになっている。
【0003】
また、外部に設けられたスイッチ61の一端に外部で所定の電圧VBが印加され、他端がインターフェイス回路に接続されるような用い方がなされる場合には、図7(B)に示されたように、そのスイッチ61の他端は、一般にプルダウン抵抗器と称される抵抗器R2を介してアースに接続されると共に、抵抗器Rを介してICの入力段に接続されるような構成とされる。
そして、ICにおいては、図7(A)に示された回路構成例の場合と同様にして、スイッチ61の開閉成に応じたディジタル信号が出力されるようになっている。
【0004】
また、図8(A)及び図8(B)には、アナログ信号入力のためのインターフェイス回路の回路構成例が示されており、以下、同図を参照しつつつこの回路例について説明する。
最初に、図8(A)に示されたインターフェイス回路について説明すれば、この回路は、被測定対象たるある種の物理量の変化に応じて抵抗値変化を生ずるようなセンサ(例えばサーミスタ)が外部に設けられ、そのセンサの抵抗値変化を最終的にディジタル信号として得る場合に適する構成となっているものである。
すなわち、サーミスタセンサ62の一端は、アースに接続される一方、他端は、インターフェイス回路において、電源電圧Vccが印加されるラインとアースとの間に直列接続された2つの抵抗器R3,R4の接続点に接続されたものとなっている。そして、この抵抗器R3,R4の接続点は、抵抗器Rを介してICへ接続されて、サーミスタセンサ62の抵抗値に応じた電圧がICへ入力されるようになっている。なお、かかる回路におけるICとしては、例えば、アナログ・ディジタル変換器が用いられ、結局、サーミスタセンサ62の抵抗値、換言すれば検出値に応じたディジタル信号が図示されない後段の回路へ出力されるようになっている。
【0005】
一方、図8(B)に示されたインターフェイス回路は、被測定対象の移動量や変位量を抵抗値変化として検出するセンサを用いる場合に適する構成となっているものである。
すなわち、例えば、ポテンショメータ63は、車両のアクセル(図示せず)の踏み込み量を検出するため設けられたもので、その一端は、インターフェイス回路に接続されて、電源電圧Vccが印加される一方、他端は、アースに接続されている。さらに、被測定物の適宜な部位(例えばアクセルの適宜な部位)に接続された摺動端子63aは、いわゆるプルダウン抵抗器としての抵抗器R4を介してアースに接続されると共に、抵抗器Rを介してICの入力段に接続されたものとなっている。
かかる構成においては、摺動端子63aの移動(変位)位置に応じたディジタル信号が図示されない後段の回路へ出力されるようになっている。
【0006】
【発明が解決しようとする課題】
上述したように、従来は、スイッチ信号入力に代表されるディジタル信号入力のためのインターフェイス回路と、アナログ信号入力のためのインターフェイス回路の回路は、別個であり、入力信号の種類に応じて回路構成し、通常は、それに適合した専用のいわゆるプリント配線基板を用いて部品の実装、接続を行うものであった。したがって、スイッチ信号入力を用いるか、アナログ信号入力を用いるかによって、それぞれ別個の配線を施した回路基板が必要となり、通常は、いわゆるプリント配線基板を別々に製造することとなるため、経済的効率が低いという問題があった。
本発明は、上記実状に鑑みてなされたもので、ディジタル信号入力とアナログ信号入力のいずれにも用いることができ、それぞれに適した回路構成を実現することのできるインターフェイス回路を提供するものである。
【0007】
【課題を解決するための手段】
上記発明の目的を達成するため、本発明に係るディジタル/アナログ共用インターフェイス回路は、
外部からのスイッチの開閉成信号をディジタル信号に変換して出力するゲートIC、又は、所定のアナログ入力信号ディジタル信号に変換するアナログ・ディジタル変換用ICが所望に応じて設けられてなるディジタル/アナログ共用インターフェイス回路であって、
外部に設けられる素子の一端が接続される第1の接続端子と、前記第1の接続端子に接続された第2の接続端子と、前記第2の接続端子と所定の間隔を隔てて、かつ、所定の電圧が印加される第3の接続端子と、前記第1の接続端子に接続された第4の接続端子と、前記第4の接続端子と所定の間隔を隔てて、かつ、アースに接続された第5の接続端子と、前記第1の接続端子に接続された第6の接続端子と、前記第6の接続端子と所定の間隔を隔てて、かつ、電源電圧が印加される第7の接続端子と、前記第1の接続端子に一端が接続され、他端が前記ゲートIC又は前記アナログ・ディジタル変換用ICの入力段に接続された入力用抵抗器と、前記入力用抵抗器の他端に接続された第8の接続端子と、前記第8の接続端子と所定の間隔を隔てて、かつ、電源電圧が印加される第9の接続端子と、前記第8の接続端子と所定の間隔を隔てて、かつ、アースに接続された第10の接続端子と、前記ICの入力段に一端が接続され、他端がアースに接続されたコンデンサとが設けられてなり、
前記第1の接続端子に外部から印加される信号が、スイッチの開閉成信号か、所定のアナログ信号かに応じて、
前記第2の接続端子と前記第3の接続端子との間に抵抗器を、
前記第4の接続端子と前記第5の接続端子との間に抵抗器を、
前記第6の接続端子と前記第7の接続端子との間に抵抗器を、
前記第8の接続端子と前記第9の接続端子との間にダイオードを、
前記第8の接続端子と前記第10の接続端子との間にダイオードを、
それぞれ選択的に実装可能に構成されてなるものである。
【0008】
かかる構成においては、外部から入力される信号に応じて選択的に接続される部品を除いて、入力信号がスイッチの開閉成信号の場合と、入力信号がアナログ信号の場合のそれぞれにおいて必要となる部品間の必要な配線は予めなされているため、選択的に部品を接続するだけで、入力信号の種類に応じて好適な回路が構成されることとなり、ディジタル信号入力とアナログ信号入力のいずれにも用いることができるインターフェイス回路を提供することができることとなるものである。
【0009】
【発明の実施の形態】
以下、本発明の実施の形態について、図1乃至図6を参照しつつ説明する。
なお、以下に説明する部材、配置等は本発明を限定するものではなく、本発明の趣旨の範囲内で種々改変することができるものである。
最初に、この発明の実施の形態におけるディジタル/アナログ共用インターフェイス回路(以下、単に「インターフェイス回路」と言う)の基本的な構成について図1を参照しつつ説明する。なお、図1において、便宜的に、二点鎖線を境にして紙面右側の部分(白抜き矢印以降の部分)がインターフェイス回路(図1においては「I/F」と表記)であり、二点鎖線を境に紙面左側の部分(白抜き矢印の方向と反対方向の部分)は、外部であるとし、他の図面においても同様であるとする。
まず、後述するように外部のスイッチ等の一端が接続される第1の接続端子1が設けられており、この第1の接続端子1には、入力用抵抗器21の一端が接続され、この入力用抵抗器21の他端は、所定のIC(半導体集積化回路)34の入力段に接続されるよう配線がなされている。
また、第1の接続端子1には、第2の接続端子2が接続されており、この第2の接続端子2と適宜な間隔を隔てて第3の接続端子3が設けられている。そして、この第3の接続端子3には、所定の電圧VBが印加されるように、図示されない所定の電圧VBの発生部からの配線がなされている。ここで、第2及び第3の接続端子2,3の間隔は、後述するようにこの間に実装される抵抗器の大きさに十分適合したものであればよいものである。
【0010】
さらに、第1の接続端子1には、第4の接続端子4が接続されており、この第4の接続端子4と適宜な間隔を隔てて第5の接続端子5が設けられている。そして、この第5の接続端子5は、アースに接続されたものとなっている。ここで、第4及び第5の接続端子4,5の間隔は、第2及び第3の接続端子2,3間の間隔同様、抵抗器が実装されるに適した距離であればよいものである。
またさらに、第1の接続端子1には、第6の接続端子6が接続されており、この第6の接続端子6と適宜な間隔を隔てて第7の接続端子7が設けられている。
そして、この第7の接続端子7には、電源電圧Vccが印加されるように、図示されない電源電圧Vccの発生部からの配線がなされている。ここで、第6及び第7の接続端子6,7の間隔は、第2及び第3の接続端子2,3間の間隔同様、抵抗器が実装されるに適した距離であればよいものである。
【0011】
また、先の入力用抵抗器21とIC34の入力段との間には、第8の接続端子8が設けられて、入力用抵抗器21の一端及びIC34の入力段と接続されたものとなっており、この第8の接続端子8と適宜な間隔を隔てて第9の接続端子9と、第10の接続端子10が設けられている。そして、第9の接続端子9には、電源電圧Vccが印加されるように、図示されない電源電圧Vccの発生部からの配線がなされている一方、第10の接続端子10は、アースに接続されたものとなっている。
さらに、IC34の入力段は、ノイズ除去用のバイパスコンデンサ20を介してアースに接続されたものとなっている。
なお、図1においては、IC34の部分は簡略化した表示となっている。すなわち、通常、ICは、複数の接続用のピンがそのIC本体の周囲に突出形成されており、インターフェイス回路には、この複数のピンと接続される接続部分、具体的には、プリント配線基板が用いられる場合であれば、一般にスルホールと称される導電性部材が表面に形成された通孔が設けられ、この部分にICが実装されるものとなっている。
【0012】
IC34は、このインターフェイス回路をスイッチ信号入力のために用いるか、アナログ信号入力に用いるかで、その種類は異なる(例えば、スイッチ信号入力用としては、いわゆるゲートICが、アナログ信号入力用としては、アナログ・ディジタル変換用ICが用いられる)が、いずれのICも入力端子と出力端子とが同一のものであって、その大きさ、形状等が同一の規格のものであれば、その規格に応じて上述のような通孔を設けておけば、スイッチ信号入力用又はアナログ信号入力用いずれのICであっても共通に実装可能とすることができる。
また、仮に、スイッチ信号入力用のICと、アナログ信号入力用のICのピンの配置等が異なり、共通の実装領域を用いることができない場合には、予めそれぞれの実装のための上述したような通孔を配した部分を形成すると共に、それぞれの入力段(入力ピン)同士を接続し、また、それぞれの出力段(出力ピン)同士を接続するようにしておけば、使用するICの種類に応じていずれかの部分にICを実装することで、このインターフェイス回路を共通に使用することができる。
【0013】
なお、上述したような回路は、実際には、いわゆるプリント配線基板とするのが好適である。具体的にプリント配線をどのように配置するかは、基板の形状や大きさによって種々採り得るものであるので、ここでは特定しないが、プリント配線を用いても図1に示された回路構成が変わるものではない。
【0014】
次に、入力信号に応じたこのインターフェイス回路の用い方について図2乃至図5を参照しつつ説明する。
最初に、スイッチ信号入力に用いられる場合において、インターフェイス回路の外部に設けられる外部スイッチ41の一端がアースに接続され、他端が第1の接続端子1に接続されて用いられる際のこのインターフェイス回路の用い方について図2を参照しつつ説明する。
この場合、まず、第2の接続端子2と第3の接続端子3との間に、第1の抵抗器(図2においては「R1」と表記)22を実装する。
そして、第8の接続端子8と第10の接続端子10との間に、ツェナーダイオード33を、第10の接続端子10にそのアノード側が接続されるようにして実装することで、この外部スイッチ41に適合したインターフェイス回路となる。
なお、この場合、IC34は、ゲートICが用いられる。
【0015】
かかる構成においては、まず、外部スイッチ41が開成状態とされた場合、第1の接続端子1は、第1の抵抗器22を介して所定の電圧VBとなり、この電圧が入力用抵抗器21を介してIC34の入力段へ印加されることとなる。その結果、IC34からは、論理値High(又は論理値Low)のディジタル信号が出力され、図示されない後段の回路へ入力されることとなる。なお、IC34をいずれの論理値の信号を出力するものとするかは、後段の回路の動作によって要求される論理によって定まるものである。
一方、外部スイッチ41が閉成状態とされると、第1の接続端子1は、アース電位となり、それに伴いIC34の入力段もアース電位となるため、IC34の出力は、外部スイッチ41が開成状態とされた場合と反対の論理値となる。
結局、このインターフェイス回路により、外部スイッチ41の開閉成に応じたディジタル信号が得られることとなる。
【0016】
次に、スイッチ信号入力に用いられる場合において、インターフェイス回路の外部に設けられる外部スイッチ41の一端に所定の電圧VBが印加され、他端が第1の接続端子1に接続されて用いられる際のこのインターフェイス回路の用い方について図3を参照しつつ説明する。
この場合、まず、第4の接続端子4と第5の接続端子5との間に、第2の抵抗器(図3においては「R2」と表記)23を実装する。
そして、第8の接続端子8と第10の接続端子10との間には、先の図2に示された例と同様にツェナーダイオード33を実装すればよい。また、この場合、IC34に、ゲートICが用いられるもの図2に示された例と同様である。
【0017】
かかる構成においては、まず、外部スイッチ41が開成状態とされた場合、第1の接続端子1は、ほぼアース電位となり、同時にIC34の入力段も同電位となる。その結果、IC34からは、論理値High(又は論理値Low)のディジタル信号が出力され、図示されない後段の回路へ入力されることとなる。なお、IC34をいずれの論理値の信号を出力するものとするかは、後段の回路の動作によって要求される論理によって定まるものである。
一方、外部スイッチ41が閉成状態とされると、第1の接続端子1は、この外部スイッチ41を介して所定の電圧VBとなり、この電圧が入力用抵抗器21を介してIC34の入力段へ印加されることとなる。その結果、IC34の出力は、外部スイッチ41が開成状態とされた場合と反対の論理値となる。
結局、このインターフェイス回路により、外部スイッチ41の開閉成に応じたディジタル信号が得られることとなる。
【0018】
次に、アナログ信号入力に用いられる場合において、インターフェイス回路の外部に設けられるサーミスタ42の一端がアースに接続され、他端が第1の接続端子1に接続されて用いられる際のこのインターフェイス回路の用い方について図4を参照しつつ説明する。
この場合、まず、第4の接続端子4と第5の接続端子5との間に、第2の抵抗器23を実装するのは先に図3に示された例と同様である。
また、第6の接続端子6と第7の接続端子7との間に、第3の抵抗器(図4においては「R3」と表記)24を実装する。
そして、第8の接続端子8と第9の接続端子9との間に、第1のダイオード31を、第8の接続端子8にそのアノード側が接続されるようにして実装すると共に、第8の接続端子8と第10の接続端子10との間に、第2のダイオード32を、第10の接続端子10にそのアノード側が接続されるようにして実装すればよい。
【0019】
かかる構成においては、まず、サーミスタ42は、良く知られているように、その周囲の雰囲気温度によって、その抵抗値が変化するものである。そして、この例の場合、サーミスタ42は、第3の抵抗器24と直列接続されて、電源電圧Vccが印加されると共に、第2の抵抗器23がサーミスタ42と並列に接続された構成となっている。したがって、第1の接続端子1には、電源電圧Vccが、サーミスタ42と第2の抵抗器23との並列接続による合成抵抗値と第3の抵抗器24の抵抗値とによるいわゆる抵抗分圧で分圧された電圧が生じ、これがIC34に印加され、その印加電圧に対応したディジタル値がIC34から出力されることとなる。
【0020】
次に、アナログ信号入力に用いられる場合において、インターフェイス回路の外部に、例えばポテンショメータ43が設けられ、その一端がアースに接続され、他端にインターフェイス回路からの電源電圧Vccが印加され、さらに、摺動端子43aが第1の接続端子1に接続されて用いられる際のこのインターフェイス回路の用い方について図5を参照しつつ説明する。
この場合、ポテンショメータ43の一端にインターフェイス回路の電源電圧Vccが印加される点を除けば、部品の実装は、基本的に先に図4に示された例と同様である。
すなわち、まず、第4の接続端子4と第5の接続端子5との間に、第2の抵抗器23を実装する。そして、第8の接続端子8と第9の接続端子9との間に、第1のダイオード31を、第8の接続端子8と第10の接続端子10との間に、第2のダイオード32を、先に説明したと同様にして実装すればよい。
【0021】
かかる構成においては、ポテンショメータ43の摺動端子43aは、移動量の検出を所望する被測定対象物の適宜な箇所に接続されて、その被測定対象物と共に移動できるようになっている。
したがって、第1の接続端子1には、摺動端子43aの移動に応じた電圧が生ずることとなり、これがIC34に印加され、その印加電圧に対応したディジタル値がIC34から出力されることとなる。
【0022】
次に、特に、プリント配線基板の実装に適したツェナーダイオードとダイオードの例について図6(A)及び図6(B)を参照しつつ説明する。
この例は、ツェナーダイオード33と、第1及び第2のダイオード31,32が、それぞれ同一形状寸法の収納ケースに収納されたものである。
すなわち、ツェナーダイオード33が収納される収納ケース51も、第1及び第2のダイオード31,32が収納される収納ケース52もいずれも同一形状寸法のもので、しかも、同一数の接続用ピン51a〜51c,52a〜52cを有してなるものである。
そして、収納ケース51においては、第1の接続ピン51aにツェナーダイオード33のカソードが、第2の接続ピン51bにツェナーダイオード33のアノードが、それぞれ接続されたものとなっており、第3の接続ピン51cには、収納ケース51内部で何も接続されておらず、いいわゆる空きピンとなっている。
【0023】
一方、収納ケース52においては、第1の接続ピン52aに第1のダイオード31のカソード及び第2のダイオード32のアノードが、第2の接続ピン52bに第1のダイオード31のアノードが、第3の接続ピン52cに第2のダイオード32のカソードが、それぞれ接続されたものとなっている。
そして、いずれのものにおいても、第1の接続ピン51a,52aを、第8の接続端子8に、第2の接続ピン51b,52bを第10の接続端子10に、第3の接続ピン51c,52cを第9の接続端子9に、それぞれ接続するようにすることで、それぞれの素子の方向性を確認することなく実装を終えることが可能となる。
【0024】
【発明の効果】
以上、述べたように、本発明によれば、入力信号がスイッチの開閉成信号の場合と、入力信号がアナログ信号の場合のそれぞれにおいて必要となる部品間の必要な配線は予めなされているため、入力信号の種類に応じて、選択的に部品を接続するだけで、入力信号の種類に適した回路が構成されることとなり、ディジタル信号信号入力とアナログ信号入力のいずれにも用いることができるインターフェイス回路を提供することができるという効果を奏するものである。
【図面の簡単な説明】
【図1】本発明に係るディジタル/アナログ共用インターフェイス回路の基本構成を示す回路図である。
【図2】スイッチ信号入力に用いられる場合の第1の部品実装例を示す回路図である。
【図3】スイッチ信号入力に用いられる場合の第2の部品実装例を示す回路図である。
【図4】アナログ信号入力に用いられる場合の第1の部品実装例を示す回路図である。
【図5】アナログ信号入力に用いられる場合の第2の部品実装例を示す回路図である。
【図6】プリント配線基板に適するツェナーダイオードとダイオードの例を示す模式図であって、図6(A)はツェナーダイオードの例を示す模式図、図6(B)はダイオードの例を示す模式図である。
【図7】従来のスイッチ信号入力の場合のインターフェイス回路の構成例を示し回路図であって、図7(A)は第1の構成例を示す回路図、図7(B)は第2の構成例を示す回路図である。
【図8】従来のアナログ信号入力の場合のインターフェイス回路の構成例を示し回路図であって、図8(A)は第1の構成例を示す回路図、図8(B)は第2の構成例を示す回路図である。
【符号の説明】
1…第1の接続端子
2…第2の接続端子
3…第3の接続端子
4…第4の接続端子
5…第5の接続端子
6…第6の接続端子
7…第7の接続端子
8…第8の接続端子
9…第9の接続端子
10…第10の接続端子
34…IC
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an interface circuit for converting a digital signal typified by an open / close signal of a switch, an analog output signal of a sensor, or the like into a predetermined signal level and inputting these signals to a circuit that requires them. The present invention relates to a digital signal input and an analog signal input that are shared.
[0002]
[Prior art]
Conventionally, representative examples of this type of circuit include a so-called switch signal input interface circuit and an analog signal input interface circuit.
FIGS. 7A and 7B show circuit configuration examples of an interface circuit for inputting a switch signal. Hereinafter, the circuit examples will be described with reference to FIG.
First, in the interface circuit shown in FIG. 7A, when one end of the switch 61 provided outside is connected to the ground and the other end is connected to the interface circuit, Inside the interface circuit, a predetermined voltage VB is applied to the other end of the switch 61 via a resistor R1 generally called a pull-up resistor, and the other end of the switch 61 and the resistor R1 are connected to each other. The connection point is configured to be connected to an input stage of a predetermined IC through a resistor R.
Then, the IC converts the voltage change at the input stage according to the opening / closing of the switch 61 into a predetermined digital signal level, and outputs it to the subsequent circuit as a so-called digital signal having a logical value High and a logical value Low. It has become.
[0003]
Further, FIG. 7B shows a case where a predetermined voltage VB is externally applied to one end of the switch 61 provided outside and the other end is connected to the interface circuit. As described above, the other end of the switch 61 is connected to the ground via a resistor R2 generally called a pull-down resistor and connected to the input stage of the IC via the resistor R. It is said.
In the IC, a digital signal corresponding to the opening / closing of the switch 61 is output in the same manner as in the circuit configuration example shown in FIG.
[0004]
8A and 8B show circuit configuration examples of an interface circuit for inputting an analog signal. Hereinafter, the circuit examples will be described with reference to FIG.
First, the interface circuit shown in FIG. 8A will be described. In this circuit, a sensor (for example, a thermistor) that causes a change in resistance according to a change in a certain physical quantity to be measured is externally provided. And is suitable for a case where a change in resistance value of the sensor is finally obtained as a digital signal.
That is, one end of the thermistor sensor 62 is connected to the ground, while the other end of the two resistors R3 and R4 connected in series between the line to which the power supply voltage Vcc is applied and the ground in the interface circuit. It is connected to the connection point. The connection point of the resistors R3 and R4 is connected to the IC via the resistor R, and a voltage corresponding to the resistance value of the thermistor sensor 62 is input to the IC. As an IC in such a circuit, for example, an analog / digital converter is used, so that a resistance value of the thermistor sensor 62, in other words, a digital signal corresponding to the detected value is output to a subsequent circuit (not shown). It has become.
[0005]
On the other hand, the interface circuit shown in FIG. 8B has a configuration suitable for the case where a sensor that detects the amount of movement or displacement of the measurement target as a change in resistance value is used.
That is, for example, the potentiometer 63 is provided to detect the amount of depression of the accelerator (not shown) of the vehicle, and one end of the potentiometer 63 is connected to the interface circuit to which the power supply voltage Vcc is applied. The end is connected to ground. Further, the sliding terminal 63a connected to an appropriate part of the object to be measured (for example, an appropriate part of the accelerator) is connected to the ground via a resistor R4 as a so-called pull-down resistor, and the resistor R is connected to the ground. And connected to the input stage of the IC.
In such a configuration, a digital signal corresponding to the movement (displacement) position of the sliding terminal 63a is output to a subsequent circuit (not shown).
[0006]
[Problems to be solved by the invention]
As described above, conventionally, the interface circuit for digital signal input represented by the switch signal input and the circuit of the interface circuit for analog signal input are separate, and the circuit configuration according to the type of the input signal In general, however, components are mounted and connected by using a so-called dedicated printed wiring board suitable for the above. Therefore, depending on whether switch signal input or analog signal input is used, circuit boards with separate wirings are required, and so-called printed wiring boards are usually manufactured separately. There was a problem of low.
The present invention has been made in view of the above circumstances, and provides an interface circuit that can be used for either a digital signal input or an analog signal input and can realize a circuit configuration suitable for each. .
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a digital / analog common interface circuit according to the present invention comprises:
A digital IC that is provided with a gate IC that converts an external switch opening / closing signal into a digital signal and outputs it, or an analog / digital conversion IC that converts a predetermined analog input signal into a digital signal as desired. An analog shared interface circuit,
A first connection terminal to which one end of an element provided outside is connected; a second connection terminal connected to the first connection terminal; and a predetermined distance from the second connection terminal; A third connection terminal to which a predetermined voltage is applied, a fourth connection terminal connected to the first connection terminal, a predetermined interval from the fourth connection terminal, and grounding A fifth connection terminal connected to the first connection terminal; a sixth connection terminal connected to the first connection terminal; and a sixth supply terminal to which a power supply voltage is applied at a predetermined interval from the sixth connection terminal. 7, an input resistor having one end connected to the first connection terminal and the other end connected to an input stage of the gate IC or the analog / digital conversion IC , and the input resistor And an eighth connection terminal connected to the other end of the first connection terminal and a predetermined distance from the eighth connection terminal. And a ninth connection terminal to which a power supply voltage is applied, a tenth connection terminal connected to the ground at a predetermined interval from the eighth connection terminal, and an input of the IC A capacitor having one end connected to the stage and the other end connected to ground,
Depending on whether the signal applied from the outside to the first connection terminal is a switch opening / closing signal or a predetermined analog signal,
A resistor is provided between the second connection terminal and the third connection terminal.
A resistor is provided between the fourth connection terminal and the fifth connection terminal.
A resistor is provided between the sixth connection terminal and the seventh connection terminal.
A diode is provided between the eighth connection terminal and the ninth connection terminal.
A diode is provided between the eighth connection terminal and the tenth connection terminal.
Each is configured to be selectively mountable .
[0008]
In such a configuration, it is necessary for each of the case where the input signal is a switch opening / closing signal and the case where the input signal is an analog signal, except for components which are selectively connected according to a signal input from the outside. Since necessary wiring between parts is made in advance, a suitable circuit can be configured according to the type of input signal simply by selectively connecting the parts. Either digital signal input or analog signal input can be configured. It is possible to provide an interface circuit that can also be used.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 6.
The members and arrangements described below do not limit the present invention and can be variously modified within the scope of the gist of the present invention.
First, a basic configuration of a digital / analog common interface circuit (hereinafter simply referred to as “interface circuit”) according to an embodiment of the present invention will be described with reference to FIG. In FIG. 1, for the sake of convenience, the portion on the right side of the page (the portion after the white arrow) with respect to the two-dot chain line is an interface circuit (indicated as “I / F” in FIG. 1). It is assumed that the left portion (the portion opposite to the direction of the white arrow) on the left side of the page with respect to the chain line is the outside, and the same applies to other drawings.
First, as will be described later, a first connection terminal 1 to which one end of an external switch or the like is connected is provided, and one end of an input resistor 21 is connected to the first connection terminal 1. The other end of the input resistor 21 is wired so as to be connected to an input stage of a predetermined IC (semiconductor integrated circuit) 34.
In addition, a second connection terminal 2 is connected to the first connection terminal 1, and a third connection terminal 3 is provided at an appropriate interval from the second connection terminal 2. The third connection terminal 3 is wired from a generating portion of a predetermined voltage VB (not shown) so that the predetermined voltage VB is applied. Here, the interval between the second and third connection terminals 2 and 3 may be any as long as it sufficiently matches the size of the resistor mounted between them, as will be described later.
[0010]
Further, a fourth connection terminal 4 is connected to the first connection terminal 1, and a fifth connection terminal 5 is provided at an appropriate interval from the fourth connection terminal 4. The fifth connection terminal 5 is connected to the ground. Here, the distance between the fourth and fifth connection terminals 4 and 5 may be a distance suitable for mounting the resistor, as is the case between the second and third connection terminals 2 and 3. is there.
Furthermore, a sixth connection terminal 6 is connected to the first connection terminal 1, and a seventh connection terminal 7 is provided at an appropriate interval from the sixth connection terminal 6.
The seventh connection terminal 7 is wired from a power supply voltage Vcc generation unit (not shown) so that the power supply voltage Vcc is applied. Here, the distance between the sixth and seventh connection terminals 6 and 7 may be any distance that is suitable for mounting the resistor, like the distance between the second and third connection terminals 2 and 3. is there.
[0011]
In addition, an eighth connection terminal 8 is provided between the input resistor 21 and the input stage of the IC 34, and is connected to one end of the input resistor 21 and the input stage of the IC 34. The ninth connection terminal 9 and the tenth connection terminal 10 are provided at an appropriate distance from the eighth connection terminal 8. The ninth connection terminal 9 is wired from a power supply voltage Vcc generation unit (not shown) so that the power supply voltage Vcc is applied, while the tenth connection terminal 10 is connected to the ground. It has become.
Further, the input stage of the IC 34 is connected to the ground via the bypass capacitor 20 for noise removal.
In FIG. 1, the portion of the IC 34 is a simplified display. That is, normally, an IC has a plurality of connection pins protruding around the IC body, and the interface circuit includes a connection portion connected to the plurality of pins, specifically, a printed wiring board. If used, a through hole having a conductive member generally called a through hole formed on the surface is provided, and an IC is mounted on this portion.
[0012]
The type of IC 34 is different depending on whether this interface circuit is used for switch signal input or analog signal input (for example, a so-called gate IC is used for switch signal input, If any IC has the same input terminal and output terminal, and the same size, shape, etc., the IC conforms to that standard. If the through holes as described above are provided, it can be mounted in common for any IC for switching signal input or analog signal input.
Also, if the switch signal input IC is different from the analog signal input IC pin placement and the like, and a common mounting area cannot be used, the above-described mounting for each mounting is performed in advance. By forming a part with through holes, connecting each input stage (input pins), and connecting each output stage (output pins), the type of IC used Accordingly, this interface circuit can be used in common by mounting the IC in any part.
[0013]
Note that the circuit as described above is actually preferably a so-called printed wiring board. The specific arrangement of the printed wiring can be variously taken depending on the shape and size of the substrate, and is not specified here. However, even if the printed wiring is used, the circuit configuration shown in FIG. It doesn't change.
[0014]
Next, how to use the interface circuit according to the input signal will be described with reference to FIGS.
First, when used for switch signal input, this interface circuit is used when one end of an external switch 41 provided outside the interface circuit is connected to the ground and the other end is connected to the first connection terminal 1. How to use will be described with reference to FIG.
In this case, first, a first resistor 22 (denoted as “R1” in FIG. 2) 22 is mounted between the second connection terminal 2 and the third connection terminal 3.
Then, by mounting a Zener diode 33 between the eighth connection terminal 8 and the tenth connection terminal 10 so that the anode side is connected to the tenth connection terminal 10, this external switch 41. It becomes an interface circuit suitable for.
In this case, the IC 34 is a gate IC.
[0015]
In such a configuration, first, when the external switch 41 is opened, the first connection terminal 1 becomes a predetermined voltage VB through the first resistor 22, and this voltage is connected to the input resistor 21. To be applied to the input stage of the IC 34. As a result, a digital signal having a logical value High (or logical value Low) is output from the IC 34 and input to a subsequent circuit (not shown). It should be noted that which logic value the IC 34 is to output is determined by the logic required by the operation of the subsequent circuit.
On the other hand, when the external switch 41 is in the closed state, the first connection terminal 1 becomes the ground potential, and the input stage of the IC 34 also becomes the ground potential accordingly. Therefore, the output of the IC 34 is the open state of the external switch 41. The logical value is the opposite of the case where
Eventually, a digital signal corresponding to the opening / closing of the external switch 41 is obtained by this interface circuit.
[0016]
Next, when used for switch signal input, a predetermined voltage VB is applied to one end of the external switch 41 provided outside the interface circuit, and the other end is connected to the first connection terminal 1 for use. How to use the interface circuit will be described with reference to FIG.
In this case, first, a second resistor (indicated as “R2” in FIG. 3) 23 is mounted between the fourth connection terminal 4 and the fifth connection terminal 5.
Then, a Zener diode 33 may be mounted between the eighth connection terminal 8 and the tenth connection terminal 10 as in the example shown in FIG. In this case, a gate IC is used as the IC 34, which is the same as the example shown in FIG.
[0017]
In such a configuration, first, when the external switch 41 is opened, the first connection terminal 1 is substantially at ground potential, and at the same time, the input stage of the IC 34 is also at the same potential. As a result, a digital signal having a logical value High (or logical value Low) is output from the IC 34 and input to a subsequent circuit (not shown). It should be noted that which logic value the IC 34 is to output is determined by the logic required by the operation of the subsequent circuit.
On the other hand, when the external switch 41 is closed, the first connection terminal 1 becomes a predetermined voltage VB via the external switch 41, and this voltage is input to the input stage of the IC 34 via the input resistor 21. Will be applied. As a result, the output of the IC 34 has a logical value opposite to that when the external switch 41 is opened.
Eventually, a digital signal corresponding to the opening / closing of the external switch 41 is obtained by this interface circuit.
[0018]
Next, in the case of being used for analog signal input, one end of the thermistor 42 provided outside the interface circuit is connected to the ground, and the other end is connected to the first connection terminal 1 and used. The usage will be described with reference to FIG.
In this case, first, the second resistor 23 is mounted between the fourth connection terminal 4 and the fifth connection terminal 5 as in the example shown in FIG.
Further, a third resistor (indicated as “R3” in FIG. 4) 24 is mounted between the sixth connection terminal 6 and the seventh connection terminal 7.
The first diode 31 is mounted between the eighth connection terminal 8 and the ninth connection terminal 9 so that the anode side is connected to the eighth connection terminal 8. The second diode 32 may be mounted between the connection terminal 8 and the tenth connection terminal 10 so that the anode side is connected to the tenth connection terminal 10.
[0019]
In such a configuration, as is well known, the resistance value of the thermistor 42 varies depending on the ambient temperature around it. In this example, the thermistor 42 is connected in series with the third resistor 24 to which the power supply voltage Vcc is applied, and the second resistor 23 is connected in parallel with the thermistor 42. ing. Therefore, the power voltage Vcc is applied to the first connection terminal 1 by a so-called resistance voltage division due to the combined resistance value of the thermistor 42 and the second resistor 23 connected in parallel and the resistance value of the third resistor 24. A divided voltage is generated and applied to the IC 34, and a digital value corresponding to the applied voltage is output from the IC 34.
[0020]
Next, when used for analog signal input, for example, a potentiometer 43 is provided outside the interface circuit, one end of which is connected to the ground, the other end is applied with the power supply voltage Vcc from the interface circuit, and A method of using this interface circuit when the moving terminal 43a is used while being connected to the first connection terminal 1 will be described with reference to FIG.
In this case, except that the power supply voltage Vcc of the interface circuit is applied to one end of the potentiometer 43, the mounting of the components is basically the same as the example shown in FIG.
That is, first, the second resistor 23 is mounted between the fourth connection terminal 4 and the fifth connection terminal 5. A first diode 31 is provided between the eighth connection terminal 8 and the ninth connection terminal 9, and a second diode 32 is provided between the eighth connection terminal 8 and the tenth connection terminal 10. May be implemented in the same manner as described above.
[0021]
In such a configuration, the sliding terminal 43a of the potentiometer 43 is connected to an appropriate location of the measurement target object whose movement amount is desired to be moved together with the measurement target object.
Therefore, a voltage corresponding to the movement of the sliding terminal 43 a is generated at the first connection terminal 1, which is applied to the IC 34 and a digital value corresponding to the applied voltage is output from the IC 34.
[0022]
Next, an example of a Zener diode and a diode particularly suitable for mounting on a printed wiring board will be described with reference to FIGS. 6 (A) and 6 (B).
In this example, the Zener diode 33 and the first and second diodes 31 and 32 are stored in storage cases having the same shape and size, respectively.
That is, both the storage case 51 in which the Zener diode 33 is stored and the storage case 52 in which the first and second diodes 31 and 32 are stored have the same shape and size, and the same number of connection pins 51a. To 51c and 52a to 52c.
In the storage case 51, the cathode of the Zener diode 33 is connected to the first connection pin 51a, and the anode of the Zener diode 33 is connected to the second connection pin 51b. Nothing is connected to the pin 51c inside the storage case 51, and it is a so-called empty pin.
[0023]
On the other hand, in the storage case 52, the first connection pin 52a has the cathode of the first diode 31 and the anode of the second diode 32, the second connection pin 52b has the anode of the first diode 31 and the third connection pin 52b. The cathode of the second diode 32 is connected to the connection pin 52c.
In any case, the first connection pins 51a and 52a are connected to the eighth connection terminal 8, the second connection pins 51b and 52b are connected to the tenth connection terminal 10, and the third connection pins 51c, By connecting 52c to the ninth connection terminal 9, it is possible to finish mounting without confirming the directionality of each element.
[0024]
【The invention's effect】
As described above, according to the present invention, necessary wiring between components required in each of the case where the input signal is a switch opening / closing signal and the case where the input signal is an analog signal is made in advance. A circuit suitable for the type of the input signal can be configured simply by selectively connecting components according to the type of the input signal, and can be used for both digital signal input and analog signal input. The effect is that an interface circuit can be provided.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a basic configuration of a digital / analog common interface circuit according to the present invention.
FIG. 2 is a circuit diagram showing a first component mounting example when used for switch signal input;
FIG. 3 is a circuit diagram showing a second component mounting example when used for switch signal input;
FIG. 4 is a circuit diagram showing a first component mounting example when used for analog signal input;
FIG. 5 is a circuit diagram showing a second component mounting example when used for analog signal input;
6A and 6B are schematic diagrams illustrating examples of a Zener diode and a diode suitable for a printed wiring board, in which FIG. 6A is a schematic diagram illustrating an example of a Zener diode, and FIG. 6B is a schematic diagram illustrating an example of a diode. FIG.
7A and 7B are circuit diagrams showing a configuration example of an interface circuit in the case of conventional switch signal input, in which FIG. 7A is a circuit diagram showing a first configuration example, and FIG. It is a circuit diagram which shows a structural example.
8A and 8B are circuit diagrams showing a configuration example of an interface circuit in the case of a conventional analog signal input, in which FIG. 8A is a circuit diagram showing a first configuration example, and FIG. It is a circuit diagram which shows a structural example.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... 1st connecting terminal 2 ... 2nd connecting terminal 3 ... 3rd connecting terminal 4 ... 4th connecting terminal 5 ... 5th connecting terminal 6 ... 6th connecting terminal 7 ... 7th connecting terminal 8 ... 8th connection terminal 9 ... 9th connection terminal 10 ... 10th connection terminal 34 ... IC

Claims (1)

外部からのスイッチの開閉成信号をディジタル信号に変換して出力するゲートIC、又は、所定のアナログ入力信号ディジタル信号に変換するアナログ・ディジタル変換用ICが所望に応じて設けられてなるディジタル/アナログ共用インターフェイス回路であって、
外部に設けられる素子の一端が接続される第1の接続端子と、前記第1の接続端子に接続された第2の接続端子と、前記第2の接続端子と所定の間隔を隔てて、かつ、所定の電圧が印加される第3の接続端子と、前記第1の接続端子に接続された第4の接続端子と、前記第4の接続端子と所定の間隔を隔てて、かつ、アースに接続された第5の接続端子と、前記第1の接続端子に接続された第6の接続端子と、前記第6の接続端子と所定の間隔を隔てて、かつ、電源電圧が印加される第7の接続端子と、前記第1の接続端子に一端が接続され、他端が前記ゲートIC又は前記アナログ・ディジタル変換用ICの入力段に接続された入力用抵抗器と、前記入力用抵抗器の他端に接続された第8の接続端子と、前記第8の接続端子と所定の間隔を隔てて、かつ、電源電圧が印加される第9の接続端子と、前記第8の接続端子と所定の間隔を隔てて、かつ、アースに接続された第10の接続端子と、前記ICの入力段に一端が接続され、他端がアースに接続されたコンデンサとが設けられてなり、
前記第1の接続端子に外部から印加される信号が、スイッチの開閉成信号か、所定のアナログ信号かに応じて、
前記第2の接続端子と前記第3の接続端子との間に抵抗器を、
前記第4の接続端子と前記第5の接続端子との間に抵抗器を、
前記第6の接続端子と前記第7の接続端子との間に抵抗器を、
前記第8の接続端子と前記第9の接続端子との間にダイオードを、
前記第8の接続端子と前記第10の接続端子との間にダイオードを、
それぞれ選択的に実装可能に構成されてなることを特徴とするディジタル/アナログ共用インターフェイス回路。
A digital IC that is provided with a gate IC that converts an external switch opening / closing signal into a digital signal and outputs it, or an analog / digital conversion IC that converts a predetermined analog input signal into a digital signal as desired. An analog shared interface circuit,
A first connection terminal to which one end of an element provided outside is connected; a second connection terminal connected to the first connection terminal; and a predetermined distance from the second connection terminal; A third connection terminal to which a predetermined voltage is applied, a fourth connection terminal connected to the first connection terminal, a predetermined interval from the fourth connection terminal, and grounding A fifth connection terminal connected to the first connection terminal; a sixth connection terminal connected to the first connection terminal; and a sixth supply terminal to which a power supply voltage is applied at a predetermined interval from the sixth connection terminal. 7, an input resistor having one end connected to the first connection terminal and the other end connected to an input stage of the gate IC or the analog / digital conversion IC , and the input resistor And an eighth connection terminal connected to the other end of the first connection terminal and a predetermined distance from the eighth connection terminal. And a ninth connection terminal to which a power supply voltage is applied, a tenth connection terminal connected to the ground at a predetermined interval from the eighth connection terminal, and an input of the IC A capacitor having one end connected to the stage and the other end connected to ground,
Depending on whether the signal applied from the outside to the first connection terminal is a switch opening / closing signal or a predetermined analog signal,
A resistor is provided between the second connection terminal and the third connection terminal.
A resistor is provided between the fourth connection terminal and the fifth connection terminal.
A resistor is provided between the sixth connection terminal and the seventh connection terminal.
A diode is provided between the eighth connection terminal and the ninth connection terminal.
A diode is provided between the eighth connection terminal and the tenth connection terminal.
A digital / analog common interface circuit characterized by being configured to be selectively mountable .
JP2000221839A 2000-07-24 2000-07-24 Digital / analog common interface circuit Expired - Fee Related JP4321672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000221839A JP4321672B2 (en) 2000-07-24 2000-07-24 Digital / analog common interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000221839A JP4321672B2 (en) 2000-07-24 2000-07-24 Digital / analog common interface circuit

Publications (2)

Publication Number Publication Date
JP2002041246A JP2002041246A (en) 2002-02-08
JP4321672B2 true JP4321672B2 (en) 2009-08-26

Family

ID=18716173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000221839A Expired - Fee Related JP4321672B2 (en) 2000-07-24 2000-07-24 Digital / analog common interface circuit

Country Status (1)

Country Link
JP (1) JP4321672B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4948228B2 (en) * 2007-03-29 2012-06-06 株式会社クボタ Work machine interface circuit

Also Published As

Publication number Publication date
JP2002041246A (en) 2002-02-08

Similar Documents

Publication Publication Date Title
US8089289B1 (en) Capacitive field sensor with sigma-delta modulator
JP3864864B2 (en) Clamp circuit
US7209845B2 (en) Configurable voltage regulator
US4329640A (en) Very large scale integrated circuit
US6756585B2 (en) Process for manufacturing a housing for sensor elements, sensor and use thereof
JP2009509471A (en) Adaptive input cell circuit
US8358129B2 (en) Signal transmitting device having output circuit for voltage comparison
US7046013B2 (en) Open-circuit failure detection circuit
US20010040473A1 (en) Variable delay circuit having a ramp voltage generating unit
US20040119524A1 (en) Calibration configuration
JP4321672B2 (en) Digital / analog common interface circuit
JP6264160B2 (en) Semiconductor physical quantity sensor device
JP3636232B2 (en) Integrated circuit capable of selecting function and method for selecting function
JP5757833B2 (en) Switch circuit
US6914434B2 (en) Driver circuit
US5671233A (en) Integrated circuit incorporating a test circuit
US20030169550A1 (en) Circuit arrangement with a circut breaker
JPH07105101A (en) Memory module or memory card
US20230288495A1 (en) Cable fault detection
US20230242087A1 (en) Device for automatically detecting coupling between electronic devices
US20090066355A1 (en) Circuit Arrangement with Switchable Functionality and Electronic Component
US20210368160A1 (en) Device for determining a parasitic resistance in video endoscopes
US20040004178A1 (en) Electric circuit arrangement and method for checking the intactness of a photodiode array
JPH06120805A (en) Semiconductor integrated circuit
JP2003115757A (en) Interface circuit and signal transmission system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081007

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081127

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees