JPS6217828A - Data conversion system - Google Patents

Data conversion system

Info

Publication number
JPS6217828A
JPS6217828A JP60157191A JP15719185A JPS6217828A JP S6217828 A JPS6217828 A JP S6217828A JP 60157191 A JP60157191 A JP 60157191A JP 15719185 A JP15719185 A JP 15719185A JP S6217828 A JPS6217828 A JP S6217828A
Authority
JP
Japan
Prior art keywords
information
data
conversion unit
converter
digital
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.)
Granted
Application number
JP60157191A
Other languages
Japanese (ja)
Other versions
JPH0535451B2 (en
Inventor
Takao Nishiseko
西世古 孝雄
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP60157191A priority Critical patent/JPS6217828A/en
Publication of JPS6217828A publication Critical patent/JPS6217828A/en
Publication of JPH0535451B2 publication Critical patent/JPH0535451B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of data processing based upon a processor by shifting digital data in plural ranges (conversion ranges) obtained from an A/D converter to a prescribed direction by the number of bits corresponding to the ranges and then inputting the shifted data to the processor. CONSTITUTION:An analog signal 1 is inputted to the A/D converter 3 and the converted parallel digital signal 2 and converted unit information 5 are outputted. The signal 2 is set up in a register 6 in a data conversion part 14. The information 5 is inputted to a shift pulse generating part 8 and shift pulses P corresponding to the conversion unit are outputted. Consequently, the data in the register 6 are shifted by the number of the shift pulses P and complement information F outputted from a complement generating part 15 is set up in the register 6. Thus, the value of the analog signal 1 is found out by the processor 4 on the basis of the product of the shifted digital information 9 and the number of shift pulses P.

Description

【発明の詳細な説明】 〔概要〕 本発明は、複数レンジ(変換範囲)のディジタルデータ
を出力するAD変換器と処理装置とが結ばれたシステム
において、AD変換器からのディジタルデータを処理装
置に入力する際、該ディジタルデータをレンジの範囲に
応じたビット数だけ所定方向へシフトせしめたのち入力
することにより、処理装置によるデータ処理の負荷の軽
減を図ったものである。
[Detailed Description of the Invention] [Summary] The present invention provides a system in which an AD converter that outputs digital data of multiple ranges (conversion ranges) and a processing device are connected, in which digital data from the AD converter is output to the processing device. When inputting the digital data to the input device, the digital data is shifted in a predetermined direction by the number of bits corresponding to the range and then inputted, thereby reducing the data processing load on the processing device.

〔産業上の利用分野〕[Industrial application field]

本発明は、AD変換器の出力データを、その変換単位に
応じたデータに変換するデータ変換方式の改良に関する
The present invention relates to an improvement in a data conversion method for converting output data of an AD converter into data according to its conversion unit.

複数レンジのデータを出力するAD変換器からディジタ
ルデータを受けて処理する際の処理効率の改善が望まれ
ている。
It is desired to improve processing efficiency when receiving and processing digital data from an AD converter that outputs data in multiple ranges.

〔従来の技術〕[Conventional technology]

従来例を図によって説明する。第4図(a)は従来例を
説明するブロック図であり、また第4図Tolは、AD
変換器3から出力される並列ディンタル信号1)の構成
を説明するデータブロック図である。
A conventional example will be explained using figures. FIG. 4(a) is a block diagram explaining a conventional example, and FIG.
3 is a data block diagram illustrating the configuration of a parallel digital signal 1) output from a converter 3. FIG.

第4図(alにおいて、処理装置4の処理部10から変
換単位指定情報5を送出すると、AD変換器3は、この
指定された単位でアナログ信号1を、ディジタル信号1
)に変換して、並列に出力する。
In FIG. 4 (al), when the conversion unit designation information 5 is sent from the processing unit 10 of the processing device 4, the AD converter 3 converts the analog signal 1 into the digital signal 1 in the designated unit.
) and output in parallel.

