JPH0653831A - Waveform sampling circuit - Google Patents

Waveform sampling circuit

Info

Publication number
JPH0653831A
JPH0653831A JP22482292A JP22482292A JPH0653831A JP H0653831 A JPH0653831 A JP H0653831A JP 22482292 A JP22482292 A JP 22482292A JP 22482292 A JP22482292 A JP 22482292A JP H0653831 A JPH0653831 A JP H0653831A
Authority
JP
Japan
Prior art keywords
input
sampling
signal
circuit
waveform
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
JP22482292A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Hayashi
広佳 林
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.)
Sony Corp
Original Assignee
Sony 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 Corp filed Critical Sony Corp
Priority to JP22482292A priority Critical patent/JPH0653831A/en
Publication of JPH0653831A publication Critical patent/JPH0653831A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain a sampling waveform with higher accuracy in resolution by shifting the sampling point of an output waveform synchronously with an input signal at the time of sampling an output waveform of a circuit block for inputting/outputting a synchronizing waveform. CONSTITUTION:An IC 16 to be measured sends an output signal corresponding to an input signal to a voltage sampling circuit 27. The circuit 27 executes sampling operation when a 360/n-ary counter 21 overflows. A 360-ary counter 22 executes count-up operation based upon a sampling start signal S10 outputted from the counter 21, the arithmetic result of an arithmetic circuit 23 is changed and the data of an output signal in each phase 1 deg. is stored in a data memory 28. The data of phases 0 deg. to 360 deg. are stored in the memory 28 in each 1 deg., and when data for one period are stored, the counter 22 overflows, so that an end command signal for ending the processing concerned is outputted and sampling processing is ended.

Description

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

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段(図2及び図4) 作用(図2及び図4) 実施例(図1〜図4) 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (FIGS. 2 and 4) Actions (FIGS. 2 and 4) Embodiments (FIGS. 1 to 4) Effects of the Invention

【0002】[0002]

【産業上の利用分野】本発明は波形サンプリング回路に
関し、特に周波数の高い信号をサンプリングする際に適
用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform sampling circuit, and is particularly suitable for application when sampling a high frequency signal.

【0003】[0003]

【従来の技術】従来、例えば集積回路(IC)に所定の
入力信号を与え、当該ICから出力される信号をサンプ
リングすることにより、当該ICの特性を測定するよう
になされた測定装置がある。
2. Description of the Related Art Conventionally, there is a measuring device which measures a characteristic of an IC by giving a predetermined input signal to the integrated circuit (IC) and sampling a signal output from the IC.

【0004】この測定装置においては、疑似的に生成し
た入力信号をデイジタルアナログ変換回路(DA変換回
路)を介して被測定ICに入力し、当該入力信号に基づ
いて当該被測定ICから出力される出力信号をアナログ
デイジタル変換回路(AD変換回路)を介してデイジタ
ルデータに変換し、これを所定のサンプリング回路にお
いてサンプリングするようになされている。
In this measuring apparatus, a pseudo-generated input signal is input to the IC to be measured via a digital analog conversion circuit (DA conversion circuit) and is output from the IC to be measured based on the input signal. The output signal is converted into digital data via an analog digital conversion circuit (AD conversion circuit), and this is sampled by a predetermined sampling circuit.

【0005】[0005]

【発明が解決しようとする課題】ところがこの種の波形
サンプリング回路を用いた測定装置においては、被測定
ICに入力する信号の周波数が高くなると、変換速度の
速いDA変換回路及びAD変換回路が必要となり、構成
が複雑化することを避け得ない問題があつた。
However, in the measuring apparatus using the waveform sampling circuit of this type, when the frequency of the signal input to the IC to be measured becomes high, the DA conversion circuit and the AD conversion circuit having a high conversion speed are required. Therefore, there is a problem inevitable that the configuration becomes complicated.

