JPS61245630A - Analog-to-digital conversion method - Google Patents

Analog-to-digital conversion method

Info

Publication number
JPS61245630A
JPS61245630A JP8770885A JP8770885A JPS61245630A JP S61245630 A JPS61245630 A JP S61245630A JP 8770885 A JP8770885 A JP 8770885A JP 8770885 A JP8770885 A JP 8770885A JP S61245630 A JPS61245630 A JP S61245630A
Authority
JP
Japan
Prior art keywords
analog quantity
converter
analog
binary
bits
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
JP8770885A
Other languages
Japanese (ja)
Inventor
Tsutomu Manabe
真鍋 勉
Tadashi Kawada
川田 正
Katsuya Urata
浦田 克也
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP8770885A priority Critical patent/JPS61245630A/en
Publication of JPS61245630A publication Critical patent/JPS61245630A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain the display data just with the binary-decimal conversion by performing the initial control so as to obtain the 2<n> output when the analog quantity of 2<n> is applied to an n-bit A/D converter and then multiplying 2<n> obtained by multiplying said analog quantity by 1/2<m> and applying it to the A/D converter by 2<m> when the analog quantity 2<n>X2<m> is measured. CONSTITUTION:The initialization is carried out so that the output of '1' is obtained with all (n) bits when the analog quantity of 2<n> is applied to an n-bit A/D converter 2. Then, the analog quantity of (2<n>X2<m>) is multiplied by 1/2<m> when this analog quantity is measured. Thus the output of 1 is obtained with all (n) bits by the converter 2. These outputs are shifted up or down by (m) bits and therefore the binary data of '1' is obtained with all (n+m) bits. The binary-decimal conversion is given to the binary data to obtain the display data corresponding to the original analog quantity. In other words, an analog quantity is obtained just with the binary-decimal conversion and with no use of a conversion table. This reduces the cost and also shorten the data converting time.

Description

