JPH05291829A - Optional waveform generator - Google Patents

Optional waveform generator

Info

Publication number
JPH05291829A
JPH05291829A JP9534792A JP9534792A JPH05291829A JP H05291829 A JPH05291829 A JP H05291829A JP 9534792 A JP9534792 A JP 9534792A JP 9534792 A JP9534792 A JP 9534792A JP H05291829 A JPH05291829 A JP H05291829A
Authority
JP
Japan
Prior art keywords
waveform
data
memory
distortion
output
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.)
Withdrawn
Application number
JP9534792A
Other languages
Japanese (ja)
Inventor
Sumio Takeuchi
純夫 竹内
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.)
Tektronix Japan Ltd
Original Assignee
Sony Tektronix 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 Sony Tektronix Corp filed Critical Sony Tektronix Corp
Priority to JP9534792A priority Critical patent/JPH05291829A/en
Publication of JPH05291829A publication Critical patent/JPH05291829A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the optional waveform generator generating a desired object waveform by correcting a deviation between its own output waveform and the desired object waveform. CONSTITUTION:The optional waveform generator having a waveform memory 4 storing waveform data, an address generator 8 addressing the waveform memory and a D/A converter 5 converting the waveform data outputted from the waveform memory into an analog output waveform is provided with a reference waveform memory storing reference waveform data corresponding to the analog output waveform, a measurement means A measuring the analog output waveform and generating the measured waveform data, a distortion detection means B comparing the measured waveform data from the measurement means and the reference waveform data to detect amplitude distortion and differentiation coefficient distortion and a correction means correcting the waveform data stored in the waveform memory in response to the output of the distortion detection means to obtain a desired analog output waveform.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、所望の波形を出力する
任意波形発生器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arbitrary waveform generator that outputs a desired waveform.

【0002】[0002]

【従来の技術】従来、波形関数値発生器を用いた任意波
形発生器が知られている。図2は従来の波形関数値発生
器を用いた任意波形発生器のブロック図である。図にお
いて、波形関数値発生器1は所望の波形の各時刻におけ
る波高値を計算し、該計算値を時系列信号値としてプロ
グラムしプログラムメモリ3に書き込む。該プログラム
メモリ3はRAMなどによって構成され、CPU2によ
って制御される。該プログラムメモリ3に書き込まれた
波形の時系列信号値のデータは、処理の高速化のために
高速メモリなどによって構成される波形メモリ4に書き
換えられる。プログラムメモリ3から波形メモリ4への
データの書換えもCPU2によって制御される。波形メ
モリ4に書き込まれたデータは、クロック分配器9から
のクロック信号によって駆動されるアドレス発生器8の
アドレス値に応じて読み出され、D/Aコンバータ5に
入力される。波形メモリ4からのデジタル信号値はD/
Aコンバータ5によってアナログサンプル値信号とされ
た後、ローパスフィルタあるいはバンドパスフィルタ等
のフィルタ6に加えられて滑らかなアナログ出力信号と
なる。
2. Description of the Related Art Conventionally, an arbitrary waveform generator using a waveform function value generator is known. FIG. 2 is a block diagram of an arbitrary waveform generator using a conventional waveform function value generator. In the figure, the waveform function value generator 1 calculates the peak value of a desired waveform at each time, programs the calculated value as a time-series signal value, and writes it in the program memory 3. The program memory 3 is composed of a RAM or the like and is controlled by the CPU 2. The waveform time-series signal value data written in the program memory 3 is rewritten in the waveform memory 4 configured by a high-speed memory or the like for speeding up the processing. Rewriting of data from the program memory 3 to the waveform memory 4 is also controlled by the CPU 2. The data written in the waveform memory 4 is read according to the address value of the address generator 8 driven by the clock signal from the clock distributor 9 and input to the D / A converter 5. The digital signal value from the waveform memory 4 is D /
After being converted into an analog sample value signal by the A converter 5, it is added to a filter 6 such as a low pass filter or a band pass filter to form a smooth analog output signal.

【0003】該アナログ出力信号はアンプ7で電力増幅
された後に出力端OUTから出力される。
The analog output signal is power-amplified by the amplifier 7 and then output from the output terminal OUT.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記の
従来の任意波形発生器では、以下のような問題点があ
る。 (1)波形関数値発生器から得られる波形の計算値に対
して、D/Aコンバータが有する非直線性や高周波特性
歪等や、ローパスフィルタあるいはバンドパスフィルタ
等のフィルタの有する振幅特性及び位相特性や、アンプ
の有する各種歪等によってアナログ出力波形には歪が生
じ、目的とする出力波形との間にずれが生ずる。 (2)また、補正手段あるいはD/Aコンバータや、ロ
ーパスフィルタあるいはバンドパスフィルタ等のフィル
タや、アンプの特性を変更して前記ずれを補正し任意波
形発生器のアナログ出力波形を目的とする波形に近づけ
ることは難しい。
However, the conventional arbitrary waveform generator described above has the following problems. (1) With respect to the calculated value of the waveform obtained from the waveform function value generator, nonlinearity and high-frequency characteristic distortion of the D / A converter, amplitude characteristic and phase of a filter such as a low-pass filter or a band-pass filter The analog output waveform is distorted due to the characteristics, various distortions of the amplifier, and the like, which causes a deviation from the target output waveform. (2) Further, the correction means or the D / A converter, the filter such as the low-pass filter or the band-pass filter, or the characteristic of the amplifier is changed to correct the deviation to correct the deviation, and the target waveform is the analog output waveform. Is difficult to approach.

