JPS6227629A - Special data display device - Google Patents

Special data display device

Info

Publication number
JPS6227629A
JPS6227629A JP60166586A JP16658685A JPS6227629A JP S6227629 A JPS6227629 A JP S6227629A JP 60166586 A JP60166586 A JP 60166586A JP 16658685 A JP16658685 A JP 16658685A JP S6227629 A JPS6227629 A JP S6227629A
Authority
JP
Japan
Prior art keywords
data
input data
scale
shift register
spectral
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
JP60166586A
Other languages
Japanese (ja)
Inventor
Shotaro Izumi
昭太郎 泉
Natsuki Yoshida
吉田 夏紀
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.)
Horiba Ltd
Original Assignee
Horiba 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 Horiba Ltd filed Critical Horiba Ltd
Priority to JP60166586A priority Critical patent/JPS6227629A/en
Publication of JPS6227629A publication Critical patent/JPS6227629A/en
Pending legal-status Critical Current

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To make it possible to obtain a device as a total automatic system, by converting the data inputted in a shift register part into the spectral height corresponding to the magnitudes of the data. CONSTITUTION:A shift register part 1 is provided with a data input terminal 1A and a mode selecting signal input terminal 1B. When a linear-scale-mode selecting signal is inputted, the relationship between the magnitudes of the data inputted from the terminal 1A and the full scale of the logitudinal axis on a screen 3A of a CRT display 3 is judged. When, a logarithm-scale-mode selecting signal is inputted to the terminal 1B, the approximate value of the logarithm of the data inputted from the terminal 1A is obtained. The maximum value of the spectral height outputted from a ROM part 2 is compared with preset upper and lower limit values imparted from a control part 5 in a comparator 4. The result is outputted to the control part 5. The control part 5 automatically adjusts and controls the display range of the screen 3A so that the spectral data can be always observed readily.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、入力されたデータをCRT (カソードレイ
チューブ)ディスプレイの画面上にスペクトルデータと
して表示するためのスペクトルデータ表示装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a spectral data display device for displaying input data as spectral data on the screen of a CRT (cathode ray tube) display.

〔従来の技術〕[Conventional technology]

従来から、本願出願人の出願にかかる特許出願(特願昭
52−1.58069号)等により、シフトレジスタを
利用して、入力データを2を底とした対数に近似変換す
るディジタル対数変111!装置が提案され、種々のデ
ータのCRTディスプレイ画面へのグラフインク表示の
ための変換装置として多用されるに至っている。
Conventionally, a patent application (Japanese Patent Application No. 52-1.58069) filed by the present applicant has proposed a digital logarithm variable 111 that approximately converts input data into a logarithm with a base of 2 using a shift register. ! Devices have been proposed and have found widespread use as conversion devices for the graphical ink display of various data on CRT display screens.

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

しかしながら、上記従来のディジタル対数変換装置では
、入力データの対数近似値を求める機能を有しているの
みであって、その出力データをCRTディスプレイの画
面にグラフインク表示しようとしても、その出力データ
そのままでは、CRTディスプレイ画面における縦軸フ
ルスケールや縦分解能には必ずしも常には適合しない、
という不都合や、CRTディスプレイの画面における縦
軸としては対数スケールのみしか用いることができず、
リニアスケールを用いたいという要求には応えることが
できない、という不都合が残存していた。従って、前記
ディジタル対数変換装置からの出力データを、別の装置
によって、CRTディスプレイ画面における縦軸フルス
ケールや縦分解能に適合するように更に変換補正すると
か、リニアスケール用に更に変換補正するとか、あるい
は、CRTディスプレイ画面の表示レンジを手動により
試行錯誤的に切り換え調節するといった非常に面倒な操
作が必要であった。
However, the above-mentioned conventional digital logarithmic conversion device only has the function of obtaining a logarithmic approximation value of input data, and even if you try to display the output data in graph ink on the screen of a CRT display, the output data will be displayed as is. However, it does not always match the vertical axis full scale and vertical resolution of a CRT display screen.
This is an inconvenience, and only a logarithmic scale can be used as the vertical axis on a CRT display screen.
There remained the inconvenience that the demand for using a linear scale could not be met. Therefore, the output data from the digital logarithmic conversion device may be further converted and corrected by another device to match the vertical axis full scale and vertical resolution of the CRT display screen, or further converted and corrected for linear scale. Alternatively, extremely troublesome operations such as manually switching and adjusting the display range of the CRT display screen by trial and error are required.

本発明は、上記従来実情に鑑みてなされたものであって
、その目的は、CRTディスプレイ画面における縦軸と
して対数スケールおよびリニアスケールの何れでも用い
ることができ、しかも、入力データをCRTディスプレ
イ画面における縦軸フルスケールや縦分解能に常に適合
するように自動的に変換補正する機能を有すると共に、
CRTディスプレイ画面への表示データが常に見易い大
きさとなるように、CRTディスプレイ画面の表示レン
ジをデータの状態に応じて自動的に適度なレンジに切り
換える機能を有する、トータル的な自動システムとして
のスペクトルデータ表示装置を提供せんとすることにあ
る。
The present invention has been made in view of the above-mentioned conventional situation, and its object is to be able to use either a logarithmic scale or a linear scale as the vertical axis on a CRT display screen, and to enable input data to be displayed on a CRT display screen. It has a function that automatically performs conversion correction to always match the vertical axis full scale and vertical resolution, and
Spectral data as a total automatic system that has the function of automatically switching the display range of the CRT display screen to an appropriate range according to the data condition so that the data displayed on the CRT display screen is always of an easy-to-read size. The purpose is to provide a display device.

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

