JP3266764B2 - A / D conversion input interface circuit - Google Patents

A / D conversion input interface circuit

Info

Publication number
JP3266764B2
JP3266764B2 JP19107795A JP19107795A JP3266764B2 JP 3266764 B2 JP3266764 B2 JP 3266764B2 JP 19107795 A JP19107795 A JP 19107795A JP 19107795 A JP19107795 A JP 19107795A JP 3266764 B2 JP3266764 B2 JP 3266764B2
Authority
JP
Japan
Prior art keywords
voltage
input
cpu
interface circuit
potentiometer
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
JP19107795A
Other languages
Japanese (ja)
Other versions
JPH0916881A (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.)
Mitsuba Corp
Original Assignee
Mitsuba 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 Mitsuba Corp filed Critical Mitsuba Corp
Priority to JP19107795A priority Critical patent/JP3266764B2/en
Publication of JPH0916881A publication Critical patent/JPH0916881A/en
Application granted granted Critical
Publication of JP3266764B2 publication Critical patent/JP3266764B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ポテンショメータから
のアナログ信号をCPUのA/D端子に入力可能な信号
に変換するためのA/D変換処理用入力インターフェー
ス回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an A / D conversion input interface circuit for converting an analog signal from a potentiometer into a signal that can be input to an A / D terminal of a CPU.

【0002】[0002]

【従来の技術】電動車両の牽引用モータの速度制御にお
いては、内燃機関車両におけるスロットルバルブを動作
させるアクセルペダルに相当するペダルやレバー等にポ
テンショメータを組み付け、このポテンショメータから
のアナログ信号をCPUにてA/D変換した上でモータ
の駆動を制御するようにしたものがある。
2. Description of the Related Art In speed control of a traction motor of an electric vehicle, a potentiometer is mounted on a pedal or a lever corresponding to an accelerator pedal for operating a throttle valve in an internal combustion engine vehicle, and an analog signal from the potentiometer is transmitted to a CPU by a CPU. In some cases, the drive of the motor is controlled after A / D conversion.

【0003】このときのポテンショメータからCPUに
至るまでの回路構成の一例を図4に示す。この回路にお
いては、ポテンショメータ2の抵抗素子の各終端が電源
並びに接地にそれぞれ接続されており、その摺動子から
の出力線がノードAにおいて抵抗R1を介して電源に接
続されている。こうして、運転者の操作するペダルやレ
バー等に連動するポテンショメータ2の摺動子の変位が
電圧値の変化として検出される。そして、この電圧値で
示されるアナログ信号は、オペアンプIC1からなる電
圧ホロワ回路4と、CPU3への電流を制限する抵抗R
8とで構成されたA/D変換処理用入力インターフェー
ス回路21を介して、CPU3のA/D端子に入力され
る。
FIG. 4 shows an example of a circuit configuration from the potentiometer to the CPU at this time. In this circuit, each terminal of the resistance element of the potentiometer 2 is connected to the power supply and the ground, respectively, and the output line from the slider is connected to the power supply at the node A via the resistor R1. Thus, the displacement of the slider of the potentiometer 2 linked to the pedal or lever operated by the driver is detected as a change in the voltage value. An analog signal represented by this voltage value is supplied to a voltage follower circuit 4 composed of an operational amplifier IC1 and a resistor R for limiting a current to the CPU 3.
8 is input to the A / D terminal of the CPU 3 via the A / D conversion processing input interface circuit 21 composed of

【0004】[0004]