【0005】本発明は以上述べた問題点を除去し、任意
波形発生器の出力波形と目的とする所望のアナログ波形
とのずれを補正して、目的とするアナログ波形を形成す
ることのできる任意波形発生器を提供することを目的と
する。
The present invention eliminates the above-mentioned problems and corrects the deviation between the output waveform of the arbitrary waveform generator and the desired desired analog waveform to form the desired analog waveform. An object is to provide a waveform generator.

【0006】[0006]

【課題を解決するための手段】本発明は、上記の目的を
達成するために、波形データを記憶する波形メモリと、
該波形メモリをアドレスするアドレス発生器と、前記波
形メモリから出力された波形データをアナログ出力波形
に変換するD/Aコンバータとを有する任意波形発生器
において、前記アナログ出力波形に対応する基準波形デ
ータを記憶する基準波形メモリと、前記アナログ出力波
形を測定して測定波形データを発生する測定手段と、該
測定手段からの前記測定波形データと前記基準波形デー
タとを比較して振幅歪及び微分係数歪を検出する歪検出
手段と、該歪検出手段の出力に応じて前記波形メモリに
記憶された波形データを補正する補正手段とを備えたも
のである。
In order to achieve the above object, the present invention provides a waveform memory for storing waveform data,
In an arbitrary waveform generator having an address generator for addressing the waveform memory and a D / A converter for converting the waveform data output from the waveform memory into an analog output waveform, reference waveform data corresponding to the analog output waveform A reference waveform memory for storing, a measuring means for measuring the analog output waveform to generate measured waveform data, an amplitude distortion and a differential coefficient by comparing the measured waveform data from the measuring means with the reference waveform data. A distortion detecting means for detecting distortion and a correcting means for correcting the waveform data stored in the waveform memory according to the output of the distortion detecting means are provided.

【0007】[0007]

【作用】本発明によれば、アナログ出力波形を測定して
測定波形データを発生し該記測定波形データと前記基準
波形データとを比較し、その比較によって歪検出手段に
より振幅歪及び微分係数歪を検出し、該歪検出手段の出
力に応じて波形メモリに記憶された波形データを補正す
ることによって、目的とする基準波形のアナログ出力波
形が得られるように波形メモリに記憶された波形データ
をデータ単位で修正することができる。
According to the present invention, the analog output waveform is measured to generate the measured waveform data, the measured waveform data is compared with the reference waveform data, and by the comparison, the amplitude distortion and the differential coefficient distortion are caused by the distortion detecting means. Is detected and the waveform data stored in the waveform memory is corrected in accordance with the output of the distortion detecting means to obtain the waveform data stored in the waveform memory so that the analog output waveform of the target reference waveform is obtained. It can be modified in data units.

【0008】また、波形データを補正する補正手段にフ
ァジィ推論を用いることによって種々の波形に対して少
ないメモリ容量で波形データの補正を行うことができ
る。
Further, by using fuzzy inference as the correction means for correcting the waveform data, it is possible to correct the waveform data for various waveforms with a small memory capacity.

【0009】[0009]

【実施例】以下、本発明の実施例について図を参照しな
がら詳細に説明する。図1は、本発明の任意波形発生器
の第1の実施例のブロック図である。図において、波形
関数値発生器1とCPU2とプログラムメモリ3と波形
メモリ4とD/Aコンバータ5とローパスフィルタある
いはバンドパスフィルタ等のフィルタ6とアンプ7とア
ドレス発生器8とクロック分配器9とからなる構成部分
は、図2の従来の任意波形発生器と同様である。なお、
本発明の波形メモリ4は基本波形メモリと修正波形メモ
リとから構成され、プログラムメモリ3からの基準波形
データは基本波形メモリ及び修正波形メモリに入力され
る。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram of a first embodiment of an arbitrary waveform generator of the present invention. In the figure, a waveform function value generator 1, a CPU 2, a program memory 3, a waveform memory 4, a D / A converter 5, a filter 6 such as a low pass filter or a band pass filter, an amplifier 7, an address generator 8, and a clock distributor 9 are shown. 2 is similar to the conventional arbitrary waveform generator shown in FIG. In addition,
The waveform memory 4 of the present invention comprises a basic waveform memory and a modified waveform memory, and the reference waveform data from the program memory 3 is input to the basic waveform memory and the modified waveform memory.

【0010】本発明の任意波形発生器は、アンプ7から
得られる出力をフィードバックさせて波形メモリ4の修
正波形メモリに記憶されている波形の時系列信号値のデ
ータを逐次変更させ、アナログ出力波形を目的とする波
形に近づけるものであり、そのための手段として出力端
OUTのアナログ出力波形を測定して測定波形データを
発生する測定手段Aと、該測定手段Aからの前記測定波
形データと基準波形データとを比較して振幅歪及び微分
係数歪を検出する歪検出手段Bと、該歪検出手段Bの出
力に応じて前記波形メモリの修正波形メモリに記憶され
た波形データを補正する補正手段Cとを有している。
The arbitrary waveform generator of the present invention feeds back the output obtained from the amplifier 7 to sequentially change the data of the time-series signal value of the waveform stored in the modified waveform memory of the waveform memory 4 to obtain the analog output waveform. For measuring the analog output waveform of the output terminal OUT to generate measured waveform data, and the measured waveform data and the reference waveform from the measuring means A. Distortion detecting means B for comparing the data to detect amplitude distortion and differential coefficient distortion, and correction means C for correcting the waveform data stored in the corrected waveform memory of the waveform memory according to the output of the distortion detecting means B. And have.