上記目的を達成するために、本発明によるスペクトルデ
ータ表示装置は、シフトレジスタ部に入力されたデータ
X(i)を夫々その大きさに対応するスペクトル高さY
(i)に変換するに際して、対数スケールモードにおい
ては、前記シフトレジスタ部で前記入力データX(i)
の対数近似値fog2X (i)を求めてから、ROM
部において、Y(i)= logz X(i)  X 
(No / L)  (ここに、r−は入力データX 
(i)のビット数、NoはCRTディスプレイ画面の縦
分解能を表す指数)を夫々割り当てることにより、前記
入力データX (i)をCRTディスプレイ画面の縦分
解能に適合するように変換補正し、リニアスケールモー
ドにおいては、前記入力データX (i)とCRTディ
スプレイの画面の縦軸フルスケール21Iとの大小関係
を前記シフトレジスタ部で判別してから、前記ROM部
において、前記縦軸フルスケール2n以上の入力データ
X (i)についてはY(i)””Noを割り当てる一
方、前記縦軸フルスケール2nよりも小さい入力データ
X(i)についてはY(i) =X(i)  X (N
0/2”)を割り当てることにより、前記入力データX
(i)をその全てがCRTディスプレイ画面の縦軸フル
スケール2n内に納まるように変換補正すると共に、前
記変換補正されたデータのスペクトル高さY(i)の最
大値Y (i) 1Ilaxと前記画面における上限設
定値Ymaxおよび下限設定値Yminとの比較結果に
基いて、前記入力データX (i)のスペクトルデータ
のCRTディスプレイ画面への表示レンジを自動的に調
節するように構成してある、という特徴を備えている。
In order to achieve the above object, the spectral data display device according to the present invention converts the data X(i) input into the shift register section into a spectral height Y corresponding to the size of the data X(i).
(i), in the logarithmic scale mode, the input data X(i) is
After finding the logarithmic approximation value fog2X (i) of ROM
In part, Y(i) = logz X(i)
(No / L) (Here, r- is input data
By assigning the number of bits of (i) and No. an index representing the vertical resolution of the CRT display screen, the input data In the mode, the shift register unit determines the magnitude relationship between the input data For the input data X (i), Y (i) "" No is assigned, while for the input data X (i) smaller than the vertical axis full scale 2n, Y (i) = X (i) X (N
0/2”), the input data X
(i) is converted and corrected so that all of it falls within the vertical axis full scale 2n of the CRT display screen, and the maximum value Y (i) 1Ilax of the spectral height Y(i) of the conversion corrected data and the above It is configured to automatically adjust the display range of the spectrum data of the input data X (i) on the CRT display screen based on the comparison result with the upper limit setting value Ymax and the lower limit setting value Ymin on the screen. It has the following characteristics.

(作用〕 かかる特徴構成により発揮される作用は次の通りである
(Effects) The effects exhibited by this characteristic configuration are as follows.

即ち、シフトレジスタ部には、それに入力されたデータ
X (i)の対数近似値l og、 X (+)を求め
るという従来と同様の機能を持たせることは勿論、前記
入力データX(i)とCRTディスプレイの画面の縦軸
フルスケール2nとの大小関係を判別する機能をも持た
せ、それら各機能を対数スケールモードとリニアスケー
ルモードとで択一的に使用できるように構成すると共に
、対数スケールモードにおいては、前記シフトレジスタ
部で前記入力データX(i)ノ対数近似値’ ogz 
X (i)を求めてから、ROM部において、Y(i)
 =1ogz X(i)X (NO/L)  (ここに
、Lは入力データX(i)のビット数、NoはCRTデ
ィスプレイ画面の縦分解能を表す指数)を夫々割り当て
ることにより、前記入力データX(i)を、その入力時
におけるビット数や大きさ如何に拘わらず、常に、CR
Tディスプレイ画面の縦分解能に適合するように変換補
正するように構成し、また、リニアスケールモードにお
いては、前記入力データX(i)とCRTディスプレイ
の画面の縦軸フルスケール2n1との大小関係を前記シ
フトレジスタ部で判別してから、前記ROM部において
、前記画面縦軸フルスケール2n以上の入力データX 
(+)についてはY(i)” N oを割り当てる一方
、前記縦軸フルスケール、 2Rよりも小さい入力デー
タX (i)についてはY(i) =X(i) X (
No/2n )を割り当てることにより、前記入力デー
タX(i)をその全てがCRTディスプレイ画面の縦軸
フルスケール2n内に納まるように変換補正するように
構成し、更に、前記変換補正されたデータのスペクトル
高さY (i)の最大値Y (i)mayと前記画面に
おける上限設定値Y waxおよび下限設定値Ymin
との比較結果に基いて、前記入力データX (i)のス
ペクトルデータのCRTディスプレイ画面への表示レン
ジを自動的に調節するように構成してあるから、本装置
を用いるだけで、CRTディスプレイの画面における縦
軸として対数スケールおよびリニアスケールの何れでも
用いることができ、しかも、入力データX (i)をC
RTディスプレイ画面における縦軸フルスケールや縦分
解能に常に適合するように自動的に変換補正できるよう
になり、しかも、従来のようにCRTディスプレイ画面
の表示レンジを手動により試行錯誤的に切り換え調節す
るといった非常に面倒な操作を行わなくても、CRTデ
ィスプレイ画面の表示レンジがデータの状態に応じて自
動的に適度なレンジに切り換えられて、CRTディスプ
レイ画面への表示データが常に見易い大きさに自動的に
調整されるようになった。
That is, the shift register section not only has the same function as the conventional one of calculating the logarithmic approximation value log, It also has a function to determine the magnitude relationship between the vertical axis full scale 2n of the CRT display screen, and is configured so that each function can be used selectively in logarithmic scale mode and linear scale mode. In the scale mode, the shift register section calculates the logarithm approximation value of the input data X(i).
After finding X (i), in the ROM section, Y (i)
=1ogz X(i)X (NO/L) (Here, L is the number of bits of input data (i) is always CR, regardless of the number of bits or size at its input.
The configuration is configured to perform conversion correction to match the vertical resolution of the CRT display screen, and in the linear scale mode, the magnitude relationship between the input data X(i) and the vertical axis full scale 2n1 of the CRT display screen is After the shift register section makes a determination, the ROM section inputs the input data X of the screen vertical axis full scale 2n or more
For (+), Y(i)" No is assigned, while for input data X (i) smaller than the vertical axis full scale, 2R, Y(i) = X(i)
No/2n), the input data X(i) is configured to be converted and corrected so that all of it falls within the vertical axis full scale 2n of the CRT display screen, and further The maximum value Y (i) of the spectrum height Y (i) may and the upper limit setting value Y wax and the lower limit setting value Ymin on the screen
It is configured to automatically adjust the display range of the spectrum data of the input data X (i) on the CRT display screen based on the comparison result with Either a logarithmic scale or a linear scale can be used as the vertical axis on the screen, and input data X (i) can be
It is now possible to automatically correct the conversion so that it always matches the vertical full scale and vertical resolution of the RT display screen, and it is no longer necessary to manually switch and adjust the display range of the CRT display screen by trial and error as in the past. The display range of the CRT display screen is automatically switched to an appropriate range according to the data condition without any complicated operations, and the data displayed on the CRT display screen is automatically set to a size that is always easy to see. It is now adjusted to

〔実施例〕〔Example〕

以下、本発明によるスペクトルデータ表示装置の実施例
を図面に基いて説明する。
Embodiments of the spectral data display device according to the present invention will be described below with reference to the drawings.

第1図は装置の全体構成を示すブロック回路図であワて
、図示するように、概略的には、シフトレジスタ部1と
、ROM (リードオンリーメモリー)部2と、CRT
ディスプレイ (カソードレイチューブ)3と、コンパ
レータ4と、コントロール部5とから構成されている。
FIG. 1 is a block circuit diagram showing the overall configuration of the device, and as shown in the figure, it schematically includes a shift register section 1, a ROM (read only memory) section 2, and a CRT.
It is composed of a display (cathode array tube) 3, a comparator 4, and a control section 5.

前記シフトレジスタ部1は、シフトレジスタやカウンタ
(共に図示せず)等を主要部として構成されると共に、
データ入力端子IAとモード選択信号入力端子IBとを
備えており、前記モード選択信号入力端子IBにリニア
スケールモード選択信号が入力された場合(この状態を
リニアスケールモードと称する)には、後で詳述するよ
うに、前記データ入力端子IAから入力された入力デー
タX(i)とCRTデイスプレイ3の画面3Aにおける
縦軸フルスケール2fiとの大小関係を判別する機能を
発揮し、また、前記モード選択信号入力端子IBに対数
スケールモード選択信号が入力された場合(この状態を
対数スケールモードと称する)には、前記データ入力端
子IAから入力された入力データX(i)の対数近似値
logz X(i)を求める機能を発揮するように構成
されている。
The shift register section 1 includes a shift register, a counter (both not shown), etc. as main parts, and
It is equipped with a data input terminal IA and a mode selection signal input terminal IB, and when a linear scale mode selection signal is input to the mode selection signal input terminal IB (this state is referred to as linear scale mode), later As will be described in detail, it has the function of determining the magnitude relationship between the input data X(i) input from the data input terminal IA and the vertical axis full scale 2fi on the screen 3A of the CRT display 3, and When a logarithmic scale mode selection signal is input to the selection signal input terminal IB (this state is referred to as logarithmic scale mode), the logarithmic approximation value logzX of the input data X(i) input from the data input terminal IA is It is configured to perform the function of determining (i).

前記ROM部2は、前記対数スケールモードの場合にお
いて用いられる対数スケール系変換ブロック2Aと、前
記リニアスケールモードの場合において、縦軸スケール
モード選択スイッチSの切り換えによって互いに択一的
に用いられるリニアスケール系適合変換ブロック2Bお
よびリニアスケール系非適合変換ブロック2Cと、前記
各変換ブロック2A、2B、2Cの前段に設けられた表
示レンジ切替ブロック2Dとを備えている。
The ROM unit 2 includes a logarithmic scale conversion block 2A used in the logarithmic scale mode, and a linear scale that is used alternatively by switching a vertical axis scale mode selection switch S in the linear scale mode. It includes a system compatible conversion block 2B, a linear scale system non-compatible conversion block 2C, and a display range switching block 2D provided before each of the conversion blocks 2A, 2B, and 2C.

前記コンパレータ4は、前記ROM部2から出力される
スペクトル高さY(i)の最大値Y(i)IIIaχと
、前記コントロール部5により与えられる上限設定値Y
maxおよび下限設定値Y信inとを比較して、その比
較結果を前記コントロール部5へ出力するように構成さ
れている。5Aおよび5Bは夫々前記コントロール部5
に設けられた前記上限設定値Ymaxおよび下限設定値
Yminの設定用端子である。
The comparator 4 outputs the maximum value Y(i)IIIaχ of the spectrum height Y(i) output from the ROM section 2 and the upper limit set value Y given by the control section 5.
max and the lower limit set value Yin are compared, and the comparison result is output to the control section 5. 5A and 5B are the control portions 5, respectively.
These are terminals for setting the upper limit setting value Ymax and the lower limit setting value Ymin provided in the terminal.

第2図は、前記対数スケールモードにおける動作を示す
ブロック回路図である。即ちこれは、前記シフトレジス
タ部1のモード選択信号入力端子IBに対数スケールモ
ード選択信号が入力された場合であって、前記シフトレ
ジスタ部1においては、後で説明する手法により、前記
データ入力端子IAから入力された入力データX (i
)の対数近似値IlOgz X (i)が求められる。
FIG. 2 is a block circuit diagram showing the operation in the logarithmic scale mode. That is, this is a case where a logarithmic scale mode selection signal is input to the mode selection signal input terminal IB of the shift register section 1, and in the shift register section 1, the data input terminal Input data X (i
) is obtained.

そして、前記ROM部2の対数スケール系適合変換ブロ
ック2Bにおいては、前記シフトレジスタ部lで求めら
れた対数近似値1ogz X(i)に応じて入力データ
X(i)に対応するスペクトル高さY(i)が、Y(i
) =1ogt X(i)  X (No /L)  
−■なる式に基いて与えられ(ここに、Lは入力データ
X (i)のビット数であり1.NoはCRTディスプ
レイ画面3Aの縦分解能を表す指数を示し、画面3Aの
縦方向最大表示高さを分解能単位長さ゛ で除した数値
である)、前記入力データX(i)は前記CRTディス
プレイ画面3Aの縦分解能に適合するように変換補正さ
れて、前記表示レンジ切替ブロック2Dを介して前記C
RTディスプレイ3へ出力される。なお、上記の式■に
おける入力データX (i)のビット数りの意味につい
ては、後で詳述する。
Then, in the logarithmic scale system compatible conversion block 2B of the ROM section 2, the spectral height Y corresponding to the input data X(i) is determined according to the logarithmic approximation value 1ogz (i) is Y(i
) =1ogt X(i) X (No /L)
-■ (where L is the number of bits of the input data The input data X(i) is converted and corrected to match the vertical resolution of the CRT display screen 3A, and is sent via the display range switching block 2D. Said C
It is output to the RT display 3. Note that the meaning of the number of bits of the input data X (i) in the above equation (2) will be explained in detail later.

そして、その変換補正されたスペクトル高さY(i)は
、前記コンパレータ4に分岐入力され、そのコンパレー
タ4は、入力されたスペクトル高さY (i)の最大値
Y (i)waxと、前記コントロール部5により与え
られる上限設定値Ymaxおよび下限設定値Yminと
を比較して、その比較結果を前記コントロール部5へ出
力し、そのコントロール部5は、Y (i)o+ax 
> Ymaxであれば前記表示レンジ切替ブロック2D
に対して表示レンジを一段上げるように指令信号を発し
、また、Y (i)max< Ymiれであれば前記表
示レンジ切替ブロック2Dに対して表示レンジを一段下
げるように指令信号を発して、前記スペクトルデータY
(i)がCRTディスプレイ画面3Aにおいて常に見易
い状態となるように、その表示レンジを自動的に調節制
御するのである。
Then, the conversion-corrected spectrum height Y(i) is branched into the comparator 4, and the comparator 4 receives the maximum value Y(i)wax of the input spectrum height Y(i) and the The upper limit set value Ymax and the lower limit set value Ymin given by the control unit 5 are compared and the comparison result is output to the control unit 5, which controls Y (i)o+ax
> If Ymax, the display range switching block 2D
If Y(i)max<Ymi, a command signal is issued to the display range switching block 2D to lower the display range by one step; The spectrum data Y
The display range is automatically adjusted and controlled so that (i) is always easily visible on the CRT display screen 3A.

さて、次に、前記シフトレジスタ部1において対数近似
値1 ogt X (i)を求める手法についてである
が、その手順およびそれを実行するためのハード構成は
、冒頭で述べたように、本願出願人が既に提案している
特願昭52−158069号のものと同様であるので、
その詳細については省略し、以下に概略的に説明してお
く。
Now, regarding the method of obtaining the logarithm approximation value 1 ogt Since it is similar to the patent application No. 158069/1987, which has already been proposed by a person,
The details will be omitted and will be briefly explained below.

いま、データX(i)  (スペクトルデータ用のデジ
タル数であるから正の整数)について考えると、そのデ
ータX (i)は、1lx(i)<2なる数x(i)を
用いて、X (i)  = x (i)  ・2nで表
せるから、j!ogz X(i)  =n+j2og2
 x(i)となる。ここで、1≦x(i)<2であるこ
とに注目してその第2項’Ogz x(i)をティラー
展開してその一次近偵をとると、7!ogz x(i)
  #x(i) −1となるから、結局、前記データX
 (+)の対数’ Ogz X (i)は、1og2X
(i)#n+x(i)   1   −■なる式で近似
できる。
Now, if we consider data X(i) (a positive integer since it is a digital number for spectral data), that data X(i) can be expressed as (i) = x (i) ・Since it can be expressed as 2n, j! ogz X(i) =n+j2og2
x(i). Here, paying attention to the fact that 1≦x(i)<2, we develop the second term 'Ogz x(i) using a tiller and take its first-order approximation, which yields 7! ogz x(i)
#x(i) −1, so in the end, the data
Logarithm of (+)' Ogz X (i) is 1og2X
(i) #n+x(i) 1 - ■ It can be approximated by the formula.

そこで、前記シフトレジスタ部1において上記0式に暴
く近似計算を行うわけであるが、それは次のようにして
行われる。
Therefore, the shift register section 1 performs an approximate calculation to solve the above equation 0, and this is performed as follows.

即ち、第3図に示すように、先ず、M(例えば24)ピ
ントのシフトレジスタにデータX(i)をセントする(
このときは、図示のように最右端のΔ印を小数点を設定
しておくことにより整数値として取り汲う)と共に、前
記シフトレジスタのシフト数をカウントするカウンタ(
例えばダウンカウンタ)に初期値M(この場合は24)
をセットし、次に、前記シフトレジスタの入力データX
 (i)を、キャリー″11がシフトアウトされる(こ
れはX(+) ≠0の場合)か、あるいは、前記カウン
タのカウント数が一定の値(この場合は0)に達する(
これはX(i)=0の場合)まで、左へひとつずつシフ
トする(これは2倍することに相当する)、そして、そ
のシフト終了時においては、図示のように前記小数点を
最左端のム印に移動させてシフトレジスタにおける値を
小数とする。すると、X (i)  ≠0の場合には、
前記カウンタの値が前記0式におけるnを、そして、シ
フトレジスタの値が前記0式におけるx(i)−1を示
すこととなる。なお、図示の具体例はX(i) = 1
00 (10進数)の場合を示しているが、そのシフト
終了時におけるカウンタの示す値である前記nは110
即ち6(10進数)であり、シフトレジスタの示す値で
ある前記値x(i)−1は、例えば上位4ビツト100
1より1/2+O/2” +O/2n3+1/2n =
0.5625 (10進数)となるから、前記0式から
、logt X(i) #6+0. 5625−6.5
625というように、入力データX (i)の対数近似
値’Ogt X(i)が求められるわけである。ただし
、その対数近似値It Ogz X (i)にはある程
度の誤差が含まれる(最大4%程度)のは当然であり、
ちなみに、このX(i)=lOOの場合には、その対数
の真価(Ilogz X(i) )は6.6438・・
・である。
That is, as shown in FIG. 3, data X(i) is first sent to the shift register of M (for example, 24) focus
At this time, as shown in the figure, the rightmost Δ mark is set as a decimal point to take it as an integer value), as well as a counter that counts the number of shifts in the shift register (
For example, the down counter) has an initial value M (24 in this case).
and then input data X of the shift register
(i), the carry ``11'' is shifted out (this is the case when X(+) ≠ 0), or the count number of the counter reaches a certain value (0 in this case) (
This shifts the decimal point one by one to the left (this corresponds to doubling) until the value in the shift register as a decimal. Then, if X (i) ≠ 0,
The value of the counter indicates n in the 0 formula, and the value of the shift register indicates x(i)-1 in the 0 formula. Note that the specific example shown is X(i) = 1
00 (decimal number), but the value n indicated by the counter at the end of the shift is 110.
That is, the value x(i)-1, which is the value indicated by the shift register, is 6 (decimal number), for example, the upper 4 bits are 100
1 to 1/2+O/2” +O/2n3+1/2n =
Since it becomes 0.5625 (decimal number), from the above formula 0, logt X(i) #6+0. 5625-6.5
625, the logarithmic approximation value 'Ogt X(i) of the input data X(i) is obtained. However, it is natural that the logarithm approximation value It Ogz
By the way, in the case of this X(i) = lOO, the true value of the logarithm (Ilogz X(i)) is 6.6438...
・It is.

ところで、上記したように、前記シフトレジスタ部1に
より求められた入力データX(i)の対数近似値βOg
tX(i)には最大4%程度の誤差が含まれると共に、
前記0式における値x(i)−1を求める際に前記シフ
トレジスタの上位4ビツトのみを用いるような場合には
、入力データX(i)が16ビノト以下のときには出力
が8ビツト以下となり、また、入力データX (i)が
16ビツト以上のときには出力が9ビツト以上となり、
そのままではCRTディスプレイ画面3Aの縦分解能と
の整合性が悪い。そこで、次のように前記ROM部2を
利用すれば、上記対数近慎誤差の問題および画面3Aの
縦分解能との整合性の問題を同時に解消することができ
る。即ち、前記シフトレジスタ部1により求められた入
力データX(i)の対数近似値IlOgz X (i)
を前記ROM部2において前記スペクトル高さY(i)
に補正するに際して、前記入力データX(i)の対数近
似値10gw X(i)に対応する真値(ffiog、
 X(i) )を用いると共にピッ十数補正を施したY
(i)  = CICl1o X(i) ) ×N。
By the way, as mentioned above, the logarithmic approximation value βOg of the input data X(i) obtained by the shift register section 1
tX(i) includes an error of about 4% at most, and
In the case where only the upper 4 bits of the shift register are used when calculating the value x(i)-1 in the above equation 0, when the input data X(i) is 16 bits or less, the output is 8 bits or less, Furthermore, when the input data X (i) is 16 bits or more, the output is 9 bits or more,
As it is, there is poor consistency with the vertical resolution of the CRT display screen 3A. Therefore, by using the ROM section 2 as described below, it is possible to simultaneously solve the problem of the logarithmic error and the problem of consistency with the vertical resolution of the screen 3A. That is, the logarithmic approximation value IlOgz X (i) of the input data X(i) obtained by the shift register section 1
In the ROM section 2, the spectrum height Y(i)
When correcting the input data X(i), the true value (ffiog,
Y using X(i) ) and with pitch correction
(i) = CICl1o X(i) ) ×N.

/fogz2L、即ち、Y(i)  = Clogt 
X(i) )x (N、 /L)を前記ROM部2に記
憶させておき、入力データX(i)の対数近似値j!o
gz X(i)が与えられた時には、直ちにそれに対応
する前記スペクトル高さY(i) = Clogz X
(1) ) ×(N。
/fogz2L, that is, Y(i) = Clogt
X(i) )x (N, /L) is stored in the ROM section 2, and the logarithmic approximation value j! o
When gz X(i) is given, immediately the corresponding spectral height Y(i) = Clogz
(1) ) × (N.

/L)を出力させるように構成しておくのである。/L).