【0006】この問題点を解決するための一つの方法と
して、DA変換回路及びAD変換回路の変換速度に合わ
せて入力信号波形を間引く方法が考えられている。例え
ばモータ駆動用ICを測定する際に、当該モータ駆動用
ICに入力する正弦波信号を位相0°、3°、6°……
のように3°ごとに与えると、これに応じた出力信号は
位相0°、3°、6°……においては、正確なデータが
得られるのに対して、例えば位相1°のような出力信号
のデータを得ようとしても、出力信号の位相1°に対す
る入力信号は間引かれていることにより、このときの出
力信号は位相0°のときの入力信号に対応した出力信号
となる。
As one method for solving this problem, a method of thinning the input signal waveform according to the conversion speed of the DA conversion circuit and the AD conversion circuit is considered. For example, when measuring a motor driving IC, the phase of the sine wave signal input to the motor driving IC is 0 °, 3 °, 6 ° ...
, The output signal corresponding to this gives accurate data at phases 0 °, 3 °, 6 °, ... Even when trying to obtain the signal data, the output signal at this time becomes an output signal corresponding to the input signal at the phase of 0 ° because the input signal for the phase of 1 ° of the output signal is thinned out.

【0007】従つてこのような方法を用いると、所望の
位相における出力信号データを得ることが困難になる問
題があり、解決策としては未だ不十分であつた。
Therefore, when such a method is used, there is a problem that it is difficult to obtain output signal data in a desired phase, and it has not been sufficient as a solution.

【0008】本発明は以上の点を考慮してなされたもの
で、DA変換回路及びAD変換回路の変換速度を上げる
ことなく、高い周波数信号を入出力するIC又は回路ブ
ロツクの出力波形を正確にサンプリングし得る波形サン
プリング回路を提案しようとするものである。
The present invention has been made in consideration of the above points, and accurately outputs the output waveform of an IC or a circuit block that inputs and outputs a high frequency signal without increasing the conversion speed of the DA conversion circuit and the AD conversion circuit. It is intended to propose a waveform sampling circuit capable of sampling.

【0009】[0009]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、周期波形を入出力する回路ブロツ
ク16の出力信号S4、S5、S6をサンプリングする
波形サンプリング回路10において、回路ブロツク16
に入力する入力信号S1、S2、S3が目標とする入力
波形に対応した値となる位相に同期して回路ブロツク1
6から出力される出力信号S4、S5、S6をサンプリ
ングすると共に、入力信号S1、S2、S3が目標とす
る入力波形に対応した値となる位相と異なる位相におい
て入力信号S1、S2、S3が目標とする入力波形に対
応した値となるように入力信号S1、S2、S3を変化
させ、当該変化に応じて出力信号S4、S5、S6のサ
ンプリング点を変化させるようにする。
In order to solve such a problem, according to the present invention, in the waveform sampling circuit 10 for sampling the output signals S4, S5 and S6 of the circuit block 16 which inputs and outputs the periodic waveform, the circuit block 16
Of the circuit block 1 in synchronization with the phase in which the input signals S1, S2, S3 input to
6 output signals S4, S5, S6 are sampled, and the input signals S1, S2, S3 are targeted at a phase different from the phase where the input signals S1, S2, S3 have values corresponding to the targeted input waveform. The input signals S1, S2, S3 are changed so as to have values corresponding to the input waveform, and the sampling points of the output signals S4, S5, S6 are changed according to the change.

【0010】また本発明においては、回路ブロツク16
に入力する入力信号S1、S2、S3の1周期分の位相
(360 °)を入力信号S1、S2、S3の間引き数nで
除算してなる結果をオーバーフロー値S10とする第1
のカウンタ21のカウント出力D2に間引き数nを乗算
し、回路ブロツク16に入力する入力信号S1、S2、
S3の1周期分の位相(360 °)をオーバーフロー値S
END とする第2のカウンタ22の出力D3を乗算結果に
加算し、加算結果を入力信号S1、S2、S3の1周期
分の位相(360 °)で除算した余りの値Pに基づいて回
路ブロツク16に入力する入力信号S1、S2、S3を
生成するようにする。
Further, in the present invention, the circuit block 16
The phase (360 °) for one cycle of the input signals S1, S2, S3 input to the input signal S1 is divided by the decimation number n of the input signals S1, S2, S3 to obtain the overflow value S10.
The count output D2 of the counter 21 is multiplied by the thinning-out number n, and the input signals S1 and S2 are input to the circuit block 16.
Overflow value S for the phase (360 °) of one cycle of S3
The output D3 of the second counter 22 to be END is added to the multiplication result, and the addition result is divided by the phase (360 °) of one cycle of the input signals S1, S2, and S3 to obtain a circuit block based on the remainder P. Input signals S1, S2, and S3 to be input to 16 are generated.