【発明が解決しようとする課題】ところで、このような
従来形式のA/D変換処理用入力インターフェース回路
21では、例えば、ポテンショメータ2からのリード線
L1・L2・L3や、このリード線L1・L2・L3を
電源、CPU3、並びに接地にそれぞれ接続するコネク
タ7に、短絡や断線が生じたり、或いはポテンショメー
タ2が損傷を受けたりすると、電源電圧が例えば5Vで
あれば、CPU3のA/D端子に印加される電圧は5V
又は0Vのいずれかとなる。例えば、コネクタ7におい
て、ポテンショメータ2の抵抗素子の一方の終端に接続
されたリード線L1を電源に接続する第1端子P1と、
摺動子に接続されたリード線L2をCPU3に接続する
第2端子P2とが短絡した場合には、入力電圧は5Vと
なる。一方、第2端子P2と抵抗素子の他方の終端に接
続されたリード線L3を接地に接続する第3端子P3と
が短絡した場合には、入力電圧は0Vとなる。また、リ
ード線L1・L2・L3のいずれかが断線した場合に
は、入力電圧は5Vとなる。
By the way, in such a conventional input interface circuit 21 for A / D conversion processing, for example, the lead lines L1, L2, L3 from the potentiometer 2 and the lead lines L1, L2 If a short circuit or disconnection occurs in the connector 7 connecting L3 to the power supply, the CPU 3 and the ground, or the potentiometer 2 is damaged, if the power supply voltage is, for example, 5V, the A / D terminal of the CPU 3 The applied voltage is 5V
Or 0V. For example, in the connector 7, a first terminal P1 for connecting a lead wire L1 connected to one end of the resistance element of the potentiometer 2 to a power supply,
When the lead L2 connected to the slider is short-circuited to the second terminal P2 connecting the CPU 3, the input voltage becomes 5V. On the other hand, when the second terminal P2 and the third terminal P3 that connects the lead L3 connected to the other end of the resistance element to the ground are short-circuited, the input voltage becomes 0V. If any of the lead wires L1, L2, L3 is disconnected, the input voltage becomes 5V.

【0005】この入力電圧に基づいてCPU3で上述の
異常を検出しようとすると、正常時におけるモータの停
止状態或いは最高速度状態と異常時とを確実に判別でき
るようにするため、例えばCPU3における定格入力電
圧範囲の下限が0V、上限が5Vであれば、正常時に最
小となる停止状態の入力電圧を0.5V、最大となる最
高速度状態の入力電圧を4.5Vに設定することにな
る。ところが、このようにすると、CPU3においてA
/D変換する際に0.5Vを下回る部分と4.5Vを越
える部分に割り振られたデジタル値が無駄になる一方
で、正常時の検出に用いられるデジタル値の状態数が減
少するために検出分解能が低下するといった不都合があ
った。
If the CPU 3 attempts to detect the above-mentioned abnormality based on the input voltage, it is necessary to use, for example, a rated input in the CPU 3 in order to make it possible to reliably determine whether the motor is in a stopped state or in a maximum speed state in a normal state. If the lower limit of the voltage range is 0 V and the upper limit is 5 V, the input voltage in the stopped state, which is the minimum in normal operation, is set to 0.5 V, and the input voltage in the maximum speed state, which is the maximum, is set to 4.5 V. However, in this case, the CPU 3
During the / D conversion, while the digital value allocated to the portion below 0.5 V and the portion exceeding 4.5 V are wasted, the number of states of the digital value used for the normal state detection is reduced, so that the detection is performed. There is an inconvenience that the resolution is reduced.

【0006】本発明は、このような従来技術の不都合を
解消するべく案出されたものであり、その主な目的は、
正常時の検出分解能を低下することなく異常を確実に判
別し得るように構成されたA/D変換処理用入力インタ
ーフェース回路を提供することにある。
[0006] The present invention has been devised to solve such disadvantages of the prior art, and its main objects are as follows.
An object of the present invention is to provide an input interface circuit for A / D conversion processing configured to be able to reliably determine an abnormality without lowering the detection resolution in a normal state.

【0007】[0007]

