JPH04294501A - Potentiometer - Google Patents

Potentiometer

Info

Publication number
JPH04294501A
JPH04294501A JP5986091A JP5986091A JPH04294501A JP H04294501 A JPH04294501 A JP H04294501A JP 5986091 A JP5986091 A JP 5986091A JP 5986091 A JP5986091 A JP 5986091A JP H04294501 A JPH04294501 A JP H04294501A
Authority
JP
Japan
Prior art keywords
slider
voltage
resistance
variable resistor
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.)
Pending
Application number
JP5986091A
Other languages
Japanese (ja)
Inventor
Hiroshi Horikoshi
博 堀越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5986091A priority Critical patent/JPH04294501A/en
Publication of JPH04294501A publication Critical patent/JPH04294501A/en
Pending legal-status Critical Current

Links

Landscapes

  • Adjustable Resistors (AREA)

Abstract

PURPOSE:To detect the position of the slider of a variable resistance in a potentiometer irrespective of the resistance value of the variable resistance. CONSTITUTION:The voltages Va and Vb at both terminals of a variable resistance 2 and the voltage Vv of a slider are detected by connecting in series a resistance 1, the variable resistance 2, and a resistance 3 between a power source Vc and reference potential. The position X of the slider 4 can be found from X=Vv-Vb/Va-Vb. Therefore, the position X of the slider 4 can be accurately detected even when the resistance value of the variable resistance 2 fluctuates, since the position X can be detected from the voltages only without using the resistance value of the variable resistance.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は可変抵抗の摺動子電圧を
検出することにより、該摺動子の位置を検出するポテン
ショメータに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a potentiometer that detects the position of a slider of a variable resistor by detecting the slider voltage.

【0002】0002

【従来の技術】従来のこの種のポテンショメータとして
は図5に示すものがあった。図5は従来のポテンショメ
ータの構成を示すブロック図で、図において、Vcは電
源、1,2,3はそれぞれ電源Vcと基準電位間に直列
に接続された第1の抵抗,可変抵抗,および第2の抵抗
を示す。4は可変抵抗2の摺動子、5は摺動子4の電圧
をディジタル信号に変換するA/D変換器、6はA/D
変換器5からのディジタル信号が入力されるマイクロコ
ンピュータ(以下、CPUと略記する)である。
2. Description of the Related Art A conventional potentiometer of this type is shown in FIG. FIG. 5 is a block diagram showing the configuration of a conventional potentiometer. In the figure, Vc is a power supply, and 1, 2, and 3 are a first resistor, a variable resistor, and a variable resistor connected in series between the power supply Vc and a reference potential, respectively. It shows a resistance of 2. 4 is a slider with variable resistance 2, 5 is an A/D converter that converts the voltage of slider 4 into a digital signal, and 6 is an A/D converter.
This is a microcomputer (hereinafter abbreviated as CPU) to which the digital signal from the converter 5 is input.