このようにすれば、精度が良くて画面3Aの縦分解能と
の整合性も良いスペクトル高さY(i)を、非常に高速
で出力させることができる。
In this way, it is possible to output the spectral height Y(i) with good accuracy and good consistency with the vertical resolution of the screen 3A at a very high speed.

第4図は、前記リニアスケールモードにおける動作を示
すブロック回路図である。
FIG. 4 is a block circuit diagram showing the operation in the linear scale mode.

即ち、これは、前記シフトレジスタ部1のモード選択信
号入力−子IBにリニアスケールモード選択信号が入力
された場合であり、更に、この場合は、前記縦軸スケー
ルモード選択スイッチSが端子す側に切り換えられて前
記ROM部2において前記リニアスケール系適合変換ブ
ロック2Bが用いられる状態と、前記選択スイッチSが
端子C側に切り換えられて前記ROM部2において前記
リニアスケール系非適合変換ブロック2Cが用いられる
状態とに分けられる。
That is, this is a case where a linear scale mode selection signal is input to the mode selection signal input terminal IB of the shift register section 1, and furthermore, in this case, the vertical axis scale mode selection switch S is connected to the terminal side. The selection switch S is switched to the terminal C side and the linear scale non-compatible conversion block 2C is used in the ROM section 2. It is divided into the state in which it is used.