【0011】また本発明においては、所定のクロツク信
号CLKを入力してカウントアツプする第1のカウンタ
21と、第1のカウンタ21がオーバーフローしたとき
カウントアツプする第2のカウンタ22と、第1のカウ
ンタ21及び第2のカウンタ22から出力されるそれぞ
れのカウント結果D2、D3に基づいて順次変化する位
相データD4を生成する演算手段23と、位相データD
4に基づいて回路ブロツク16に入力する入力信号S
1、S2、S3を生成する入力信号生成手段13と、入
力信号S1、S2、S3を回路ブロツク16に入力する
ことによつて得られる回路ブロツク16の出力信号S
4、S5、S6を、入力信号S1、S2、S3に同期し
てサンプリングするサンプリング手段27とを備え、位
相データD4に基づいて回路ブロツク16から出力され
る出力信号S4、S5、S6のサンプリング点を変化さ
せるようにする。
Further, in the present invention, a first counter 21 which counts up by inputting a predetermined clock signal CLK, a second counter 22 which counts up when the first counter 21 overflows, and a first counter 21. Operation means 23 for generating phase data D4 that sequentially changes based on the respective count results D2, D3 output from the counter 21 and the second counter 22, and the phase data D
Input signal S to be input to the circuit block 16 based on 4
Input signal generating means 13 for generating 1, S2, S3, and an output signal S of the circuit block 16 obtained by inputting the input signals S1, S2, S3 into the circuit block 16.
Sampling means 27 for sampling 4, S5, S6 in synchronization with input signals S1, S2, S3, and sampling points of output signals S4, S5, S6 output from the circuit block 16 based on the phase data D4. To change.

【0012】[0012]

【作用】回路ブロツク16から出力される出力信号S
4、S5及びS6のサンプリング点を入力信号S1、S
2及びS3に同期させて変化させることにより、出力信
号S4、S5及びS6を一段と高分解能でサンプリング
することができる。
The output signal S output from the circuit block 16
4, S5 and S6 sampling points are input signals S1 and S
By changing in synchronization with 2 and S3, the output signals S4, S5, and S6 can be sampled with higher resolution.

【0013】[0013]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0014】図1において10は全体としてモータ駆動
用IC(被測定IC16)を測定する波形サンプリング
回路を示し、コンピユータ11からの入力指令をインタ
ーフエイス12を介してDA変換部13に入力する。D
A変換部13は入力指令に基づいて被測定IC16に入
力する信号を作成する回路であり、当該DA変換部13
において作成された入力信号を測定回路部14に送出す
る。測定回路部14はDA変換部13において作成され
た入力信号を所定のタイミングで被測定IC16の入力
端に入力する。
In FIG. 1, reference numeral 10 denotes a waveform sampling circuit for measuring the motor driving IC (IC 16 to be measured) as a whole, and an input command from the computer 11 is input to the DA converter 13 via the interface 12. D
The A converter 13 is a circuit that creates a signal to be input to the IC 16 to be measured based on an input command.
The input signal created in 1 is sent to the measurement circuit unit 14. The measurement circuit section 14 inputs the input signal created by the DA conversion section 13 to the input end of the IC 16 to be measured at a predetermined timing.

【0015】被測定IC16は当該入力端に入力された
入力信号に基づいて出力信号を出力端から出力し、これ
を測定回路部14に入力する。測定回路部14は被測定
IC16から出力された出力信号を所定のタイミングで
AD変換部15に送出する。
The IC 16 to be measured outputs an output signal from the output end based on the input signal input to the input end, and inputs the output signal to the measurement circuit section 14. The measurement circuit section 14 sends the output signal output from the IC 16 to be measured to the AD conversion section 15 at a predetermined timing.

【0016】AD変換部15は出力信号をAD変換する
と共にサンプリングした後、続くインターフエイス12
を介してコンピユータ11にこれを出力する。かくして
コンピユータ11においては被測定IC16の入力信号
に対する出力信号を測定することがてきる。
The AD converter 15 AD-converts the output signal and samples the output signal, and then continues the interface 12.
This is output to the computer 11 via. Thus, the computer 11 can measure the output signal with respect to the input signal of the IC 16 to be measured.

