JPH0422480Y2 - - Google Patents
Info
- Publication number
- JPH0422480Y2 JPH0422480Y2 JP516487U JP516487U JPH0422480Y2 JP H0422480 Y2 JPH0422480 Y2 JP H0422480Y2 JP 516487 U JP516487 U JP 516487U JP 516487 U JP516487 U JP 516487U JP H0422480 Y2 JPH0422480 Y2 JP H0422480Y2
- Authority
- JP
- Japan
- Prior art keywords
- data
- counter
- period
- binary counter
- 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.)
- Expired
Links
- 238000005070 sampling Methods 0.000 claims description 22
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【考案の詳細な説明】
[産業上の利用分野]
本考案はデジタルデータのサンプリング回路に
関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a digital data sampling circuit.
[従来の技術]
最近のオーデイオ機器では、デジタル技術の導
入に伴い、次のような装置が実用化されている。[Background Art] With the introduction of digital technology in recent audio equipment, the following devices have been put into practical use.
オーデイオ信号をサンプリングしてデジタルデ
ータに変換した後、特殊な信号処理をして光学式
デイスクまたは磁気テープ上に記録し、そして、
これらの情報記録媒体から記録されたデジタルデ
ータを読み取り、上記と逆の信号処理をした後、
デジタル−アナログ変換して、元のオーデイオ信
号に復元するようにしたものである。 After sampling the audio signal and converting it to digital data, it is recorded on optical disk or magnetic tape with special signal processing, and then
After reading the digital data recorded from these information recording media and performing the signal processing opposite to the above,
It performs digital-to-analog conversion to restore the original audio signal.
上記デジタルデータは、各デジタルデータDk
のシリアルデータ
……DkDk-1Dk-2……D1D0……
として与えられ、そして、ワードクロツクに同期
して一つのデータを構成している。このデータは
原オーデイオ信号のアナログ値に対応する。 The above digital data is each digital data Dk
Serial data is given as ……D k D k-1 D k-2 ……D 1 D 0 …… and constitutes one data in synchronization with the word clock. This data corresponds to the analog value of the original audio signal.
このようなオーデイオ機器において、たとえ
ば、オーデイオ信号のピーク値を表示しようとす
る場合、このピーク値を上記データから直接検出
することが行われる。 In such audio equipment, for example, when the peak value of an audio signal is to be displayed, this peak value is directly detected from the data.
上記データは、第4図に示すように、原オーデ
イオ信号を周期Tでサンプリングしたもので有る
が、データ処理時間との関係から実用的でないの
で、従来は、データ群を上記サンプリング周期T
のN倍の周期NT(N≧2)でサンプリングし、
サンプリングされたデータからそのピーク値を検
出している。 As shown in FIG. 4, the above data is obtained by sampling the original audio signal at a period T, but since this is not practical due to the relationship with the data processing time, conventionally, data groups have been sampled at the sampling period T.
Sampling is performed at a period NT (N≧2) that is N times larger than
The peak value is detected from the sampled data.
[考案が解決しようとする問題点]
従来の技術では、Nが一定であるので、第4図
(破線)に示すように、上記原オーデイオ信号の
周期が2NTより小さい場合、サンプリング定理
により正確なピーク値を検出することができな
い。[Problem to be solved by the invention] In the conventional technology, since N is constant, if the period of the original audio signal is less than 2NT, as shown in Figure 4 (dashed line), the sampling theorem allows accurate measurement. Unable to detect peak value.
[問題点を解決するための手段]
本考案は、原信号の周期に対応して、上記Nの
値を
N0+n0(n0=0,1……)
ただし、N0は原信号の最少の週期によつて定
める。[Means for solving the problem] In the present invention, the value of N described above is N 0 +n 0 (n 0 =0, 1...) corresponding to the period of the original signal, where N 0 is the period of the original signal. Determined by the minimum weekly period.
のように可変するものであつて、
ワードクロツクに同期して一つのデータが構成
されたシリアルデータが順次入力されるシフトレ
ジスタ1と、
当該シフトレジスタ1から順次出力されるデー
タを上記ワードクロツクに同期したラツチイネー
ブル信号によつてラツチするラツチ回路2と、
を具備し、
上記ラツチイネーブル信号の周期を変化させる
ようにした、
ものである。A shift register 1 which is variable as shown in FIG. The latch circuit 2 is provided with a latch circuit 2 that latches in response to a latch enable signal, and the period of the latch enable signal is changed.
そして、ラツチイネーブル信号の周期を変化さ
せる手段としては、
予めプリセツトされた内容を初期値として上記
ワードクロツクをカウントする2進カウンタ4を
具備し、
当該2進カウンタ4に予めプリセツトされる内
容を変化させる、
ものである。 The means for changing the period of the latch enable signal includes a binary counter 4 that counts the word clock with preset contents as an initial value, and changes the contents preset in the binary counter 4. , is something.
[作用] 以上の構成において、その作用を説明する。[Effect] In the above configuration, its operation will be explained.
簡単なために、BCDカウンタ3および2進カ
ウンタ4が4ビツトのカウンタで構成されている
実施例に対応させて説明する。 For the sake of simplicity, the explanation will be made with reference to an embodiment in which the BCD counter 3 and the binary counter 4 are constituted by 4-bit counters.
(1) 初期状態において、BCDカウンタ3の内容
[QHQGQFQE〕が、
[0000]
であり、2進カウンタ4の内容[QDQCQBQA]
が、
[0000]
とする。(1) In the initial state, the content of BCD counter 3 [Q H Q G Q F Q E ] is [0000], and the content of binary counter 4 [Q D Q C Q B Q A ]
is [0000].
この状態では、2進カウンタ4の出力[QD]
[QC]のAND出力X(=QD・QC)は[0]であ
るから、BCDカウンタ3は上記の初期状態を
保持する。 In this state, the output of binary counter 4 [Q D ]
Since the AND output X (=Q D ·Q C ) of [Q C ] is [0], the BCD counter 3 maintains the above initial state.
(2) 2進カウンタ4は初期値[0000]からワード
クロツクWCLKを16個カウントして、そのカ
ウント値がフルカウント
[1111]
になつた時点でリツプルキヤリーアウト信号
RCOが出力し、それと同時に、上記AND出力
X(=QD・QC)が[1]となる。(2) Binary counter 4 counts 16 word clock WCLKs from the initial value [0000], and when the count value reaches the full count [1111], it issues a ripple carry-out signal.
RCO outputs, and at the same time, the AND output X (=Q D · Q C ) becomes [1].
BCDカウンタ3はこのAND出力Xとカウン
トして、その内容は
[0001]
となる。 The BCD counter 3 counts this AND output X, and the content becomes [0001].
このBCDカウンタ3の内容[0001]は、上
記リツプルキヤリーアウト信号RCO(の立ち下
がり)によつて、2進カウンタ4にプリセツト
される。 The content [0001] of this BCD counter 3 is preset into the binary counter 4 by (the falling edge of) the ripple carry-out signal RCO.
一方、上記リツプルキヤリーアウト信号
RCOとワードクロツクWCLKを反転した信号
とのAND出力がラツチイネーブル信号LEとし
て上記ラツチ回路2に入力される。 Meanwhile, the above ripple carry out signal
The AND output of RCO and a signal obtained by inverting the word clock WCLK is input to the latch circuit 2 as the latch enable signal LE.
これによつて、シフトレジスタ1から順次出
力されるデータのうち、16個目のデータがラツ
チ回路2によつてラツチされ、出力される。 As a result, among the data sequentially output from the shift register 1, the 16th data is latched by the latch circuit 2 and output.
これは、サンプリング周期Tの16倍の周期
16Tでサンプリングしたことになる。 This is a period 16 times the sampling period T.
This means that it was sampled at 16T.
(3) 2進カウンタ4は新たにプリセツトされた内
容
[0001]
を初期値としてカウントを開始し、ワードクロ
ツクWCLKを15個カウントした時点で、上記
と同様にして、BCDカウンタ3の内容は
[0001]
となる。(3) Binary counter 4 starts counting with the newly preset content [0001] as the initial value, and when 15 word clocks WCLK have been counted, the content of BCD counter 3 becomes [0001] in the same manner as above. ] becomes.
このBCDカウンタ3の内容[0010]は、2
進カウンタ4にプリセツトされる。 The content [0010] of this BCD counter 3 is 2
It is preset in advance counter 4.
一方、同様にして、ラツチイネーブル信号
LEが創成され、これによつて、シフトレジス
タ1から順次出力されるデータのうち、15個目
のデータがラツチ回路2によつてラツチされ、
出力される。 On the other hand, similarly, the latch enable signal
LE is created, and the 15th data among the data sequentially output from the shift register 1 is latched by the latch circuit 2.
Output.
これは、サンプリング周期Tの15倍の周期
16Tでサンプリングしたことになる。 This is a period 15 times the sampling period T.
This means that it was sampled at 16T.
(4) 以下、同様にして、BCDカウンタ3の内容
[QHQGQFQE]が、第2図に示すように、
[0111]
になると、この内容[0111]が2進カウンタ4
にプリセツトされる。(4) Similarly, when the content [Q H Q G Q F Q E ] of the BCD counter 3 becomes [0111] as shown in Figure 2, this content [0111] is changed to the binary counter 4.
Preset to .
2進カウンタ4はこの内容
[0111]
を初期値としてカウントを開始し、ワードクロ
ツクWCLKを9個カウントし時点で、同様に
して、BCDカウンタ3の内容は、
[1000]
となり、この内容は2進カウンタ4にプリセツ
トされる。 Binary counter 4 starts counting with this content [0111] as the initial value, and when it counts 9 word clock WCLKs, the content of BCD counter 3 becomes [1000] in the same way, and this content becomes binary. The counter 4 is preset.
一方、同様にして、ラツチイネーブル信号
LEが創成され、これが上記ラツチ回路2に入
力される。 On the other hand, similarly, the latch enable signal
LE is created and input to the latch circuit 2 described above.
これによつて、シフトレジスタ1から順次出
力されるデータのうち、9個目のデータがラツ
チ回路2によつてラツチされ、出力される。 As a result, of the data sequentially output from the shift register 1, the ninth data is latched by the latch circuit 2 and output.
これは、サンプリング周期Tの9倍の周期
9Tでサンプリングしたことになる。 This is a period 9 times the sampling period T.
This means that it was sampled at 9T.
以下、同様にして、2進カウンタ4は新たに
プリセツトされた内容
[1000]
を初期値としてカウントを開始し、ワードクロ
ツクWCLKを8個カウントし時点で、ラツチ
イネーブル信号LEが創成され、これによつて、
シフトレジスタ1から順次出力されるデータの
うち、8個目のデータがラツチ回路2によつて
ラツチされ、出力される。 Thereafter, in the same way, the binary counter 4 starts counting with the newly preset content [1000] as the initial value, and when the word clock WCLK has been counted 8 times, the latch enable signal LE is generated. Then,
Of the data sequentially output from the shift register 1, the eighth data is latched by the latch circuit 2 and output.
これは、サンプリング周期Tの8倍の周期
8Tでサンプリングしたことになる。 This is a period eight times the sampling period T.
This means that it was sampled at 8T.
(5) そして、BCDカウンタ3の内容が
[1000]
から、
[1001]
となり、それにともなつて、2進カウンタ4の
内容も、
[1000]
から、
[1001]
となる。(5) Then, the content of the BCD counter 3 changes from [1000] to [1001], and accordingly, the content of the binary counter 4 also changes from [1000] to [1001].
2進カウンタ4はその内容
[1001]
を初期値としてカウントを開始し、ワードクロ
ツクWCLKを7個カウントし時点で、ラツチ
イネーブル信号LEが創成され、これによつて、
シフトレジスタ1から順次出力されるデータの
うち、7個目のデータがラツチ回路2によつて
ラツチされ、出力される。 The binary counter 4 starts counting with its content [1001] as the initial value, and when it counts 7 word clocks WCLK, the latch enable signal LE is generated.
Of the data sequentially output from the shift register 1, the seventh data is latched by the latch circuit 2 and output.
これは、サンプリング周期Tの7倍の周期
7Tでサンプリングしたことになる。 This is a period that is 7 times the sampling period T.
This means that it was sampled on 7T.
一方、この時点で、BCDカウンタ3の内容は
フルカウント値になるから、リセツトされて、(1)
の初期状態に戻る。 On the other hand, at this point, the content of BCD counter 3 becomes the full count value, so it is reset and (1)
Return to the initial state.
以下、同様の動作を繰り返す。 Thereafter, the same operation is repeated.
要約すると、BCDカウンタ3の内容[QHQGQF
QE]は、初期状態
[0000]
から、
[0001]
[0010]
:
[1000]
[1001]
のように変化し、それに伴なつて、2進カウンタ
4の内容[QDQCQBQA]も、
[0000]
から、
[0001]
[0010]
:
[1000]
[1001]
のように変化する。 To summarize, the contents of BCD counter 3 [Q H Q G Q F
Q E ] changes from the initial state [0000] to [0001] [0010] : [1000] [1001], and the contents of binary counter 4 change accordingly [Q D Q C Q B Q A ] also changes from [0000] to [0001] [0010] : [1000] [1001].
したがつて、2進カウンタ4はこれらの内容を
初期値としてカウント動作を繰り返すから、その
カウント数は、
16,15,14……8,7
のように減少していく。 Therefore, since the binary counter 4 repeats the counting operation using these contents as initial values, the counted number decreases as 16, 15, 14, . . . 8, 7.
これは、サンプリング周期Tの 16倍,15倍……8倍,7倍 の周期、すなわち、 16T,15T,14T……8T,7T でサンプリングしたことになる。 This means that the sampling period T 16x, 15x...8x, 7x period, i.e., 16T, 15T, 14T...8T, 7T This means that it was sampled.
第3図は、このようなサンプリング動作を示す
動作説明図である。 FIG. 3 is an operation explanatory diagram showing such a sampling operation.
[実施例]
第1図は本考案のサンプリング回路の一実施例
の構成を示すもので、本実施例では、上記Nの値
が、
7(N0)+n0(n0=0,1……9)
すなわち、
16,15,14……8,7
の9段階に変化するように構成されている。[Embodiment] FIG. 1 shows the configuration of an embodiment of the sampling circuit of the present invention. In this embodiment, the value of N is 7(N 0 )+n 0 (n 0 =0, 1... ...9) In other words, it is configured to change in nine stages: 16, 15, 14...8, 7.
第2図は同、各部の信号波形図、第3図は同、
動作説明図である。 Figure 2 is the same, signal waveform diagram of each part, Figure 3 is the same,
It is an operation explanatory diagram.
1はシフトレジスタで、データ入力1aからシ
リアルデータ(第2図b)
……DkDk-1Dk-2……D1D0……
がビツトクロツク(第2図a)に同期して順次入
力されている。 1 is a shift register in which serial data (Fig. 2b) from data input 1a...D k D k-1 D k-2 ...D 1 D 0 ... is synchronized with the bit clock (Fig. 2 a). They are entered sequentially.
このシリアルデータはワードクロツクWCLK
(第2図c)に同期して一つのデータを構成して
いる。このデータは原信号のアナログ値に対応す
る。 This serial data is the word clock WCLK.
(Fig. 2c) and constitutes one data. This data corresponds to the analog value of the original signal.
2はシフトレジスタ1から順次出力される出力
データをラツチイネーブル信号LE(第2図e)に
同期してラツチすることにより、上記データを9
段階のNの値でサンプリングして出力するラツチ
回路である。すなわち、ラツチイネーブル信号
LEの周期が
16T,15T……8T,7T
ただし、T:サンプリング周期
の9段階に変化するようにしてある。 2 latches the output data sequentially output from the shift register 1 in synchronization with the latch enable signal LE (Fig. 2 e), thereby converting the above data into 9
This is a latch circuit that samples and outputs the value of N in stages. That is, the latch enable signal
The period of LE is 16T, 15T...8T, 7T. However, T: sampling period is changed in 9 steps.
このラツチイネーブル信号LEは、上記ワード
クロツクWCLKを基準にして動作する2進化10
進(BCD)カウンタ3(BCD−binary−coded
desimal)および2進カウンタ4によつて創成さ
れる。 This latch enable signal LE is a binary 10 clock that operates based on the word clock WCLK.
Binary (BCD) counter 3 (BCD-binary-coded
(desimal) and binary counter 4.
上記2進カウンタ4は、セツトされた初期値か
らワードクロツクWCLKをカウントして、カウ
ント出力
[QDQCQBQA]
を出力する。 The binary counter 4 counts the word clock WCLK from the set initial value and outputs a count output [Q D Q C Q B Q A ].
この2進カウンタ4の出力[QD][QC]は第1
のAND回路5にそれぞれ入力され、そのAND出
力X(=QD・QC)(第2図f)が上記BCDカウン
タ3のクロツク入力に入力される。 The output [Q D ] [Q C ] of this binary counter 4 is the first
The AND outputs X (=Q D ·Q C ) (FIG. 2f) are input to the clock input of the BCD counter 3.
このBCDカウンタ3は上記第1のAND出力X
をカウントして、カウント出力
[QHQGQFQE]
を出力し、その出力は上記2進カウンタ4の入力
A,B,C,Dにそれぞれ入力される。 This BCD counter 3 is the first AND output
, and outputs a count output [Q H Q G Q F Q E ], which is input to inputs A, B, C, and D of the binary counter 4, respectively.
2進カウンタ4は、そのカウント値がフルカウ
ントになつた時点でリツプルキヤリーアウト信号
RCOを出力し、これによつて、上記カウント出
力
[QHQGQFQE]
がプリセツトされる。 The binary counter 4 outputs a ripple carry-out signal when its count value reaches a full count.
RCO is output, which presets the count output [Q H Q G Q F Q E ].
2進カウンタ4は、その内容[QHQGQFQE]を
初期値として、ワードクロツクWCLKをカウン
トしてフルカウント値になつた時点で、上記と同
様にして、上記BCDカウンタ3のカウント出力
がプリセツトされ、以下、同様の動作を繰り返
す。 The binary counter 4 counts the word clock WCLK using its contents [Q H Q G Q F Q E ] as an initial value, and when it reaches the full count value, it outputs the count from the BCD counter 3 in the same way as above. is preset, and the same operation is repeated thereafter.
一方、ワードクロツクWCLKはインバータ回
路6によつて反転されて後、リツプルキヤリーア
ウト信号RCOとともに第2のAND回路7にそれ
ぞれ入力される。この第2のAND回路7のAND
出力がラツチイネーブル信号LEとして上記ラツ
チ回路2に入力される。 On the other hand, word clock WCLK is inverted by inverter circuit 6 and then input to second AND circuit 7 together with ripple carry-out signal RCO. AND of this second AND circuit 7
The output is input to the latch circuit 2 as the latch enable signal LE.
[考案の効果]
本考案は、データを原信号のサンプリング周期
TのN倍の周期NT(N≧2)でサンプリングす
るようにした構成において、上記原信号の周期に
対応して、上記Nの値を可変するようにしたの
で、原信号の周期変化に対しても正確なサンプリ
ングができる、効果がある。[Effect of the invention] The present invention has a configuration in which data is sampled at a period NT (N≧2) that is N times the sampling period T of the original signal, and the above N is Since the value is made variable, accurate sampling can be performed even with periodic changes in the original signal, which is effective.
第1図は本考案のサンプリング回路の一実施例
の構成を示す図、第2図および第3図は同、各部
の信号波形図および動作説明図、第4図は従来の
サンプリング方式の構成を示す図である。
1……シフトレジスタ、2……ラツチ回路、3
……BCDカウンタ、4……2進カウンタ、5,
7……第1、第2のAND回路、6……インバー
タ回路。
FIG. 1 is a diagram showing the configuration of an embodiment of the sampling circuit of the present invention, FIGS. 2 and 3 are signal waveform diagrams and operation explanations of each part, and FIG. 4 is a diagram showing the configuration of a conventional sampling system. FIG. 1...Shift register, 2...Latch circuit, 3
... BCD counter, 4 ... Binary counter, 5,
7...First and second AND circuits, 6...Inverter circuit.
Claims (1)
成されたシリアルデータが順次入力されるシフ
トレジスタ1と、当該シフトレジスタ1から順
次出力されるデータを上記ワードクロツクに同
期したラツチイネーブル信号によつてラツチす
るラツチ回路2とを具備し、上記ラツチイネー
ブル信号の周期を変化させるようにしたことを
特徴とするサンプリング回路。 2 予めプリセツトされた内容を初期値として上
記ワードクロツクをカウントする2進カウンタ
4を具備し、当該2進カウンタ4に予めプリセ
ツトされる内容を変化させることを特徴とする
実用新案登録請求の範囲第1項記載のサンプリ
ング回路。[Claims for Utility Model Registration] 1. A shift register 1 into which serial data consisting of one piece of data is sequentially input in synchronization with a word clock, and a latch in which data sequentially output from the shift register 1 is synchronized with the word clock. 1. A sampling circuit comprising a latch circuit 2 that latches in response to an enable signal, the sampling circuit comprising: a latch circuit 2 that latches in response to an enable signal, and the period of the latch enable signal is varied. 2. Utility model registration claim 1, comprising a binary counter 4 that counts the word clock using preset contents as an initial value, and the contents preset in the binary counter 4 are changed. Sampling circuit described in section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP516487U JPH0422480Y2 (en) | 1987-01-17 | 1987-01-17 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP516487U JPH0422480Y2 (en) | 1987-01-17 | 1987-01-17 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63113300U JPS63113300U (en) | 1988-07-21 |
| JPH0422480Y2 true JPH0422480Y2 (en) | 1992-05-22 |
Family
ID=30786495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP516487U Expired JPH0422480Y2 (en) | 1987-01-17 | 1987-01-17 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0422480Y2 (en) |
-
1987
- 1987-01-17 JP JP516487U patent/JPH0422480Y2/ja not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63113300U (en) | 1988-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO1985004487A1 (en) | Counting apparatus and method for frequency sampling | |
| JPH0422480Y2 (en) | ||
| US4453157A (en) | Bi-phase space code data signal reproducing circuit | |
| US3678468A (en) | Digital data storage system | |
| GB2179516A (en) | Analogue-to-digital conversion | |
| JPS6161730B2 (en) | ||
| SU935971A1 (en) | Apparatus for calculating initial moments | |
| Wood | A frequency meter with continuous digital presentation | |
| SU1401479A1 (en) | Multifunction converter | |
| JPS59210492A (en) | Digital display unit | |
| SU364943A1 (en) | Interpolator | |
| SU842853A1 (en) | Amplitude-to-pulse function generator | |
| JPS5815937Y2 (en) | clock circuit | |
| SU1288693A1 (en) | Squaring device | |
| JPH0619797B2 (en) | Convolution operation circuit | |
| JP2539681Y2 (en) | Up / down counter | |
| JPS6047288A (en) | Tape recorder address display circuit | |
| SU1092498A1 (en) | Pulse-number device for calculating inverse trigonometric tangent | |
| SU622202A1 (en) | Code-converting arrangement | |
| JPH0628830Y2 (en) | PWM signal generation circuit | |
| JPH04200111A (en) | Pulse stretcher circuit | |
| JPH0331015B2 (en) | ||
| JPH0219772A (en) | Pulse amplitude data sampling circuit | |
| JPS59207725A (en) | Pulse shaping circuit | |
| JPS60123644U (en) | crystal electronic thermometer |