先ず、前記選択スイッチSが端子す側に切り換えられて
いる場合の動作について説明する。
First, the operation when the selection switch S is switched to the terminal side will be explained.

即ち、このとき、前記シフトレジスタ部1では、前記デ
ータ入力端子IAから入力された入力データX (i)
とCRTデイスプレイ3の画面3Aにおける縦軸フルス
ケール2nとの大小関係が判別され、前記ROM部2で
はそのリニアスケール系適合変換ブロック2Bにより、
前記シフトレジスタ部1による判別結果に基いて、次の
ように入力データX (i)を夫々それに対応するスペ
クトル高さY (i)に変換する。即ち、 X (i)≧2+1 の時は Y (i) = N o
  ・・・■21I>X(i) ≧0  の時は Y(i) =X(i) X (No/2n )  ・・
・■(なお、上記N0は、前記CRT ディスプレイ画面3Aの縦分解 能を表す指数を示し、画面3A の縦方向最大表示高さを分解能 単位長さで除した数値である。) かくして、前記入力データX (i)は、その大きさ如
何にかかわらず、全て前記CRTディスプレイ画面3A
の縦軸フルスケール2nに適合する(納まる)ように変
換補正され、前記CRTディスプレイ3へ出力される。
That is, at this time, in the shift register section 1, the input data X (i) input from the data input terminal IA
The magnitude relationship between the value and the vertical axis full scale 2n on the screen 3A of the CRT display 3 is determined, and the ROM section 2 uses its linear scale system adaptation conversion block 2B to:
Based on the determination result by the shift register unit 1, input data X (i) is converted into corresponding spectral height Y (i) as follows. That is, when X (i)≧2+1, Y (i) = No
...■21 When I>X(i) ≧0, Y(i) = X(i) X (No/2n)...
・■ (The above N0 indicates an index representing the vertical resolution of the CRT display screen 3A, and is a value obtained by dividing the maximum vertical display height of the screen 3A by the resolution unit length.) Thus, the input data X (i) is all the CRT display screen 3A, regardless of its size.
The conversion is corrected so as to match (fit into) the vertical axis full scale 2n, and the signal is output to the CRT display 3.