【0011】以下に順に測定手段Aと歪検出手段Bと補
正手段Cについて説明する。始めに測定手段Aについて
説明する。測定手段Aは、サンプラ10及びA/Dコン
バータ11によって構成され、アンプ7からのアナログ
出力をデジタル信号に変換する。このときサンプラ10
及びA/Dコンバータ11はクロック分配器9からのク
ロック信号によってタイミングがとられる。
The measuring means A, the strain detecting means B and the correcting means C will be described below in order. First, the measuring means A will be described. The measuring means A is composed of a sampler 10 and an A / D converter 11, and converts the analog output from the amplifier 7 into a digital signal. Sampler 10 at this time
The A / D converter 11 is timed by the clock signal from the clock distributor 9.

【0012】測定手段Aによって測定されて得られた測
定波形データは、歪検出手段Bにおいて入力される。次
に、歪検出手段Bについて説明する。A/Dコンバータ
11からのデジタル信号はアンプ7からの出力をデジタ
ル化したものであるから、該デジタル信号の値と目的と
する波形の時系列信号値の基準波形データとの間には従
来例で説明したようにずれがある。歪検出手段Bは、ス
ケーラ13と比較器14と歪出力部15と基準波形デー
タ発生器19とから構成され、前記の波形のずれは比較
器14において基準波形データ発生器19からの基準波
形データと比較されて振幅歪及び微分係数歪が歪出力部
15から出力される。A/Dコンバータ11からのデジ
タル信号は、基準波形データとのデータ値の比較の前処
理として比較器14に入力される前にスケーラ13によ
ってスケール合わせが行われる。一方、基準波形データ
は、波形メモリ4の基準波形メモリに記憶されているデ
ータに基づいて基準波形データ発生器19から出力され
る。また、基準波形データを記憶する基準波形メモリを
波形メモリ4内ではなく前記のプログラムメモリ3ある
いは他のメモリとすることもできる。該基準波形データ
発生器19は、クロック発生器9からのクロック信号と
CPU2からの制御信号によって駆動される。
The measured waveform data obtained by the measurement by the measuring means A is input to the distortion detecting means B. Next, the strain detecting means B will be described. Since the digital signal from the A / D converter 11 is obtained by digitizing the output from the amplifier 7, there is a conventional example between the value of the digital signal and the reference waveform data of the time-series signal value of the target waveform. There is a gap as explained in. The distortion detecting means B is composed of a scaler 13, a comparator 14, a distortion output section 15 and a reference waveform data generator 19, and the above-mentioned waveform deviation is caused by the reference waveform data from the reference waveform data generator 19 in the comparator 14. And the amplitude distortion and the differential coefficient distortion are output from the distortion output unit 15. The digital signal from the A / D converter 11 is scaled by the scaler 13 before being input to the comparator 14 as a pre-process for comparing the data value with the reference waveform data. On the other hand, the reference waveform data is output from the reference waveform data generator 19 based on the data stored in the reference waveform memory of the waveform memory 4. Further, the reference waveform memory for storing the reference waveform data may be the program memory 3 or another memory instead of the waveform memory 4. The reference waveform data generator 19 is driven by the clock signal from the clock generator 9 and the control signal from the CPU 2.

【0013】比較器14における比較は、例えば波形の
振幅の偏差と及び波形の傾斜を比較する。図3は信号比
較図である。図において直線を基準波形データとし、破
線を測定データとする。波形の比較においてある基準値
における基準波形データと測定データとの振幅の偏差と
傾斜を求め、その振幅の偏差の値あるいは振幅の偏差と
基準波形データ値との比を振幅歪とし、また傾斜の微分
係数あるいはその微分係数と基準波形データの微分係数
との比を微分係数歪とする。比較器14において比較さ
れた比較値は歪出力部15において振幅歪及び微分係数
歪として出力される。歪検出手段Bからの振幅歪及び微
分係数歪は補正手段Cに入力され波形メモリ14に記憶
された波形データを補正する。
The comparison in the comparator 14 compares, for example, the deviation of the amplitude of the waveform and the slope of the waveform. FIG. 3 is a signal comparison diagram. In the figure, the straight line is the reference waveform data and the broken line is the measurement data. In comparing waveforms, the deviation and slope of the amplitude between the reference waveform data and the measured data at a certain reference value are obtained, and the value of the amplitude deviation or the ratio of the amplitude deviation and the reference waveform data value is used as the amplitude distortion, and The differential coefficient or the ratio of the differential coefficient and the differential coefficient of the reference waveform data is defined as differential coefficient distortion. The comparison value compared in the comparator 14 is output in the distortion output section 15 as amplitude distortion and differential coefficient distortion. The amplitude distortion and the differential coefficient distortion from the distortion detecting unit B are input to the correcting unit C to correct the waveform data stored in the waveform memory 14.

