JPH0128438B2 - - Google Patents

Info

Publication number
JPH0128438B2
JPH0128438B2 JP55155831A JP15583180A JPH0128438B2 JP H0128438 B2 JPH0128438 B2 JP H0128438B2 JP 55155831 A JP55155831 A JP 55155831A JP 15583180 A JP15583180 A JP 15583180A JP H0128438 B2 JPH0128438 B2 JP H0128438B2
Authority
JP
Japan
Prior art keywords
signal
memory
digit
converted value
converted
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
Application number
JP55155831A
Other languages
Japanese (ja)
Other versions
JPS5780516A (en
Inventor
Akira Oonaka
Tokuo Nasu
Yutaka Shimamura
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP55155831A priority Critical patent/JPS5780516A/en
Publication of JPS5780516A publication Critical patent/JPS5780516A/en
Publication of JPH0128438B2 publication Critical patent/JPH0128438B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
    • G01D3/02Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation
    • G01D3/022Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation having an ideal characteristic, map or correction data stored in a digital memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Description

【発明の詳細な説明】 本発明は被変換関数入力としてのアナログ入力
信号を所望の関数信号に変換する関数変換器に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a function converter that converts an analog input signal as a converted function input into a desired function signal.

例えば、プロセス制御装置に接続される流量測
定用差圧発振器の出力信号は、流量の2乗に比例
したアナログ信号であるため、プロセス制御装置
内においてはこのアナログ信号を開平演算し、リ
ニアな信号に変換して使用しなければならない。
For example, the output signal of a differential pressure oscillator for measuring flow rate connected to a process control device is an analog signal proportional to the square of the flow rate. must be converted to and used.

そこで、このような開平演算を簡単な回路で行
う手段として、アナログ入力信号の任意の瞬時値
に対する開平演算値をリードオンリ・メモリに予
め記憶させておき、このリードオンリ・メモリに
対しアナログ入力信号をデイジタル信号に変換し
た信号をアドレス信号として与え、これによつて
アナログ入力信号の任意の瞬時値に対する開平演
算値を得るようにしたものがある。例えば、特開
昭54−11848号公報に記載されている「プロセス
制御装置の入力特性補正回路」がある。また、こ
れに類するものとして、第1図のブロツク図に示
すように、アナログ・デイジタル変換器(以下、
ADCとする)の出力ビツト数nより出力ビツト
数が少ないKビツト(n=2K)出力のリードオ
ンリメモリ(以下、ROMとする)を並列に設
け、変換値(例えば、開平演算値)を上位桁と下
位桁に分けて合計で2Kビツトの変換値として得
るものがある。
Therefore, as a means to perform such a square root calculation with a simple circuit, the square root calculation value for any instantaneous value of an analog input signal is stored in advance in a read-only memory, and the analog input signal is digitally transferred to the read-only memory. There is a system in which a signal converted into a signal is given as an address signal, thereby obtaining a square root value for an arbitrary instantaneous value of an analog input signal. For example, there is "Input Characteristic Correction Circuit for Process Control Device" described in Japanese Patent Application Laid-Open No. 11848/1984. In addition, as a similar device, as shown in the block diagram of Fig. 1, an analog-to-digital converter (hereinafter referred to as
A read-only memory (hereinafter referred to as ROM) with a K-bit (n = 2K) output, which has a smaller number of output bits than the output bit number n of the ADC (ADC), is installed in parallel, and the converted value (for example, the square root value) is stored in the upper There is a conversion value that is divided into digits and lower digits and has a total of 2K bits.

ここで、第1図に示す関数変換器を代表して説
明すると動作は次の通りである。
Here, the operation of the function converter shown in FIG. 1 will be described as a representative example.

まず、ADC・1はタイミング信号発生回路2
からAD変換開始信号SAが与えられると、被変換
関数入力としてのアナログ入力信号をnビツトの
デイジタル信号に変換する。そして、この変換動
作が終了すると、変換終了信号SBを出力する。
ADC・1から出力されるnビツトのデイジタル
信号は、ROM・3およびROM・4のアドレス
入力に共通に共給される。
First, ADC 1 is the timing signal generation circuit 2
When an AD conversion start signal S A is given from , the analog input signal as the input of the function to be converted is converted into an n-bit digital signal. When this conversion operation is completed, a conversion end signal S B is output.
The n-bit digital signal output from ADC-1 is commonly supplied to the address inputs of ROM-3 and ROM-4.

タイミング信号発生回路2は、変換終了信号SB
が与えられると、ROM・3およびROM・4に
対して読出し指令信号Scを供給し、これらの
ROM・3,ROM・4に予め記憶されている変
換値のうち、アドレス入力信号として入力された
nビツトのデイジタル信号の値に対応した変換値
を出力させる。この場合、ROM・3には変換値
の上位桁の数値を示すKビツトのデイジタル信号
が記憶され、ROM・4には下位桁の数値を示す
Kビツトのデイジタル信号が記憶されている。従
つて、この関数変換器においては、アナログ入力
信号の瞬時値に対応した2Kビツト(すなわち、
nビツト)構成の変換値が得られる。
The timing signal generation circuit 2 generates a conversion end signal S B
is given, the read command signal Sc is supplied to ROM-3 and ROM-4, and these
Among the converted values stored in advance in ROM.3 and ROM.4, the converted value corresponding to the value of the n-bit digital signal input as the address input signal is output. In this case, ROM.3 stores a K-bit digital signal representing the upper digit of the converted value, and ROM.4 stores a K-bit digital signal representing the lower digit. Therefore, in this function converter, 2K bits (i.e.,
A converted value of n-bit) configuration is obtained.

ところが、このような構成の関数変換器におい
て、ROM・3およびROM・4に記憶されてい
る関数値のそれぞれは異なるものであるが、
ROM・3,ROM・4の出力ビツト数が同一で
ある場合にはその外観も全く同一である。このた
め、プリント基板へ取付ける際に誤つた位置へ取
付けてしまう恐れがあり、正常な取付けがなされ
ているかどうかをその都度確認するための作業を
必要とする欠点がある。また、複数個のROMを
使用しているため、消費電力も多い等の欠点があ
る。
However, in a function converter with such a configuration, although the function values stored in ROM-3 and ROM-4 are different,
If the number of output bits of ROM-3 and ROM-4 is the same, their appearance is also exactly the same. For this reason, there is a risk of attaching it to the wrong position when attaching it to the printed circuit board, and there is a drawback that it is necessary to confirm each time whether or not it is attached correctly. Additionally, since multiple ROMs are used, there are drawbacks such as high power consumption.

本発明はこのような欠点を解決するためになさ
れたもので、その目的は前述の如き確認作業が不
要で、かつ消費電力の少い関数変換器を提供する
ことにある。
The present invention has been made to solve these drawbacks, and its purpose is to provide a function converter that does not require the above-mentioned confirmation work and consumes less power.

このために本発明は単一のリードオンリ・メモ
リを変換値の桁数に対応して複数のメモリブロツ
クに分割し、この各メモリブロツクを順次選択し
て各メモリブロツクに記憶させた変換値の各桁の
数値を順次時分割的に読出し、さらにこの読出さ
れた各桁の数値を桁毎にラツチ回路にラツチし、
この桁毎のラツチ回路の出力を同時タイミングで
変換値として出力するように構成したものであ
る。
To this end, the present invention divides a single read-only memory into a plurality of memory blocks corresponding to the number of digits of the converted value, and sequentially selects each memory block to store each of the converted values stored in each memory block. The numerical values of the digits are sequentially read out in a time-division manner, and the read numerical values of each digit are then latched in a latch circuit digit by digit.
The structure is such that the outputs of the latch circuits for each digit are output as converted values at the same timing.

以下、図面を用いて本発明を詳細に説明する。 Hereinafter, the present invention will be explained in detail using the drawings.

第2図は本発明による関数変換器の一実施例を
示すブロツク図である。同図において、10は信
号S1が与えられた時にアナログ入力信号をnビツ
トのデイジタル信号に変換するADC、20はAD
変換開始信号S1、メモリブロツク指示信号S2、ラ
ツチ指示信号S3およびS4を出力するタイミング信
号発生回路、30は変換値の上位桁と下位桁に対
応して2つのメモリブロツクMB1およびMB2
有し、メモリブロツクMB1のアナログ入力信号
に対応した記憶番地には変換値の下位桁の数値が
mビツト(m<n)のデイジタル信号として記憶
され、メモリブロツクMB2のアナログ入力信号
に対応した記憶番地には変換値の上位桁の数値が
Kビツト(m+K=n)のデイジタル信号として
記憶されているROMであつて、このROM・30
にはアドレス入力として前記メモリブロツク指示
信号S2と、ADC・10の出力デイジタル信号が入
力される。40はラツチ指示信号S3により、メモ
リブロツクMB2から読出された上位桁の数値信
号(Kビツト構成)をラツチする第1ラツチ回
路、50はラツチ指示信号S4により、メモリブロ
ツクMB1から読出された下位桁の数値信号(m
ビツト構成)をラツチする第2ラツチ回路であつ
て、前記第1ラツチ回路の出力信号(Kビツト)
と合せてK+m=nビツトの変換値として出力さ
れる。
FIG. 2 is a block diagram showing one embodiment of a function converter according to the present invention. In the figure, 10 is an ADC that converts an analog input signal into an n-bit digital signal when the signal S1 is applied, and 20 is an AD
A timing signal generation circuit 30 outputs a conversion start signal S 1 , a memory block instruction signal S 2 , and latch instruction signals S 3 and S 4 . Reference numeral 30 indicates two memory blocks MB 1 and MB 1 corresponding to the upper and lower digits of the conversion value. The lower digit of the converted value is stored as an m-bit (m<n) digital signal in the memory address corresponding to the analog input signal of memory block MB 2 , and the analog input signal of memory block MB 2 is stored as an m-bit (m < n) digital signal. This ROM is a ROM in which the upper digit of the converted value is stored as a K-bit (m+K=n) digital signal at the memory address corresponding to the signal.
The memory block instruction signal S2 and the output digital signal of the ADC 10 are input as address inputs to the address input. 40 is a first latch circuit that latches the upper digit numerical signal (K-bit configuration) read from memory block MB 2 in response to latch instruction signal S 3; 50 latches the numerical signal of the upper digit read out from memory block MB 1 in response to latch instruction signal S 4 ; The lower digit numerical signal (m
a second latch circuit that latches the bit configuration), the output signal (K bits) of the first latch circuit;
Together with this, it is output as a converted value of K+m=n bits.

次に、このように構成された関数変換器の動作
について説明する。
Next, the operation of the function converter configured in this way will be explained.

まず、タイミング信号発生器20は、第3図a
に示す所定周期のクロツク信号φに基づき、同図
b〜eに示すようなタイミング関係の信号S1
S2,S3,S4を出力する。
First, the timing signal generator 20 is configured as shown in FIG.
Based on the clock signal φ having a predetermined period shown in FIG .
Outputs S 2 , S 3 , and S 4 .

この状態において、ADC・10にアナログ入力
信号が供給されると、このアナログ入力信号の瞬
時値はAD変換開始信号S1が発生する周期で
ADC・10においてnビツトのデイジタル信号に
変換される。このnビツトのデイジタル信号は
ROM・30のアドレス入力として供給されるが、
この時もう1つのアドレス入力としてメモリブロ
ツク指示信号S2も供給されている。そして、メモ
リブロツク指示信号S2が“0”のとき、メモリブ
ロツクMB1が選択される。
In this state, when an analog input signal is supplied to ADC 10, the instantaneous value of this analog input signal is at the period when AD conversion start signal S 1 is generated.
It is converted into an n-bit digital signal by the ADC 10. This n-bit digital signal is
It is supplied as the address input of ROM・30, but
At this time, a memory block instruction signal S2 is also supplied as another address input. Then, when the memory block instruction signal S2 is "0", the memory block MB1 is selected.

そして、さらにこの選択されたメモリブロツク
MB1の中で、ADC10からアドレス入力として供
給されているnビツトのデイジタル信号に対応し
た記憶番地が選択される。この記憶番地には、こ
の時のアナログ入力信号の瞬時値に対応した変換
値の下位桁の数値信号が予め記憶されている。こ
のため、信号S2が“0”の場合には、アナログ入
力信号の瞬時値に対応した変換値の下位桁の数値
信号(mビツト)がROM・30から出力される。
次に、メモリブロツク指示信号S2が“1”になる
と、メモリブロツクMB2が選択される。そして、
さらにこのメモリブロツクMB2の中で、ADC・
10からアドレス入力として供給されている前記n
ビツトのデイジタル信号に対応した記憶番地が選
択される。この記憶番地には、この時のアナログ
入力信号の瞬時値に対応した変換値の上位桁の数
値信号が予め記憶されている。このため、信号S2
が“1”の場合には、アナログ入力信号の瞬時値
に対応した変換値の上位桁の数値信号(mビツ
ト)がROM・30から出力される。この場合、信
号S2は信号S1が出力される度に“1”と“0”を
繰り返すものであり、信号S2の“1”と“0”の
各時間幅はADC・10の変換動作所要時間より充
分長く設定されている。このため、ROM・30か
らは信号S1が1回発生するために、この信号S1
発生タイミングにおけるアナログ入力信号の瞬時
値に対応する変換値が上位桁と下位桁に分割して
シリアルに出力される。
And further this selected memory block
In MB 1 , a memory address corresponding to an n-bit digital signal supplied as an address input from ADC 10 is selected. At this storage address, a numerical signal of the lower digit of the converted value corresponding to the instantaneous value of the analog input signal at this time is stored in advance. Therefore, when the signal S2 is "0", a numerical signal (m bits) of the lower digit of the converted value corresponding to the instantaneous value of the analog input signal is output from the ROM 30.
Next, when the memory block instruction signal S2 becomes "1", the memory block MB2 is selected. and,
Furthermore, within this memory block MB 2 , the ADC
n supplied as address input from 10
A memory address corresponding to the bit digital signal is selected. At this storage address, a numerical signal of the upper digit of the converted value corresponding to the instantaneous value of the analog input signal at this time is stored in advance. For this reason, the signal S 2
When is "1", the numeric signal (m bits) of the upper digit of the converted value corresponding to the instantaneous value of the analog input signal is output from the ROM 30. In this case, the signal S 2 repeats "1" and "0" every time the signal S 1 is output, and the time width of each "1" and "0" of the signal S 2 is converted by the ADC 10. It is set sufficiently longer than the required operation time. Therefore, since signal S 1 is generated once from ROM 30, the converted value corresponding to the instantaneous value of the analog input signal at the timing of generation of signal S 1 is divided into upper and lower digits and serially transmitted. Output.

このシリアル出力される変換値の上位桁および
下位桁の数値信号は、上位桁の数値信号が信号S3
によつて第1ラツチ回路40にラツチされ、下位
桁の数値信号が信号S4によつて第2ラツチ回路5
0にラツチされる。これらの2つのラツチ回路4
0,50にラツチされた数値信号は合計で(K+
m)ビツト構成の変換値として出力される。この
場合、ラツチ指示信号S3,S4の発生タイミング
は、クロツクパルスφの1周期相当分だけずれて
いるため、上位桁および下位桁の数値信号が揃う
のは第2図の記号Xで示す期間となるので、変換
値を利用する側ではこのXの期間において変換値
を取込んで利用する。
The numerical signals of the upper digits and lower digits of this serially output converted value are the numerical signals of the upper digits .
The numerical signal of the lower digit is latched in the first latch circuit 40 by the signal S4 .
Latched to 0. These two latch circuits 4
The numeric signals latched at 0,50 are (K+
m) Output as a converted value of bit configuration. In this case, the generation timings of the latch instruction signals S 3 and S 4 are shifted by one cycle of the clock pulse φ, so the numerical signals of the upper and lower digits are aligned during the period indicated by the symbol X in Figure 2. Therefore, on the side that uses the converted value, the converted value is captured and used during this period of X.

従つて、このように構成された関数変換器にお
いては、ROMが1個のみであるため、プリント
基板へ取付ける際の誤りが発生せず、取付け確認
作業も不要となる。同時に、電力消費量も少くな
り、構成も軽量、コンパクト化できる。さらに、
変換値を上位桁と下位桁に分けてシリアルに出力
するようにしているため、ROMの出力ビツト数
がKビツトであつても、(K+1)ビツト〜2Kビ
ツト構成の変換値を自由に得ることができる。こ
れは、ADC・10の出力ビツト数nと変換値のビ
ツト数をマツチングさせる場合に非常に有効とな
る。
Therefore, since the function converter configured in this way has only one ROM, no errors occur when attaching it to the printed circuit board, and there is no need to check the attachment. At the same time, power consumption is reduced, and the configuration can be made lighter and more compact. moreover,
Since the converted value is divided into upper and lower digits and output serially, even if the number of output bits of the ROM is K bits, it is possible to freely obtain converted values of (K+1) bits to 2K bits. I can do it. This is very effective when matching the number n of output bits of the ADC 10 with the number of bits of the converted value.

なお、上記実施例は変換値を上位桁と下位桁に
分けた場合のものであるが、さらに複数の桁数に
分ける場合でも同様に実施できるものである。ま
た、ADCの出力ビツト数と変換値のビツト数と
は同一としたが、同一ビツト数でなくてもよいこ
とはもちろんである。
Note that although the above embodiment deals with the case where the converted value is divided into high-order digits and low-order digits, it can be similarly implemented even when the converted value is further divided into a plurality of digits. Further, although the number of output bits of the ADC and the number of bits of the converted value are assumed to be the same, it goes without saying that they do not have to be the same number of bits.

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

第1図は従来における関数変換器の一例を示す
ブロツク図、第2図は本発明による関数変換器の
一実施例を示すブロツク図、第3図は第2図の実
施例において用いられている各種信号のタイミン
グを示すタイムチヤートである。 10……アナログ・デイジタル変換器、20…
…タイミング信号発生回路、30……リードオン
リ・メモリ、40……第1ラツチ回路、50……
第2ラツチ回路。
Fig. 1 is a block diagram showing an example of a conventional function converter, Fig. 2 is a block diagram showing an embodiment of a function converter according to the present invention, and Fig. 3 is a block diagram showing an example of a function converter according to the present invention. This is a time chart showing the timing of various signals. 10...Analog-digital converter, 20...
...Timing signal generation circuit, 30... Read-only memory, 40... First latch circuit, 50...
Second latch circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 被変換関数入力としてのアナログ入力信号を
デイジタル信号に変換するアナログ・デイジタル
変換器と、出力すべき変換値の桁数に対応した複
数のメモリブロツクを有し、各メモリブロツクの
前記アナログ入力信号に対応した記憶番地には前
記アナログ入力信号に対応した変換値の各桁の数
値が1桁ずつ複数ビツトのデイジタル信号で記憶
され、前記各メモリブロツクの共通のアドレス信
号として前記アナログ・デイジタル変換器の出力
信号が入力される単一のメモリと、変換値の各桁
に対応して設けられ、前記メモリの各メモリブロ
ツクから読出される変換値の各桁の数値信号をラ
ツチするラツチ回路と、前記メモリの各メモリブ
ロツクを順次時分割で指定するためのアドレス信
号および各メモリブロツクから読出される各桁の
数値信号を前記ラツチ回路にラツチさせるための
ラツチ信号を発生するタイミング信号発生回路と
を備えてなる関数変換器。
1 An analog-to-digital converter that converts an analog input signal as an input to a converted function into a digital signal, and a plurality of memory blocks corresponding to the number of digits of the converted value to be output, and each memory block converts the analog input signal into a digital signal. Each digit of the converted value corresponding to the analog input signal is stored as a multi-bit digital signal in the memory address corresponding to the analog input signal, and the analog/digital converter is used as a common address signal for each of the memory blocks. a single memory into which the output signal of is input; a latch circuit provided corresponding to each digit of the converted value and latching the numerical signal of each digit of the converted value read from each memory block of the memory; a timing signal generation circuit that generates an address signal for sequentially specifying each memory block of the memory in a time-division manner and a latch signal for causing the latch circuit to latch the numerical signal of each digit read from each memory block; Equipped with a function converter.
JP55155831A 1980-11-07 1980-11-07 Function converter Granted JPS5780516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55155831A JPS5780516A (en) 1980-11-07 1980-11-07 Function converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55155831A JPS5780516A (en) 1980-11-07 1980-11-07 Function converter

Publications (2)

Publication Number Publication Date
JPS5780516A JPS5780516A (en) 1982-05-20
JPH0128438B2 true JPH0128438B2 (en) 1989-06-02

Family

ID=15614442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55155831A Granted JPS5780516A (en) 1980-11-07 1980-11-07 Function converter

Country Status (1)

Country Link
JP (1) JPS5780516A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2545345B2 (en) * 1986-03-25 1996-10-16 日本電気精器株式会社 Synchro electric-digital converter scaling circuit
IT1266369B1 (en) * 1993-05-25 1996-12-27 Weber Srl UNITS OF MEASUREMENT AND CONVERSION.

Also Published As

Publication number Publication date
JPS5780516A (en) 1982-05-20

Similar Documents

Publication Publication Date Title
US5387914A (en) Correction range technique for multi-range A/D converter
US4973974A (en) Multi-stage analog-to-digital converting device
KR19990057775A (en) Analog-to-digital converter and its conversion method
JPS6360569B2 (en)
JPS6364413A (en) Sequential approximation registor
JPH0128438B2 (en)
EP0297581A3 (en) Pseudo-noise sequence generator
US4544916A (en) Digital code translator
JP2513179B2 (en) Series-parallel conversion circuit with counter
JP3135990B2 (en) Parity addition circuit
SU809541A1 (en) Digital-analogue converter
SU1485406A1 (en) Code-to-voltage converter
SU1545329A1 (en) Code form converter
JPS58224498A (en) Memory device of waveform
JPH0376311A (en) Pulse width modulation circuit
RU2275741C2 (en) Device for transforming numbers from remainder classes system to positional scale of notation
KR950002302B1 (en) A/d converter
JP3354739B2 (en) DA converter
SU1488783A2 (en) Device for selection of extremum from n m-bit binary numbers
SU1216652A1 (en) Recorder
JPS6198022A (en) Sequential comparison system analog digital converter
SU1487195A1 (en) Code converter
SU1559413A1 (en) Combination converter of code forms
JPH02217019A (en) D/a converter
JPS6319889B2 (en)