【課題を解決するための手段】このような目的は、本発
明によれば、ポテンショメータからのアナログ信号をC
PUのA/D端子に入力可能な信号に変換するためのA
/D変換処理用入力インターフェース回路であって、正
常時における前記ポテンショメータからの前記アナログ
信号を、前記CPUの定格入力電圧範囲における最低値
の近傍から最高値の近傍に至る範囲に渡って変動するよ
うに電圧増幅する電圧増幅手段と、前記アナログ信号に
影響を及ぼす短絡又は断線による異常時における前記電
圧増幅手段の出力を、電源電圧レベルの前記アナログ信
号発生時には前記最高値を認識し得る所定の電圧レベル
に制限すると共に、接地レベルの前記アナログ信号発生
時には前記最低値を認識し得る所定の電圧レベルに制限
する電圧制限手段とを有することを特徴とするA/D変
換処理用入力インターフェース回路を提供することによ
り達成される。
According to the present invention, an analog signal from a potentiometer is converted to a C signal.
A for converting to a signal that can be input to the A / D terminal of the PU
An input interface circuit for / D conversion processing, wherein the analog signal from the potentiometer in a normal state fluctuates over a range from near the lowest value to near the highest value in the rated input voltage range of the CPU. A voltage amplifying means for amplifying a voltage, and an output of the voltage amplifying means at the time of abnormality due to a short circuit or disconnection affecting the analog signal, a predetermined voltage capable of recognizing the maximum value when the analog signal of power supply voltage level is generated. A voltage limiting means for limiting to a predetermined voltage level at which the minimum value can be recognized when the analog signal of the ground level is generated. It is achieved by doing.

【0008】[0008]

【作用】このように構成すれば、電圧増幅手段によっ
て、CPUの入力電圧を定格入力電圧範囲のほぼ全域に
渡って変動するように増幅することで、正常時の検出分
解能の低下を回避し得る。一方、このようにアナログ信
号を電圧増幅する電圧増幅手段に、コネクタやリード線
の短絡や断線といった異常時において電源電圧レベル或
いは接地レベルのアナログ信号が入力された場合に、そ
の出力が過大となるのを電圧制限手段によって制限して
CPUを保護する。このとき、CPUの入力電圧が定格
入力電圧範囲外で、しかもその最高値或いは最低値を認
識し得る電圧レベルに制限されることから、入力電圧を
オール0又はオール1のいずれかのデジタル値に確実に
A/D変換することが可能となり、異常検出用として2
状態を確保しておけば足りる。このようにして、正常時
の検出分解能を殆ど低下させることなく異常時と正常時
とを確実に判別し得るようになる。例えば8ビットの場
合には、256状態から異常検出用の2状態を差し引い
た254状態を正常時の信号検出用として使用可能とな
る。
With this configuration, the voltage amplifying means amplifies the input voltage of the CPU so as to fluctuate over substantially the entire range of the rated input voltage range, thereby avoiding a decrease in the normal detection resolution. . On the other hand, when an analog signal of a power supply voltage level or a ground level is input to the voltage amplifying means for amplifying the analog signal in such a way as to be short-circuited or disconnected in a connector or a lead wire, the output becomes excessive. Is limited by voltage limiting means to protect the CPU. At this time, since the input voltage of the CPU is outside the rated input voltage range and is limited to a voltage level at which the highest value or the lowest value can be recognized, the input voltage is changed to a digital value of either all 0s or all 1s. A / D conversion can be performed reliably.
It is enough to secure the state. In this way, it is possible to reliably discriminate between the abnormal state and the normal state without substantially lowering the detection resolution in the normal state. For example, in the case of 8 bits, 254 states obtained by subtracting 2 states for abnormality detection from 256 states can be used for signal detection in a normal state.

【0009】[0009]

【実施例】以下に添付の図面に示された具体的な実施例
に基づいて本発明の構成を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The construction of the present invention will be described below in detail with reference to specific embodiments shown in the accompanying drawings.