しかしながら、その変換補正されたスペクトル高さY 
(i)が一定の表示レンジで表示された場合には、第5
図において一点鎖線Pで例示するように、その最大値Y
 (i)waxが画面3Aの上端に位置したり、あるい
は、同図において二点鎖線Qで例示するように、その最
大値Y(i)waxが画面3Aの上端近くに位置したり
して、非常に見にくい状態となることが、このリニアス
ケールモードの場合には往々にして生じる。そこで、前
記表示レンジ切替ブロック2Dは、次に詳述するように
コントロール部5に制御されて、前記スペクトルデータ
Y(i)の最大値Y(i)+waxがCRTディスプレ
イ画面3Aにおける適度な高さ位置となるように、その
表示レンジを自動的に調節制御するように構成されてい
る。
However, its transformation-corrected spectral height Y
If (i) is displayed in a certain display range, the fifth
As illustrated by the dashed line P in the figure, the maximum value Y
(i) wax is located at the top of the screen 3A, or as illustrated by the two-dot chain line Q in the figure, the maximum value Y(i) wax is located near the top of the screen 3A, In this linear scale mode, a situation that is extremely difficult to see often occurs. Therefore, the display range switching block 2D is controlled by the control unit 5 as will be described in detail below, so that the maximum value Y(i)+wax of the spectral data Y(i) is adjusted to an appropriate height on the CRT display screen 3A. It is configured to automatically adjust and control its display range so as to match the position.