【0003】次に動作について説明する。第1,第2の
抵抗1,3の抵抗値を、それぞれRa,Rbとし、可変
抵抗2の抵抗値をRvとする。また、可変抵抗2の摺動
子4の位置X(0≦X≦1)における、摺動子4と可変
抵抗2の第2の抵抗3側端子との間の抵抗をRxとする
と、この抵抗Rxは、 Rx=XRv・・・(1) で表される。一方前記直列回路に流れる電流Iは、I=
Vc/Ra+Rb+Rv・・・(2)となるから、摺動
子4の電圧Vvは、 Vv=I(Rx+Rb)=Vc/Ra+Rb+Rv・(
Rx+Rb)・・・(3) となる。そこで式(1) ,(3) により、  Vv
=Vc/Ra+Rb+Rv・(XRv+Rb)・・・(
4) となり、位置Xについて整理すると、   X={Vv/Vc×(Ra+Rb+Rv)−Rb}
/Rv・・・(5) となる。ここで、第1,第2の抵抗1,3と、可変抵抗
2の各抵抗値Ra,Rb,Rvおよび電源Vcの値は既
知であるから、これらをパラメータとして摺動子4の電
圧Vvを検出することにより、摺動子4の位置Xを式(
5) から求めることができる。
Next, the operation will be explained. Let the resistance values of the first and second resistors 1 and 3 be Ra and Rb, respectively, and the resistance value of the variable resistor 2 be Rv. Furthermore, if the resistance between the slider 4 and the second resistor 3 side terminal of the variable resistor 2 at position X (0≦X≦1) of the slider 4 of the variable resistor 2 is Rx, then this resistance Rx is expressed as Rx=XRv (1). On the other hand, the current I flowing through the series circuit is I=
Vc/Ra+Rb+Rv...(2), so the voltage Vv of the slider 4 is Vv=I(Rx+Rb)=Vc/Ra+Rb+Rv・(
Rx+Rb)...(3) It becomes. Therefore, by equations (1) and (3), Vv
=Vc/Ra+Rb+Rv・(XRv+Rb)...(
4) So, rearranging the position X, X={Vv/Vc×(Ra+Rb+Rv)−Rb}
/Rv...(5). Here, since the resistance values Ra, Rb, Rv of the first and second resistors 1 and 3, the variable resistor 2, and the value of the power supply Vc are known, the voltage Vv of the slider 4 is determined using these as parameters. By detecting the position X of the slider 4, the formula (
5) It can be found from

【0004】図5に示す従来のポテンショメータでは、
この位置Xを求めるためにA/D変換器5により摺動子
電圧Vvをディジタル信号に変換し、このディジタル信
号をCPU6に入力する。CPU6には、予め上述の抵
抗値Ra,Rb,Rvと、電源Vcのディジタルデータ
が記憶されており、図6に示すフローチャートに従って
、位置Xの演算処理を行なう。すなわち、ステップS1
にてA/D変換器5からの電圧Vvのディジタル信号を
読み、次のステップS2でRa,Rb,Rv,VcとV
vとにより、式(5) の演算を行ない、位置Xを算出
する。そしてステップS3でこの位置Xに応じた所定の
処理が行われる。
In the conventional potentiometer shown in FIG.
In order to find this position X, the A/D converter 5 converts the slider voltage Vv into a digital signal, and this digital signal is input to the CPU 6. The CPU 6 stores the above-mentioned resistance values Ra, Rb, Rv and the digital data of the power supply Vc in advance, and performs calculation processing of the position X according to the flowchart shown in FIG. That is, step S1
, reads the digital signal of voltage Vv from the A/D converter 5, and in the next step S2, Ra, Rb, Rv, Vc and V
The position X is calculated using equation (5). Then, in step S3, a predetermined process according to this position X is performed.

【0005】[0005]

【発明が解決しようとする課題】解決しようとする問題
点は、従来のポテンショメータでは、上述の式(5) 
式から明らかなように、位置Xを求めるために可変抵抗
2の抵抗値Rvをパラメータとして使うが、この抵抗値
Rvはバラツキが大きく、このため式(5) で位置X
を求める場合に誤差が大きくなるという点にある。
[Problem to be Solved by the Invention] The problem to be solved is that in the conventional potentiometer, the above equation (5)
As is clear from the equation, the resistance value Rv of the variable resistor 2 is used as a parameter to find the position X, but this resistance value Rv varies widely, so the position
The problem is that the error becomes large when calculating .

【0006】本発明はかかる課題を解決するためになさ
れたもので、可変抵抗の抵抗値にバラツキが生じても摺
動子位置を正確に検出できるポテンショメータを得るこ
とを目的としている。
The present invention has been made to solve the above problem, and an object of the present invention is to provide a potentiometer that can accurately detect the slider position even if the resistance value of the variable resistor varies.

【0007】[0007]