なお、このときAD変換器3からは、同月用の制御パル
スPが出力され、これにより並列ディジタル信号1)は
、レジスタ6にセットされる。
At this time, the AD converter 3 outputs the control pulse P for the same month, and the parallel digital signal 1) is thereby set in the register 6.

並列ディジタル信号+1は、第4図iblに示す如く、
8ビツトの信号であり、変換単位の種別を示ずi4’−
?◇情報G(2ヒツト)、符号情報S(2ビ。
The parallel digital signal +1 is as shown in Fig. 4 ibl.
It is an 8-bit signal and does not indicate the type of conversion unit.
? ◇Information G (2 hits), code information S (2 bits).

)−)及びデータl’)(4ビツト)で構成される。第
4図+blに示す如く、桁位Wf 1−faからなるデ
、9D、即t’>2(t![IIJ T’ ] OO]
 Jが示ず値は、変換継位情i[IGの値によって異な
る。
)-) and data l') (4 bits). As shown in Figure 4+bl, D consisting of digits Wf 1-fa, 9D, i.e. t'>2(t! [IIJ T' ] OO]
The value of J differs depending on the value of conversion succession information i[IG.

即ちGの値00〜1)によって、データの桁位置(最下
位の桁位置)r+ の値(例えば電圧値)は、下記の如
く異なる。
That is, the value (for example, voltage value) of the data digit position (lowest digit position) r+ differs as follows depending on the value of G (00 to 1).

(G)     (電圧値) (ボルト) +1      3 換言すればデータDの値は、変換単位Gの値によって定
まる。
(G) (Voltage value) (Volt) +1 3 In other words, the value of the data D is determined by the value of the conversion unit G.

従ってこの並列ディジタル信号1)を処理部IOで処理
する場合、演算部12は、判別部13からの変換羊位情
報G4こ基づいて、データDの値を換算、即ちデータD
に、変換単位情IGの重みをかけた値D°を算出して、
これを処理部10へ送出する。
Therefore, when this parallel digital signal 1) is processed by the processing unit IO, the calculation unit 12 converts the value of the data D based on the converted sheep position information G4 from the discrimination unit 13, that is, the data D
Calculate the value D° by multiplying the weight of the conversion unit information IG by
This is sent to the processing section 10.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以−トで明らかなように、AD変換部3からの並列ディ
ジタル信号1)を、処理部10に入力する場合、従来方
式では、データを換算するための演算処理手段が必要と
なるという問題点があった。
As is clear from the above, when the parallel digital signal 1) from the AD converter 3 is input to the processor 10, the conventional method has a problem in that an arithmetic processing means is required to convert the data. was there.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明を説明する原理図である。本発明は、 アナログ信号1を並列ディジタル信号2に変換して出力
するアナログディジタル変換器3と、並列ディジタル信
号2を受けて処理する処理装置4とが結ばれたシステム
において、 る アナログ量がディジタル量に変換され戸変換単位を示す
変換単位指定情報5を出力するアナログディジタル変換
器3または処理装置4と、並列ディジタル信号2が格納
されるシフトレジスタ6と、 変換単位指定情報5に応した数のシフトパルス7を出力
するシフトパルス発生部8 とを備えている。
FIG. 1 is a diagram illustrating the principle of the present invention. The present invention provides a system in which an analog-to-digital converter 3 that converts an analog signal 1 into a parallel digital signal 2 and outputs the parallel digital signal 2, and a processing device 4 that receives and processes the parallel digital signal 2, in which an analog quantity is converted into a digital signal. an analog-to-digital converter 3 or a processing device 4 that outputs conversion unit designation information 5 that is converted into a quantity and indicates a conversion unit; a shift register 6 that stores parallel digital signals 2; and a number that corresponds to the conversion unit designation information 5. The shift pulse generating section 8 outputs the shift pulse 7.