【0010】図1は、本発明が適用されたA/D変換処
理用入力インターフェース回路を示している。この入力
インターフェース回路1は、ポテンショメータ2からの
アナログ信号をCPU3のA/D端子に入力可能な信号
に変換するものであり、電圧ホロワ部4と、電圧増幅部
5と、電圧制限部6とを有している。なお、ポテンショ
メータ2からの信号がこの入力インターフェース回路1
に入力するまでの構成は、上述した従来の回路構成(図
4参照)と同一なので、その詳細な説明は省略する。
FIG. 1 shows an input interface circuit for A / D conversion processing to which the present invention is applied. The input interface circuit 1 converts an analog signal from the potentiometer 2 into a signal that can be input to an A / D terminal of the CPU 3, and includes a voltage follower unit 4, a voltage amplifying unit 5, and a voltage limiting unit 6. Have. The signal from the potentiometer 2 is transmitted to the input interface circuit 1
Is the same as the above-described conventional circuit configuration (see FIG. 4), and a detailed description thereof will be omitted.

【0011】電圧ホロワ部4では、ポテンショメータ2
からの出力線がオペアンプIC1の正相入力端子に接続
され、その出力側のノードBと逆相入力端子とが接続さ
れている。このオペアンプIC1は、例えば電圧が±1
2Vの正負の電源で動作するようになっている(両電源
式)。なお、負電源側は接地されていても良い(片電源
式)。
In the voltage follower section 4, the potentiometer 2
Is connected to the positive-phase input terminal of the operational amplifier IC1, and the output side node B is connected to the negative-phase input terminal. This operational amplifier IC1 has, for example, a voltage of ± 1.
It operates with a positive and negative power supply of 2V (dual power supply type). The negative power supply side may be grounded (single power supply type).

【0012】電圧増幅部5は、オペアンプIC2と、オ
フセット並びにゲイン微調整用の可変抵抗VR1・VR
2と、抵抗R2〜R7とからなっている。オペアンプI
C2は、±V(V)(V=5+1.5以上、例えば1
2)の正負の電源で動作する。電圧ホロワ部4からの出
力線が、抵抗R2を介してオペアンプIC2の正相入力
端子に接続されている。この抵抗R2とオペアンプIC
2の正相入力端子との接続線はノードCにおいて抵抗R
3を介して接地されている。
The voltage amplifier 5 includes an operational amplifier IC2 and variable resistors VR1 and VR for fine adjustment of offset and gain.
2 and resistors R2 to R7. Operational amplifier I
C2 is ± V (V) (V = 5 + 1.5 or more, for example, 1
It operates with the positive and negative power supplies of 2). An output line from the voltage follower unit 4 is connected to a positive-phase input terminal of the operational amplifier IC2 via a resistor R2. This resistor R2 and the operational amplifier IC
2 has a resistor R at node C.
3 is grounded.

【0013】一方、オペアンプIC2の逆相入力端子
は、抵抗R4を介して可変抵抗VR1の摺動子に接続さ
れている。この可変抵抗VR1の一端は、抵抗R5を介
して電源(5V)に接続され、他端は接地されている。
また、抵抗R4とオペアンプIC2の逆相入力端子との
ノードDは、抵抗R6を介して可変抵抗VR2の摺動子
に接続されている。この可変抵抗VR2の抵抗素子の一
端は、オペアンプIC2の出力線のノードEに接続され
ており、他端は抵抗R7を介して接地されている。この
ようにしてなる電圧増幅部5の出力線は、過大な電流が
生じるのを防止する抵抗R8を介して電圧制限部6に接
続されている。
On the other hand, the negative-phase input terminal of the operational amplifier IC2 is connected to the slider of the variable resistor VR1 via the resistor R4. One end of the variable resistor VR1 is connected to a power supply (5 V) via a resistor R5, and the other end is grounded.
A node D between the resistor R4 and the negative-phase input terminal of the operational amplifier IC2 is connected to a slider of the variable resistor VR2 via a resistor R6. One end of the resistance element of the variable resistor VR2 is connected to the node E of the output line of the operational amplifier IC2, and the other end is grounded via a resistor R7. The output line of the voltage amplifying unit 5 thus configured is connected to the voltage limiting unit 6 via a resistor R8 for preventing an excessive current from being generated.