【0017】ここで当該波形サンプリング回路10の詳
細構成を図2に示す。すなわち図2はブラシレス3相両
方向モータの駆動用IC(被測定IC16)を測定する
波形サンプリング回路を示し、測定回路部14において
被測定IC16に入力する入力信号のタイミングを得る
ようになされている。この実施例の場合、1周期(360
°)を1°ごとに測定するようになされており、n°
(この実施例の場合3°)ごとに入力信号を間引いて被
測定IC16に入力するようになされている。
The detailed configuration of the waveform sampling circuit 10 is shown in FIG. That is, FIG. 2 shows a waveform sampling circuit for measuring the driving IC (IC 16 to be measured) of the brushless three-phase bidirectional motor, and the timing of the input signal input to the IC 16 to be measured is obtained in the measuring circuit section 14. In the case of this embodiment, one cycle (360
Is measured every 1 °, and n °
The input signal is thinned out every 3 ° in the case of this embodiment and input to the IC 16 to be measured.

【0018】すなわち所定のクロツク発生手段から得ら
れるクロツク信号CLKをラツチ回路25及び360/n進
カウンタ21に入力する。360/n進カウンタ21はクロ
ツク信号CLKが入力されると、これをカウントし、当
該カウント結果を9[bit] データD2で演算回路23に
出力する。
That is, the clock signal CLK obtained from a predetermined clock generating means is input to the latch circuit 25 and the 360 / n-adic counter 21. When the clock signal CLK is input, the 360 / n-ary counter 21 counts the clock signal CLK and outputs the count result to the arithmetic circuit 23 as 9-bit data D2.

【0019】また当該360/n進カウンタ21がオーバフ
ローすると、これに応じてサンプリングスタート信号S
10を360 進カウンタ22及び電圧サンプリング回路2
7に送出する。360 進カウンタ22は360/n進カウンタ
21からのサンプリングスタート信号S10をカウント
し、当該カウント結果を9[bit] データD3として演算
回路23に送出する。
When the 360 / n-ary counter 21 overflows, the sampling start signal S is generated accordingly.
10 to 360-adic counter 22 and voltage sampling circuit 2
Send to 7. The 360-adic counter 22 counts the sampling start signal S10 from the 360 / n-adic counter 21, and sends the count result to the arithmetic circuit 23 as 9 [bit] data D3.

【0020】演算回路23は360/n進カウンタ21のカ
ウント結果をA、360 進カウンタ22のカウント結果を
Bとして、次式
The arithmetic circuit 23 sets the count result of the 360 / n-ary counter 21 to A and the count result of the 360-ary counter 22 to B, and

【数1】 を演算処理する。ここで(1)式の「%」は割算の余り
を算出する演算を表し、(A×n+B)を360 で割つた
余りをPとする。
[Equation 1] Is calculated. Here, “%” in the equation (1) represents an operation for calculating the remainder of division, and the remainder obtained by dividing (A × n + B) by 360 is P.

【0021】この演算結果Pは被測定IC16に入力す
る入力信号を作成するための位相データD4(9[bit]
でなる)として続く位相変換回路24に送出される。
The calculation result P is phase data D4 (9 [bit]) for creating an input signal to be input to the IC 16 to be measured.
(Comprising)) is sent to the subsequent phase conversion circuit 24.

【0022】位相変換回路24は被測定IC16がブラ
シレス3相両方向モータ駆動用ICであることに応じ
て、それぞれ12[bit] でなり120 °位相のずれた3つの
入力信号データD5、D6及びD7をラツチ回路に送出
する。ラツチ回路25はクロツク信号CLKに基づいて
ラツチ動作し、入力信号データD5、D6及びD7を疑
似入力信号生成回路26に送出し、これをデイジタルア
ナログ変換する。
Since the IC 16 to be measured is a brushless 3-phase bidirectional motor driving IC, the phase conversion circuit 24 has three input signal data D5, D6 and D7 of 12 [bit] each and 120 ° out of phase. To the latch circuit. The latch circuit 25 performs a latch operation based on the clock signal CLK, sends the input signal data D5, D6 and D7 to the pseudo input signal generation circuit 26, and digital-analog converts the data.

【0023】疑似入力信号生成回路26においてアナロ
グ信号S1、S2及びS3に変換された入力信号は、そ
れぞれ被測定IC16の入力端UIN、VIN及びWINに入
力される。被測定IC16は入力端UIN、VIN及びWIN
に入力された入力信号S1、S2及びS3に応じた出力
信号S4、S5及びS6を出力端UOUT 、VOUT 及びW
OUT から続く電圧サンプリング回路27に出力する。
The input signals converted into the analog signals S1, S2 and S3 in the pseudo input signal generating circuit 26 are input to the input terminals U IN , V IN and W IN of the IC 16 to be measured, respectively. The IC 16 to be measured has input terminals U IN , V IN and W IN.
Output signals S4, S5 and S6 corresponding to the input signals S1, S2 and S3 input to the output terminals U OUT , V OUT and W
Output from OUT to the subsequent voltage sampling circuit 27.

【0024】電圧サンプリング回路27は360/n進カウ
ンタ21からのサンプリングスタート信号S10に基づ
いてサンプリング動作を開始し、被測定IC16から出
力される出力信号S4、S5及びS6をサンプリングす
る。このサンプリング動作は被測定IC16に入力され
る入力信号の位相に同期したタイミングで実行される。
The voltage sampling circuit 27 starts the sampling operation based on the sampling start signal S10 from the 360 / n-adic counter 21, and samples the output signals S4, S5 and S6 output from the IC 16 to be measured. This sampling operation is executed at a timing synchronized with the phase of the input signal input to the IC 16 to be measured.

【0025】かくして当該電圧サンプリング回路27に
おいてサンプリングされた出力信号S4、S5及びS6
がそれぞれ12[bit] の出力信号データD11、D12及
びD13としてデータメモリ28に出力され、格納され
る。
Thus, the output signals S4, S5 and S6 sampled by the voltage sampling circuit 27.
Are output to and stored in the data memory 28 as 12 [bit] output signal data D11, D12, and D13, respectively.

【0026】以上の構成において、被測定IC16に対
して図3に示すような正弦波信号を与えた際に、当該被
測定IC16から同様の正弦波信号が出力される場合に
ついて説明する。すなわち被測定IC16に対する入力
信号は演算回路23からの位相データD4に基づいて位
相0°、3°、6°……のタイミングで間引き生成さ
れ、被測定IC16に入力される。
A description will be given of a case in which a similar sine wave signal is output from the IC 16 to be measured when a sine wave signal as shown in FIG. That is, the input signal to the IC 16 to be measured is thinned and generated at the timing of the phases 0 °, 3 °, 6 ° ... Based on the phase data D4 from the arithmetic circuit 23, and is input to the IC 16 to be measured.

【0027】被測定IC16は当該入力信号に応じた出
力信号を電圧サンプリング回路27に送出する。電圧サ
ンプリング回路27は360/n進カウンタ21がオーバフ
ローした際にサンプリング動作を実行する。従つて図4
(A)に示すように、被測定IC16に入力される位相
0°、3°、6°……ごとの信号が1周期(360 °)経
過した時点(すなわち位相360 °( =位相0°))の出
力信号が電圧サンプリング回路27においてサンプリン
グされ、データメモリ28に格納される。
The IC 16 to be measured sends an output signal corresponding to the input signal to the voltage sampling circuit 27. The voltage sampling circuit 27 executes a sampling operation when the 360 / n-ary counter 21 overflows. Therefore, Figure 4
As shown in (A), when one cycle (360 °) of the signal of each phase 0 °, 3 °, 6 ° input to the IC 16 to be measured has passed (that is, phase 360 ° (= phase 0 °) 2) is sampled by the voltage sampling circuit 27 and stored in the data memory 28.

【0028】このとき360/n進カウンタ21からのサン
プリングスタート信号S10によつて360 進カウンタ2
2がカウントアツプすることにより、演算回路23にお
ける演算結果Pが変化し、被測定IC16に入力する入
力信号は図4(B)に示すように位相1°、4°、7°
……のデータが入力される。この入力信号が1周期経過
したとき360/n進カウンタ21からのサンプリングスタ
ート信号S10が電圧サンプリング回路27に入力され
ることにより、当該1周期経過後の位相361 °(すなわ
ち位相1°)の出力信号のデータがサンプリングされ、
データメモリ28に格納される。
At this time, the 360 / n-ary counter 2 receives the sampling start signal S10 from the 360 / n-ary counter 21.
2 counts up, the calculation result P in the calculation circuit 23 changes, and the input signal input to the IC 16 to be measured has phases 1 °, 4 °, and 7 ° as shown in FIG. 4B.
... data is entered. When this input signal has passed one cycle, the sampling start signal S10 from the 360 / n-adic counter 21 is input to the voltage sampling circuit 27, so that the phase 361 ° (that is, phase 1 °) is output after the one period has passed. The signal data is sampled,
It is stored in the data memory 28.