(作用〕 アナログディジタル変換器3Z陰は舛1r置夕からの並
列ディジタル信号2がシフトレジスタ6に格納されたの
ち、シフトパルス発生部8から発生せられたシフトパル
ス7により、変換単位指定情報5に応じた桁数だけ、シ
フトレジスタ6内のディジタル情報を所定方向へシフト
せしめて、ディジタル情報9に変換する。
(Function) After the parallel digital signal 2 from the analog/digital converter 3Z is stored in the shift register 6, the conversion unit designation information 5 is generated by the shift pulse 7 generated from the shift pulse generator 8. The digital information in the shift register 6 is shifted in a predetermined direction by the number of digits corresponding to , and converted into digital information 9.

〔実施例〕〔Example〕

以下、本発明を図面によって説明する。第2図は本発明
の一実施例を説明するブロック図、第3図は本発明の一
実施例を説明するデータブロック図である。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 2 is a block diagram explaining one embodiment of the present invention, and FIG. 3 is a data block diagram explaining one embodiment of the present invention.

第2図において、AD変換器3は、アナログ信号1を、
並列ディジタル信号2へ変換し、並列ディジタル信号2
と、変換単位情報5とを出力する。
In FIG. 2, the AD converter 3 converts the analog signal 1 into
Convert to parallel digital signal 2, parallel digital signal 2
and conversion unit information 5 are output.

なお並列ディジタル信号2は、第3図falに示す如く
、符号C(2ビツト)及びデータD(6ビツト)で構成
されるものとし、図は負の数値例を示す。
It is assumed that the parallel digital signal 2 is composed of a code C (2 bits) and data D (6 bits) as shown in FIG. 3 fal, and the figure shows an example of a negative numerical value.

従って符号Cの桁位置f7及びf8には、2値情報「1
」が出力される。なお第3図fa+の桁位置fII及び
f、には2値情報「0」がセットされる。
Therefore, digit positions f7 and f8 of code C contain binary information “1”.
" is output. Note that binary information "0" is set in digit positions fII and f in FIG. 3 fa+.

上記並列ディジタル信号2は、データ変換部14のレジ
スタ6にセットされる。シフトパルス発生部8は、変換
単位情報5の内容により、下記のパルス数のシフトパル
スPを出力する。
The parallel digital signal 2 is set in the register 6 of the data converter 14. The shift pulse generator 8 outputs shift pulses P having the following number of pulses according to the contents of the conversion unit information 5.

〔変換単位〕   〔シフトパルス〕 (ボルト)     (個) 例えば変換単位情報5が2ボルト単位を指定す3図(b
lに示す如く右方へ1ピントシフトされると共に、桁位
置f8に、補数発生部15からの補数情報F、即ち2値
情報「1」がセントされる。
[Conversion unit] [Shift pulse] (Volt) (Pieces) For example, in Figure 3 (b) where the conversion unit information 5 specifies the unit of 2 volts
The focus is shifted one focus to the right as shown by l, and the complement information F from the complement generator 15, ie, binary information "1", is placed in the digit position f8.

第3図(C1は、変換単位が1ボルトの場合の例を示し
たものである。この場合には、シフトパルス発生部8か
らは、パルスPが2個連続して出力されるのでこれによ
りレジスタ6内のデータは右方へ2ビツトシフトされる
と共に、桁位置f7及びf8に2値情報rlJがセント
される。
Figure 3 (C1 shows an example where the conversion unit is 1 volt. In this case, the shift pulse generator 8 outputs two pulses P in succession. The data in register 6 is shifted two bits to the right, and binary information rlJ is placed in digit positions f7 and f8.

処理装置4は、シフト後のディジタル情報9と、一定の
値(本例の場合は1)との積により、アナログ信号1の
値を求めることができる。例えばσ)アナログ信号が一
14ボルトで変換単位が2ボルトの時、AD変換器3か
らの出力は「1)100100」となり、シフトレジス
タ6の出力はrllllooloJ  (10進数で−
14を意味する)となる。
The processing device 4 can obtain the value of the analog signal 1 by multiplying the shifted digital information 9 by a constant value (1 in this example). For example, when the analog signal σ) is 114 volts and the conversion unit is 2 volts, the output from the AD converter 3 is "1) 100100" and the output from the shift register 6 is rlllloooloJ (- in decimal notation).
14).