【0014】次に、補正手段Cについて説明する。補正
手段Cは、デシジョンテーブル16と修正データ出力部
17と高速加算プロセッサ18とから構成される。デシ
ジョンテーブル16は、振幅歪及び微分係数歪のデータ
に基づいて波形メモリ14に記憶されている波形データ
をどのように修正するかを予め設定したテーブルであ
り、目的とする波形形状などに応じて定められている。
修正データ出力部17はそのデシジョンテーブル16の
出力に従って修正波形データを形成し、波形メモリ4に
高速加算プロセッサ18を介して入力する。高速加算プ
ロセッサ18は波形メモリ4との速度整合をとるためで
ある。入力される修正波形データは、波形メモリ4の修
正波形メモリの波形データを修正する。この修正された
波形データは再びアドレス発生器8のアドレス値に応じ
て読み出され、D/Aコンバータ5によってアナログサ
ンプル値信号とされた後、ローパスフィルタあるいはバ
ンドパスフィルタ等のフィルタ6に加えられ、修正され
たデータに基づくアナログ出力信号が得られる。このア
ナログ出力信号は、再び測定手段Aと歪検出手段Bと補
正手段Cによって波形データが修正される。
Next, the correction means C will be described. The correction means C includes a decision table 16, a correction data output unit 17, and a high speed addition processor 18. The decision table 16 is a table in which it is preset how to correct the waveform data stored in the waveform memory 14 based on the data of the amplitude distortion and the differential coefficient distortion, and depending on the desired waveform shape or the like. It is set.
The modified data output unit 17 forms modified waveform data according to the output of the decision table 16 and inputs the modified waveform data to the waveform memory 4 via the high speed addition processor 18. This is because the high-speed addition processor 18 performs speed matching with the waveform memory 4. The input modified waveform data modifies the waveform data in the modified waveform memory of the waveform memory 4. The corrected waveform data is read again according to the address value of the address generator 8, converted into an analog sample value signal by the D / A converter 5, and then added to the filter 6 such as a low pass filter or a band pass filter. , An analog output signal based on the modified data is obtained. The waveform data of this analog output signal is corrected again by the measuring means A, the distortion detecting means B, and the correcting means C.

【0015】これを繰り返すことによってアナログ出力
は所望の波形に近づいていく。前記の繰返しのサイクル
を停止させるために、例えば前記デシジョンテーブル1
6において歪出力部15からの値が設定値以下となった
ときに修正データを出力しないように設定することなど
によって行うことができる。次に本発明の第2の実施例
について説明する。本発明の第2の実施例は等価タイム
による駆動である。
By repeating this, the analog output approaches a desired waveform. In order to stop the repeating cycle, for example, the decision table 1
In 6, the correction data can be set not to be output when the value from the distortion output unit 15 becomes equal to or less than the set value. Next, a second embodiment of the present invention will be described. The second embodiment of the present invention is a drive with an equivalent time.

【0016】図4はリアルタイムによる駆動と等価タイ
ムによる駆動を説明する信号図である。図4の(a)は
リアルタイムによる駆動の場合の信号であり、1周期T
の間に等間隔tでサンプルされる。また、図4の(b)
は等価タイムによる駆動の場合の信号であり、5周期5
Tの間に等間隔t+Tの間隔でサンプルされる。周期信
号の場合には、等価タイムによって長期の周期間隔で1
周期Tの間のデータを得ることができるので、後の信号
処理速度を下げることができる。
FIG. 4 is a signal diagram for explaining driving in real time and driving in equivalent time. FIG. 4A shows a signal in the case of driving in real time.
Are sampled at equal intervals t. In addition, FIG.
Is a signal in the case of driving by an equivalent time, and 5 cycles 5
Sampled at equal intervals t + T during T. In the case of a periodic signal, it is 1 at a long period interval depending on the equivalent time.
Since the data for the period T can be obtained, the subsequent signal processing speed can be reduced.

【0017】波形データメモリ12は、第1の実施例と
同様にしてスケーラ13に入力され修正データが得られ
る。この場合の波形メモリ4の修正波形メモリのデータ
の修正は、等価タイムにおける周期に応じてリアルタイ
ムの駆動と比較して間欠的となる。図5は本発明の任意
波形発生器の第2の実施例のブロック図である。第1の
実施例はリアルタイムによって駆動するのに対して、こ
の実施例は周期的波形に対して等価タイムによって駆動
するものである。等価タイムによる駆動により波形デー
タの修正の信号処理が容易となり高周波の信号に対応す
ることができる。この第2の実施例は、図1においてA
/Dコンバータ11とスケーラ13との間に波形データ
メモリ12を設置すると共に、サンプラ10を駆動する
クロック信号を逓減させて行われる。
The waveform data memory 12 is input to the scaler 13 in the same manner as in the first embodiment to obtain corrected data. The correction of the data in the waveform memory 4 in this case is intermittent compared to the real-time driving according to the cycle in the equivalent time. FIG. 5 is a block diagram of a second embodiment of the arbitrary waveform generator of the present invention. The first embodiment drives in real time, whereas this embodiment drives in equivalent time for a periodic waveform. By driving with the equivalent time, the signal processing for correcting the waveform data is facilitated and it is possible to deal with high frequency signals. This second embodiment is shown in FIG.
The waveform data memory 12 is installed between the / D converter 11 and the scaler 13, and the clock signal for driving the sampler 10 is gradually reduced.