即ち、前記リニアスケール系適合変換ブロック2Bによ
り変換補正されたスペクトル高さY (i)は前記コン
パレータ4にも分岐入力され、そのコンパレータ4は、
入力されたスペクトル高さY(+)の最大値Y(i)s
+axと、コントロール部5により与えられる上限設定
値Y ll1axおよび下限設定値Yminとを比較し
て、その比較結果を前記コントロール部5へ出力し、コ
ントロール部5は、Y(i)max>Ymaxであれば
前記表示レンジ切替ブロック2Dに対して表示レンジを
一段上げるように指令信号を発し、また、Y (i)m
ax< YII+inであれば前記表示レンジ切替ブロ
ック2r3に対して表示レンジを一段下げるように指令
信号を発して、前記スペクトルデータY (i)がCR
Tディスプレイ画面3Aにおいて常に見易い状態となる
ように、その表示レンジを自動的に調節制御するのであ
る。
That is, the spectral height Y (i) converted and corrected by the linear scale system compatible conversion block 2B is also branched into the comparator 4, and the comparator 4
Maximum value Y(i)s of input spectrum height Y(+)
+ax is compared with the upper limit set value Yll1ax and lower limit set value Ymin given by the control unit 5, and outputs the comparison result to the control unit 5, and the control unit 5 determines that Y(i)max>Ymax. If so, a command signal is issued to the display range switching block 2D to raise the display range by one step, and Y(i)m
If ax<YII+in, a command signal is issued to the display range switching block 2r3 to lower the display range by one step, and the spectrum data Y (i) is set to CR.
The display range is automatically adjusted and controlled so that the T-display screen 3A is always easily viewable.

なお、前記入力データX(i)と縦軸フルスケール2n
との大小関係の判別は、前記シフトレジスタ部lのシフ
トレジスタにおいて下位nビットのみをシフトにより除
算の余りを取り出すという簡単な操作にて行っている。
Note that the input data X(i) and the vertical axis full scale 2n
The determination of the magnitude relationship between the two is performed by a simple operation of shifting only the lower n bits in the shift register of the shift register section l and taking out the remainder of the division.

即ち、第6図に模式的に示すように、Mビット(例えば
24ビツト)のシフトレジスタへ入力データX (i)
をセントしてからM −nピントだけ左ヘシフトしたと
きに、キャリー11″があればX (i)≧2nと判定
して、前記0式の如<Y(i)にNoをセットし、キャ
リー“1”が無ければ2n > X (i)≧0と判定
して、前記0式のようにY (i)にX(i) X (
No / 2n )をセットする。この場合、図中Δ印
を小数点として上位8ビツトを少数と見做せば、前記シ
フトレジスタはX(i) / 2n′となっているから
、これにNoを乗ずればよいわけであるが、その乗算の
組合わせは2”  (−=256)であるから、256
バイトのROMエリア 4: (X (i)/2 ’ 
) x N oをセットしてルックアップテーブルとす
ればよい。このとき、ROMアドレスはX(i)/2n
そのものであり、出力は(X(i)/ 2” )XNo
つまりX (i)X (NO/2” )である。
That is, as schematically shown in FIG. 6, input data X (i)
When the focus is shifted to the left by M −n after cent, if there is a carry 11″, it is determined that X (i) ≧ 2n, and as in the above formula If there is no “1”, it is determined that 2n > X (i) ≧ 0, and X (i) X (
No./2n). In this case, if we use the Δ mark in the figure as a decimal point and consider the upper 8 bits to be a decimal, the shift register becomes X(i)/2n', so we can just multiply it by No. , the combination of multiplications is 2'' (-=256), so 256
Byte ROM area 4: (X (i)/2'
) x No can be set to create a lookup table. At this time, the ROM address is X(i)/2n
That is, the output is (X(i)/2”)XNo
That is, X (i)X (NO/2'').

次に、前記選択スイッチSが端子C側に切り換えられて
いる場合であるが、この場合には、前記シフトレジスタ
部lでは、データ入力端子IAから入力された入力デー
タX (i)とCRTディスプレイ3の画面3Aにおけ
る縦軸フルスケール2nとの大小関係が判別され、前記
ROM部2ではそのリニアスケール系非適合変換ブロッ
ク2Cにおいて、前記シフトレジスタ部1による判別結
果に基いて、 X(i)≧2n  の時は Y(i)=αxNo・・・
■2°> X (+)≧Oの時は Y(i)−αxX(i)X (No/2” )  ・・
・■(なお、上記αは、予め設定されている係数)で演
算されたと同様の結果となるように、予め設定されてい
る任意のスケーリングにて、入力データX(i)に対応
するスペクトル高さY(i)に変換される。従って、こ
の場合には、スペクトル高さY(i)を、所望の任意の
縦軸スケールにてCRTディスプレイ画面3A上に表示
させることができ、恰も画面3Aの分解能を変化させた
と同様の結果を得ることができる。つまり、このリニア
スケール系非適合変換ブロック2Cは、画面分解能を見
掛は上N0以上あるかの如くセットして表示テーブルス
ケールを21とは異なる値とするための別途容易された
ルックアップテーブルの構成とされているものである。
Next, there is a case where the selection switch S is switched to the terminal C side. In this case, in the shift register section l, the input data X (i) inputted from the data input terminal IA and the CRT display The magnitude relationship between X(i) and the vertical axis full scale 2n on the screen 3A of No. 3 is determined, and in the ROM section 2, in the linear scale non-conforming conversion block 2C, based on the determination result by the shift register section 1, X(i) When ≧2n, Y(i)=αxNo...
■When 2°>X (+)≧O, Y(i)-αxX(i)X (No/2”)...
- Spectral height corresponding to input data It is converted to Y(i). Therefore, in this case, the spectral height Y(i) can be displayed on the CRT display screen 3A at any desired vertical axis scale, and the same result as changing the resolution of the screen 3A can be obtained. Obtainable. In other words, this linear scale system incompatible conversion block 2C creates a look-up table that is separately prepared to set the screen resolution as if it were above N0 and set the display table scale to a value different from 21. This is what is said to be the composition.

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

以上詳述したところから明らかなように、本発明によれ
ば、CRTディスプレイ画面における縦軸として対数ス
ケールおよびリニアスケールの何れでも用いることがで
き、しかも、入力データをCRTディスプレイ画面にお
ける縦軸フルスケールや縦分解能に常に適合するように
自動的に変換補正する機能を存すると共に、従来のよう
にCRTディスプレイ画面の表示レンジを手動により試
行錯誤的に切り換え調節するといった非常に面倒な操作
を行わなくても、CRTディスプレイ画面の表示レンジ
をデータの状態に応じて自動的に通魔なレンジに切り換
えて、CRTディスプレイ画面への表示データが常に見
易い大きさになるように自動調整する機能を有する、と
いうトータル的な自動システムとしてのスペクトルデー
タ表示装置を提供し得るに至った。
As is clear from the above detailed description, according to the present invention, either a logarithmic scale or a linear scale can be used as the vertical axis on the CRT display screen, and input data can be set to the full scale of the vertical axis on the CRT display screen. It has a function that automatically performs conversion correction to always match the vertical resolution and vertical resolution, and eliminates the extremely troublesome operation of manually switching and adjusting the display range of the CRT display screen by trial and error as in the past. It also has a function that automatically switches the display range of the CRT display screen to a comfortable range depending on the data status, and automatically adjusts the display data on the CRT display screen to a size that is always easy to see. We have now been able to provide a spectral data display device as a total automatic system.

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