【課題を解決するための手段】本発明にかかるポテンシ
ョメータは、電源と基準電位間とに直列接続された第1
の抵抗,可変抵抗および第2の抵抗とを備え、可変抵抗
の両端子の各電圧と摺動子電圧とを検出することにより
摺動子の位置を検出することを最も主要な特徴としてい
る。
[Means for Solving the Problems] A potentiometer according to the present invention has a first potentiometer connected in series between a power supply and a reference potential.
The main feature is that the position of the slider is detected by detecting each voltage at both terminals of the variable resistor and the slider voltage.

【0008】[0008]

【作用】可変抵抗の両端子の各電圧と摺動子電圧とを検
出することにより、摺動子の位置は、摺動子電圧と可変
抵抗の両端子の各電圧によって求まる。これにより可変
抵抗の抵抗値を用いることなく、摺動子位置が検出でき
ることとなる。
[Operation] By detecting each voltage at both terminals of the variable resistor and the slider voltage, the position of the slider is determined by the slider voltage and each voltage at both terminals of the variable resistor. This allows the slider position to be detected without using the resistance value of the variable resistor.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。図1は本発明の一実施例を示すブロック図で、図
において、図5と同一符号は同一または相当部分を示す
。図1に示す本実施例においては、摺動子4の電圧Vv
と、さらに可変抵抗2の両端子の各電圧Va,Vbとを
それぞれ検出するように構成され、51,52,53は
各電圧Va,Vv,Vbをそれぞれディジタル信号に変
換するA/D変換器を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the same reference numerals as in FIG. 5 indicate the same or corresponding parts. In this embodiment shown in FIG. 1, the voltage Vv of the slider 4
Further, it is configured to detect the voltages Va and Vb at both terminals of the variable resistor 2, respectively, and 51, 52, and 53 are A/D converters that convert the voltages Va, Vv, and Vb into digital signals, respectively. shows.

【0010】次に動作について説明する。第1の抵抗1
、可変抵抗2、第2の抵抗3から成る直列回路を流れる
電流Iは、 I=Va−Vb/Rv・・・(6) で表わされる。従って、摺動子電圧Vvは、  Vv=
I(Rx+Rb)=Va−Vb/Rv・(Rx+Rb)
・・・(7)となり、式(1)  ,(7) より、V
v=Va−Vb/Rv・(XRv+Rb)・・・(8)
となる。一方、可変抵抗2の第2の抵抗3側の端子電圧
Vbは、 Vb=IRb・・・(9) であるから、式(6) ,(9) より、Vb=Va−
Vb/Rv・Rb・・・(10)となり、Rbについて
整理すると、 Rb=RvVb/Va−Vb・・・(11)となる。ま
た式(8) を位置Xについて整理すると、  X=R
vVv−Rb(Va−Vb)/Rv(Va−Vb)・・
・(12) となる。そこで式(11),(12)により、位置Xは
、X=Vv−Vb/Va−Vb・・・(13)となる。 式(13)から明らかなように、位置Xは、可変抵抗2
の両端子の各電圧Va,Vbと摺動子4の電圧Vvとよ
り求まり、可変抵抗2の抵抗値Rvは存在しない。 そこで、各電圧Va,Vb,VvをA/D変換器51〜
53でそれぞれディジタル信号に変換し、これらの信号
をCPU6へ入力することにより、位置Xを算出する。
Next, the operation will be explained. first resistance 1
, the variable resistor 2, and the second resistor 3. The current I flowing through the series circuit consisting of the variable resistor 2 and the second resistor 3 is expressed as I=Va-Vb/Rv (6). Therefore, the slider voltage Vv is: Vv=
I(Rx+Rb)=Va-Vb/Rv・(Rx+Rb)
...(7), and from equations (1) and (7), V
v=Va-Vb/Rv・(XRv+Rb)...(8)
becomes. On the other hand, since the terminal voltage Vb of the variable resistor 2 on the second resistor 3 side is Vb=IRb...(9), from equations (6) and (9), Vb=Va-
Vb/Rv·Rb (10), and rearranging Rb, Rb=RvVb/Va−Vb (11). Also, when formula (8) is rearranged with respect to position X, X=R
vVv-Rb(Va-Vb)/Rv(Va-Vb)...
・(12) becomes. Therefore, according to equations (11) and (12), the position X becomes X=Vv-Vb/Va-Vb (13). As is clear from equation (13), position X is variable resistor 2
, and the voltage Vv of the slider 4, and the resistance value Rv of the variable resistor 2 does not exist. Therefore, each voltage Va, Vb, Vv is converted to A/D converter 51~
53, the position X is calculated by converting each into a digital signal and inputting these signals to the CPU 6.