【0029】このようにして、順次位相0°、1°、2
°……のように位相1°ごとの出力信号のデータがデー
タメモリ28に格納されることにより、当該データメモ
リ28には位相0°〜360 °のデータが1°ごとに格納
され、1周期分のすべてのデータが格納されたとき360
進カウンタ22がオーバフローすることにより、当該処
理を終了する終了指令信号SEND が出力され、サンプリ
ング処理を終了する。
In this way, the phases are sequentially 0 °, 1 °, 2
The data of the output signal for each phase 1 ° is stored in the data memory 28 as in ° ..., so that the data memory 28 stores the data of the phase 0 ° to 360 ° for each 1 °. When all data for a minute is stored 360
When the advance counter 22 overflows, the end command signal S END for ending the process is output, and the sampling process is ended.

【0030】このようにサンプリング点を順次切り換え
ることにより、疑似入力信号生成回路26のデイジタル
アナログ変換回路及び電圧サンプリング回路27のアナ
ログデイジタル変換回路の処理速度に応じて位相3°ご
とに入力信号を間引く必要がある場合においても、位相
1°ごとの出力信号のデータを得ることができる。
By sequentially switching the sampling points in this way, the input signal is thinned out every 3 ° phase in accordance with the processing speed of the digital analog conversion circuit of the pseudo input signal generation circuit 26 and the analog digital conversion circuit of the voltage sampling circuit 27. Even when it is necessary, the data of the output signal can be obtained for each phase of 1 °.

【0031】従つて被測定IC16に入力する信号の周
波数が高い場合においても、デイジタルアナログ変換回
路及びアナログデイジタル変換回路等の信号処理系を高
速化することなく、出力信号のサンプリングを高い分解
能で行うことができる。
Therefore, even when the frequency of the signal input to the IC 16 to be measured is high, the output signal is sampled with high resolution without increasing the speed of the signal processing system such as the digital analog conversion circuit and the analog digital conversion circuit. be able to.

【0032】以上の構成によれば、被測定IC16に入
力する入力信号に同期させてサンプリングを行うと共
に、当該入力信号及びサンプリング点をずらすようにし
たことにより、入力信号を所定位相分だけ間引いて被測
定IC16に入力する場合でも高い分解能で出力信号の
データを得ることができる。
According to the above configuration, sampling is performed in synchronization with the input signal input to the IC 16 to be measured, and the input signal and the sampling point are shifted so that the input signal is thinned by a predetermined phase. Even when inputting to the IC to be measured 16, the data of the output signal can be obtained with high resolution.

【0033】従つてデイジタルアナログ変換回路及びア
ナログデイジタル変換回路等の信号処理系として処理速
度の速い回路を用いることなく簡易な回路構成で周波数
の高い信号を正確にサンプリングすることができる。ま
た測定回路部14をソフトウエアによつて構成すること
ができる。
Therefore, it is possible to accurately sample a high frequency signal with a simple circuit configuration without using a circuit having a high processing speed as a signal processing system such as a digital analog conversion circuit and an analog digital conversion circuit. Further, the measurement circuit unit 14 can be configured by software.

【0034】なお上述の実施例においては、被測定IC
16に入力する入力信号を位相3°ごとに間引いた場合
について述べたが、本発明はこれに限らず、種々の位相
ごとに間引くようにすることができる。この場合、360/
n進カウンタ21の間引き数nを変更するようにすれば
良い。
In the above embodiment, the IC to be measured is
Although the case where the input signal input to 16 is thinned out every 3 ° of phase has been described, the present invention is not limited to this, and it is possible to thin out every various phases. In this case 360 /
The decimation number n of the n-ary counter 21 may be changed.