【0014】この電圧制限部6は、カソードが電源(5
V)に接続されダイオードD1と、アノードが接地され
たダイオードD2とを有し、両ダイオードD1・D2
は、抵抗R8の出力線が接続されたノードFを挟んで直
列に接続されている。このダイオードD1・D2は、C
PU3の入力規格VCC±0.5(V)を満足する低電圧
降下型のものである。また、ノードFに接続された電圧
制限部5の出力線には、ノードGにおいて他端が接地さ
れたコンデンサC1が接続されている。このコンデンサ
C1は、抵抗R8と共にノイズフィルタを構成し、ダイ
オードD1・D2が作動するまでのサージ電圧の印加を
吸収するものである。
The voltage limiting section 6 has a cathode connected to a power source (5).
V2), a diode D1 and a diode D2 whose anode is grounded.
Are connected in series across a node F to which the output line of the resistor R8 is connected. The diodes D1 and D2 are C
It is a low voltage drop type that satisfies the input standard V CC ± 0.5 (V) of PU3. The output line of the voltage limiter 5 connected to the node F is connected to a capacitor C1 whose other end is grounded at the node G. The capacitor C1 constitutes a noise filter together with the resistor R8, and absorbs application of a surge voltage until the diodes D1 and D2 operate.

【0015】ここで、図示しない運転者の操作するペダ
ルやレバー等に組み込まれた最大抵抗値5,000Ωの
ポテンショメータ2が、このペダルやレバー等の動作に
応じて、例えば、抵抗値が最小抵抗値RL=100
(Ω)から最大抵抗値RH=1,100(Ω)まで変動
するものとする。このとき、電源電圧が5Vであれば、
電圧ホロワ部3の出力電圧、すなわち電圧増幅部5の入
力電圧VINは、0.1Vから1.1Vまでの間で変動す
ることになる。
Here, a potentiometer 2 having a maximum resistance value of 5,000 Ω incorporated in a pedal or lever operated by a driver (not shown), for example, has a resistance value of a minimum resistance according to the operation of the pedal or lever. Value R L = 100
(Ω) to the maximum resistance value R H = 1,100 (Ω). At this time, if the power supply voltage is 5V,
The output voltage of the voltage follower unit 3, that is, the input voltage V IN of the voltage amplifying unit 5 varies between 0.1V and 1.1V.