【0011】図2は、CPU6が行なう処理を示すフロ
ーチャートで、始めにステップS1でA/D変換器51
〜53からの電圧Va,Vb,Vvの各ディジタル信号
をそれぞれ読み、次のステップS2で位置Xを式(13
)の演算を行なうことにより求める。そしてステップS
3で位置Xに応じた所定の処理を行なう。
FIG. 2 is a flowchart showing the processing performed by the CPU 6. First, in step S1, the A/D converter 51
The digital signals of voltages Va, Vb, and Vv from ~53 are read respectively, and in the next step S2, the position
) is calculated. and step S
3, predetermined processing according to the position X is performed.

【0012】図3は本発明の他の実施例を示し、図にお
いて、7はマルチプレクサを示し、このマルチプレクサ
7には各電圧Va,Vb,Vvが入力され、これらのう
ちの1つを順次切換えて出力する。このマルチプレクサ
7は、CPU6からのマルチプレクサ制御信号により切
換制御が行なわれ、マルチプレクサ7で選択された電圧
がA/D変換器5に入力され、その出力がCPU6に入
力される。
FIG. 3 shows another embodiment of the present invention. In the figure, 7 indicates a multiplexer, each voltage Va, Vb, Vv is input to this multiplexer 7, and one of these is sequentially switched. and output it. Switching of the multiplexer 7 is controlled by a multiplexer control signal from the CPU 6, and the voltage selected by the multiplexer 7 is input to the A/D converter 5, and its output is input to the CPU 6.

【0013】次にCPU6が行なう処理を図4のフロー
チャートを用いて説明する。ステップS1でCPU6が
マルチプレクサ制御信号を出力し、電圧Vaが選択され
るように切換える。次のステップS2ではA/D変換器
5でディジタル信号に変換された電圧Vaの値が読み込
まれ、以下、ステップS3〜S6により、順次マルチプ
レクサ制御信号を出力して電圧Vb,電圧Vvを読み込
んで行く。そしてステップS7にて式(13)の演算が
行われて位置Xを求め、次のステップS8で位置Xに応
じた所定の処理が行われる。
Next, the processing performed by the CPU 6 will be explained using the flowchart shown in FIG. In step S1, the CPU 6 outputs a multiplexer control signal to switch the voltage Va to be selected. In the next step S2, the value of the voltage Va converted into a digital signal by the A/D converter 5 is read, and then in steps S3 to S6, multiplexer control signals are sequentially output and the voltages Vb and Vv are read. go. Then, in step S7, the calculation of equation (13) is performed to obtain the position X, and in the next step S8, a predetermined process according to the position X is performed.

【0014】[0014]

【発明の効果】以上説明したように本発明のポテンショ
メータは、可変抵抗の抵抗値を用いることなく、可変抵
抗の摺動子位置を検出できるので、可変抵抗の抵抗値に
バラツキが生じてもその影響を受けることなく、正確な
摺動子の位置を検出できるという利点がある。
[Effects of the Invention] As explained above, the potentiometer of the present invention can detect the slider position of the variable resistor without using the resistance value of the variable resistor. This has the advantage that the exact position of the slider can be detected without being affected.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1のCPUが行なう処理を示すフローチャー
トである。
FIG. 2 is a flowchart showing processing performed by the CPU in FIG. 1;

【図3】本発明の他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment of the present invention.

【図4】図3のCPUが行なう処理を示すフローチャー
トである。
FIG. 4 is a flowchart showing processing performed by the CPU in FIG. 3;

【図5】従来のポテンショメータの構成を示すブロック
図である。
FIG. 5 is a block diagram showing the configuration of a conventional potentiometer.

【図6】図5のCPUが行なう処理を示すフローチャー
トである。
FIG. 6 is a flowchart showing processing performed by the CPU in FIG. 5;

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

1  第1の抵抗 2  可変抵抗 3  第2の抵抗 4  摺動子 5,51,52,53  A/D変換器6  CPU 7  マルチプレクサ 1 First resistance 2 Variable resistance 3 Second resistance 4 Slider 5, 51, 52, 53 A/D converter 6 CPU 7 Multiplexer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  可変抵抗の摺動子電圧より該摺動子の
位置を検出するポテンショメータにおいて、電源と基準
電位との間に直列接続された第1の抵抗,可変抵抗およ
び第2の抵抗とを備え、上記可変抵抗の両端子の各電圧
と摺動子電圧を検出することにより上記摺動子の位置を
検出することを特徴とするポテンショメータ。
1. A potentiometer that detects the position of a slider of a variable resistor from a slider voltage, comprising a first resistor, a variable resistor, and a second resistor connected in series between a power supply and a reference potential. A potentiometer, characterized in that the position of the slider is detected by detecting each voltage at both terminals of the variable resistor and the slider voltage.
JP5986091A 1991-03-25 1991-03-25 Potentiometer Pending JPH04294501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5986091A JPH04294501A (en) 1991-03-25 1991-03-25 Potentiometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5986091A JPH04294501A (en) 1991-03-25 1991-03-25 Potentiometer

Publications (1)

Publication Number Publication Date
JPH04294501A true JPH04294501A (en) 1992-10-19

Family

ID=13125358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5986091A Pending JPH04294501A (en) 1991-03-25 1991-03-25 Potentiometer

Country Status (1)

Country Link
JP (1) JPH04294501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0713933A1 (en) 1994-11-22 1996-05-29 Ebara Corporation Process for producing separation functional fibers and ion-exchange fibers produced therefrom

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0713933A1 (en) 1994-11-22 1996-05-29 Ebara Corporation Process for producing separation functional fibers and ion-exchange fibers produced therefrom

Similar Documents

Publication Publication Date Title
JP2002243771A (en) Battery voltage detecting circuit
FI92631B (en) Thermal anemometer
JPH04294501A (en) Potentiometer
JPH0719008Y2 (en) Current measuring device
JP4040908B2 (en) Impedance measuring device
JP4223697B2 (en) Programmable controller analog module
JPS6314369B2 (en)
JPH04301776A (en) Lcr measuring device
JP2583024Y2 (en) Resistance measuring device
JP2005038075A (en) Current signal converter
JPH07198305A (en) Position detector
JPH10111183A (en) Differential temperature measuring apparatus
JPS61199103A (en) Temperature control circuit
JPH0330959Y2 (en)
JPH0583135A (en) Double integral type a/d converter
JPH03233316A (en) Measuring instrument with adjustment nullifying function
JP2737392B2 (en) Set current display of thermal relay
JP2000292266A (en) Thermocouple-type temperature-measuring device
JPH0619048Y2 (en) Data recording device
JPH02144679A (en) Microcomputer device
JPH0739123U (en) AD converter
SU834601A1 (en) Resistance comparator
JPH039229A (en) Burn-out circuit for thermocouple
JPH0511476Y2 (en)
JPH0862056A (en) Resistor type temperature measuring circuit