■アナログ信号が一7ボルトで変換単位が1ボルトの時
、AD変換器3からの出力はN1’100100Jとな
り、シフトレジスタ6の出力は[1)1)0010J 
 (10進数で−7を意味する)となる。
■When the analog signal is 17 volts and the conversion unit is 1 volt, the output from AD converter 3 is N1'100100J, and the output from shift register 6 is [1)1)0010J
(meaning -7 in decimal).

なお実施例は、AD変換器3が変換単位指定情報5を出
力する場合であるが、この変換単位指定情報5を出力す
る手段を持たないAD変換器の場合には、第2図に破線
で示す如く、処理装置4から、この変換単位指定情報5
を出力させることにより、全く同一の制御動作を行わし
めることができる。
In the embodiment, the AD converter 3 outputs the conversion unit designation information 5, but in the case of an AD converter that does not have a means to output the conversion unit designation information 5, the broken line in FIG. As shown, this conversion unit designation information 5 is sent from the processing device 4.
By outputting , it is possible to perform exactly the same control operation.

以上のように本発明は、AD変換器3からの出力(並列
ディジタル)信号を、シフトレジスタ6において変換単
位に応じた桁数だけシフトし、このシフト後の情報9を
処理装置4へ送るように図ったものである。これにより
処理装置の負荷が軽減される。
As described above, the present invention shifts the output (parallel digital) signal from the AD converter 3 by the number of digits corresponding to the conversion unit in the shift register 6, and sends the shifted information 9 to the processing device 4. It was designed to This reduces the load on the processing device.

〔発明の効果〕〔Effect of the invention〕

本発明は、処理装置における入力データの判別処理を不
要とし、処理効率を向上する効果をもたらす利点を有す
る。
The present invention has the advantage of eliminating the need for input data discrimination processing in a processing device and improving processing efficiency.

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

第1図は本発明を説明する原理図、 第2図は本発明の一実施例を説明するブロック図、 第3図は本発明の一実施例を説明するデータブロック図
、 第4図は従来例を説明するブロック図、1はアナログ信
号、2,1)は並列ディジタル信号、3はアナログディ
ジタル(AD)変換器、4は処理装置、5は変換単位指
定情報、6はシフトレジスタ、7はシフトパルス、8は
シフトパルス発生部、9はシフト後の情報、lOは処理
部、12は演算部、13は判別部、14はデータ変換部
、15は補数発生部を示す。
Figure 1 is a principle diagram explaining the present invention. Figure 2 is a block diagram explaining an embodiment of the present invention. Figure 3 is a data block diagram explaining an embodiment of the present invention. Figure 4 is a conventional diagram. A block diagram explaining an example, 1 is an analog signal, 2, 1) is a parallel digital signal, 3 is an analog-to-digital (AD) converter, 4 is a processing device, 5 is conversion unit specification information, 6 is a shift register, 7 is a A shift pulse, 8 a shift pulse generation section, 9 information after shifting, 1O a processing section, 12 an arithmetic section, 13 a discrimination section, 14 a data conversion section, and 15 a complement generation section.

Claims (2)

