JPH0511792B2 - - Google Patents
Info
- Publication number
- JPH0511792B2 JPH0511792B2 JP5745186A JP5745186A JPH0511792B2 JP H0511792 B2 JPH0511792 B2 JP H0511792B2 JP 5745186 A JP5745186 A JP 5745186A JP 5745186 A JP5745186 A JP 5745186A JP H0511792 B2 JPH0511792 B2 JP H0511792B2
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- sensor
- converter
- sensors
- circuit
- 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
Links
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
Description
【発明の詳細な説明】
<技術分野>
この発明は少ない配線で複数のセンサの状態を
検知するセンサ回路に関する。DETAILED DESCRIPTION OF THE INVENTION <Technical Field> The present invention relates to a sensor circuit that detects the states of a plurality of sensors with less wiring.
<発明の概要>
この発明はオン,オフにスイツチングする複数
のセンサに流れる電流量を予め定められた値とな
るように設定し、各センサの状態を検知すると
き、各センサに流れる電流の総和を電圧として検
出し、A/D変換することによつて各センサの状
態を検知するようにしたものである。<Summary of the Invention> This invention sets the amount of current flowing through multiple sensors that are switched on and off to a predetermined value, and when detecting the state of each sensor, calculates the sum of the currents flowing through each sensor. The state of each sensor is detected by detecting the voltage as a voltage and performing A/D conversion.
<発明の背景>
従来、ある装置内に設けられた複数のセンサの
オン,オフ状態を検知するセンサ回路として、第
7図に示すような回路が用いられている。同図に
おいてSW1〜SW8は各々センサであり、これ
らに対してストローブ信号S1,S2を供給し、
そのリターン信号をI0〜I3として入力する。
このようにストローブ信号と入力信号との関係に
よつてセンサのオン・オフ状態を検知する方法で
は、各センサに対して少なくとも1本の信号線が
必要であり、その他にストローブ信号を供給する
ための信号線が必要である。<Background of the Invention> Conventionally, a circuit as shown in FIG. 7 has been used as a sensor circuit for detecting the on/off states of a plurality of sensors provided in a certain device. In the figure, SW1 to SW8 are sensors, to which strobe signals S1 and S2 are supplied,
The return signals are input as I0 to I3.
This method of detecting the on/off state of a sensor based on the relationship between a strobe signal and an input signal requires at least one signal line for each sensor, and an additional line for supplying the strobe signal. signal lines are required.
このように時分割により各センサの状態を検知
する方式でも、多数の信号線が必要となり、太い
ケーブルを配線しなければならないといつた問題
があつた。また、各センサの状態を検知する検知
回路はセンサの数に応じて多くの部品が必要とな
り、多数のセンサを必要とする装置の場合、コス
ト高の要因ともなつていた。 Even with this method of detecting the state of each sensor in a time-sharing manner, a large number of signal lines are required, and there are problems in that thick cables must be wired. In addition, a detection circuit that detects the state of each sensor requires many parts depending on the number of sensors, and in the case of a device that requires a large number of sensors, this is also a factor in increasing costs.
そこで、例えば、第3図に示すようにセンサ
SW1〜SW4の各々に直列に抵抗Ra〜Rdを接続
し、これらに流れる電流の総和を検出するため
に、分圧抵抗Riを接続する。今、仮にRa,Rb,
Rc,Rdに対しRiの抵抗値が小さく、その影響が
無視できるとすると、各ブランチに流れる電流は
それぞれ
Ia=Vc/Ra,Ib=Vc/Rb,Ic=Vc/Rc,Id
=Vc/Rdとなる。 Therefore, for example, as shown in Figure 3, the sensor
Resistors Ra to Rd are connected in series to each of SW1 to SW4, and a voltage dividing resistor Ri is connected to detect the sum of currents flowing through these. Now, suppose Ra, Rb,
Assuming that the resistance value of Ri is small compared to Rc and Rd and its influence can be ignored, the current flowing in each branch is Ia = Vc / Ra, Ib = Vc / Rb, Ic = Vc / Rc, Id
=Vc/Rd.
したがつて、
Vin=RiVc(A/Ra+B/Rb+C/Rc+D/
Rd)と表される。 Therefore, Vin=RiVc(A/Ra+B/Rb+C/Rc+D/
Rd).
ここで、A,B,C,DはセンサSW1,SW
2,SW3,SW4がオン状態の時1、オフ状態
の時0を表す。 Here, A, B, C, D are sensors SW1, SW
2, represents 1 when SW3 and SW4 are on, and represents 0 when off.
今、Ra:Rb:Rc:Rd=1:2:4:8の関
係であれば、上式は
Vin=VcRi/Rd(8A+4B+2C+D)となる。 Now, if the relationship is Ra:Rb:Rc:Rd=1:2:4:8, the above equation becomes Vin=VcRi/Rd (8A+4B+2C+D).
以上のことから明らかなように、各センサのオ
ン,オフ状態が4ビツトの2進数の各ビツトに対
応する。ところが、現実には抵抗Riは無視でき
るほど小さな値をとることができず、第4図に示
すように各センサのオン,オフ状態に応じたA/
D変換器への入力電圧Vinは曲線となる。その結
果センサの各状態による電位差が一定でなくな
り、電圧差の小さい領域が生じる。 As is clear from the above, the on/off state of each sensor corresponds to each bit of a 4-bit binary number. However, in reality, the resistance Ri cannot take a negligibly small value, and as shown in Figure 4, the A/R depends on the on/off state of each sensor.
The input voltage Vin to the D converter is a curve. As a result, the potential difference depending on each state of the sensor is no longer constant, and a region with a small voltage difference occurs.
ところで、A/D変換器には入力電圧として決
められた一定の範囲があり、それは一般にA/D
変換器の基準電圧Vrefによつて定まる。第5図
に示したように、定電圧源VcをA/D変換器の
基準電圧とした場合を考えると、第6図に示すよ
うに抵抗RiがRa,Rb,Rc,Rdに比べて小さい
ほど、入力電圧の曲線は直線状になるが、A/D
変換器に入力範囲のうちの低いレベルでしか使用
することができない。逆に、抵抗Riを大きくす
ると、使用可能な入力範囲は広くなるが、入力電
圧の曲線が直線から大きく外れるため、入力電圧
の高い領域では各状態間の電圧差が小さくなると
いう不都合が生じる。オペアンプを用いて電流−
電圧変換回路を構成すれば、上記のような不都合
は解消するが、回路が複雑になる欠点がある。 By the way, A/D converters have a certain range of input voltage, which is generally the A/D converter.
Determined by the converter reference voltage Vref. As shown in Figure 5, considering the case where the constant voltage source Vc is used as the reference voltage of the A/D converter, the resistance Ri is smaller than Ra, Rb, Rc, and Rd as shown in Figure 6. The more the input voltage curve becomes linear, but the more the A/D
The converter can only be used at the lower level of the input range. Conversely, increasing the resistance Ri widens the usable input range, but the input voltage curve deviates significantly from a straight line, resulting in the disadvantage that the voltage difference between each state becomes small in the high input voltage region. Current − using an operational amplifier
If a voltage conversion circuit is constructed, the above-mentioned disadvantages can be solved, but there is a drawback that the circuit becomes complicated.
<発明の目的>
この発明の目的は、複数のセンサとその各セン
サのオン,オフ状態を検知する検知回路との間の
信号線を極めて少なくするとともに、単純な回路
でセンサ回路を構成することにある。<Objective of the invention> An object of the invention is to extremely reduce the number of signal lines between a plurality of sensors and a detection circuit that detects the on/off state of each sensor, and to configure the sensor circuit with a simple circuit. It is in.
<発明の構成および効果>
この発明は、オン,オフにスイツチングする複
数のセンサを並列的に接続するとともに、各々の
センサに直列に抵抗を接続し、各抵抗の大きさを
それぞれ異なる2のべきに比例した抵抗値に設定
し、さらに前記各センサに流れる電流の総和を
A/D変換するA/D変換器を設け、このA/D
変換器が、前記各々のセンサに直列に接続された
抵抗とともに分圧回路を構成する低抵抗によつて
得られた電圧をA/D変換することによつて、各
センサの状態を検知することを特徴とする。<Configuration and Effects of the Invention> The present invention connects a plurality of sensors that switch on and off in parallel, connects a resistor in series with each sensor, and sets the magnitude of each resistor to a different power of two. Further, an A/D converter is provided to A/D convert the sum of the currents flowing through each sensor,
The converter detects the state of each sensor by A/D converting the voltage obtained by a low resistance that constitutes a voltage dividing circuit together with a resistor connected in series with each of the sensors. It is characterized by
以上のように構成したことによつて、センサ回
路は、各センサに直列に接続された抵抗と分圧抵
抗とA/D変換器のみによつて簡単に構成され、
しかも各センサに流れる電流量は各々異なる2の
べきに比例する値となる。このため、A/D変換
器の入力に対する変換値の関係は直線状になる。
さらに、A/D変換器の入力電圧のフルスケール
にわたつて用いることができるため、A/D変換
器の分解能を上げることができる。 With the above configuration, the sensor circuit can be easily configured with only the resistors, voltage dividing resistors, and A/D converters connected in series to each sensor.
Moreover, the amount of current flowing through each sensor is a value proportional to a different power of 2. Therefore, the relationship between the input of the A/D converter and the converted value becomes linear.
Furthermore, since it can be used over the full scale of the input voltage of the A/D converter, the resolution of the A/D converter can be increased.
<実施例>
第1図はこの発明の実施例であるセンサ回路を
表す。<Embodiment> FIG. 1 shows a sensor circuit which is an embodiment of the present invention.
SW1,SW2,SW3,SW4は各々センサで
あり、各センサに直列に抵抗Ra,Rb,Rc,Rd
が接続され、さらにこれらの直列回路が全て並列
接続され、一方の電極に分圧抵抗Riが接続され
ていて、この分圧抵抗によつて得られた電圧Vin
がA/D変換器の入力に接続されている。前記抵
抗およびセンサからなる回路に定電圧源Vcが接
続されていて、各センサのオン,オフ状態によつ
て抵抗Riに流れる電流が定まる。抵抗Ra,Rb,
Rc,Rdの抵抗値の比率は第3図に示した場合と
同様に1:2:4:8の関係であるが、A/D変
換器の基準電圧Verfは定電圧源Vcの4倍の値に
設定されている。また、分圧抵抗Riは(3/20)
Raの関係に設定されている。このように、A/
D変換器の基準電圧Verfをセンサの電源電圧で
あるVcより高くしたことによつて、分圧抵抗の
値を小さく設定することができる。上記条件によ
れば各センサの状態に応じたA/D変換器の入力
電圧Vinの関係は第2図に示すようにほぼ直線状
になる。 SW1, SW2, SW3, and SW4 are each sensors, and resistors Ra, Rb, Rc, and Rd are connected in series with each sensor.
are connected, all of these series circuits are connected in parallel, a voltage dividing resistor Ri is connected to one electrode, and the voltage Vin obtained by this voltage dividing resistor is
is connected to the input of the A/D converter. A constant voltage source Vc is connected to the circuit consisting of the resistor and sensor, and the current flowing through the resistor Ri is determined depending on the on/off state of each sensor. Resistance Ra, Rb,
The ratio of the resistance values of Rc and Rd is 1:2:4:8 as in the case shown in Figure 3, but the reference voltage Verf of the A/D converter is four times the constant voltage source Vc. set to the value. Also, the voltage dividing resistance Ri is (3/20)
It is set in relation to Ra. In this way, A/
By setting the reference voltage Verf of the D converter higher than Vc, which is the power supply voltage of the sensor, the value of the voltage dividing resistor can be set small. According to the above conditions, the relationship between the input voltage Vin of the A/D converter depending on the state of each sensor becomes approximately linear as shown in FIG.
このように分圧抵抗の値を各センサに直列に接
続された抵抗のうち、最も低い抵抗よりさらに数
分の一以下の低い抵抗値に設定し、分圧抵抗によ
り分圧されて得られる最大電圧をA/D変換器の
入力電圧のフルスケールの電圧として基準電圧
Verfを設定したことにより、オペアンプ等を用
いることなく、簡単な回路でA/D変換の分解能
を高くすることができ、多数のセンサの状態を誤
ることなく検知することができる。 In this way, the value of the voltage dividing resistor is set to a lower resistance value that is less than a fraction of the lowest resistance among the resistors connected in series with each sensor, and the maximum value obtained by dividing the voltage by the voltage dividing resistor is set. The reference voltage is set as the full-scale voltage of the input voltage of the A/D converter.
By setting Verf, the resolution of A/D conversion can be increased with a simple circuit without using an operational amplifier or the like, and the states of a large number of sensors can be detected without error.
第1図はこの発明の実施例であるセンサ回路、
第2図は同センサ回路における各センサの状態と
A/D変換器の入力電圧との関係を表す図、第3
図はこの発明の背景となる動作原理を表す回路
図、第4図はその動作特性を表す図、第5図はこ
の発明の背景を説明するためのセンサ回路の例、
第6図はその動作特性を表す図、第7図は従来の
センサ回路の例を表す図である。
1……A/D変換器、SW1,SW2,SW3,
SW4……センサ、Ra,Rb,Rc,Rd……抵抗、
Ri……分圧抵抗。
FIG. 1 shows a sensor circuit which is an embodiment of the present invention.
Figure 2 is a diagram showing the relationship between the state of each sensor in the same sensor circuit and the input voltage of the A/D converter;
FIG. 4 is a circuit diagram showing the operating principle behind this invention, FIG. 4 is a diagram showing its operating characteristics, and FIG. 5 is an example of a sensor circuit for explaining the background of this invention.
FIG. 6 is a diagram showing its operating characteristics, and FIG. 7 is a diagram showing an example of a conventional sensor circuit. 1...A/D converter, SW1, SW2, SW3,
SW4...sensor, Ra, Rb, Rc, Rd...resistance,
Ri...Divisional voltage resistance.
Claims (1)
の各々に、大きさがそれぞれ異なる2のべきに比
例した抵抗値を有する抵抗を接続するとともに、
これらの複数の直列回路を並列に接続してなる並
列回路と、この並列回路に前記複数の抵抗のうち
最も低い抵抗よりさらに数分の一以下の低い抵抗
値を有し、前記並列回路に流れる電流の総和を電
圧として抽出する分圧抵抗を直列接続するととも
に、前記分圧抵抗により分圧されて得られる最大
電圧をフルスケールの電圧としてA/D変換する
A/D変換器を設け、このA/D変換器の出力に
よつて前記各センサの状態を検知することを特徴
とするセンサ回路。1 Connecting a resistor having a resistance value proportional to a power of 2 and having a different size to each of the plurality of sensors that are switched on and off,
A parallel circuit formed by connecting these plurality of series circuits in parallel, and a parallel circuit having a resistance value lower than a fraction of the lowest resistance among the plurality of resistances, and a current flowing through the parallel circuit. A voltage dividing resistor is connected in series to extract the sum of the current as a voltage, and an A/D converter is provided to convert the maximum voltage obtained by dividing the voltage by the voltage dividing resistor into a full-scale voltage. A sensor circuit characterized in that the state of each of the sensors is detected by the output of an A/D converter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5745186A JPS62212578A (en) | 1986-03-14 | 1986-03-14 | Sensor circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5745186A JPS62212578A (en) | 1986-03-14 | 1986-03-14 | Sensor circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62212578A JPS62212578A (en) | 1987-09-18 |
| JPH0511792B2 true JPH0511792B2 (en) | 1993-02-16 |
Family
ID=13056027
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5745186A Granted JPS62212578A (en) | 1986-03-14 | 1986-03-14 | Sensor circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62212578A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2552747B2 (en) * | 1990-02-22 | 1996-11-13 | 三菱電機株式会社 | Printer |
| US7973503B2 (en) * | 2007-06-26 | 2011-07-05 | Wooward HRT, Inc. | Motor system employing analog encoded hall effect sensor position information for reduced wiring |
-
1986
- 1986-03-14 JP JP5745186A patent/JPS62212578A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62212578A (en) | 1987-09-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4068138A (en) | Signal converter | |
| JP3309380B2 (en) | Digital measuring instrument | |
| JPH0511792B2 (en) | ||
| HUP0203687A2 (en) | Supply current regulator for two-wire sensors | |
| KR920010216B1 (en) | Bias circuit for analog/digital converter | |
| JPH08221683A (en) | Sensor device | |
| JPH0511861B2 (en) | ||
| JPH0438293B2 (en) | ||
| JPH0526741A (en) | Thermistor temperature detection device using AD converter | |
| US4737766A (en) | Code converter with complementary output voltages | |
| JP3129005B2 (en) | Signal converter | |
| JPS60130220A (en) | DA converter | |
| JPH01254823A (en) | Digital temperature detecting device | |
| JP2616196B2 (en) | Control device abnormality detection circuit | |
| JP3470481B2 (en) | Power circuit | |
| JPS6041327A (en) | Analog-digital converting device | |
| SU1571423A1 (en) | Temperature-to-constant voltage converter | |
| JP2576235Y2 (en) | Voltage or current measuring device | |
| JPH0738586B2 (en) | Test circuit | |
| JPS6319005A (en) | Control device | |
| SU1449845A1 (en) | Multichannel measuring device for differential variable-induction transducer | |
| JPH0634705Y2 (en) | IC test equipment | |
| JP2542235B2 (en) | Densho generator | |
| JPH08292215A (en) | Battery voltage measuring device | |
| JPH05500590A (en) | Instrumentation amplifier with automatic gain control |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |