JPH062146Y2 - Magnification ratio calculator - Google Patents

Magnification ratio calculator

Info

Publication number
JPH062146Y2
JPH062146Y2 JP9055084U JP9055084U JPH062146Y2 JP H062146 Y2 JPH062146 Y2 JP H062146Y2 JP 9055084 U JP9055084 U JP 9055084U JP 9055084 U JP9055084 U JP 9055084U JP H062146 Y2 JPH062146 Y2 JP H062146Y2
Authority
JP
Japan
Prior art keywords
range
mag
conversion table
time axis
horizontal time
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
JP9055084U
Other languages
Japanese (ja)
Other versions
JPS616770U (en
Inventor
雄司 藤田
Original Assignee
菊水電子工業株式会社
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 菊水電子工業株式会社 filed Critical 菊水電子工業株式会社
Priority to JP9055084U priority Critical patent/JPH062146Y2/en
Publication of JPS616770U publication Critical patent/JPS616770U/en
Application granted granted Critical
Publication of JPH062146Y2 publication Critical patent/JPH062146Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)

Description

【考案の詳細な説明】 本考案は特にマイクロコンピュータを有する波形記憶オ
シロスコープの波形拡大のために用いられる拡大比演算
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnification ratio calculation device used for waveform amplification of a waveform storage oscilloscope having a microcomputer.

波形記憶オシロスコープでは、アナログ波形をデイジタ
ル変換してメモリに記憶させており、この一旦記憶した
波形を入力された設定水平時間軸レンジの示す値に水平
方向に拡大することができるものである。この場合、波
形を記憶した時の水平時間軸レンジ(A)と、波形を拡大
した時の水平時間軸レンジ(B)との拡大比MAGを求め
る必要がある。従来、この拡大比MAGは次式を用いて
求めていた。すなわち、 拡大比MAG=(波形を記憶した時のレンジA)/(拡
大した時のレンジB) しかし、オシロスコープの水平時間軸のレンジは極めて
広く、上式の計算をマイクロコンピュータが行うために
は、多桁の演算を行わなければならず、演算時間とメモ
リを浪費していた。
In a waveform storage oscilloscope, an analog waveform is digitally converted and stored in a memory, and the once-stored waveform can be horizontally expanded to a value indicated by an input set horizontal time axis range. In this case, it is necessary to obtain the expansion ratio MAG between the horizontal time axis range (A) when the waveform is stored and the horizontal time axis range (B) when the waveform is expanded. Conventionally, this enlargement ratio MAG has been calculated using the following equation. That is, the expansion ratio MAG = (range A when the waveform is stored) / (range B when the waveform is expanded) However, the range of the horizontal time axis of the oscilloscope is extremely wide, and in order for the microcomputer to perform the above calculation, However, it has been necessary to perform multi-digit arithmetic, which wastes arithmetic time and memory.

本考案は上記の実状に鑑みてなされたもので、簡単かつ
高速に拡大比MAGを求めることができる拡大比演算装
置を提供することを目的とする。
The present invention has been made in view of the above situation, and an object of the present invention is to provide an enlargement ratio calculation device capable of easily and rapidly obtaining the enlargement ratio MAG.

以下本考案の一実施例を図面を参照して詳細に説明す
る。第1図は本考案による拡大比演算装置の構成を示す
ブロック図で、水平時間軸レンジ設定入力が数値化手段
10に入力されている。この数値化手段10は、記憶手
段12に記憶させてあるレンジ−数値変換表を参照し
て、上記水平時間軸レンジ設定入力を数値化する。その
数値化された水平時間軸レンジ設定入力は、レンジ変化
検出手段14に入力され、レンジ変化が検出されてい
る。その検出結果は、レンジデータ供給手段16に供給
されている。また、このレンジ変化検出手段14から
は、上記数値化された水平時間軸レンジ設定入力も上記
レンジデータ供給手段16に供給されている。ここで、
上記水平時間軸レンジ設定入力に変化があった場合、上
記レンジデータ供給手段16は、比較手段18に変化前
のレンジAと変化後のレンジBを供給する。この比較手
段18はこの波形を記憶した時のレンジAと拡大した時
のレンジBとを比較する。すなわち、B−Aの演算を行
ない拡大比テーブルMAGTを生成する。そして、この拡大
比テーブルMAGTが、拡大比決定手段20に供給される。
拡大比決定手段20は、上記記憶手段12に記憶させて
あるMAGT-MAG変換表を参照して、拡大比MAGを決定す
る。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an enlargement ratio calculation device according to the present invention, in which a horizontal time axis range setting input is input to a digitizing means 10. The digitizing means 10 digitizes the horizontal time axis range setting input by referring to the range-numerical value conversion table stored in the storage means 12. The digitized horizontal time axis range setting input is input to the range change detecting means 14 and the range change is detected. The detection result is supplied to the range data supply means 16. The digitized horizontal time axis range setting input is also supplied from the range change detecting means 14 to the range data supplying means 16. here,
When there is a change in the horizontal time axis range setting input, the range data supplying means 16 supplies the range A before the change and the range B after the change to the comparing means 18. The comparing means 18 compares the range A when the waveform is stored with the range B when the waveform is expanded. That is, B-A is calculated to generate the expansion ratio table MAGT. Then, this enlargement ratio table MAGT is supplied to the enlargement ratio determining means 20.
The enlargement ratio determination means 20 refers to the MAGT-MAG conversion table stored in the storage means 12 to determine the enlargement ratio MAG.

すなわち、上記数値化手段10は次のレンジ−数値変換
表を用いて水平時間軸レンジ入力の数値化を行う。
That is, the digitizing means 10 digitizes the horizontal time axis range input using the following range-numerical value conversion table.

また、上記拡大比決定手段20は次のMAGT-MAG変換表を
用いて拡大比MAGを決定する。
Further, the enlargement ratio determining means 20 determines the enlargement ratio MAG using the following MAGT-MAG conversion table.

例えば、5msレンジ(A)から0.2ms(B)に拡大する場合、
数値化手段10で上記レンジ−数値変換表から5msは1
2、0.2msは20というように数値化される。そして比
較手段18によりB−Aの演算が行われる。すなわち、
B−A=20−12=8であるから、拡大比テーブルMA
GT=8が拡大比決定手段20に供給される。そして、拡
大比決定手段20は上記MAGT-MAG変換表を用いて拡大比
MAGを決定する。すなわち、拡大比テーブルMAGT=8
であるから拡大比MAGは、25倍である。
For example, when expanding from 5ms range (A) to 0.2ms (B),
From the range-numerical conversion table, 5 ms is 1 by the digitizing means 10.
2, 0.2ms is digitized as 20. Then, the comparison means 18 calculates B-A. That is,
Since B−A = 20−12 = 8, the expansion ratio table MA
GT = 8 is supplied to the expansion ratio determining means 20. Then, the enlargement ratio determining means 20 determines the enlargement ratio MAG using the MAGT-MAG conversion table. That is, the expansion ratio table MAGT = 8
Therefore, the expansion ratio MAG is 25 times.

ここで例えばAが0.1s、Bが0.2msのような場合、数値
化するとAは6、Bは20であるから拡大比テーブルMA
GTは14となり、上記MAGT-MAG変換表の範囲を越えてし
まう。このような場合には、拡大比テーブルMAGT=14
は10と4に分けられ、それぞれが上記MAGT-MAG変換表
により拡大比MAGに変換される。そして、その拡大比
MAGが乗算される。すなわち、拡大比テーブルMAGT=
10は拡大比MAG=100倍、拡大比テーブルMAGT=
4は拡大比MAG=5倍にそれぞれ変換され、乗算され
る。よって、この場合の拡大比MAGは、100×5=
500倍である。
Here, for example, when A is 0.1 s and B is 0.2 ms, A is 6 and B is 20, so the expansion ratio table MA
GT is 14, which exceeds the range of the above MAGT-MAG conversion table. In such a case, the expansion ratio table MAGT = 14
Is divided into 10 and 4, and each is converted into an enlargement ratio MAG by the above MAGT-MAG conversion table. Then, the enlargement ratio MAG is multiplied. That is, the expansion ratio table MAGT =
10 is expansion ratio MAG = 100 times, expansion ratio table MAGT =
4 is converted to the enlargement ratio MAG = 5 times and multiplied. Therefore, the enlargement ratio MAG in this case is 100 × 5 =
It is 500 times.

第2図はこの拡大比演算装置のためのプログラムの一例
を説明するフローチャートである。まず入力された設定
水平時間軸レンジを数値化する(ステップS1)。水平
時間軸レンジ設定入力に変化があるかどうか判断する
(ステップS2)。もし入力に変化がないならば、ステ
ップS2へ飛ぶ。もし入力に変化があったならば、αを
0にし、レンジ入力変化後の数値化された水平時間軸レ
ンジ設定入力Bから変化前の数値化されたレンジ入力A
を引き、拡大比テーブルMAGTを生成する(ステップS
3)。生成された拡大比テーブルMAGTが10以下である
かどうか判断する(ステップS4)。もしMAGTが10以
下でないならば、拡大比テーブルMAGTから10を引き、
αに1を足し、ステップS4へ飛ぶ(ステップS5)。
もくMAGTが10以下であるならば拡大比テーブルMAGTか
ら拡大比MAGに変換する(ステップS6)。αが0か
どうか判する(ステップS7)。もしαが0ならば終
了。もしαが0でないならば、上記ステップS6で求め
た拡大比MAGに100αを乗じる(ステップS8)。
FIG. 2 is a flow chart for explaining an example of a program for this enlargement ratio calculation device. First, the input set horizontal time axis range is digitized (step S1). It is determined whether or not there is a change in the horizontal time axis range setting input (step S2). If there is no change in the input, jump to step S2. If there is a change in the input, α is set to 0, and the digitized horizontal time axis range setting input B after the range input change to the digitized range input A before the change
To generate an enlargement ratio table MAGT (step S
3). It is determined whether or not the generated expansion ratio table MAGT is 10 or less (step S4). If MAGT is not less than 10, subtract 10 from the expansion ratio table MAGT,
Add 1 to α and jump to step S4 (step S5).
If the MGT is 10 or less, the enlargement ratio table MAGT is converted into the enlargement ratio MAG (step S6). It is determined whether α is 0 (step S7). If α is 0, it ends. If α is not 0, the enlargement ratio MAG obtained in step S6 is multiplied by 100 α (step S8).

このようにMAGTが10以下の場合はそのままMAGT-M
AG変換表を用い、MAGTが10より大きい場合は10のブ
ロックと10以下のMAGTのブロックに分けてMAGT-MAG変
換表を用いて拡大比MAGを決定する。すなわち、除算
を行わなくても良いため、高速で拡大比が演算される。
In this way, when MAGT is 10 or less, MAGT-M is used as it is.
When the MAGT is larger than 10, the AG conversion table is used and the enlargement ratio MAG is determined using the MAGT-MAG conversion table by dividing into 10 blocks and 10 or less MAGT blocks. That is, since it is not necessary to perform division, the expansion ratio is calculated at high speed.

以上詳述したように本考案は、除算を行う代わりにレン
ジ−数値変換表とMAGT-MAG変換表を用いるものである。
したがって、簡単かつ高速に拡大比を求めることができ
る拡大比演算装置を提供することができる。
As described in detail above, the present invention uses the range-numerical conversion table and the MAGT-MAG conversion table instead of performing division.
Therefore, it is possible to provide a magnification ratio calculation device capable of easily and quickly obtaining a magnification ratio.

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

第1図は本考案の一実施例に係る拡大比演算装置を示す
ブロック構成図、第2図はそのプログラムの一例を示す
フローチャートである。 10…数値化手段、12…記憶手段、14…レンジ変化
検出手段、16…レンジデータ供給手段、18…比較手
段、20…拡大比決定手段。
FIG. 1 is a block diagram showing an expansion ratio calculation device according to an embodiment of the present invention, and FIG. 2 is a flow chart showing an example of the program. 10 ... Numericalizing means, 12 ... Storage means, 14 ... Range change detecting means, 16 ... Range data supplying means, 18 ... Comparison means, 20 ... Enlargement ratio determining means.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】マイクロコンピュータによって制御される
波形の水平時間軸拡大機能を持ったオシロスコープにお
いて、 水平時間軸レンジと数値との対応関係があらかじめ設定
されているレンジ−数値変換表をあらかじめ記憶してお
く第1の記憶手段と、 2つの水平時間軸レンジの数値の差として求められる拡
大比テーブルMAGTと求めるべき拡大比MAGとの対
応関係があらかじめ設定されているMAGT−MAG変
換表をあらかじめ記憶しておく第2の記憶手段と、 水平時間軸レンジ設定入力を上記第1の記憶手段に記憶
させてあるレンジ−数値変換表を用いて数値化する手段
と、 上記水平時間軸レンジ設定入力の変化を検出する手段
と、 該検出結果により上記数値化された水平時間軸レンジ設
定入力を切換え供給する手段と、 上記レンジ設定入力が変化した時、上記切換供給手段か
ら供給される数値化されたレンジと波形を記憶した時の
数値化されたレンジとの差を表す拡大比テーブルMAG
Tを生成する手段と、 該拡大比テーブルMAGTから上記第2の記憶手段に記
憶させてあるMAGT−MAG変換表を用いて拡大比M
AGを決定する手段と、 を具備し、2つの水平時間軸レンジを上記レンジ−数値
変換表で数値化しその差を上記MAGT−MAG変換表
で変換することにより拡大比が得られるようにあらかじ
め上記レンジ−数値変換表とMAGT−MAG変換表の
内容が設定されていることを特徴とする拡大比演算装
置。
1. An oscilloscope having a function of expanding a horizontal time axis of a waveform controlled by a microcomputer, in which a range-numerical value conversion table in which the correspondence between the horizontal time axis range and numerical values is preset is stored in advance. The first storage means to be set and the MGT-MAG conversion table in which the correspondence relationship between the expansion ratio table MAGT obtained as the difference between the numerical values of the two horizontal time axis ranges and the expansion ratio MAG to be obtained are preset are stored in advance. Second storage means to be stored, means for digitizing the horizontal time axis range setting input using the range-numerical value conversion table stored in the first storage means, and change in the horizontal time axis range setting input And a means for switching and supplying the digitized horizontal time axis range setting input according to the detection result, When Nji setting input changes, expansion ratio table MAG representing the difference between the digitized range when storing digitized range and waveform supplied from the switching supply means
A magnifying ratio M is generated using a means for generating T and a magt-mag conversion table stored in the second storage means from the magnifying ratio table MAGT.
A means for determining AG is provided, and the two horizontal time axis ranges are digitized by the range-numerical conversion table and the difference is converted by the MAGT-MAG conversion table to obtain an expansion ratio in advance. An expansion ratio calculation device characterized in that the contents of a range-numerical value conversion table and a MGT-MAG conversion table are set.
JP9055084U 1984-06-18 1984-06-18 Magnification ratio calculator Expired - Lifetime JPH062146Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9055084U JPH062146Y2 (en) 1984-06-18 1984-06-18 Magnification ratio calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9055084U JPH062146Y2 (en) 1984-06-18 1984-06-18 Magnification ratio calculator

Publications (2)

Publication Number Publication Date
JPS616770U JPS616770U (en) 1986-01-16
JPH062146Y2 true JPH062146Y2 (en) 1994-01-19

Family

ID=30645642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9055084U Expired - Lifetime JPH062146Y2 (en) 1984-06-18 1984-06-18 Magnification ratio calculator

Country Status (1)

Country Link
JP (1) JPH062146Y2 (en)

Also Published As

Publication number Publication date
JPS616770U (en) 1986-01-16

Similar Documents

Publication Publication Date Title
KR910017318A (en) 3D Point Designation Method in 2D Graphic Display
JPS6194136A (en) Digital signal processor
JPH062146Y2 (en) Magnification ratio calculator
JPS62195520A (en) Waveform deciding method for waveform storage device
JP3142856B2 (en) Control method of setting contents in standard voltage current generator
JP2522073B2 (en) Sine wave PWM signal generator
JPS60177219A (en) Method of displaying time modification physical quantity and system for executing said method
JP2658134B2 (en) How to create NC data
JPH0122106B2 (en)
JP3220603B2 (en) Design support equipment
JPS60262694A (en) Graph forming machine having scale-up function
JPH03259369A (en) Character input device
JP2636014B2 (en) Figure connection control method
JP2815588B2 (en) Forgetting return method of virtual memory
JPH0339796U (en)
JPH0474308U (en)
JPS63171833U (en)
JPH03278245A (en) Tracing system
JPH0224892A (en) Method and device for displaying sound recording level
JPH0243632A (en) Variable size control table preparing system
JPS62187654A (en) Data retrieval unit for automobile control device
JPH05282463A (en) Volume data border surface generating device
JPH02239349A (en) Circuit for detecting exception of virtual computer
JPH02194723A (en) Sine wave pwm signal generator
JPH044481A (en) Graphic display controller