JPH0535451B2 - - Google Patents

Info

Publication number
JPH0535451B2
JPH0535451B2 JP60157191A JP15719185A JPH0535451B2 JP H0535451 B2 JPH0535451 B2 JP H0535451B2 JP 60157191 A JP60157191 A JP 60157191A JP 15719185 A JP15719185 A JP 15719185A JP H0535451 B2 JPH0535451 B2 JP H0535451B2
Authority
JP
Japan
Prior art keywords
conversion unit
digital signal
outputs
data
parallel 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.)
Expired - Lifetime
Application number
JP60157191A
Other languages
Japanese (ja)
Other versions
JPS6217828A (en
Inventor
Takao Nishoko
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

Description

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

〔概要〕 本発明は、複数レンジ(変換範囲)のデイジタ
ルデータを出力するAD変換器と処理装置とが結
ばれたシステムにおいて、AD変換器からのデイ
ジタルデータを処理装置に入力する際、該デイジ
タルデータをレンジの範囲に応じたビツト数だけ
所定方向へシフトせしめたのち入力することによ
り、処理装置によるデータ処理の負荷の軽減を図
つたものである。 〔産業上の利用分野〕 本発明は、AD変換器の出力データを、その変
換単位に応じたデータに変換するデータ変換方式
の改良に関する。 複数レンジのデータを出力するAD変換器から
デイジタルデータを受けて処理する際の処理効率
の改善が望まれている。 〔従来の技術〕 従来例を図によつて説明する。第4図aは従来
例を説明するブロツク図であり、また第4図b
は、AD変換器3から出力される並列デイジタル
信号11の構成を説明するデータブロツク図であ
る。 第4図aにおいて、処理装置4の処理部10か
ら変換単位指定情報5を送出すると、AD変換器
3は、この指定された単位でアナログ信号1を、
デイジタル信号11に変換して、並列に出力す
る。なお、このときAD変換器3からは、同期用
の制御パルスPが出力され、これにより並列デイ
ジタル信号11は、レジスタ6にセツトされる。 並列デイジタル信号11は、第4図bに示す如
く、8ビツトの信号であり、変換単位の種別を示
す単位情報G(2ビツト)、符号情報S(2ビツト)
及びデータD(4ビツト)で構成される。第4図
bに示す如く、桁位置f1〜f4からなるデータD、
即ち2値情報「1001」が示す値は、変換単位情報
Gの値によつて異なる。 即ちGの値00〜11によつて、データの桁位置
(最下位の桁位置)f1の値(例えば電圧値)は、
下記の如く異なる。 〔G〕 〔電圧値〕 (ボルト) 00 8 01 4 10 2 11 1 換言すればデータDの値は、変換単位Gの値に
よつて定まる。 従つてこの並列デイジタル信号11を処理部1
0で処理する場合、演算部12は、判別部13か
らの変換単位情報Gに基づいて、データDの値を
換算、即ちデータDに、変換単位情報Gの重みを
かけた値D′を算出して、これを処理部10へ送
出する。 〔発明が解決しようとする問題点〕 以上で明らかなように、AD変換器3からの並
列デイジタル信号11を、処理部10に入力する
場合、従来方式では、データを換算するための演
算処理手段が必要となるという問題点があつた。 〔問題点を解決するための手段〕 第1図は本発明を説明する原理図である。本発
明は、 アナログ信号1を並列デイジタル信号2に変換
して出力するアナログデイジタル変換器3と、並
列デイジタル信号2を受けて処理する処理装置4
とが結ばれたシステムにおいて、 アナログ量がデイジタル量に変換される変換単
位を示す変換単位指定情報5を出力するアナログ
デイジタル変換器3または処理装置4と、 並列デイジタル信号2が格納されるシフトレジ
スタ6と、 変換単位指定情報5に応じた数のシフトパルス
7を出力するシフトパルス発生部8 とを備えている。 〔作用〕 アナログデイジタル変換器3からの並列デイジ
タル信号2がシフトレジスタ6に格納されたの
ち、シフトパルス発生部8から発生せられたシフ
トパルス7により、変換単位指定情報5に応じた
桁数だけ、シフトレジスタ6内のデイジタル情報
を所定方向へシフトせしめて、デイジタル情報9
に変換する。 〔実施例〕 以下、本発明を図面によつて説明する。第2図
は本発明の一実施例を説明するブロツク図、第3
図は本発明の一実施例を説明するデータブロツク
図である。 第2図において、AD変換器3は、アナログ信
号1を、並列デイジタル信号2へ変換し、並列デ
イジタル信号2と、変換単位情報5とを出力す
る。なお並列デイジタル信号2は、第3図aに示
す如く、符号C(2ビツト)及びデータD(6ビツ
ト)で構成されるものとし、図は負の数値例を示
す。従つて符号Cの桁位置f7及びf8には、2値情
報「1」が出力される。なお第3図aの桁位置f1
及びf2には2値情報「0」がセツトされる。 上記並列デイジタル信号2は、データ変換部1
4のレジスタ6にセツトされる。シフトパルス発
生部8は、変換単位情報5の内容により、下記の
パルス数のシフトパルスPを出力する。 〔変換単位〕 〔シフトパルス〕 (ボルト) (個) 4 0 2 1 1 2 例えば変換単位情報5が2ボルト単位を指定す
るとき、シフトパルス発生部8は、パルスPを1
個出力する。これによりレジスタ6内のデータ
は、第3図bに示す如く右方へ1ビツトシフトさ
れると共に、桁位置f8に、補数発生部15からの
補数情報F、即ち2値情報「1」がセツトされ
る。 第3図cは、変換単位が1ボルトの場合の例を
示したものである。この場合には、シフトパルス
発生部8からは、パルスPが2個連続して出力さ
れるのでこれによりレジスタ6内のデータは右方
へ2ビツトシフトされると共に、桁位置f7及びf8
に2値情報「1」がセツトされる。 処理装置4は、シフト後のデイジタル情報9
と、一定の値(本例の場合は1)との積により、
アナログ信号1の値を求めることができる。例え
ば アナログ信号が−14ボルトで変換単位が2ボ
ルトの時、AD変換器3からの出力は
「11100100」となり、シフトレジスタ6の出力
は「11110010」(10進数で−14を意味する)と
なる。 アナログ信号が−7ボルトで変換単位が1ボ
ルトの時、AD変換器3からの出力は
「11100100」となり、シフトレジスタ6の出力
は「11111001」(10進数で−7を意味する)と
なる。 なお実施例は、AD変換器3が変換単位指定
情報5を出力する場合であるが、この変換単位
指定情報5を出力する手段を持たないAD変換
器の場合には、第2図に破線で示す如く、処理
装置4から、この変換単位指定情報5を出力さ
せることにより、全く同一の制御動作を行わし
めることができる。 以上のように本発明は、AD変換器3からの出
力(並列デイジタル)信号を、シフトレジスタ6
において変換単位に応じた桁数だけシフトし、こ
のシフト後の情報9を処理装置4へ送るように図
つたものである。これにより処理装置の負荷が軽
減される。 〔発明の効果〕 本発明は、処理装置における入力データの判別
処理を不要とし、処理効率を向上する効果をもた
らす利点を有する。
[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, and when inputting digital data from the AD converter to the processing device, the digital By inputting data after shifting it in a predetermined direction by the number of bits corresponding to the range, the data processing load on the processing device is reduced. [Industrial Application Field] 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. It is desired to improve the processing efficiency when receiving and processing digital data from an AD converter that outputs data in multiple ranges. [Prior Art] A conventional example will be explained with reference to the drawings. FIG. 4a is a block diagram illustrating a conventional example, and FIG. 4b is a block diagram for explaining a conventional example.
1 is a data block diagram illustrating the configuration of a parallel digital signal 11 output from an AD converter 3. FIG. In FIG. 4a, 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 in the designated unit,
It is converted into a digital signal 11 and output in parallel. At this time, the AD converter 3 outputs a control pulse P for synchronization, and the parallel digital signal 11 is thereby set in the register 6. The parallel digital signal 11 is an 8-bit signal, as shown in FIG. 4b, and includes unit information G (2 bits) indicating the type of conversion unit and code information S (2 bits).
and data D (4 bits). As shown in FIG. 4b, data D consisting of digit positions f 1 to f 4 ,
That is, the value indicated by the binary information "1001" differs depending on the value of the conversion unit information G. That is, depending on the G value 00 to 11, the value of the data digit position (lowest digit position) f1 (for example, voltage value) is
They differ as shown below. [G] [Voltage value] (Volt) 00 8 01 4 10 2 11 1 In other words, the value of the data D is determined by the value of the conversion unit G. Therefore, this parallel digital signal 11 is processed by the processing section 1.
In the case of processing with 0, the calculation unit 12 converts the value of the data D based on the conversion unit information G from the determination unit 13, that is, calculates a value D′ obtained by multiplying the data D by the weight of the conversion unit information G. Then, it is sent to the processing section 10. [Problems to be Solved by the Invention] As is clear from the above, when the parallel digital signal 11 from the AD converter 3 is input to the processing unit 10, in the conventional method, an arithmetic processing means for converting the data is used. There was a problem that . [Means for Solving the Problems] FIG. 1 is a diagram illustrating the principle of the present invention. The present invention comprises an analog-to-digital converter 3 that converts an analog signal 1 into a parallel digital signal 2 and outputs the same, and a processing device 4 that receives and processes the parallel digital signal 2.
In a system in which: an analog-to-digital converter 3 or a processing device 4 that outputs conversion unit specification information 5 indicating a conversion unit in which an analog quantity is converted into a digital quantity; and a shift register in which the parallel digital signal 2 is stored. 6, and a shift pulse generating section 8 that outputs a number of shift pulses 7 according to the conversion unit designation information 5. [Operation] 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 converts the parallel digital signal 2 by the number of digits corresponding to the conversion unit designation information 5. , shifts the digital information in the shift register 6 in a predetermined direction, and converts the digital information 9 into
Convert to [Example] The present invention will be explained below with reference to the drawings. FIG. 2 is a block diagram explaining one embodiment of the present invention, and FIG.
The figure is a data block diagram illustrating one embodiment of the present invention. In FIG. 2, an AD converter 3 converts an analog signal 1 into a parallel digital signal 2, and outputs the parallel digital signal 2 and conversion unit information 5. The parallel digital signal 2 is assumed to be composed of a code C (2 bits) and data D (6 bits), as shown in FIG. 3a, and the figure shows an example of a negative numerical value. Therefore, binary information "1" is output to digit positions f 7 and f 8 of code C. In addition, digit position f 1 in Figure 3 a
And binary information "0" is set in f2 . The parallel digital signal 2 is transmitted to the data converter 1
It is set in register 6 of 4. 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. [Conversion unit] [Shift pulse] (Volt) (Pieces) 4 0 2 1 1 2 For example, when the conversion unit information 5 specifies a unit of 2 volts, the shift pulse generator 8 converts the pulse P into 1
Output. As a result, the data in the register 6 is shifted one bit to the right as shown in FIG . be done. FIG. 3c shows an example where the conversion unit is 1 volt. In this case, the shift pulse generator 8 outputs two pulses P in succession, so that the data in the register 6 is shifted to the right by 2 bits, and the digit positions f 7 and f 8 are shifted to the right.
Binary information ``1'' is set to ``1''. The processing device 4 processes the digital information 9 after the shift.
By multiplying by a constant value (1 in this example), we get
The value of analog signal 1 can be determined. For example, when the analog signal is -14 volts and the conversion unit is 2 volts, the output from AD converter 3 will be "11100100" and the output from shift register 6 will be "11110010" (meaning -14 in decimal). . When the analog signal is -7 volts and the conversion unit is 1 volt, the output from AD converter 3 is "11100100" and the output from shift register 6 is "11111001" (meaning -7 in decimal). In the example, 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, by outputting this conversion unit designation information 5 from the processing device 4, exactly the same control operation can be performed. As described above, the present invention transfers the output (parallel digital) signal from the AD converter 3 to the shift register 6.
is shifted by the number of digits corresponding to the conversion unit, and the information 9 after this shift is sent to the processing device 4. This reduces the load on the processing device. [Effects 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,11は並列デイジタル
信号、3はアナログデイジタル(AD)変換器、
4は処理装置、5は変換単位指定情報、6はシフ
トレジスタ、7はシフトパルス、8はシフトパル
ス発生部、9はシフト後の情報、10は処理部、
12は演算部、13は判別部、14はデータ変換
部、15は補数発生部を示す。
FIG. 1 is a principle diagram for explaining the present invention, FIG. 2 is a block diagram for explaining an embodiment of the present invention, and FIG. 3 is a data block diagram for explaining an embodiment of the present invention.
FIG. 4 is a block diagram explaining a conventional example. 1 is an analog signal, 2 and 11 are parallel digital signals, 3 is an analog-digital (AD) converter,
4 is a processing device, 5 is conversion unit designation information, 6 is a shift register, 7 is a shift pulse, 8 is a shift pulse generation section, 9 is information after shifting, 10 is a processing section,
12 is an arithmetic unit, 13 is a discrimination unit, 14 is a data conversion unit, and 15 is a complement generation unit.

Claims (1)

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

Families Citing this family (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

Also Published As

Publication number Publication date
JPS6217828A (en) 1987-01-26

Similar Documents

Publication Publication Date Title
JPH0253974B2 (en)
JPS6360569B2 (en)
JPH04326229A (en) Multiple amplitude sample generator and method thereof
US4326260A (en) Linear piecewise waveform generator for an electronic musical instrument
JPH0535451B2 (en)
US5107265A (en) Analog to digital converter
US5920496A (en) High speed correlator using up/down counter
US4866443A (en) A/D converter having multiplication function
US4903027A (en) A/D converter comprising encoder portion having function of multiplying analogue input by digital input
US3887912A (en) Analogue-digital converter apparatus
SU851394A1 (en) Converter of binary to binary decimal code
JP2576568B2 (en) DA converter
JPH0376311A (en) Pulse width modulation circuit
SU1008901A1 (en) Analogue-digital converter
KR950002302B1 (en) A/d converter
JP2786031B2 (en) A / D converter
SU1418909A1 (en) Data format converter
SU1109734A2 (en) Complex number-to-binary code translator
KR930007592Y1 (en) D/a converter
SU1129732A1 (en) Delta modulator
JP2599984B2 (en) Input data peak value detection circuit
GB2149162A (en) Fixed point to floating point conversion
JP2956373B2 (en) Arithmetic circuit
SU1181153A1 (en) Four-bit converter of binary-coded decimal code to binary code
SU796886A1 (en) Shaft angular position-to-code converter

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