【発明の詳細な説明】 〔概要〕 例えば、被監視局装置の動作状態を示すアナログ量2′
をnビットのアナログ/ディジタル変換器(以下A /
D変換器と省略する)に加えた時、2nの出力が得られ
る様に初期調整し、次ぎにアナログ量2×2を測定す時
はこのアナログ量を1/2′″倍して上記A /D変換
器に加えて得られた2を2倍する事により2進−10進
変換のみで表示データが得られる。
[Detailed Description of the Invention] [Summary] For example, an analog quantity 2' indicating the operating state of a monitored station device
is an n-bit analog/digital converter (hereinafter referred to as A/
(abbreviated as D converter), initial adjustment is made so that an output of 2n is obtained.Next, when measuring an analog quantity 2 x 2, this analog quantity is multiplied by 1/2'' and the above A By adding it to the /D converter and doubling the obtained 2, display data can be obtained only by binary-decimal conversion.

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

本発明は、例えばマイクロ波無線中継回線を構成する端
局、中間中継局の動作を監視局で監視する際に使用され
るアナログ量測定方法の改良に関するものである。
The present invention relates to an improvement in an analog quantity measuring method used when, for example, a monitoring station monitors the operation of terminal stations and intermediate relay stations that constitute a microwave radio relay line.

第3図はマイクロ波無線中継回線のブロック図を示す。FIG. 3 shows a block diagram of a microwave radio relay line.

図において、両端の端局間に複数の中間中継局が配置さ
れ、これらを結ぶ無線回線で各局の動作データが監視局
に送られる。監視局ではこれらのデータを用いて各中間
中継局及び端局の動作状態を監視しているが、受信され
る動作データは全てディジタル量(例えば1周当たり約
50項目)で元の10進数に変換してディスプレイ等で
表示しているが、出来るだけ安くしかも短時間でアナロ
グ量が得られる事が必要である。
In the figure, a plurality of intermediate relay stations are arranged between terminal stations at both ends, and operational data from each station is sent to a monitoring station via a wireless link connecting these stations. The monitoring station uses these data to monitor the operating status of each intermediate relay station and terminal station, but all the received operating data is digital (for example, about 50 items per round) and converted to the original decimal number. It is converted and displayed on a display, etc., but it is necessary to obtain analog quantities as cheaply and in a short time as possible.

〔従来の技術〕[Conventional technology]

第4図はアナログ量測定方法の従来例のブロック図を、
第5図は第4図のフローチャートを示す。
Figure 4 shows a block diagram of a conventional analog quantity measuring method.
FIG. 5 shows the flow chart of FIG.

そこで、第5図を参照しながら第4図を説明する。尚、
アナログ/ディジタル変換器(以下A/D変換器と省略
する)は例えば最大入力アナログ量が650の時に10
ピントすべで1の状態になるとする。又、単位や小数点
は省略しである。
Therefore, FIG. 4 will be explained with reference to FIG. 5. still,
For example, when the maximum input analog amount is 650, the analog/digital converter (hereinafter abbreviated as A/D converter)
Suppose that the state is 1 when everything is in focus. Also, units and decimal points are omitted.

(1)  観測#1のアナログ量が0〜1000の範囲
で変動する時 ・アナログ量1000が入力した時にレベル変換器1を
調整して650がA ID変換器2に入力する様にする
(第4図−■参照)。
(1) When the analog quantity of observation #1 fluctuates in the range of 0 to 1000/When the analog quantity 1000 is input, adjust the level converter 1 so that 650 is input to the AID converter 2 (No. (See Figure 4-■).

・A ID変換器2より1111111111が出力さ
れるが、メモリ3の中の#1変換テーブルより変換され
た2進データを取出し、これを2進−10進変換して1
000である事を換算して表示する(第4図−〇〜■参
照)。
・A 1111111111 is output from the ID converter 2, but the converted binary data is extracted from the #1 conversion table in the memory 3, converted from binary to decimal, and converted to 1
000 is converted and displayed (see Figure 4-○~■).

・1000以下のアナログ量に対してはA/D変換器2
より得られた2進値に対応する変換データを求め、これ
を10進値に変換して表示する。
・A/D converter 2 for analog quantities less than 1000
Conversion data corresponding to the obtained binary value is obtained, and this is converted into a decimal value and displayed.

(2)観測#2のアナログ量がO〜500の範囲で変動
する時 ・アナログ量500が入力した時にレベル調整器1で6
50がA ID変換器3に入力する様に調整する(第4
図−■参照)。
(2) When the analog value of observation #2 fluctuates in the range of 0 to 500 - When the analog value of 500 is input, level adjuster 1 is set to 6
Adjust so that 50 is input to A ID converter 3 (4th
(See Figure ■).

・A ID変換器3の出力1111111111がメモ
リ5の中の#2変換テーブル及び2進−IO進変換を用
いて500である事を換算して表示する(第4図■−■
参照)。
・Convert and display that the output 1111111111 of the A ID converter 3 is 500 using the #2 conversion table in the memory 5 and binary-IO conversion (Figure 4 ■-■
reference).

即ち、#1でも#2でも最大値はA /D変換されると
すべて1111111111となるが、これはそれぞれ
対応する変換テーブルにより換算されて、更に2進−1
0進変換されて別々の表示データが得られる。
That is, the maximum value of both #1 and #2 becomes 1111111111 when A/D converted, but this is converted by the corresponding conversion table and further converted to binary - 1.
Separate display data is obtained by decimal conversion.

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

しかし、この方法は入力情報の数だけ変換テーブル(例
えば、リード・オンリ・メモリに書込んだもの)が必要
となるが、これを用意するのに多大の工数がかかりコス
トアンプになる。
However, this method requires a conversion table (for example, one written in a read-only memory) equal to the number of pieces of input information, and it takes a lot of man-hours to prepare it, which increases the cost.

又・変換テーブルの有効桁数がふえる程、メモリの容量
が大きくなるので、データ変換が遅くなると云う問題点
かある。
Furthermore, as the number of effective digits in the conversion table increases, the memory capacity increases, so there is a problem that data conversion becomes slower.

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

上記の問題点は、2  (nは正の整数)のアナログ量
をレベル変換器を介してnビットのアナログ/ディジタ
ル変換器に加えた時にnビット全て1の最大出力になる
様に該レベル変換器を調節し、アナログ量2nx2′v
l(mは正又は負の整数)が入力した時、該アナログ量
を1/2倍して該レベル変換器を通してアナログ/ディ
ジタル変換器に加え、該アナログ/ディジタル変換器の
nビット全て1の出力をmビットシフトアップ又はシフ
トダウンさせた後、2進−10進変換して表示データを
得る本発明のアナログ/ディジタル変換方法により解決
される。
The above problem is that when an analog quantity of 2 (n is a positive integer) is applied to an n-bit analog/digital converter via a level converter, the level is converted so that the maximum output is 1 for all n bits. Adjust the analog quantity 2nx2'v
When l (m is a positive or negative integer) is input, the analog quantity is multiplied by 1/2 and added to the analog/digital converter through the level converter, and all n bits of the analog/digital converter are set to 1. The problem is solved by the analog/digital conversion method of the present invention which shifts the output up or down by m bits and then converts it from binary to decimal to obtain display data.

〔作用〕[Effect]

本発明は、グのアナログ量をnビットのA /D変換器
に加えた時にnビット全て1の出力が得られる様に初期
設定する。
In the present invention, initial settings are made so that when an analog quantity of 1 is applied to an n-bit A/D converter, an output of all 1's for n bits is obtained.

次に、rxrのアナログ量を測定する時はこのアナログ
量を1/21倍する事によりA /D変換器よりnビッ
ト全て1の出力が得られるが、これをmビットシフトア
ンプ又はシフトダウンすればn十mビット全て1の2進
データが得られる。これを2進−10進変換すれば元の
アナログ量に対応した表示データが得られる。
Next, when measuring the analog quantity of rxr, by multiplying this analog quantity by 1/21, an output of n bits all 1 can be obtained from the A/D converter. In this case, binary data with all 1 bits is obtained. If this is converted from binary to decimal, display data corresponding to the original analog quantity can be obtained.

即ち、変換テーブルを使用せず2進−10進変換のみで
アナログ量が得られるので、コストダウンになり、デー
タ変換も早くなる。
That is, since an analog quantity can be obtained only by binary-decimal conversion without using a conversion table, costs are reduced and data conversion becomes faster.

〔実施例〕〔Example〕

以下図示実施例により、本発明の内容を具体的に説明す
る。尚、企図を通じて同一符号は同一対象物を示す。
The contents of the present invention will be specifically explained below with reference to illustrated embodiments. Note that the same reference numerals refer to the same objects throughout the plan.

第1図は本発明の一実施例のブロック図、第2図は第1
図のフローチャートを示す。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
The flowchart of the figure is shown.

そこで、第2図を参照して第1図の動作を説明する。Therefore, the operation shown in FIG. 1 will be explained with reference to FIG.

(11観測#1のアナログ量が0〜1000の時・アナ
ログ量が1024の時にA /D変換器2の出力が10
ビツト全て1になる様にレベル変換器1を用いて初期設
定する。10進化すると1024になり計測範囲O〜1
024となる(第2図■−■参照)。
(11 When the analog quantity of observation #1 is 0 to 1000/When the analog quantity is 1024, the output of A/D converter 2 is 10
Initial setting is performed using level converter 1 so that all bits become 1. When it evolves to 10, it becomes 1024 and the measurement range is O~1
024 (see Figure 2 ■-■).

・アナログ量1000を加えるとA /D変換器2より
1000に対応する2進値が得られるので、これを10
進化して元のアナログ量が得られる。
・If you add the analog value 1000, you will get a binary value corresponding to 1000 from A/D converter 2, so convert this to 10
It evolves and the original analog quantity is obtained.

(2)  観測#2のアナログ量がO〜500の時・ア
ナログ量512を増幅器5で2倍してA /D変換器2
に加えて得られた10ビツト全て1のA /D変換器2
の出力を、1ビツトシフトダウン(2倍する)する様に
設定する。10進化すると512になり計測範囲は0〜
512となる(第2図■−■参照)。
(2) When the analog quantity of observation #2 is O~500 - Double the analog quantity 512 with amplifier 5 and convert it to A/D converter 2
A/D converter 2 with all 10 bits obtained in addition to
Set the output to be shifted down (double) by 1 bit. When it evolves to 10, it becomes 512 and the measurement range is 0~
512 (see Figure 2 ■-■).

・アナログ量500を加えると、A /D変換器2より
対応するディジタル量が、10進化すると元のアナログ
量に対応する表示データが得られる。
- When the analog quantity 500 is added, the corresponding digital quantity is evolved by 10 from the A/D converter 2, and display data corresponding to the original analog quantity is obtained.

(3)  観測#3のアナログ量がO〜2000の時・
アナログ11204Bを減衰器6で%してA /D変換
器2に加えて得られた10ビツト全て1のA /D変換
器2の出力を1ビツトシフトアンプ(2倍する)する様
に設定する。10進化すると2048となり計測範囲は
0〜2048となる(第2図■−■参照)。
(3) When the analog quantity of observation #3 is O~2000・
Analog 11204B is %ed by attenuator 6 and added to A/D converter 2, and the resulting 10 bits are all 1. Set to shift the output of A/D converter 2 by 1 bit (doubling). . When evolved by 10, it becomes 2048, and the measurement range becomes 0 to 2048 (see Figure 2 - ■).

・アナログ量2000を加えると、A /D変換器3よ
り対応するディジタル量が、10進化すると元のアナロ
グ量が得られる。
- When the analog quantity 2000 is added, the corresponding digital quantity from the A/D converter 3 is evolved by 10, and the original analog quantity is obtained.

即ち、変換テーブルを使用せず、2進−10進変換のみ
で元のアナログ量が得られる。
That is, the original analog quantity can be obtained only by binary-decimal conversion without using a conversion table.

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

上記で詳細に説明した様に、2進−10進デープルのみ
で観測したアナログ量が取出せる様にしたので、コスト
ダウンになると共にデータ変換が早くなると云う効果が
ある。
As explained in detail above, since the analog quantity observed can be extracted only in the binary-decimal daple, there is an effect that the cost is reduced and the data conversion is speeded up.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のフローチャート、 第3図はマイクロ波無線中継回線のブロック図、第4図
は従来例のブロック図、 第5図は第4図のフローチャートを示す。 図において、 lはレベル変換器、 2はへ/D変換器、 4はメモリ、 5は増幅器、 6は減衰器を示す。 A二二]口 すQ V 会同 回 −哨 偶々 憤釈 」に 雫 ン
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
3 is a block diagram of a microwave radio relay line, FIG. 4 is a block diagram of a conventional example, and FIG. 5 is a flow chart of FIG. 4. In the figure, l is a level converter, 2 is a to/D converter, 4 is a memory, 5 is an amplifier, and 6 is an attenuator. A22] Drops on the same QV meeting - Indignant interpretation of the meeting.

Claims (1)

【特許請求の範囲】 2^n(nは正の整数)のアナログ量をレベル変換器を
介してnビットのアナログ/ディジタル変換器に加えた
時にnビット全て1の最大出力になる様に該レベル変換
器を調節し、 2^n×2^m(mは正又は負の整数)のアナログ量が
入力した時、該アナログ量を1/2^m倍して該レベル
変換器を通してアナログ/ディジタル変換器に加え、該
アナログ/ディジタル変換器のnビット全て1の出力を
mビットシフトアップ又はシフトダウンさせた後、 2進−10進変換して、直接表示データを得る様にした
事を特徴とするアナログ/ディジタル変換方法。
[Claims] When 2^n (n is a positive integer) analog quantity is applied to an n-bit analog/digital converter via a level converter, the output is adjusted so that the maximum output is 1 for all n bits. The level converter is adjusted, and when an analog quantity of 2^n x 2^m (m is a positive or negative integer) is input, the analog quantity is multiplied by 1/2^m and passed through the level converter to the analog/ In addition to the digital converter, the n-bit all-1 output of the analog/digital converter is shifted up or down by m bits, and then converted from binary to decimal to directly obtain display data. Characteristic analog/digital conversion method.
JP8770885A 1985-04-24 1985-04-24 Analog-to-digital conversion method Pending JPS61245630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8770885A JPS61245630A (en) 1985-04-24 1985-04-24 Analog-to-digital conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8770885A JPS61245630A (en) 1985-04-24 1985-04-24 Analog-to-digital conversion method

Publications (1)

Publication Number Publication Date
JPS61245630A true JPS61245630A (en) 1986-10-31

Family

ID=13922411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8770885A Pending JPS61245630A (en) 1985-04-24 1985-04-24 Analog-to-digital conversion method

Country Status (1)

Country Link
JP (1) JPS61245630A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5763932A (en) * 1980-10-06 1982-04-17 Arupain Kk Data converting circuit
JPS57190416A (en) * 1981-05-20 1982-11-24 Hitachi Ltd Analog-to-digital converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5763932A (en) * 1980-10-06 1982-04-17 Arupain Kk Data converting circuit
JPS57190416A (en) * 1981-05-20 1982-11-24 Hitachi Ltd Analog-to-digital converter

Similar Documents

Publication Publication Date Title
JPH0311036B2 (en)
US6282530B1 (en) Digital neural node
US3798635A (en) Channel monitor for compressed-code pcm transmission system
JPS61245630A (en) Analog-to-digital conversion method
CN218272643U (en) Power supply detection circuit and power supply monitoring equipment
JPH11296444A (en) Monitoring device
CN112134564A (en) Multichannel cascade AD acquisition system and acquisition method
KR100363662B1 (en) System and Method for Caller Identifier Display in Digital Private Exchange
CN208421608U (en) Build the reforming unit and system of data
JP3221595B2 (en) AC electricity-DC voltage converter
JPS60247347A (en) Transmission system of measurement information
JPH01231432A (en) Digital/analog converter
JPS58153996A (en) Display
CN115729792A (en) Method and device for determining maximum utilization rate of CPU of server and terminal equipment
JPS62252233A (en) Simplified cyclic transmission equipment
JP2002094601A (en) Communication system between client and server and method for dealing with communication protocol used for it
JPH09246969A (en) Measurement method for characteristic of d/a converter and measurement unit for characteristic of d/a converter
SU1679515A1 (en) Telemetering system
CN116736765A (en) Control system, method and computer readable storage medium
JPH0338703A (en) Analog signal input/output device
JPS61244129A (en) Transmission system for analog signal
JPH06309474A (en) Power control system
JPS61274272A (en) Waveform display device
JPH0397055A (en) Serial input / output circuit
JPH04322347A (en) Information transmission system