【特許請求の範囲】[Claims] (1)アナログ信号1を並列ディジタル信号2に変換し
て出力するアナログディジタル変換器3と、並列ディジ
タル信号2を受けて処理する処理装置4とが結ばれたシ
ステムにおいて、 アナログ量がディジタル量に変換される変換単位を指定
する変換単位指定情報5を出力するアナログディジタル
変換器3と、 並列ディジタル信号2が格納されるシフトレジスタ6と
、 変換単位指定情報5に応じた数のシフトパルス7を出力
するシフトパルス発生部8とを備え、アナログディジタ
ル変換器3からの並列ディジタル信号2がシフトレジス
タ6に格納された後、シフトパルス発生部8から発せら
れたシフトパルス7により変換単位指定情報5に応じた
桁数だけシフトレジスタ6内のディジタル情報を、所定
方向へシフトせしめて、ディジタル情報10に変換せし
めるデータ変換方式。
(1) In a system in which an analog-to-digital converter 3 that converts an analog signal 1 into a parallel digital signal 2 and outputs it, and a processing device 4 that receives and processes the parallel digital signal 2 are connected, an analog quantity is converted into a digital quantity. An analog-to-digital converter 3 that outputs conversion unit designation information 5 that specifies the conversion unit to be converted, a shift register 6 that stores parallel digital signals 2, and a shift pulse 7 that outputs the number of shift pulses 7 that corresponds to the conversion unit designation information 5. After the parallel digital signal 2 from the analog-to-digital converter 3 is stored in the shift register 6, the shift pulse 7 generated from the shift pulse generator 8 generates conversion unit designation information 5. A data conversion method in which digital information in a shift register 6 is shifted in a predetermined direction by the number of digits corresponding to , and converted into digital information 10.
(2)前記変換単位指定情報5を出力する処理装置4と
、並列ディジタル信号2のみを出力するアナログディジ
タル変換器3とを備えた特許請求の範囲第1項記載のデ
ータ変換方式。
(2) The data conversion method according to claim 1, comprising a processing device 4 that outputs the conversion unit designation information 5 and an analog-digital converter 3 that outputs only the parallel digital signal 2.
JP60157191A 1985-07-17 1985-07-17 Data conversion system Granted JPS6217828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60157191A JPS6217828A (en) 1985-07-17 1985-07-17 Data conversion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60157191A JPS6217828A (en) 1985-07-17 1985-07-17 Data conversion system

Publications (2)

Publication Number Publication Date
JPS6217828A true JPS6217828A (en) 1987-01-26
JPH0535451B2 JPH0535451B2 (en) 1993-05-26

Family

ID=15644191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60157191A Granted JPS6217828A (en) 1985-07-17 1985-07-17 Data conversion system

Country Status (1)

Country Link
JP (1) JPS6217828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60184277U (en) * 1984-05-16 1985-12-06 日本電気株式会社 coaxial connector

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56140415A (en) * 1980-04-02 1981-11-02 Mitsubishi Electric Corp Accident analyzing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56140415A (en) * 1980-04-02 1981-11-02 Mitsubishi Electric Corp Accident analyzing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60184277U (en) * 1984-05-16 1985-12-06 日本電気株式会社 coaxial connector
JPH0447913Y2 (en) * 1984-05-16 1992-11-11

Also Published As

Publication number Publication date
JPH0535451B2 (en) 1993-05-26

Similar Documents

Publication Publication Date Title
SU662933A1 (en) Code converter
JPS6217828A (en) Data conversion system
US3716843A (en) Modular signal processor
EP0494536B1 (en) Multiplying apparatus
KR950002302B1 (en) A/d converter
JP2576568B2 (en) DA converter
SU1591004A1 (en) Adder
SU1751856A1 (en) Code converter
SU467364A1 (en) Differentiating device
GB2145889A (en) Analog-to-digital conversion
SU603134A1 (en) Arrangement for conversion of decimal code into analogue signal
SU974381A1 (en) Analog-digital function converter
SU894750A1 (en) Graphic information readout device
SU903893A1 (en) Digital correlometer
SU1181153A1 (en) Four-bit converter of binary-coded decimal code to binary code
SU1501279A1 (en) Code converter
SU849199A1 (en) Binary-to-bcd code converter
SU1109734A2 (en) Complex number-to-binary code translator
GB2149162A (en) Fixed point to floating point conversion
SU771869A1 (en) Analogue-digital converter
SU501369A1 (en) Multichannel measuring system
SU851394A1 (en) Converter of binary to binary decimal code
SU1008901A1 (en) Analogue-digital converter
GB2179770A (en) Method and digital circuit for fixed coefficient serial multiplication
SU1043676A1 (en) Squarer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term