図面は本発明に係るスペクトルデータ表示v装置の実施
例を示し、第1図は全体構成を示すブロック回路図、第
2図および第3図はその対数スケールモードにおける動
作を説明するためのブロック回路図とシフトレジスタの
動作の模式図、そして、第4図ないし第6図はそのリニ
アスケールモードにおける動作を説明するためのブロッ
ク回路図と画面における表示例とシフトレジスタの動作
の模式図である。 1・・・・・・・・・シフトレジスタ部、X (i)・
・・・・・・・・入力データ、Y (i)・・・・・・
・・・スペクトル高さ、3・・・・・・・・・CRTデ
ィスプレイ、3A・・・・・・・・・画面、2・・・・
・・・・・ROM部、2A・・・・・・・・・対数スケ
ール系適合変換ブロック、2B・・・・・・・・・リニ
アスケール系適合変換ブロック、2C・・・・・・・・
・リニアスケール系非適合変換ブロック。 第3図 cウラ〉り)             (ジフトレジ
゛ヌタ〕山 (キャリーノ
The drawings show an embodiment of the spectral data display v device according to the present invention, FIG. 1 is a block circuit diagram showing the overall configuration, and FIGS. 2 and 3 are block circuits for explaining the operation in logarithmic scale mode. FIGS. 4 to 6 are block circuit diagrams for explaining the operation in the linear scale mode, display examples on the screen, and schematic diagrams of the operation of the shift register. 1......Shift register section, X (i).
......Input data, Y (i)...
...Spectrum height, 3...CRT display, 3A...Screen, 2...
ROM section, 2A... Logarithmic scale compatible conversion block, 2B... Linear scale compatible conversion block, 2C...・
・Linear scale system incompatible conversion block. (Fig. 3 c back) (Carino mountain)

Claims (3)

【特許請求の範囲】[Claims] (1)シフトレジスタ部に入力されたデータX(i)を
夫々その大きさに対応するスペクトル高さY(i)に変
換するに際して、対数スケールモードにおいては、前記
シフトレジスタ部で前記入力データX(i)の対数近似
値log_2X(i)を求めてから、ROM部において
、Y(i)=log_2X(i)×(N_0/L)(こ
こに、Lは入力データX(i)のビット数、N_0はC
RTディスプレイ画面の縦分解能を表す指数)を夫々割
り当てることにより、前記入力データX(i)をCRT
ディスプレイ画面の縦分解能に適合するように変換補正
し、リニアスケールモードにおいては、前記入力データ
X(i)とCRTディスプレイの画面の縦軸フルスケー
ル2^nとの大小関係を前記シフトレジスタ部で判別し
てから、前記ROM部において、前記縦軸フルスケール
2^n以上の入力データX(i)についてはY(i)=
N_0を割り当てる一方、前記縦軸フルスケール2^n
よりも小さい入力データX(i)についてはY(i)=
X(i)×(N_0/2^n)を割り当てることにより
、前記入力データX(i)をその全てがCRTディスプ
レイ画面の縦軸フルスケール2^n内に納まるように変
換補正すると共に、前記変換補正されたデータのスペク
トル高さY(i)の最大値Y(i)maxと前記画面に
おける上限設定値Ymaxおよび下限設定値Yminと
の比較結果に基いて、前記入力データX(i)のスペク
トルデータのCRTディスプレイ画面への表示レンジを
自動的に調節するように構成してあることを特徴とする
スペクトルデータ表示装置。
(1) When converting the data X(i) input to the shift register section into the spectral height Y(i) corresponding to its size, in the logarithmic scale mode, the shift register section converts the input data X After calculating the logarithmic approximation value log_2X(i) of (i), in the ROM section, Y(i)=log_2X(i)×(N_0/L) (where L is the number of bits of input data X(i) , N_0 is C
The input data X(i) is
Conversion correction is performed to match the vertical resolution of the display screen, and in the linear scale mode, the magnitude relationship between the input data X(i) and the vertical axis full scale 2^n of the CRT display screen is determined by the shift register section. After the determination, in the ROM section, for input data X(i) of the vertical axis full scale 2^n or more, Y(i)=
While assigning N_0, the vertical axis full scale 2^n
For input data X(i) smaller than Y(i)=
By allocating X(i)×(N_0/2^n), the input data Based on the comparison result between the maximum value Y(i)max of the spectral height Y(i) of the conversion-corrected data and the upper limit setting value Ymax and lower limit setting value Ymin on the screen, the input data X(i) is calculated. A spectral data display device characterized in that it is configured to automatically adjust the display range of spectral data on a CRT display screen.
(2)前記対数スケールモードにおいて前記シフトレジ
スタ部により求められた入力データX(i)の対数近似
値log_2X(i)を前記ROM部において前記スペ
クトル高さY(i)に補正するに際して、前記ROM部
に前記入力データX(i)の対数近似値log_2X(
i)に対応する真値〔log_2X(i)〕を用いたY
(i)=〔log_2X(i)〕×(N_0/L)を記
憶させておくことによって、精度の良いスペクトル高さ
Y(i)を高速で出力させるように構成してある特許請
求の範囲第(1)項に記載のスペクトルデータ表示装置
(2) When correcting the logarithm approximation value log_2X(i) of the input data X(i) obtained by the shift register section in the logarithmic scale mode to the spectral height Y(i) in the ROM section, the ROM The logarithm approximation value log_2X(
Y using the true value [log_2X(i)] corresponding to i)
(i) = [log_2 The spectral data display device according to item (1).
(3)前記ROM部には、前記リニアスケールモードに
おいて前記入力データX(i)を2^nフルスケール以
外の任意のスケールでもCRTディスプレイ画面へ表示
できるように、互いに択一的に切り替え使用可能なリニ
アスケール系適合変換ブロックとリニアスケール系非適
合変換ブロックとを設けてある特許請求の範囲第(1)
項又は第(2)項に記載のスペクトルデータ表示装置。
(3) The ROM section can be selectively used so that the input data X(i) can be displayed on the CRT display screen in any scale other than 2^n full scale in the linear scale mode. Claim (1) provides a linear scale system compatible conversion block and a linear scale system non-compatible conversion block.
The spectral data display device according to item or item (2).
JP60166586A 1985-07-27 1985-07-27 Special data display device Pending JPS6227629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60166586A JPS6227629A (en) 1985-07-27 1985-07-27 Special data display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60166586A JPS6227629A (en) 1985-07-27 1985-07-27 Special data display device

Publications (1)

Publication Number Publication Date
JPS6227629A true JPS6227629A (en) 1987-02-05

Family

ID=15834022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60166586A Pending JPS6227629A (en) 1985-07-27 1985-07-27 Special data display device

Country Status (1)

Country Link
JP (1) JPS6227629A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009103708A (en) * 2008-12-25 2009-05-14 Jasco Corp Spectrophotometer
JP2015210110A (en) * 2014-04-24 2015-11-24 株式会社小野測器 FFT analyzer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009103708A (en) * 2008-12-25 2009-05-14 Jasco Corp Spectrophotometer
JP2015210110A (en) * 2014-04-24 2015-11-24 株式会社小野測器 FFT analyzer

Similar Documents

Publication Publication Date Title
US4991022A (en) Apparatus and a method for automatically centering a video zoom and pan display
JP2610095B2 (en) Image display apparatus and method
JPH11288241A (en) Gamma correction circuit
US6215468B1 (en) Circuit for converting an 8-bit input video signal into a 10-bit gamma corrected output video signal
TWI352542B (en) Apparatus and method for adjusting brightness and
JP2924079B2 (en) Gamma correction circuit
CN114067731B (en) Low gray scale correction method and device for LED display screen and brightness correction system
JP3277741B2 (en) Video signal processing device
JP3565020B2 (en) Method of generating correction data for image display device
JPS6227629A (en) Special data display device
JP2005538593A (en) Signal restoration method, imaging device, computer program product
JPH08223507A (en) Video signal amplitude limit circuit
JPS59765A (en) Generating system of character of the like
KR980013447A (en) Color Correction Device (Color Electronics Co., Ltd)
US20020030651A1 (en) Display device and liquid crystal projector
JPH0818826A (en) Digital gamma correction circuit
KR100451804B1 (en) Color Adjustment Circuit Of Display Device
JP2576178B2 (en) X-ray tube current regulator
JPS6153918B2 (en)
JP3390407B2 (en) Digital meter and gain error correction method thereof
JP2691019B2 (en) White balance device
JP4728596B2 (en) Image display apparatus and control method thereof
AU641867B2 (en) Circuit for digitally adding loss to a signal
JPH04181874A (en) Picture memory device
JPH096306A (en) Picture frame memory