【0016】これが電圧増幅部5において所定の出力電
圧VOUTまで増幅される。今、CPU3において正確に
A/D変換される定格入力電圧範囲が0Vから5Vまで
であるとすると、例えば出力電圧VOUTが0.2Vから
4.8Vまでの間で変動するように増幅する(図2参
照)。すなわち、最小入力電圧VINL=0.1が最小出
力電圧VOUTL=0.2に、最大入力電圧VINH=1.1
が最大出力電圧VOUTH=4.8にそれぞれ増幅補正され
るように、オペアンプIC2のアンプゲインG並びにオ
フセット調整VOFSが設定される。このアンプゲインG
は、(4.8−0.2)/(1.1−0.1)=4.6
(倍)であり、オフセット調整VOFSは、0.2−0.
1=G×VOFSよりVOFS=21.7(mV)である。
This is amplified by the voltage amplifier 5 to a predetermined output voltage V OUT . Now, assuming that the rated input voltage range in which the A / D conversion is accurately performed in the CPU 3 is from 0 V to 5 V, for example, the output voltage V OUT is amplified so as to fluctuate between 0.2 V and 4.8 V ( (See FIG. 2). That is, the minimum input voltage V INL = 0.1 becomes the minimum output voltage V OUTL = 0.2, and the maximum input voltage V INH = 1.1
Is set to the maximum output voltage V OUTH = 4.8, the amplifier gain G of the operational amplifier IC2 and the offset adjustment V OFS are set. This amplifier gain G
Is (4.8-0.2) / (1.1-0.1) = 4.6
(Times), and the offset adjustment V OFS is 0.2-0.
From 1 = G × V OFS , V OFS = 21.7 (mV).

【0017】このように、正常時の電圧増幅部5の出力
電圧VOUTが、0.2Vから4.8Vまでの間で変動す
るように設定した場合、コネクタ2やリード線L1・L
2・L3等に短絡や断線が生じると、出力電圧VOUT
CPU3の入力規格を越える電圧値を示そうとする。例
えば、コネクタ2の第1・第2の両端子P1・P2が短
絡したり、或いはリード線L1・L2・L3のいずれか
が断線したりすると、電圧増幅部5の入力電圧VINは略
5Vとなるため、電圧増幅部5の出力電圧VOUTは(5
+VOFS)×Gとなり、5Vを遙かに超える。このと
き、抵抗R10とダイオードD1とを経て電源側に電流
が流れることで、結局、CPU3への入力電圧VA/D
5+VF(D1)(VF(D1)はダイオードD1の順方向電圧降
下)に制限される。
As described above, when the output voltage V OUT of the voltage amplifying unit 5 in the normal state is set to fluctuate between 0.2 V and 4.8 V, the connector 2 and the lead wires L1 and L
When a short circuit or disconnection occurs in 2.L3 or the like, the output voltage V OUT tends to indicate a voltage value exceeding the input standard of the CPU 3. For example, if the first and second terminals P1 and P2 of the connector 2 are short-circuited, or if any of the lead wires L1, L2 and L3 is broken, the input voltage V IN of the voltage amplifying unit 5 becomes approximately 5V. Therefore, the output voltage V OUT of the voltage amplifier 5 becomes (5
+ V OFS ) × G, which far exceeds 5V. At this time, the current flows to the power supply side via the resistor R10 and the diode D1, and as a result, the input voltage VA / D to the CPU 3 is 5 + VF (D1) (VF (D1) is the forward voltage of the diode D1 ). Descent).

【0018】また、コネクタ7の第2・第3の両端子P
2・P3が短絡すると、電圧増幅部5の入力電圧VIN
略0Vとなり、その出力電圧VOUTが(0−VOFS)×G
となって0Vを下回ることになる。このとき、接地から
ダイオードD2と抵抗R10とを経て電流が流れるた
め、CPU3への入力電圧VA/Dは0−VF(D2)(V
F(D2)はダイオードD2の順方向電圧降下)となる。こ
のようにして、CPU3への入力電圧VA/Dが入力規格
内に制限され、CPU3を保護している。
The second and third terminals P of the connector 7
When 2 · P3 is short-circuited, the input voltage V IN of the voltage amplification unit 5 becomes approximately 0 V, and the output voltage V OUT becomes (0−V OFS ) × G.
As a result, the voltage falls below 0V. At this time, since a current flows from the ground via the diode D2 and the resistor R10, the input voltage VA / D to the CPU 3 is 0-VF (D2) (V
F (D2) is the forward voltage drop of the diode D2). In this way, the input voltage V A / D to the CPU 3 is limited to within the input standard, and the CPU 3 is protected.

【0019】一方、異常時におけるCPU3への入力電
圧VA/Dが、ハイ確定モードで5<VA/D≦5+
F(D1)、ロー確定モードで0−VF(D2)≦VA/D<0と
なることから、CPU6においては、この入力電圧V
A/Dをオール0又はオール1のいずれかのデジタル値に
確実にA/D変換される。したがって、異常検出用とし
て2状態を確保しておけばよく、例えば8ビットの場合
には、256状態から異常検出用の2状態を差し引いた
254状態を正常時の信号検出用として使用でき、検出
分解能は殆ど低下しない。
On the other hand, the input voltage V A / D to the CPU 3 at the time of abnormality is 5 <V A / D ≦ 5 +
Since VF (D1) satisfies 0−VF (D2) ≦ V A / D <0 in the low determination mode, the input voltage V
The A / D is reliably A / D converted to a digital value of either all 0 or all 1. Therefore, it is sufficient to secure two states for abnormality detection. For example, in the case of 8 bits, 254 states obtained by subtracting two states for abnormality detection from 256 states can be used for signal detection in a normal state. The resolution hardly decreases.