【0035】また上述の実施例においては、被測定IC
16としてブラシレス3相両方向モータを駆動するIC
を測定する場合について述べたが、本発明はこれに限ら
ず、種々のICを測定する場合、さらには他の種々の回
路ブロツクの出力波形をサンプリングする場合に広く適
用することができる。
In the above embodiment, the IC to be measured is
16 is an IC for driving a brushless three-phase bidirectional motor
Although the present invention has been described above, the present invention is not limited to this, and can be widely applied to the case of measuring various ICs, and further to the case of sampling the output waveforms of other various circuit blocks.

【0036】[0036]

【発明の効果】上述のように本発明によれば、周期波形
を入出力する回路ブロツクの出力波形をサンプリングす
る際に、入力信号に同期させて出力波形のサンプリング
点をずらすようにしたことにより、一段と分解能の高い
正確なサンプリング波形を得ることができる波形サンプ
リング回路を実現できる。
As described above, according to the present invention, when sampling the output waveform of the circuit block which inputs / outputs the periodic waveform, the sampling point of the output waveform is shifted in synchronization with the input signal. Thus, it is possible to realize a waveform sampling circuit that can obtain an accurate sampling waveform with a higher resolution.

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

【図1】本発明による波形サンプリング回路を用いた測
定装置の一実施例を示すブロツク図である。
FIG. 1 is a block diagram showing an embodiment of a measuring apparatus using a waveform sampling circuit according to the present invention.

【図2】本発明による波形サンプリング回路の詳細構成
を示すブロツク図である。
FIG. 2 is a block diagram showing a detailed configuration of a waveform sampling circuit according to the present invention.

【図3】被測定ICに入力する信号波形を示す信号波形
図である。
FIG. 3 is a signal waveform diagram showing a signal waveform input to an IC to be measured.

【図4】被測定ICの出力波形をサンプリングする際の
説明に供する信号波形図である。
FIG. 4 is a signal waveform diagram provided for explanation when sampling an output waveform of an IC to be measured.

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

10……波形サンプリング回路、11……コンピユー
タ、13……DA変換部、14……測定回路部、15…
…AD変換部、16……被測定IC、21……360/n進
カウンタ、22……360 進カウンタ、23……演算回
路、27……電圧サンプリング回路、28……データメ
モリ、S10……サンプリングスタート信号、D4……
位相データ。
10 ... Waveform sampling circuit, 11 ... Computer, 13 ... DA conversion section, 14 ... Measurement circuit section, 15 ...
AD converter, 16 ... IC to be measured, 21 ... 360 / n-ary counter, 22 ... 360-ary counter, 23 ... Arithmetic circuit, 27 ... Voltage sampling circuit, 28 ... Data memory, S10 ... Sampling start signal, D4 ...
Phase data.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】周期波形を入出力する回路ブロツクの出力
信号をサンプリングする波形サンプリング回路におい
て、 上記回路ブロツクに入力する入力信号が目標とする入力
波形に対応した値となる位相に同期して上記回路ブロツ
クから出力される上記出力信号をサンプリングすると共
に、上記入力信号が目標とする入力波形に対応した値と
なる位相と異なる位相において上記入力信号が目標とす
る入力波形に対応した値となるように上記入力信号を変
化させ、当該変化に応じて上記出力信号のサンプリング
点を変化させるようにしたことを特徴とする波形サンプ
リング回路。
1. A waveform sampling circuit for sampling an output signal of a circuit block for inputting / outputting a periodic waveform, wherein the input signal input to the circuit block is synchronized with a phase having a value corresponding to a target input waveform. The output signal output from the circuit block is sampled, and the input signal has a value corresponding to the target input waveform at a phase different from the phase at which the input signal has a value corresponding to the target input waveform. A waveform sampling circuit, characterized in that the input signal is changed to, and the sampling point of the output signal is changed according to the change.
【請求項2】上記回路ブロツクに入力する入力信号の1
周期分の位相を上記入力信号の間引き数で除算してなる
結果をオーバーフロー値とする第1のカウンタのカウン
ト出力に上記間引き数を乗算し、 上記回路ブロツクに入力する入力信号の1周期分の位相
をオーバーフロー値とする第2のカウンタの出力を上記
乗算結果に加算し、 上記加算結果を上記入力信号の1周期分の位相で除算し
た余りの値に基づいて上記回路ブロツクに入力する上記
入力信号を生成するようにしたことを特徴とする請求項
1に記載の波形サンプリング回路。
2. One of the input signals input to the circuit block.
The count output of the first counter, whose overflow value is the result of dividing the phase of the cycle by the decimation number of the input signal, is multiplied by the decimation number, and the one cycle of the input signal input to the circuit block is multiplied. The input that adds the output of the second counter whose phase is the overflow value to the multiplication result, and inputs the addition result to the circuit block based on the remainder value obtained by dividing the addition result by the phase of one cycle of the input signal. The waveform sampling circuit according to claim 1, wherein the waveform sampling circuit is configured to generate a signal.
【請求項3】所定のクロツク信号を入力してカウントア
ツプする上記第1のカウンタと、 上記第1のカウンタがオーバーフローしたときカウント
アツプする上記第2のカウンタと、 上記第1のカウンタ及び上記第2のカウンタから出力さ
れるそれぞれのカウント結果に基づいて順次変化する位
相データを生成する演算手段と、 上記位相データに基づいて上記回路ブロツクに入力する
上記入力信号を生成する入力信号生成手段と、 上記入力信号を上記回路ブロツクに入力することによつ
て得られる上記回路ブロツクの出力信号を、上記入力信
号に同期してサンプリングするサンプリング手段とを具
え、上記位相データに基づいて上記回路ブロツクから出
力される上記出力信号のサンプリング点を変化させるよ
うにしたことを特徴とする請求項1に記載の波形サンプ
リング回路。
3. A first counter which counts up by inputting a predetermined clock signal, a second counter which counts up when the first counter overflows, a first counter and a first counter. Arithmetic means for generating phase data that sequentially changes based on the respective count results output from the second counter; input signal generation means for generating the input signal to be input to the circuit block based on the phase data; An output signal of the circuit block obtained by inputting the input signal to the circuit block; and sampling means for sampling in synchronization with the input signal, and outputting from the circuit block based on the phase data. The sampling point of the output signal to be changed is changed. The waveform sampling circuit according to 1.
JP22482292A 1992-07-31 1992-07-31 Waveform sampling circuit Pending JPH0653831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22482292A JPH0653831A (en) 1992-07-31 1992-07-31 Waveform sampling circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22482292A JPH0653831A (en) 1992-07-31 1992-07-31 Waveform sampling circuit

Publications (1)

Publication Number Publication Date
JPH0653831A true JPH0653831A (en) 1994-02-25

Family

ID=16819745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22482292A Pending JPH0653831A (en) 1992-07-31 1992-07-31 Waveform sampling circuit

Country Status (1)

Country Link
JP (1) JPH0653831A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018036881A (en) * 2016-08-31 2018-03-08 ファナック株式会社 High-speed conversion device, measurement system, and high-speed conversion program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018036881A (en) * 2016-08-31 2018-03-08 ファナック株式会社 High-speed conversion device, measurement system, and high-speed conversion program

Similar Documents

Publication Publication Date Title
JP2005195585A (en) High resolution synthesizer with improved signal purity
JPH04230868A (en) Ac data detector
JP4135132B2 (en) PWM controller
JPH0653831A (en) Waveform sampling circuit
JPH0915273A (en) Measuring method for fundamental frequency and measuring device
JPH09318678A (en) Alternating current measuring method and device
JPH10160507A (en) Peak detecting device
JPH0645936A (en) Analog/digital conversion system
JPH11259454A (en) Fourier transformation device
JP2002090393A (en) Input circuit for measuring instrument
JPS63131726A (en) A/d converter testing device
JPH0974787A (en) Detection method for current of ac motor
JP3171466B2 (en) Vector voltage ratio measuring method and vector voltage ratio measuring device
JP2002214260A (en) Harmonic analyzer
JPH0621026Y2 (en) Signal waveform display device
CN113341221A (en) Whole-period sampling circuit and whole-period sampling method in harmonic analysis
JPH0725716Y2 (en) FFT analyzer
JPH0798336A (en) Sampling type measuring device
JPH0338926A (en) Multi-point measuring equipment
JPH09265504A (en) Resolver/digital signal output method
JP2005012882A (en) Method and system for real time simulation
JPH11337597A (en) Measuring device
JPH11206173A (en) Phase detection method of synchronous motor
JPH0746856A (en) Digital pwm circuit
EP0951134A1 (en) Direct processing circuit for unifying the processing of analog and digital signals in control and monitoring circuits, particularly in AC electric drives