【0018】第1、2の実施例においては、補正手段C
の修正データの形成にデシジョンテーブル16を使用し
て、所望の波形に対応した修正条件を設定している。し
たがって、このデシジョンテーブル16は所望の波形の
種類及びその波形の波形値に対応して用意する。図6は
所望の波形とデシジョンテーブルとの関係図である。図
において、例えば正弦波に対してデシジョンテーブル1
6−1を用意し、矩形波に対してデシジョンテーブル1
6−2を用意し、三角波に対してデシジョンテーブル1
6−3を用意する。そして、このデシジョンテーブルに
は歪量に対する設定値が設定される。したがって、デシ
ジョンテーブルに設定されるデータ量は、設定の細かさ
に応じて増大することになる。
In the first and second embodiments, the correction means C
The decision table 16 is used for the formation of the correction data of 1 to set the correction conditions corresponding to the desired waveform. Therefore, the decision table 16 is prepared corresponding to the desired waveform type and the waveform value of the waveform. FIG. 6 is a relationship diagram between a desired waveform and a decision table. In the figure, for example, for a sine wave, a decision table 1
6-1 is prepared, and the decision table 1 for a rectangular wave
6-2 is prepared, and the decision table 1 for the triangular wave
Prepare 6-3. Then, a set value for the amount of distortion is set in this decision table. Therefore, the amount of data set in the decision table increases according to the fineness of the setting.

【0019】次の本発明の第3の実施例はこのデシジョ
ンテーブルを一つのファジィ推論手段によって行うこと
によって、前記の実施例の波形の種類及びその波形の波
形値に対応したデシジョンテーブルの個数の増大とデシ
ジョンテーブルに記憶される設定データ量の増大を抑え
るものである。図7は本発明の任意波形発生器の第3の
実施例のブロック図である。第3の実施例においては、
第1、2の実施例における補正手段C中のデシジョンテ
ーブル16を制御ルール部20と非ファジィ化器21と
から構成されるファジィ推論手段Dに置き換えている。
ファジィ推論手段Dには歪出力部15からの信号が入力
され、ファジィ推論手段Dの出力は修正データ出力部1
7に出力される。ファジィ推論は、一般に制御ルールに
よって入出力関係を曖昧さを持って規定し、その出力を
非ファジィ化によって具体値に変換するものである。こ
の制御ルールは一般性を有しているので、所望の波形値
に対応してデシジョンテーブルを用意することなく制御
ルール部20の制御ルールを波形に応じて切り換えるこ
とによって行うことができ、またデシジョンテーブルの
ように設定データを記憶しないので必要記憶容量を少な
く抑えることができる。この関係は図6の波形の種類に
応じて用意されたデシジョンテーブル16−1、16−
2…を制御ルール部20と非ファジィ化器21とから構
成される一つのファジィ推論手段Dへの置換えで見るこ
とができる。
In the third embodiment of the present invention, the decision table is executed by one fuzzy inference means so that the number of decision tables corresponding to the kind of waveform and the waveform value of the waveform in the above embodiment can be determined. The increase and the increase in the amount of setting data stored in the decision table are suppressed. FIG. 7 is a block diagram of a third embodiment of the arbitrary waveform generator of the present invention. In the third embodiment,
The decision table 16 in the correction means C in the first and second embodiments is replaced with fuzzy inference means D including a control rule section 20 and a defuzzifier 21.
The signal from the distortion output section 15 is input to the fuzzy inference means D, and the output of the fuzzy inference means D is the corrected data output section 1
7 is output. Fuzzy inference generally defines input / output relationships with ambiguity by control rules and converts the output into concrete values by defuzzification. Since this control rule has generality, it can be performed by switching the control rule of the control rule unit 20 according to the waveform without preparing a decision table corresponding to a desired waveform value. Since the setting data is not stored unlike the table, the required storage capacity can be reduced. This relationship is based on the decision tables 16-1 and 16- prepared according to the types of waveforms in FIG.
2 can be seen by replacing the fuzzy inference means D with the control rule unit 20 and the defuzzifier 21.

【0020】図8は制御ルールの例である。図の制御ル
ールのテーブルは、縦方向に振幅歪の条件をとり横方向
に上端に微分係数歪の条件をとって、そのテーブル内の
値を結論としている。このテーブルにおいて、NBはN
egative Big、NSはNegative S
mall、ZOはZero、PSはPositiveS
mall、PBはPositive Bigを表してい
る。したがって、例えば、テーブルの振幅歪の条件がN
Bで負の方向に大きく、微分係数歪の条件がNBで同じ
く負の方向に大きい場合には、PBの結論となり修正量
を正の方向に大きくとる結論が設定されている。
FIG. 8 shows an example of the control rule. The control rule table in the figure has a condition of amplitude distortion in the vertical direction and a condition of differential coefficient distortion in the horizontal direction at the upper end, and concludes the values in the table. In this table, NB is N
negative Big, NS is negative S
mall, ZO is Zero, PS is PositiveS
mall and PB represent Positive Big. Therefore, for example, the condition of the amplitude distortion of the table is N
If B is large in the negative direction and the condition of differential coefficient distortion is also large in the negative direction in NB, the conclusion is PB, and the conclusion that the correction amount is large in the positive direction is set.

【0021】非ファジィ化器21は前記の制御ルール部
20の結論に基づいて具体的な修正値を形成するもので
あり、一般にメンバーシップ関数として知られる種々の
方法によって行うことができる。非ファジィ化器21か
らの修正値は修正データ出力部17及び高速加算プロセ
ッサ18を介して波形メモリ4の修正波形メモリを修正
する。この後の動作は第1、2の実施例と同様となる。
また、修正の繰り返しを停止させるために前記と同様な
手段を用いても良いし、また制御ルール中あるいは非フ
ァジィ化器21中に停止させるルールを盛り込むことも
できる。
The defuzzifier 21 forms a concrete correction value based on the conclusion of the control rule unit 20 and can be performed by various methods generally known as a membership function. The correction value from the defuzzifier 21 corrects the correction waveform memory of the waveform memory 4 via the correction data output unit 17 and the high speed addition processor 18. The subsequent operation is the same as in the first and second embodiments.
Further, the same means as described above may be used to stop the repetition of the correction, and a stopping rule may be included in the control rule or the defuzzifier 21.

【0022】図9は、本発明の任意波形発生器の第4の
実施例のブロック図であり、前記の制御ルール部20の
制御ルールを目的とする波形に応じて変更する実施例で
ある。図において、波形関数発生器1と制御ルール部2
0との間に制御ルールメモリ22を接続する。制御ルー
ルメモリ22には、波形の種類に応じて図8のような制
御ルールのテーブルが記憶され、波形関数発生器1の波
形の種類に対応した制御ルールを制御ルール部20に出
力する。この制御ルールメモリ22に記憶される制御ル
ールの個数は波形の種類に対応するものであり、また波
形によっては共通に使用可能なものもあるので、前記の
デシジョンテーブルに要した個数と比較して少なくする
ことができる。また、制御ルールそのものに要するデー
タ量も図8の制御ルールのテーブルに見るように少量で
足り、デシジョンテーブルのように多量のデータのため
に大容量とする必要がない。
FIG. 9 is a block diagram of a fourth embodiment of the arbitrary waveform generator of the present invention, which is an embodiment in which the control rule of the control rule unit 20 is changed according to the target waveform. In the figure, a waveform function generator 1 and a control rule unit 2
The control rule memory 22 is connected to 0. A control rule table as shown in FIG. 8 is stored in the control rule memory 22 according to the type of waveform, and the control rule corresponding to the type of waveform of the waveform function generator 1 is output to the control rule unit 20. The number of control rules stored in the control rule memory 22 corresponds to the type of waveform, and some waveforms can be commonly used. Therefore, compared with the number required for the above decision table. Can be reduced. Also, the amount of data required for the control rule itself can be small as shown in the control rule table of FIG. 8, and it is not necessary to have a large capacity for a large amount of data as in the decision table.

【0023】次に、第3の実施例のファジィ推論手段D
を用いた場合の制御ルール部20の制御ルールの形成に
ついて説明する。図10は本発明の任意波形発生器の第
5の実施例のブロック図である。図において、出力端O
UTにスイッチSWが設けられ、一方はサンプラ10に
他方はオシロスコープ30、スペクトルアナライザ31
及び歪値演算32介して歪出力部15に歪値演算32の
演算結果が入力される。スイッチSWをサンプラ10に
接続した場合には、第2の実施例と同様でありオンライ
ンによって処理される。一方スイッチSWをオシロスコ
ープ30及びスペクトルアナライザ31側に接続した場
合は、オフラインによって処理されシミュレーションが
行われる。
Next, the fuzzy inference means D of the third embodiment
The formation of the control rule of the control rule unit 20 when using is described. FIG. 10 is a block diagram of a fifth embodiment of the arbitrary waveform generator of the present invention. In the figure, the output end O
A switch SW is provided in the UT, one of which is a sampler 10 and the other is an oscilloscope 30 and a spectrum analyzer 31.
The calculation result of the distortion value calculation 32 is input to the distortion output unit 15 via the distortion value calculation 32. When the switch SW is connected to the sampler 10, it is the same as in the second embodiment and is processed online. On the other hand, when the switch SW is connected to the oscilloscope 30 and the spectrum analyzer 31 side, the processing is performed offline and the simulation is performed.

【0024】オフラインによるシミュレーションは、出
力端OUTの出力信号をオシロスコープ30に入力して
波形観察をし、また出力端OUTの出力信号をスペクト
ルアナライザ31に入力してその周波数分析を行う。そ
してこの波形観察及び周波数分析を目的とする基準波形
と比較してその基準波形との振幅歪や微分係数歪などの
歪量を演算しその演算結果を歪出力部15に入力すると
共に、その演算結果を考慮しながら制御ルール部20の
制御ルールを修正する。歪出力部15はそのデータを制
御ルール部20に入力する。制御ルール部20において
は、歪出力部15からのデータを前記の修正された制御
ルールに基づいて修正し、波形メモリ4の修正波形メモ
リのデータを修正する。
In the off-line simulation, the output signal from the output terminal OUT is input to the oscilloscope 30 for waveform observation, and the output signal from the output terminal OUT is input to the spectrum analyzer 31 to perform frequency analysis. Then, the amount of distortion such as amplitude distortion and differential coefficient distortion with the reference waveform is calculated by comparing with the reference waveform for the purpose of this waveform observation and frequency analysis, and the calculation result is input to the distortion output unit 15 and the calculation is performed. The control rule of the control rule unit 20 is modified while considering the result. The distortion output unit 15 inputs the data to the control rule unit 20. In the control rule unit 20, the data from the distortion output unit 15 is modified based on the modified control rule, and the data in the modified waveform memory of the waveform memory 4 is modified.

【0025】このオフラインによるシミュレーション
は、信号回路による処理ではなく人手によって行われ
る。このオフラインによるシミュレーションによって、
制御ルール部20の制御ルールの修正が行われると共に
波形メモリ4の修正波形メモリのデータが修正される。
該修正制御ルール及び修正データに基づいた出力信号を
再びオフラインによってシミュレーションが行なわれ、
さらに制御ルール及び波形メモリ4の修正波形メモリの
データを修正する。この修正を繰り返すことによってフ
ァジィ推論における制御ルールが設定される。
This off-line simulation is performed manually, not by the processing by the signal circuit. With this offline simulation,
The control rule of the control rule unit 20 is corrected and the data of the corrected waveform memory of the waveform memory 4 is corrected.
The output signal based on the correction control rule and the correction data is simulated off-line again,
Further, the control rule and the correction waveform data of the waveform memory 4 are corrected. By repeating this modification, the control rule in fuzzy reasoning is set.

【0026】この人手によるシミュレーションで制御ル
ールが設定されると、SWをサンプラ10側に接続して
オンラインによる処理を行う。なお、本発明は前記実施
例に限定されるものではなく、本発明の趣旨に基づいて
種々変形することが可能であり、それらを本発明の範囲
から排除するものではない。
When the control rule is set by this manual simulation, the SW is connected to the sampler 10 side to perform online processing. It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made based on the spirit of the present invention, and they are not excluded from the scope of the present invention.

【0027】[0027]

【発明の効果】以上説明したように、本発明によれば、
アナログ出力波形を測定して測定波形データを発生し該
記測定波形データと前記基準波形データとを比較し、そ
の比較によって歪検出手段により振幅歪及び微分係数歪
を検出し、該歪検出手段の出力に応じて波形メモリに記
憶された波形データを補正しているので、 (1)目的とする基準波形のアナログ出力波形が得られ
るように波形メモリに記憶された波形データをデータ単
位で修正することができる。 (2)波形データを補正する補正手段にファジィ推論を
用いることによって種々の波形に対して少ないメモリ容
量で波形データの補正を行うことができる。 といった効果により、任意波形発生器の出力波形と目的
とする所望の波形とのずれを補正して、目的とする所望
の波形を発生することができる。
As described above, according to the present invention,
The analog output waveform is measured to generate measured waveform data, the measured waveform data is compared with the reference waveform data, and the amplitude distortion and differential coefficient distortion are detected by the distortion detection means by the comparison, and the distortion detection means Since the waveform data stored in the waveform memory is corrected according to the output, (1) the waveform data stored in the waveform memory is corrected in data units so that the analog output waveform of the target reference waveform can be obtained. be able to. (2) By using fuzzy inference as the correction means for correcting the waveform data, it is possible to correct the waveform data for various waveforms with a small memory capacity. With such an effect, the deviation between the output waveform of the arbitrary waveform generator and the desired desired waveform can be corrected to generate the desired desired waveform.

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

【図1】本発明の任意波形発生器の第1の実施例のブロ
ック図である。
FIG. 1 is a block diagram of a first embodiment of an arbitrary waveform generator of the present invention.

【図2】従来の任意波形発生器のブロック図である。FIG. 2 is a block diagram of a conventional arbitrary waveform generator.

【図3】信号比較図である。FIG. 3 is a signal comparison diagram.

【図4】リアルタイムによる駆動と等価タイムによる駆
動を説明する信号図である。
FIG. 4 is a signal diagram for explaining driving in real time and driving in equivalent time.

【図5】本発明の任意波形発生器の第2の実施例のブロ
ック図である。
FIG. 5 is a block diagram of a second embodiment of the arbitrary waveform generator of the present invention.

【図6】所望の波形とデシジョンテーブルとの関係図で
ある。
FIG. 6 is a relationship diagram between a desired waveform and a decision table.

【図7】本発明の任意波形発生器の第3の実施例のブロ
ック図である。
FIG. 7 is a block diagram of a third embodiment of the arbitrary waveform generator of the present invention.

【図8】本発明の制御ルールテーブルである。FIG. 8 is a control rule table of the present invention.

【図9】本発明の任意波形発生器の第4の実施例のブロ
ック図である。
FIG. 9 is a block diagram of a fourth embodiment of the arbitrary waveform generator of the present invention.

【図10】本発明の任意波形発生器の第5の実施例のブ
ロック図である。
FIG. 10 is a block diagram of a fifth embodiment of the arbitrary waveform generator of the present invention.

【符号の説明】[Explanation of symbols]

1 波形関数値発生器 2 CPU 3 プログラムメモリ 4 波形メモリ 5 D/Aコンバータ 6 フィルタ 7 アンプ 8 アドレス発生器 9 クロック分配器 10 サンプラ 11 A/Dコンバータ 12 波形データメモリ 13 スケーラ 14 比較器 15 歪出力部 16 デシジョンテーブル 17 修正データ出力部 18 高速加算プロセッサ 19 基準波形データ発生器 20 制御ルール部 21 非ファジィ化器 22 制御ルールメモリ 30 オシロスコープ 31 スペクトルアナライザ 32 歪値演算 SW スイッチ A 測定手段 B 歪検出手段 C 補正手段 D ファジィ推論手段 1 Waveform function value generator 2 CPU 3 Program memory 4 Waveform memory 5 D / A converter 6 Filter 7 Amplifier 8 Address generator 9 Clock distributor 10 Sampler 11 A / D converter 12 Waveform data memory 13 Scaler 14 Comparator 15 Distortion output Section 16 decision table 17 corrected data output section 18 high-speed addition processor 19 reference waveform data generator 20 control rule section 21 defuzzifier 22 control rule memory 30 oscilloscope 31 spectrum analyzer 32 distortion value calculation SW switch A measuring means B distortion detecting means C correction means D fuzzy inference means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 (a)波形データを記憶する波形メモリ
と、 (b)該波形メモリをアドレスするアドレス発生器と、 (c)前記波形メモリから出力された波形データをアナ
ログ出力波形に変換するD/Aコンバータとを有する任
意波形発生器において、 (d)前記アナログ出力波形に対応する基準波形データ
を記憶する基準波形メモリと、 (e)前記アナログ出力波形を測定して測定波形データ
を発生する測定手段と、 (f)該測定手段からの前記測定波形データと前記基準
波形データとを比較して振幅歪及び微分係数歪を検出す
る歪検出手段と、 (g)該歪検出手段の出力に応じて前記波形メモリに記
憶された波形データを補正する補正手段とを備えること
を特徴とする任意波形発生器。
1. A waveform memory for storing waveform data; (b) an address generator for addressing the waveform memory; and (c) converting the waveform data output from the waveform memory into an analog output waveform. An arbitrary waveform generator having a D / A converter, (d) a reference waveform memory for storing reference waveform data corresponding to the analog output waveform, and (e) measurement of the analog output waveform to generate measured waveform data. And (f) distortion detecting means for comparing the measured waveform data from the measuring means with the reference waveform data to detect amplitude distortion and differential coefficient distortion, and (g) output of the distortion detecting means. An arbitrary waveform generator, the correction means correcting the waveform data stored in the waveform memory according to the above.
【請求項2】 前記補正手段は、予め定められた複数の
制御ルールに基づいて前記歪検出手段の出力に応じて前
記波形メモリ内の波形データを補正するファジィ推論手
段を含むことを特徴とする請求項1記載の任意波形発生
器。
2. The correction means includes fuzzy inference means for correcting the waveform data in the waveform memory according to the output of the distortion detection means based on a plurality of predetermined control rules. The arbitrary waveform generator according to claim 1.
JP9534792A 1992-04-15 1992-04-15 Optional waveform generator Withdrawn JPH05291829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9534792A JPH05291829A (en) 1992-04-15 1992-04-15 Optional waveform generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9534792A JPH05291829A (en) 1992-04-15 1992-04-15 Optional waveform generator

Publications (1)

Publication Number Publication Date
JPH05291829A true JPH05291829A (en) 1993-11-05

Family

ID=14135147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9534792A Withdrawn JPH05291829A (en) 1992-04-15 1992-04-15 Optional waveform generator

Country Status (1)

Country Link
JP (1) JPH05291829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006174303A (en) * 2004-12-17 2006-06-29 Seiko Npc Corp Frequency synthesizer and reference signal phase setting method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006174303A (en) * 2004-12-17 2006-06-29 Seiko Npc Corp Frequency synthesizer and reference signal phase setting method therefor

Similar Documents

Publication Publication Date Title
US4243974A (en) Wide dynamic range analog to digital converter
US5414635A (en) Oscilloscope with dynamic triggering determination
JPH04361428A (en) Linearizing processing method of nonlinear type analog-digital and circuit thereof
JPH05291829A (en) Optional waveform generator
Rees et al. Design and application of non-binary low peak factor signals for system dynamic measurement
JPH0712852A (en) Waveform measuring equipment having waveform generating function
SU731441A1 (en) Device for evaluating distribution function
US5677998A (en) Apparatus for pulsed electrical circuitry
JPS62136923A (en) Test equipment for analog-digital converter
SU1642409A1 (en) Non-linear distortion meter
JPH0360439B2 (en)
SU894582A1 (en) Method of measuring ac voltage root-mean-square value
JPH06331658A (en) Digital oscilloscope
JPH0634681A (en) Fft analyzer
SU974105A1 (en) Strain gauge device
JP2654506B2 (en) Work function measurement method
SU670947A1 (en) Device for registering single-cycle transient
JPS60113161A (en) Measuring and adjusting device of output waveform
SU796791A1 (en) Device for determining coefficient of harmonic linearization
SU1111182A1 (en) Device for automatic tuning of gain factor of random signal
JPH0798336A (en) Sampling type measuring device
SU754431A1 (en) Device for monitoring process parameters
RU2023303C1 (en) Device for information understanding
SU1176263A1 (en) Method of visual display and measurement of phase difference
JPH04184173A (en) Signal processing filter circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706