【0020】なお、上記の電圧ホロワ部4並びに電圧増
幅部5は、図3に示されるように、ローパスフィルタ部
12並びに電圧増幅部13にそれぞれ置換しても良い。
ローパスフィルタ部12は、電圧ホロワ部4に抵抗R9
・R10とコンデンサC2・C3を追加したものであ
り、電圧増幅部13は、電圧増幅部5に抵抗R6と並列
してコンデンサC4を設けたものである。
The voltage follower 4 and the voltage amplifier 5 may be replaced with a low-pass filter 12 and a voltage amplifier 13, respectively, as shown in FIG.
The low-pass filter section 12 includes a resistor R9 connected to the voltage follower section 4.
R10 and capacitors C2 and C3 are added, and the voltage amplifying unit 13 is obtained by providing the voltage amplifying unit 5 with a capacitor C4 in parallel with the resistor R6.

【0021】[0021]

【発明の効果】このように本発明によれば、短絡や断線
といった異常状態を確実に判別し得る上、正常時の分解
能の低下を回避し得る。また、ポテンショメータの抵抗
変動域を任意に設定し得るようになるため、運転者の操
作するペダルやレバー等にポテンショメータを組み付け
る際にこれらの可動範囲を厳密に整合させる必要がなく
なり、設計自由度が向上するといった利点が得られる。
As described above, according to the present invention, it is possible to reliably determine an abnormal state such as a short circuit or a disconnection, and to avoid a decrease in resolution in a normal state. In addition, since the resistance fluctuation range of the potentiometer can be set arbitrarily, it is not necessary to strictly adjust the movable ranges of the potentiometer when assembling the potentiometer to the pedal or lever operated by the driver, and the degree of freedom in design is reduced. The advantage of improvement is obtained.

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

【図1】本発明に基づき構成されたA/D変換処理用入
力インターフェース回路を示す回路図。
FIG. 1 is a circuit diagram showing an input interface circuit for A / D conversion processing configured according to the present invention.

【図2】図1に示される電圧増幅部における電圧増幅状
況を示すグラフ。
FIG. 2 is a graph showing a voltage amplification state in the voltage amplification unit shown in FIG.

【図3】本発明に基づき構成されたA/D変換処理用入
力インターフェース回路の他の例を示す回路図。
FIG. 3 is a circuit diagram showing another example of the input interface circuit for A / D conversion processing configured according to the present invention.

【図4】従来のA/D変換処理用入力インターフェース
回路を示す回路図。
FIG. 4 is a circuit diagram showing a conventional input interface circuit for A / D conversion processing.

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

1 入力インターフェース回路 2 ポテンショメータ 3 CPU 4 電圧ホロワ部 5 電圧増幅部 6 電圧制限部 7 コネクタ 11 入力インターフェース回路 12 ローパスフィルタ部 13 電圧増幅部 21 入力インターフェース回路 L1〜L3 リード線 P1〜P3 端子 R1〜R10 抵抗 IC1・IC2 オペアンプ C1〜C4 コンデンサ DESCRIPTION OF SYMBOLS 1 Input interface circuit 2 Potentiometer 3 CPU 4 Voltage follower part 5 Voltage amplifying part 6 Voltage limiting part 7 Connector 11 Input interface circuit 12 Low-pass filter part 13 Voltage amplifying part 21 Input interface circuits L1-L3 Lead wires P1-P3 Terminals R1-R10 Resistor IC1 ・ IC2 Operational amplifier C1-C4 Capacitor

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G08C 13/00 G01D 3/08 G06F 3/05 351 H03M 1/12 H03M 1/18 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G08C 13/00 G01D 3/08 G06F 3/05 351 H03M 1/12 H03M 1/18

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ポテンショメータからのアナログ信号
をCPUのA/D端子に入力可能な信号に変換するため
のA/D変換処理用入力インターフェース回路であっ
て、 正常時における前記ポテンショメータからの前記アナロ
グ信号を、前記CPUの定格入力電圧範囲における最低
値の近傍から最高値の近傍に至る範囲に渡って変動する
ように電圧増幅する電圧増幅手段と、 前記アナログ信号に影響を及ぼす短絡又は断線による異
常時における前記電圧増幅手段の出力を、電源電圧レベ
ルの前記アナログ信号発生時には前記最高値を認識し得
る所定の電圧レベルに制限すると共に、接地レベルの前
記アナログ信号発生時には前記最低値を認識し得る所定
の電圧レベルに制限する電圧制限手段とを有することを
特徴とするA/D変換処理用入力インターフェース回
路。
An input interface circuit for A / D conversion processing for converting an analog signal from a potentiometer into a signal that can be input to an A / D terminal of a CPU, wherein the analog signal from the potentiometer in a normal state is provided. Voltage amplifying means for amplifying the voltage so as to vary over a range from the vicinity of the lowest value to the vicinity of the highest value in the rated input voltage range of the CPU; The output of the voltage amplifying means is limited to a predetermined voltage level at which the highest value can be recognized when the analog signal of the power supply voltage level is generated, and the predetermined value at which the lowest value can be recognized when the analog signal at the ground level is generated. And a voltage limiting means for limiting to a voltage level of A / D conversion processing. Interface circuit.
JP19107795A 1995-07-03 1995-07-03 A / D conversion input interface circuit Expired - Fee Related JP3266764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19107795A JP3266764B2 (en) 1995-07-03 1995-07-03 A / D conversion input interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19107795A JP3266764B2 (en) 1995-07-03 1995-07-03 A / D conversion input interface circuit

Publications (2)

Publication Number Publication Date
JPH0916881A JPH0916881A (en) 1997-01-17
JP3266764B2 true JP3266764B2 (en) 2002-03-18

Family

ID=16268489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19107795A Expired - Fee Related JP3266764B2 (en) 1995-07-03 1995-07-03 A / D conversion input interface circuit

Country Status (1)

Country Link
JP (1) JP3266764B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742035B (en) * 2017-10-25 2021-02-05 华自科技股份有限公司 PCB wiring method and device, computer readable storage medium and computer equipment

Also Published As

Publication number Publication date
JPH0916881A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US5617282A (en) Data communication system
US4194147A (en) Parallel connected switching regulator system
EP0622943B1 (en) Power management circuit for a subscriber line interface circuit
JP2635277B2 (en) Sensor unit control system
GB2030808A (en) Protecting transistors
JP3266764B2 (en) A / D conversion input interface circuit
JPH05107292A (en) Disconnection detector
JP3672391B2 (en) Displacement detection circuit with potentiometer
JP4065328B2 (en) Configuration for protecting the output transistor of a power amplifier
JP2002503348A (en) Evaluation circuit for electronic signal generator
US6922105B2 (en) Operational amplifier
US5285345A (en) Modulator switching system having at least one semiconductor switch for adaptation to different load ranges and protection thresholds
JPH0830992B2 (en) Failure detector for analog output circuit
US20230251991A1 (en) Device for automatically detecting coupling between electronic devices
JP3536936B2 (en) Logarithmic amplifier
JP3080526B2 (en) Current detection circuit
JPH0331011B2 (en)
EP0934632B1 (en) A method and an arrangement for adapting, from a dc point of view, a first circuit to at least one second circuit
JP2504077Y2 (en) Analog data processor from potentiometer
JP2571745Y2 (en) Protection circuit for load drive circuit
KR102454009B1 (en) Wheel sensor interface apparatus
JP2579611Y2 (en) Detector
GB2148066A (en) Improvements in or relating to short-circuit protection devices of output stages
JPS6357851A (en) Detecting device for throttle valve opening
KR0122591Y1 (en) A circuit for preventing speaker from over voltage

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees