[go: up one dir, main page]

JPH07118628B2 - signal processing device - Google Patents

signal processing device

Info

Publication number
JPH07118628B2
JPH07118628B2 JP1-506722A JP50672289A JPH07118628B2 JP H07118628 B2 JPH07118628 B2 JP H07118628B2 JP 50672289 A JP50672289 A JP 50672289A JP H07118628 B2 JPH07118628 B2 JP H07118628B2
Authority
JP
Japan
Prior art keywords
signal
digital
clock
output
data
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
JP1-506722A
Other languages
Japanese (ja)
Other versions
JPH07118628B1 (en
JPWO1989012359A1 (en
Inventor
光夫 角石
毅 上嶋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1-506722A priority Critical patent/JPH07118628B2/en
Publication of JPWO1989012359A1 publication Critical patent/JPWO1989012359A1/en
Publication of JPH07118628B1 publication Critical patent/JPH07118628B1/ja
Publication of JPH07118628B2 publication Critical patent/JPH07118628B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【発明の詳細な説明】 技術分野 本発明は、PCM・CODECとDSP(Digital Signal Processo
r)を組み合わせて、ディジタルPCM信号等の符号化/復
号化及びその他の信号処理を行う信号処理装置に係り、
更に詳しくは、精度の高いA/及びD/A変換によりDSP内で
の実用的な信号処理を可能とする技術、それにより実現
される信号処理を同一のクロックに同期させて行う結果
必要となる出力信号のクロック乗換の技術に関する。
[Detailed Description of the Invention] Technical Field The present invention relates to a PCM codec and a DSP (Digital Signal Processor)
r) and performs coding/decoding of digital PCM signals and other signal processing,
More specifically, this paper relates to technology that enables practical signal processing within a DSP through highly accurate A/D and D/A conversion, and technology for clock transfer of output signals that is required as a result of synchronizing the signal processing realized thereby with the same clock.

背景技術 信号処理装置は、ディジタルPCM信号等の符号化/復号
化その他の処理を行う装置である。
BACKGROUND ART A signal processing device is a device that performs encoding/decoding and other processing of digital PCM signals and the like.

そのうち代表的なものとして、例えば加入者線上のアナ
ログ電話帯域信号と中継線上でのディジタルPCM信号と
の間で符号化を行うA/D変換器及び復号1を行うD/A変換
器がある。
Typical examples of such converters include an A/D converter that encodes an analog telephone band signal on a subscriber line and a digital PCM signal on a trunk line, and a D/A converter that decodes the signal.

一般に、送信側でアナログ信号をディジタル信号に変換
するとき、まず、アナログ信号は一定の周期で標本化さ
れ、この各標本化信号に対して量子化が行われる。量子
化は、予めアナログ信号の振幅レベルを複数の範囲に分
割しておき、ある範囲内のアナログ信号は全て、対応す
る1つのディジタル代表値で表す操作である。この結果
として得られる量子化信号は、符号化されてディジタル
PCM信号として伝送路上を伝送される。そして、受信側
では、上記ディジタルPCM信号が再びアナログ信号に変
換されて音声等の電話信号として再生される。
Generally, when an analog signal is converted to a digital signal at the transmitting end, the analog signal is first sampled at a fixed interval, and each sampled signal is then quantized. Quantization is an operation in which the amplitude level of the analog signal is divided into multiple ranges in advance, and all analog signals within a certain range are represented by a single corresponding digital representative value. The resulting quantized signal is then coded and converted into a digital signal.
The digital PCM signal is transmitted over the transmission line as a PCM signal. At the receiving end, the digital PCM signal is converted back into an analog signal and reproduced as a telephone signal such as voice.

上記のように、量子化の過程では、標本化値がある程度
変動しても同一の符号で表されるアナログ信号の範囲が
あり、受信側では上記範囲内の標本化値は全て同一振幅
のアナログ信号として復号化される。従って、符号化前
のアナログ信号と復号化後のアナログ信号との間に、本
質的な誤差が生ずる。この誤差は、量子化雑音と呼ばれ
る。
As mentioned above, during the quantization process, there is a range of analog signals in which the same code can be expressed even if the sampled values fluctuate to some extent, and at the receiving end, all sampled values within this range are decoded as analog signals of the same amplitude. Therefore, an inherent error occurs between the analog signal before encoding and the analog signal after decoding. This error is called quantization noise.

ここで、通信信号の品質の評価尺度として、信号対量子
化雑音比(S/N)が用いられる。そして、上記同一符号
で表される範囲は量子化ステップと呼ばれ、この量子化
ステップが均一の場合は、量子化雑音は一定となる。従
って、信号すなわちアナログ入力の振幅が大きければS/
Nは良く、逆に小さければS/Nは悪くなる。しかし、通信
品質を良くするためには、上記振幅の大小にかかわらず
S/Nを一定に保つことが望ましい。そこで、振幅の小さ
いアナログ入力に対しては量子化ステップを小さくし、
振幅の大きいアナログ入力に対しては量子化ステップを
大きくするような非直線量子化が、一般に採用される。
すなわち、圧伸である。電話信号に関して、上記非直線
量子化の圧伸特性として、日本及び米国ではμ−lawと
呼ばれる圧伸則が採用され、ヨーロッパを中心とするそ
の他の地域ではA−lawと呼ばれる圧伸則が採用されて
いる。
Here, the signal-to-quantization noise ratio (S/N) is used as a measure of the quality of a communication signal. The range represented by the same code above is called the quantization step, and if this quantization step is uniform, the quantization noise will be constant. Therefore, if the amplitude of the signal, i.e., the analog input, is large, the S/N ratio will be
However, in order to improve communication quality, regardless of the amplitude of the above,
It is desirable to keep the S/N ratio constant. Therefore, for analog inputs with small amplitudes, the quantization step is made smaller,
Non-linear quantization is generally employed, in which the quantization step is increased for analog inputs with large amplitudes.
For telephone signals, the companding law known as μ-law is used as the companding characteristic of the nonlinear quantization described above in Japan and the United States, while the companding law known as A-law is used in other regions, primarily Europe.

近年では、上記圧伸則に基づく信号変換を行う8ビット
圧伸A/D変換器及びD/A変換器が、その構成が複雑である
にも拘わらず多数のメーカーから供給されるようにな
り、かなり安価に入手できるようになった。このICは通
称PCM・CODEC(PCM coder/decoder)と呼ばれている。
In recent years, 8-bit companding A/D converters and D/A converters that perform signal conversion based on the above companding law have become available from many manufacturers at fairly low cost, despite their complex configuration. These ICs are commonly known as PCM CODECs (PCM coder/decoders).

一方、特に電話帯域信号を用いて音声信号以外のデータ
伝送を行うような場合に、上記PCM・CODEC等の変換器と
組み合わせて用いられることが多い信号処理回路とし
て、等化器(イコライザ)、減衰器(アッテネータ)、
平衡回路(バランシングネットワーク)等がある。これ
らの回路は、従来、アナログ回路として構成されてお
り、符号化側ではA/D変換器の前段、復号化側ではD/A変
換器の後段に設けられていた。
On the other hand, when transmitting data other than voice signals using telephone band signals, signal processing circuits that are often used in combination with converters such as the PCM CODEC mentioned above include equalizers, attenuators,
These circuits have traditionally been configured as analog circuits, placed before the A/D converter on the encoding side and after the D/A converter on the decoding side.

第1図に、上記各回路とPCM・CODECとの組み合わせとし
て実現されるディジタルPCMチャネル装置の従来例を示
す。
FIG. 1 shows a conventional example of a digital PCM channel device realized as a combination of the above circuits and a PCM codec.

まず、PCM・CODEC1は、ローパスフィルタ(LPF)7及び
A/D変換器8からなるA/D変換部と、D/A変換器10及びLPF
11からなるD/A変換部とから構成される。A/D変換器8及
びD/A変換器10は、前述の8ビットμ−law圧伸に基づく
データ変換を行う。また、LPF7及び11は、各入出力信号
であるアナログ信号の周波数帯域をサンプリング周波数
で表現できる帯域、すなわちサンプリング周波数の1/2
の周波数までの帯域に制限するための低域通過フィルタ
である。このように、PCM・CODEC1は、ローパスフィル
タも一体的にチップ化されており、結果的に符号化/復
号化部分のコストを低くすることを可能にしている。
First, the PCM CODEC 1 has a low-pass filter (LPF) 7 and
An A/D conversion unit consisting of an A/D converter 8, a D/A converter 10, and an LPF
The A/D converter 8 and the D/A converter 10 perform data conversion based on the 8-bit μ-law companding described above. The LPFs 7 and 11 also provide a band that can express the frequency band of the analog signals, which are the input and output signals, in terms of the sampling frequency, i.e., half the sampling frequency.
This is a low-pass filter that limits the frequency band up to 100 kHz. In this way, the PCM CODEC1 also integrates the low-pass filter into a chip, which ultimately makes it possible to reduce the cost of the encoding/decoding section.

ハイブリッドトランス3は、2線加入者線2上を伝送さ
れるアナログ電話帯域信号(アナログデータ)を送信信
号と受信信号とに分離する。等化器4及び13は、2線加
入者線2又は4線伝送路9における信号の周波数特性の
損失を電話帯域内で補正する。減衰器6及び12は、回線
に応じて生じる信号レベルの損失を補正する。平衡回路
15は、ハイブリッドトランス3におけるインピーダンス
の不整合により生じる受信側から送信側への信号の廻り
込み(エコー)を減衰させるために、ハイブリッドトラ
ンス3のインピーダンスを調整する。そして、アンプ5
及び14は、信号のレベル調整を行う。そして、上記各回
路の設定又は制御は、同図の破線で示されるように、特
には図示しないセンタ(局)からの遠隔制御によって電
気的に行われている。この制御は、一般にリモートプロ
ビジョンと呼ばれる。
The hybrid transformer 3 separates the analog telephone band signal (analog data) transmitted on the two-wire subscriber line 2 into a transmission signal and a reception signal. The equalizers 4 and 13 correct the loss of the signal frequency characteristics in the two-wire subscriber line 2 or the four-wire transmission line 9 within the telephone band. The attenuators 6 and 12 correct the loss of the signal level that occurs depending on the line. Balanced circuit
15 adjusts the impedance of the hybrid transformer 3 in order to attenuate echoes (echoes) of signals from the receiving side to the transmitting side, which are caused by impedance mismatch in the hybrid transformer 3.
and 14 adjust the signal level. The settings and control of the above circuits are electrically controlled by remote control from a center (station) (not shown), as indicated by the dashed lines in the figure. This control is generally called remote provisioning.

ここで、上記各回路4、6、12、13及び15等は、通信品
質を高めるために必要な重要な回路である。しかし、第
1図の如く上記各回路がアナログ回路によって構成され
ていると、回路規模が大きくなって装置全体のコストが
高くなる。そして、上記複数のアナログ回路の各設定を
行う場合のリモートプロビジョンも複雑になってしまう
という問題点を有している。
Here, the circuits 4, 6, 12, 13, and 15 are important circuits necessary for improving communication quality. However, if each of the circuits is configured with an analog circuit as shown in Figure 1, the circuit scale becomes large, increasing the cost of the entire device. Furthermore, there is a problem in that the remote provisioning required for setting each of the analog circuits becomes complicated.

一方、DSP(Digital Signal Processor)が各種分野で
広く利用され始め、DSPのLSIも安価に入手可能となって
いる。DSPの処理性能は年々向上しており、従来アナロ
グ処理されていた部分が益々DSP処理されるようになっ
ている。なぜなら、DSP処理により装置のハードウェア
規模を小さくできるからである。また、DSPを利用する
ことにより、アナログ回路においては大きな影響を持っ
てしまう製造過程で生ずる製品のバラツキの影響を最小
限に抑えられる。更に、内蔵ファームウェアの変更だけ
で、処理動作の変更等を容易に行える。そして、この技
術を基にして、電話帯域信号処理等の分野においても、
従来アナログ処理されていた部分が次々にDSPに置き換
わられようとしている。すなわち、前述の等化器、減衰
器、平衡回路等の回路部分をDSPで置き換えたいという
要望が高まっている。
Meanwhile, DSPs (Digital Signal Processors) have begun to be widely used in various fields, and DSP LSIs are becoming available at low cost. DSP processing performance is improving year by year, and more and more parts that were previously processed analogue are now being processed by DSPs. This is because DSP processing allows the hardware scale of devices to be reduced. Also, by using DSPs, the effects of product variations that occur during the manufacturing process, which have a significant impact on analogue circuits, can be minimised. Furthermore, processing operations can be easily changed by simply changing the built-in firmware. Based on this technology, in fields such as telephone band signal processing,
Conventional analog processing is being replaced one after another by DSPs. In other words, there is a growing demand to replace the aforementioned equalizers, attenuators, balancing circuits, and other circuit components with DSPs.

第2図に、上記各回路による処理がDSPで行われると仮
定した場合のディジタルPCMチャネル装置の一般的な構
成を示す。同図において、第1図と同じ番号を付した部
分は、同じ機能を有する。同図に示されるように、DSP1
6はPCM・CODEC1のディジタル信号側に設けられることに
なる。なお、前記第1図の平衡回路15によって行われて
いたハイブリッドトランス3のインピーダンス制御と同
様の機能が、DSP16により実現されることになる。従っ
て、ハイブリッドトランス3のインピーダンスは、第2
図の抵抗値Rで概念的に示されるように、一定のインピ
ーダンス値に固定され、ここで信号の廻り込みが発生す
るのが許容される。また、粗減衰器17及び18は、アナロ
グ信号レベルで例えば3dB幅程度で信号レベルのおおま
かな調整を行う回路であり、前処理的な性格を有する。
Figure 2 shows the general configuration of a digital PCM channel device, assuming that the processing by each of the above circuits is performed by a DSP. In this figure, parts with the same numbers as in Figure 1 have the same functions. As shown in this figure, DSP1
6 is provided on the digital signal side of the PCM CODEC 1. The same function as the impedance control of the hybrid transformer 3 performed by the balancing circuit 15 in FIG. 1 is realized by the DSP 16. Therefore, the impedance of the hybrid transformer 3 is controlled by the second
As conceptually shown by the resistance R in the figure, the impedance is fixed at a constant value, allowing signal leakage to occur. Coarse attenuators 17 and 18 are circuits that roughly adjust the analog signal level in increments of, for example, 3 dB, and have a pre-processing nature.

第2図に示されるように、DSP16は、現在安価に入手可
能なPCM・CODEC1と組み合わせられることが望ましい。
しかし、実際にはそのような単純な結合のみでは所望の
性能を有する符号化/復号化装置は実現できない。これ
は既述のS/Nに起因する。そもそもPCM・CODECにおける
μ−law圧伸は、送信側で符号化された後のディジタル
信号が伝送路を通ってそのまま受信側に送信され、そこ
で送信側と共通の圧伸則に従って復号化されることを前
提として成立するように定められた符号変換則である。
従って、A/D変換後のディジタル信号に対してDSP処理を
行うと、本来は符号化のときのみ発生していた量子化雑
音が、復号化のときにも発生してくることになる。従っ
て、通信品質を高めるためには、量子化ビット数をなる
べく高めて個々の量子化ステップをできるかぎり小さく
し、量子化雑音を最小限に抑える必要がある。しかし、
現在多く流通しているPCM・CODECは、8ビット量子化を
行うものであり、量子化精度はそれほど高くない。従っ
て、単純に市販のPCM・CODECを組み合わせただけでは、
通信信号のS/Nの悪化を避けることができないという問
題点を有している。
As shown in FIG. 2, it is desirable that the DSP 16 be combined with a PCM CODEC 1, which is currently available at low cost.
However, in reality, it is not possible to realize a coding/decoding device with the desired performance by simply combining signals in this way. This is due to the S/N ratio mentioned above. The μ-law companding in PCM CODEC is a code conversion rule that is established on the premise that the digital signal coded on the transmitting side is sent directly to the receiving side through a transmission line, where it is decoded according to the same companding rule as on the transmitting side.
Therefore, when DSP processing is performed on a digital signal after A/D conversion, quantization noise, which originally only occurred during encoding, also occurs during decoding. Therefore, in order to improve communication quality, it is necessary to increase the number of quantization bits as much as possible, make each quantization step as small as possible, and minimize quantization noise. However,
Currently, most PCM codecs in circulation use 8-bit quantization, which does not have very high quantization accuracy. Therefore, simply combining commercially available PCM codecs will result in the following:
This poses a problem in that the S/N ratio of the communication signal is inevitably degraded.

上記S/N悪化の問題に対処するためは、上述のように第
2図のA/D変換器8及びD/A変換器10に対応する変換器と
して、PCM・CODECに用いられる8ビットの量子化器より
量子化ステップが小さく、しかも高いレベルまでも同一
のステッップサイズを確保できるものを用いることが考
えられる。例えば16ビットの直線量子化を行うリニア変
換器の利用が考えられる。なお、DSPで行う信号処理の
程度により、15ビット程度のリニア変換器で十分な場合
もあるが、前述の8ビットμ−law圧伸に基づくPCM・CO
DECが、信号レベルが低い領域では14ビットのリニア変
換器と同程度の分解能があることを考えると、やはり16
ビット程度の分解能は必要である。
To address the problem of the deterioration of the S/N ratio, it is possible to use converters corresponding to the A/D converter 8 and D/A converter 10 in Fig. 2, which have a smaller quantization step than the 8-bit quantizer used in the PCM CODEC, and which can maintain the same step size even up to a high level. For example, a linear converter that performs 16-bit linear quantization can be used. Depending on the level of signal processing performed by the DSP, a linear converter of about 15 bits may be sufficient, but a PCM CODEC based on the above-mentioned 8-bit μ-law companding may be used.
Considering that the DEC has the same resolution as a 14-bit linear converter in the low signal level range, it is still 16
A resolution of about 1/4 bits is required.

しかし、15又は16ビット級の高分解能を有するA/D及びD
/A変換器は、市販のPCM・CODECに比べてその回路が複雑
化し、規模は大型化する。従って、15又は16ビットA/D
及びD/A変換器は、コスト的に極めて不利になるという
問題点がある。更に加えるならば、PCM・CODECを用いれ
ばもともとローパスフィルタが内蔵されている一方、上
述のような高分解能のリニア変換器はそのようなフィル
タを持っていない。従って、新たにローパスフィルタを
設置しなければならなくなり、更に大きなコストアップ
と共に、チップ面積の増大を招くという問題点もある。
However, A/D and D with high resolution of 15 or 16 bits
The circuitry of the A/D converter is more complex and larger than that of commercially available PCM CODECs.
and D/A converters have the problem of being extremely disadvantageous in terms of cost. Furthermore, while PCM codecs have built-in low-pass filters, the high-resolution linear converters mentioned above do not have such filters. Therefore, a new low-pass filter must be installed, which increases costs and also increases the chip area.

次に、上記第2図と同様にディジタルPCMチャネル装置
をA/D及びD/A変換器とDSPの組み合わせによって構成し
た場合に、DSPに対して前述の等化器、減衰器及び平衡
回路等と同様の処理を行わせる場合に考えられる一般的
な技術について述べる。
Next, we will discuss general techniques that can be considered when a digital PCM channel unit is configured by combining A/D and D/A converters with a DSP, as in Figure 2 above, and the DSP performs processing similar to that of the equalizer, attenuator, and balancing circuit described above.

第3図に上記構成に基づくディジタルPCMチャネル装置
として考えられる一般構成例を再び示す。
FIG. 3 shows again an example of a general configuration that can be considered as a digital PCM channel device based on the above configuration.

同図において、ハイブリッドトランス21、A/D変換器23
及びD/A変換器24は、各々第2図の番号3、8及び10で
示したものと同様の機能を有する。なお、第2図と同
様、ハイブリッドトランス21のインピーダンスは一定に
保たれる。2線加入者線20及び4線伝送路30も、第2図
の番号2及び9で示したものと同様である。また、前処
理回路22は、第2図のアンプ5、粗減衰器17およびLPF7
を合わせて示したものであり、後処理回路25は、同じく
第2図のLPF11、粗減衰器18及びアンプ14を合わせて示
したものである。なお、第2図では省略したが、前処理
回路22は通信信号の品質を上げるために、アナログ信号
の高周波成分を強調する処理等も行う場合がある。逆
に、後処理回路25は、上記送信側で強調された信号の特
性を元に戻す処理等も行う場合がある。
In the figure, a hybrid transformer 21, an A/D converter 23
The D/A converter 24 has the same functions as those shown by numbers 3, 8 and 10 in Fig. 2, respectively. As in Fig. 2, the impedance of the hybrid transformer 21 is kept constant. The two-wire subscriber line 20 and the four-wire transmission line 30 are also the same as those shown by numbers 2 and 9 in Fig. 2. The pre-processing circuit 22 also has the same functions as those shown by numbers 2 and 9 in Fig. 2, the amplifier 5, the coarse attenuator 17 and the LPF 7 in Fig. 2.
2, and the post-processing circuit 25 is a combination of the LPF 11, coarse attenuator 18, and amplifier 14 of Fig. 2. Although not shown in Fig. 2, the pre-processing circuit 22 may also perform processing such as emphasizing high frequency components of the analog signal in order to improve the quality of the communication signal. Conversely, the post-processing circuit 25 may also perform processing such as restoring the signal characteristics that were emphasized on the transmitting side.

第3図において、A/D変換器23によってディジタルデー
タに変換された入力信号SIN及び4線伝送路30からの受
信PCM信号RINは、DSP19に入力する。DSP19において、送
信レベル設定・等化器27及び受信レベル設定・等化器28
は、ファームウエアとして実現され、第1図の等化器
4、13及び減衰器6、12等と同様の処理動作を行う。す
なわち、上記入力信号SIN及び受信PCM信号RINに対し
て、2線加入者線20又は4線伝送路30における信号の周
波数特性の損失を電話帯域内で精密に補正し、また、回
線に応じて生じる信号レベルの損失を精密に補正する。
3, an input signal SIN converted into digital data by an A/D converter 23 and a received PCM signal RIN from a four-wire transmission line 30 are input to a DSP 19. In the DSP 19, a transmission level setting/equalizer 27 and a reception level setting/equalizer 28 are connected to the DSP 19.
are realized as firmware and perform the same processing operations as the equalizers 4 and 13 and attenuators 6 and 12 in Fig. 1. That is, for the input signal SIN and the received PCM signal RIN, the loss of the signal frequency characteristics in the two-wire subscriber line 20 or the four-wire transmission line 30 is precisely corrected within the telephone band, and the loss of the signal level that occurs depending on the line is also precisely corrected.

この時、後処理回路25から加入者線20に向かった信号の
一部がハイブリッドトランス21を介して廻り込み、入力
信号SINに含まれてDSP19に入力するため、上記信号の一
部が打ち消される必要がある。そのために、精密平衡回
路29で受信出力信号ROUTから上記成分が生成され、これ
が加算器26にて入力信号SINに加算(実際には減算であ
る)されることにより、上記成分が打ち消される。
At this time, part of the signal going from the post-processing circuit 25 to the subscriber line 20 sneaks in via the hybrid transformer 21, is included in the input signal SIN and input to the DSP 19, and so it is necessary to cancel out part of this signal. For this purpose, the precision balancing circuit 29 generates the above-mentioned component from the received output signal ROUT, and this is added (actually subtracted) to the input signal SIN by the adder 26, thereby canceling out the above-mentioned component.

この処理は、受信系信号である受信出力信号ROUTを処理
したものと、送信系信号である入力信号SINとの差をと
る処理であり、受信系と送信系にまたがる処理である。
This processing involves finding the difference between a processed reception output signal ROUT, which is a reception system signal, and an input signal SIN, which is a transmission system signal, and is processing that spans both the reception system and the transmission system.

ここで、第3図のディジタルPCMチャネル装置を含むデ
ィジタル伝送系は、例えば64Kbit/secの伝送速度を有
し、8KHzのクロックに同期して動作する。そして、第3
図において、完全な従属同期網でない限り、D/A変換器2
4等の受信系回路は、受信PCM信号RINから抽出される受
信クロックに同期して動作し、A/D変換器23等の送信系
回路は、特には図示しないチャネル装置内で生成される
送信クロックに同期して動作する。この場合、受信クロ
ックは相手端局のマスタクロックから分周されたもので
あり、送信クロックは自局のマスタクロックから分周さ
れたものである。従って、両方ともその周波数は公称8K
Hzであるが、同じマスタクロックを使っていないため、
実際にはその周波数は僅かに異なり、その差は最大10-4
程度になる。
Here, the digital transmission system including the digital PCM channel device of FIG. 3 has a transmission speed of, for example, 64 Kbit/sec and operates in synchronization with an 8 KHz clock.
In the figure, unless it is a completely cascaded synchronous network, D/A converter 2
The receiving circuits such as the A/D converter 24 operate in synchronization with the receiving clock extracted from the received PCM signal RIN, and the transmitting circuits such as the A/D converter 23 operate in synchronization with the transmitting clock generated in a channel device (not shown). In this case, the receiving clock is a divided clock from the master clock of the remote terminal station, and the transmitting clock is a divided clock from the master clock of the local station. Therefore, the frequencies of both are nominally 8K.
Hz, but they do not use the same master clock,
In reality, the frequencies differ slightly, with the maximum difference being 10 -4
It will be about that level.

10-4の差とは、例えば送信系のデータが10000回入力し
た時、受信系のデータは10001個になるということを意
味する。
A difference of 10 -4 means that, for example, when data is input 10,000 times in the transmission system, the number of pieces of data in the reception system will be 10,001.

これでは、DSP19に入力する、受信PCM信号RIN及び入力
信号SINのサンプリングのタイミングが常に少しずれて
しまう。従って、加算器26において、入力信号SINに含
まれる受信信号成分を、受信PCM信号RINを入力とする精
密平衡回路29の出力で打ち消そうとしても、異なる時刻
の信号の加算が行われるため期待した結果は得られな
い。
This results in a slight difference in the sampling timing of the received PCM signal RIN and the input signal SIN input to the DSP 19. Therefore, even if the adder 26 attempts to cancel out the received signal component contained in the input signal SIN using the output of the precision balancing circuit 29, which receives the received PCM signal RIN as its input, the expected result cannot be obtained because signals at different times are added.

しかも、8KHzのクロックで10-4のずれがある時は、1.25
秒に1回の割合で、データの追い越し現象が生じてその
時点のデータが失われてしまう。
Moreover, when there is a deviation of 10 -4 with an 8KHz clock, the
Once per second, data overtaking occurs, causing the data at that point to be lost.

このために、片方のクロックを、一方のクロックに合わ
せる必要が生ずる。この場合、受信PCM信号RINは既に送
信側で標本化済みの信号であり、その受信クロックは既
に送信側で生成されているものであるから、受信PCM信
号RINを受信するために、該受信クロックが必要とな
る。従って、送信クロックとしては受信クロックが使用
されることになる。
This requires that one clock be synchronized with the other clock. In this case, the received PCM signal RIN is a signal that has already been sampled on the transmitting side, and the receiving clock has already been generated on the transmitting side, so the receiving clock is required to receive the received PCM signal RIN. Therefore, the receiving clock is used as the transmitting clock.

しかし、受信PCM信号RINは発信端局から多くの中継局を
経てくるものであり、各中継局で少しずつジッタが加わ
るために、既に大きなジッタを含んでいる。従って、こ
れが送信クロックとして使用された場合、相手端局に到
達するまでに、また多くの中継器を経由するため、更に
ジッタが増加し、そのジッタは通信品質を著しく劣化さ
せる。これにより、両端局にクロック発生器を設け、こ
れらを正確に同期させて動作させた場合と同様の通信品
質を確保しようとした場合、ジッタが付加される距離が
往復分の距離すなわち片道の2倍になるため、中継距離
は1/2に制限されてしまう。
However, the received PCM signal RIN passes through many repeaters from the source terminal, and each repeater adds a little jitter, so it already contains a large amount of jitter. Therefore, if this signal is used as a transmission clock, it will pass through many repeaters before reaching the destination terminal, and the jitter will increase further, significantly degrading communication quality. As a result, if we try to ensure the same communication quality as when clock generators are installed at both ends and these are operated in precise synchronization, the distance to which jitter is added will be twice the distance for a round trip, i.e., the one-way distance, and the repeater distance will be limited to half.

なお、エコーキャンセラにおいても、これが加入者に向
かう信号がハイブリッドトランス21を介して廻り込むの
を、受信信号に基づいて適応的に擬似エコーを発生して
送信信号から差し引くことで、送信信号に含まれたエコ
ーを打ち消すようにするため、送信信号と受信信号の両
方にまたがる処理があり、上記の場合と同様の問題が発
生する。
In the echo canceller, the signal going to the subscriber is routed through the hybrid transformer 21, but the echo contained in the transmission signal is cancelled out by adaptively generating a pseudo echo based on the received signal and subtracting it from the transmission signal, so processing is performed on both the transmission signal and the reception signal, and the same problems as those described above arise.

以上のような問題点を解決するためには、第3図に示さ
れるディジタルPCMチャネル装置が、受信クロックに同
期してD/A変換器24、A/D変換器23及び精密平衡回路29等
を動作させ、それにより得られる送信信号を自局のクロ
ック発生器から発生される送信クロックに再同期させ
で、出力信号SOUTとして出力させるディジタル信号クロ
ック乗換方式が必要となる。
To solve the above problems, a digital signal clock transfer system is required in which the digital PCM channel device shown in FIG. 3 operates the D/A converter 24, A/D converter 23, precision balancing circuit 29, etc. in synchronization with the receiving clock, and the resulting transmit signal is resynchronized with the transmit clock generated by the clock generator of the local station and output as the output signal SOUT.

この場合、通信品質が良く小型化可能なことが望まれ
る。
In this case, it is desirable that the communication quality is good and that it can be made compact.

第4図は従来例のクロック乗換方式のブロック図であ
る。同図では、第1クロック系ディジタルデータ34が、
第1クロック35で動作するD/A変換器31にてアナログデ
ータに変換され、その後、アナログ低域通過フィルタ32
を通されてそのフィルタ32の出力は時間連続のデータに
変換された後、第2クロック36で動作するA/D変換器33
で、第2クロック系ディジタルデータ37に変換されるよ
うにして、クロック乗換が行われる。
4 is a block diagram of a conventional clock transfer system. In the figure, the first clock system digital data 34 is
The digital signal is converted into analog data by a D/A converter 31 that operates on a first clock 35, and then passed through an analog low-pass filter 32.
The output of the filter 32 is converted into time-continuous data and then input to an A/D converter 33 that operates on a second clock 36.
Then, the clock signal is converted into the second clock system digital data 37, and clock transfer is performed.

しかし、第4図の装置では、入力されたディジタルデー
タがD/A変換器31にてアナログデータに戻され、それがA
/D変換器33にて再びディジタルデータに変換されるた
め、量子化雑音が発生し、通信品質が低下する。また、
アナログ低域通過フィルタ32が必要で、それがディジタ
ル回路の如く集積化されても、小型化できないという問
題点がある。
However, in the device of FIG. 4, the input digital data is converted back to analog data by the D/A converter 31, and this data is
Since the signal is converted back into digital data by the digital/digital converter 33, quantization noise occurs, resulting in a decrease in communication quality.
The analog low-pass filter 32 is required, and even if it is integrated like a digital circuit, it cannot be made compact.

発明の開示 本発明は、かかる事情に鑑みてなされたものであり、A/
D及びD/A変換精度の低い安価なPCM・CODECとDSP(Digit
al Signal Processor)を組み合わせて、精度の高いA/D
及びD/A変換を可能として、DSP内での実用的な信号処理
を実現することを第1の目的とし、更に、それにより実
現される信号処理を送信側と受信側とで矛盾なく行うた
めに該信号処理を同一のクロックに同期させて行う結果
必要となる出力信号のクロックの乗換を、ディジタル信
号のまま行うことを可能とすることを第2の目的とする
ものである。
DISCLOSURE OF THE INVENTION The present invention has been made in view of the above circumstances, and
Low-cost PCM CODEC and DSP (Digit
High-precision A/D
The first objective is to realize practical signal processing within a DSP by enabling digital to analog and digital to analog conversion. The second objective is to enable clock transfer of output signals, which is necessary as a result of synchronizing the signal processing with the same clock so that it can be performed without any inconsistencies on the transmitting and receiving sides, while keeping the signal digital.

本発明で上記目的を達成するために、まず、アナログ入
力信号に対しその振幅値をずらして各々第1及び第2の
A/D変換系で個別に変換し、該各変換結果の平均値を演
算することにより前記A/D変換系が1系統の場合より変
換精度の高いディジタル出力信号を得るA/D変換手段を
有する。同手段の第1のA/D変換系は、例えば第5図の
第1増幅器38、第1圧伸A/D変換器39、第1リニア変換
器42であり、第2のA/D変換系は、例えば第5図の第2
増幅器40、第2圧伸A/D変換器41、第2リニア変換部43
である。また、上記平均値の演算は、例えば第5図の演
算部44で行われる。
In order to achieve the above object of the present invention, first, an analog input signal is subjected to a first and a second shift in amplitude value.
The A/D conversion means converts the signals individually in the A/D conversion systems and calculates the average of the respective conversion results to obtain a digital output signal with higher conversion accuracy than when the A/D conversion system is a single system. The first A/D conversion system of the means is, for example, the first amplifier 38, the first companding A/D converter 39, and the first linear converter 42 in Fig. 5, and the second A/D conversion system is, for example, the second amplifier 38, the first companding A/D converter 39, and the first linear converter 42 in Fig. 5.
amplifier 40, second companding A/D converter 41, second linear conversion unit 43
The calculation of the average value is carried out, for example, by the calculation unit 44 shown in FIG.

次に、ディジタル入力信号を第1及び第2のD/A変換系
で個別に変換し、前記第1のD/A変換系で変換する前に
生ずる量子化誤差を検出して前記第2のD/A変換系への
ディジタル入力信号に上乗せし、該第1及び第2のD/A
変換系の各変換結果を所定の比で混合することにより前
記D/A変換系が1系統の場合より変換精度の高いアナロ
グ出力信号を得るD/A変換手段を有する。同手段の第1
のD/A変換系は、例えば第6図の第1圧伸変換部45及び
第1圧伸D/A変換器49であり、第2のD/A変換系は、例え
ば第6図の第2圧伸変換部46及び第2圧伸D/A変換器50
である。第1のD/A変換系からの量子化誤差は、例えば
第6図の検出部47から検出され、雑音加算部48により第
2のD/A変換系への入力に加算される。そして、第1及
び第2のD/A変換系の各変換結果は、例えば第6図の第
1及び第2増幅器51及び52並びに加算器53によって、所
定の比で混合される。
Next, the digital input signal is converted separately by first and second D/A conversion systems, and a quantization error occurring before conversion by the first D/A conversion system is detected and added to the digital input signal to the second D/A conversion system.
The D/A conversion means mixes the results of the conversions of the conversion systems at a predetermined ratio to obtain an analog output signal with higher conversion accuracy than when the D/A conversion system is a single system.
The D/A conversion system is, for example, the first companding unit 45 and the first companding D/A converter 49 in FIG. 6, and the second D/A conversion system is, for example, the second companding unit 46 and the second companding D/A converter 50 in FIG.
The quantization error from the first D/A conversion system is detected, for example, by a detector 47 in FIG. 6, and added to the input to the second D/A conversion system by a noise adder 48. The conversion results from the first and second D/A conversion systems are then mixed at a predetermined ratio by, for example, first and second amplifiers 51 and 52 and an adder 53 in FIG. 6.

一方、第1のディジタルデータ系列を高標本化すると共
に、第1のクロックと第2のクロックのタイミング差を
検出し、該タイミング差に基づいて前記高標本化された
データから補間処理により第2のクロックに同期した第
2のディジタルデータを生成するディジタル信号クロッ
ク乗換手段を有する。同手段において、第1のディジタ
ルデータ系列を高標本化する手段は、例えば第13A図の
データ変換回路63及び高標本化ディジタル低域通過フィ
ルタ64である。また、第1のクロックと第2のクロック
のタイミング差を検出する手段は、例えば第13A図のタ
イミング差検出回路66である。更に、この手段は、例え
ば第19図、第24図及び第25図等の回路として開示され
る。加えて、上記補間処理を行う手段は、例えば第13A
図の補間処理部65であり、具体的には第18図及び第26図
等の処理として開示される。
The digital signal/clock transfer means also includes a digital signal/clock transfer means for upsampling the first digital data sequence, detecting the timing difference between the first clock and the second clock, and generating second digital data synchronized with the second clock by interpolation from the upsampling data based on the timing difference. In this means, the means for upsampling the first digital data sequence is, for example, the data conversion circuit 63 and the upsampling digital low-pass filter 64 shown in FIG. 13A. The means for detecting the timing difference between the first clock and the second clock is, for example, the timing difference detection circuit 66 shown in FIG. 13A. This means may be disclosed as a circuit shown in, for example, FIGS. 19, 24, and 25. Additionally, the means for performing the interpolation process may be, for example, the digital signal/clock transfer means shown in FIG. 13A.
This is the interpolation processing unit 65 in the figure, and is specifically disclosed as the processing in Figs. 18 and 26, etc.

その他、前述の高標本化ディジタル低域通過フィルタ64
を複数ブロックで構成した発明として、第13B図、タイ
ミング差検出回路66に関連する出力タイミング調整回路
として第28図等が開示される。
In addition, the high sampling digital low-pass filter 64 mentioned above
13B as an invention configured with a plurality of blocks, and FIG. 28 as an output timing adjustment circuit related to the timing difference detection circuit 66, etc. are disclosed.

上記発明の構成は、例えばディジタルPCM信号に対する
符号化/復号化装置として、2台のPCM・CODECと1台の
DSPで実現される。すなわち、A/D変換手段及びD/A変換
手段は、8ビット圧伸符号化及び復号化を行う2台のPC
M・CODECと1台のDSPの一部の機能を用いて実現でき、
ディジタル信号クロック乗換手段は上記DSP(Digital S
ignal Processor)の機能を用いて実現できる。
The above-mentioned invention may be configured, for example, as an encoding/decoding device for digital PCM signals, by using two PCM CODECs and one
The A/D conversion means and the D/A conversion means are implemented by two PCs that perform 8-bit companding, encoding, and decoding.
This can be achieved using the M-CODEC and some of the functions of one DSP.
The digital signal clock transfer means is the DSP (Digital Signal Processor)
This can be achieved using the functions of the Digital Signal Processor.

従って、2台のPCM・CODECと1台のDSPという安価かつ
小型の構成で、精度の高いA/D及びD/A変換処理を実現で
きる。これにより、従来、アナログ回路で実現されてい
た減衰器、等化器及びバランシングネットワーク等の信
号処理機能を、1台のDSPによるディジタル信号処理で
実現することが可能となる。この場合、送信側と受信側
とで処理される信号のタイミングがずれないようにする
ために、上記信号処理は例えば外部の回線から受信した
ディジタル受信信号の受信クロックに同期して行われ
る。従って、回線への送信側では、上記受信クロックに
同期した送信用ディジタル出力信号を送信クロックに同
期させ直す必要が生ずるが、この処理はDSP内に実現さ
れるディジタル信号クロック乗換手段によって容易に実
現される。
Therefore, highly accurate A/D and D/A conversion can be achieved with an inexpensive and compact configuration consisting of two PCM CODECs and one DSP. This allows signal processing functions, such as attenuators, equalizers, and balancing networks, which were previously implemented using analog circuits, to be implemented using digital signal processing in a single DSP. In this case, to prevent timing discrepancies between signals processed on the transmitting and receiving sides, the signal processing is performed, for example, in synchronization with the receive clock of a digital receive signal received from an external line. Therefore, on the transmitting side, it becomes necessary to resynchronize the digital output signal for transmission, which is synchronized with the receive clock, with the transmit clock. This process is easily achieved using digital signal clock transfer means implemented within the DSP.

以上示したように本発明によれば、安価なPCM・CODECと
DSP等とを組合せた信号処理装置によって、高精度なA/D
及びD/A変換を容易に実現でき、これにより、従来、規
模の大きいアナログ回路を必要とした信号処理を、1台
のDSPで容易に行うことが可能となり、しかも、この場
合に必要となるディジタル信号のクロック乗換手段も、
同じDSP内でディジタル信号処理として実現できる。こ
の場合、本発明は、ディジタル信号クロック乗換手段内
のタイミング差検出手段を非常に簡単な回路及び処理で
実現している。
As described above, according to the present invention, an inexpensive PCM CODEC and
By using a signal processing device that combines DSP etc., high precision A/D
This makes it possible to easily realize D/A conversion, which previously required large-scale analog circuits, and it is now possible to easily perform signal processing with a single DSP. Furthermore, the clock transfer means for digital signals required in this case is also
It can be realized as digital signal processing within the same DSP. In this case, the present invention realizes the timing difference detection means within the digital signal clock transfer means with extremely simple circuits and processing.

このため、例えば高い通信品質を保ったまま、装置を集
積化することで、装置全体を非常に小形化でき、コスト
が安く、消費電力が低く、信頼性の高い信号処理装置を
実用化できる。
Therefore, for example, by integrating the device while maintaining high communication quality, the entire device can be made very small, and a signal processing device that is low in cost, low in power consumption, and highly reliable can be put into practical use.

図面の簡単な説明 第1図は、ディジタルPCMチャネル装置の従来例の構成
図、 第2図は、ディジタルPCMチャネル装置の一般的な構成
を示す図、 第3図は、ディジタルPCMチャネル装置の他の一般的な
構成を示す図、 第4図は、クロック乗換装置の従来例の構成図、 第5図は、第1の実施例に係るA/D変換装置の基本構成
図、 第6図は、第1の実施例に係るD/A変換装置の基本構成
図、 第7図は、一般的なμ−lawのもとでの各数値の対応を
示す図、 第8図は、A/D変換装置における各部の値の対応を示す
図、 第9図は、A/D変換装置の動作説明図、 第10図は、D/A変換装置の動作説明図、 第11A及び第11B図は、D/A変換装置における各部の値の
対応を示す図、 第12図は、第1の実施例に係るA/D及びD/A変換装置の好
適構成例の詳細ブロック図、 第13A図及び第13B図は、第2の実施例に係るクロック乗
換装置の実施例の基本構成図、 第14A図、第14B図及び第14C図は、第2の実施例の各部
の波形のタイムチャート、 第15図は、データ変換回路のブロック図、 第16図は、高標本化ディジタル低域通過フィルタのブロ
ック図、 第17図は、第16図のフィルタの減衰量を示す図、 第18図は、補間処理部の動作フローチャート、 第19図は、タイミング差検出回路のブロック図、 第20図は、第2の実施例に係るディジタルPCMチャネル
装置の詳細ブロック図、 第21図は、複数セクションに分割した高標本化フィルタ
ディジタル低域通過のブロック図、 第22図は、第21図の各セクションの減衰量を示す図、 第23図は、第21図のフィルタの全体の減衰量を示す図、 第24図は、第3の実施例に係るタイミング差検出回路の
具体的構成図、 第25図は、第4の実施例に係るタイミング差検出回路の
具体的構成図、 第26図は、第4の実施例に係る補間処理部の動作フロー
チャート、 第27A図、第27B図は、第4の実施例の動作タイミングチ
ャート、 第28図は、第4の実施例に係る出力タイミング調整回路
の構成図、 第29図は、出力タイミング調整回路の動作タイミングチ
ャートである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a conventional example of a digital PCM channel device; FIG. 2 is a diagram showing a general configuration of a digital PCM channel device; FIG. 3 is a diagram showing another general configuration of a digital PCM channel device; FIG. 4 is a block diagram of a conventional example of a clock transfer device; FIG. 5 is a basic block diagram of an A/D conversion device according to the first embodiment; FIG. 6 is a basic block diagram of a D/A conversion device according to the first embodiment; FIG. 7 is a diagram showing the correspondence of each numerical value under general μ-law; 14A, 14B and 14C are time charts of waveforms of each part of the second embodiment; FIG. 15 is a block diagram of a data conversion circuit; FIG. 16 is a block diagram of a high sampling digital low pass filter; FIG. 17 is a diagram showing the attenuation of the filter of FIG. 16; FIG. 18 is a flowchart of the operation of the interpolation processing unit; FIG. 19 is a block diagram of a timing difference detection circuit; 27A and 27B are operation timing charts of the fourth embodiment, FIG. 28 is a configuration diagram of an output timing adjustment circuit according to the fourth embodiment, and FIG. 29 is an operation timing chart of the output timing adjustment circuit.

第1実施例 まず、第1の実施例につき説明する。本実施例は、8ビ
ットμ−law圧伸に基づくPCM・CODECを2台使用して、A
/D、D/A変換の精度を向上させることを特徴とする。
First Embodiment First, the first embodiment will be described. In this embodiment, two PCM codecs based on 8-bit μ-law companding are used to
It is characterized by improving the accuracy of D/A and D/A conversion.

第5図は、本発明の第1の実施例に係るA/D変換装置の
基本構成図である。同図において、アナログ信号Ain
第1A/D変換系と第2A/D変換系とに共通に印加される。第
1A/D変換系では、信号Ainは第1増幅器38でk1倍に増幅
され、更に第1圧伸A/D変換器39で第1PCM符号P1に変換
される。第2A/D変換系では、信号Ainは第2増幅器40でk
2倍に増幅され、更に第2圧伸A/D変換器41で第2PCM符号
P2に変換される。なお、k1及びk2は、k1×k2=1を満た
す実数である。
5 is a diagram showing the basic configuration of an A/D conversion device according to a first embodiment of the present invention. In the figure, an analog signal A in is applied in common to a first A/D conversion system and a second A/D conversion system.
In the first A/D conversion system, the signal A in is amplified by a factor of k1 in the first amplifier 38 and then converted into a first PCM code P1 in the first companding A/D converter 39. In the second A/D conversion system, the signal A in is amplified by a factor of k1 in the second amplifier 40.
The signal is amplified by two times and then converted into a second PCM code by a second companding A/D converter 41.
P2, where k1 and k2 are real numbers that satisfy k1 × k2 = 1.

一方、DSP内には少なくとも第1リニア変換部42と、第
2リニア変換部43と、演算部44とが形成される。第1及
び第2リニア変換部42、43は、各々前記第1及び第2PCM
符号P1及びP2を、第1及び第2リニア符号L1及びL2に変
換する。これらリニア符号L1、L2に対して、演算部44で
平均値(L1+L2)/2が演算され、その平均値がディジタ
ル変換出力Doutとなる。そして、この出力に対して、第
12図で後述するように、精密平衡回路の機能、等化器の
機能、減衰器の機能等に基づく処理が施される。
Meanwhile, the DSP is provided with at least a first linear conversion unit 42, a second linear conversion unit 43, and an arithmetic unit 44. The first and second linear conversion units 42 and 43 convert the first and second PCM signals, respectively.
The codes P1 and P2 are converted into first and second linear codes L1 and L2. The average value (L1+L2)/2 of these linear codes L1 and L2 is calculated by the calculation unit 44, and this average value becomes the digital conversion output Dout. Then, the first linear code L1 and the second linear code L2 are converted into the digital conversion output Dout.
As will be described later in Figure 12, processing is performed based on the functions of the precision balancing circuit, the equalizer, the attenuator, etc.

第6図は本発明の第1の実施例に係るD/A変換装置の基
本構成図である。同図で、DSP内で上記各処理が行われ
た後(第12図で後述する)、リニアPCM符号として入力
するディジタル信号Dinは、一方において第1圧伸変換
部45に印加され、第1圧伸PCM符号P3に変換される。こ
の第1圧伸PCM符号P3は第1D/A変換系に入力される。こ
の系は、符号P3を第1アナログ信号A1に変換する第1圧
伸D/A変換器49及びその信号A1をk3倍に増幅する第1増
幅器51からなる。
FIG. 6 shows the basic configuration of a D/A conversion device according to a first embodiment of the present invention. After the above-described processing steps are performed within the DSP (described later in FIG. 12), a digital signal Din input as a linear PCM code is applied to a first companding unit 45, where it is converted into a first companding PCM code P3. This first companding PCM code P3 is input to a first D/A conversion system. This system includes a first companding D/A converter 49 that converts the code P3 into a first analog signal A1, and a first amplifier 51 that amplifies the signal A1 by a factor of k3.

DSP内には前記変換部45の他に、第2圧伸変換部46、検
出部47、雑音加算部48が少なくとも形成される。検出部
47は前記第1圧伸PCM符号P3の量子化雑音Nを検出す
る。なお、同図では検出部47は、リニア変換部47−1と
減算部47−2で構成される。
In addition to the converter 45, the DSP is also provided with at least a second companding converter 46, a detector 47, and a noise adder 48.
47 detects the quantization noise N of the first companded PCM code P3. In the figure, the detection section 47 is made up of a linear conversion section 47-1 and a subtraction section 47-2.

量子化雑音Nは雑音加算部48に印加され、ここでNはk4
倍された後、ディジタル信号Dinに加算される。なお、
同図では雑音加算部48は、増幅部(ゲインk4)48−1と
加算部48−2で構成される。雑音加算部48の出力は、第
2圧伸変換部46により、第2圧伸PCM符号P4に変換され
る。この符号P4は第2D/A変換系に入力される。この系
は、符号P4を第2アナログ信号A2に変換する第2圧伸D/
A変換器50及びその信号A2をk5倍に増幅する第2増幅器5
2からなる。ここで、前述のk3,k4およびk5の関係を規定
すると、k3+k5=1で、k4=k3/(1−k3)であって、k
3、k4及びk5は全ての正の実数である。
The quantization noise N is applied to the noise adder 48, where N is k
After being multiplied, it is added to the digital signal D in .
In the figure, the noise adder 48 is composed of an amplifier (gain k4) 48-1 and an adder 48-2. The output of the noise adder 48 is converted into a second companded PCM code P4 by a second companding converter 46. This code P4 is input to a second D/A conversion system. This system converts the code P4 into a second analog signal A2.
A converter 50 and a second amplifier 5 that amplifies the signal A2 by k5 times.
2. Here, the relationship between k3, k4, and k5 is defined as k3 + k5 = 1, k4 = k3/(1 - k3), and k
3, k4 and k5 are all positive real numbers.

このようにして得られた第1及び第2アナログ信号A1及
びA2の各増幅出力は加算部53で加算され、アナログ変換
出力Aoutが得られる。
The amplified outputs of the first and second analog signals A1 and A2 thus obtained are added in an adder 53 to obtain an analog converted output Aout .

上記第5図及び第6図に示した第1の実施例の動作を以
下に説明する。
The operation of the first embodiment shown in FIGS. 5 and 6 will now be described.

まず、第5図のA/D変換装置についてみる。ここで、第
1増幅器38の増幅率k1をk1=k(従って、第2増幅器40
の増幅率はk2=1/k)ととし、アナログ信号Ainの振幅を
αとする。この信号Ainは、増幅後、αk及びα/kとな
って、対応する圧伸A/D変換器39及び41に入力され、デ
ィジタル値である第1及び第2PCM符号P1及びP2となる。
これらPCM符号は圧伸を受けた符号であり実際の数値で
はない。従って、そのままでは計算の対象とならない。
そこで、上記各符号は、リニア変換部42、43で実際の数
値を示すリニア符号L1、L2に戻される。この状態におい
て、演算部43で平均値(L1+L2)/2が演算される。後に
詳述する如く、8ビット圧伸CODECとして取りうる255ま
たは256個の出力値群に加え、隣接出力値間の中間値が
その平均値より生成され、出力値の種類が増加する。こ
れはまさしくA/D変換装置の分解能の向上を意味する。
その理由を簡単に言えば、リニア符号L1とL2とは、kと
1/kの倍率により相互にずれを生じ、L1とL2が同じ値L
のときはLを出力値とするが、L1とL2がずれたところで
は、その中間値が出力値となって現れるからである。
First, let us consider the A/D conversion device shown in Fig. 5. Here, the amplification factor k1 of the first amplifier 38 is k1 = k (therefore, the amplification factor k2 of the second amplifier 40 is k1 = k2).
The amplification factor of the analog signal A in is k (=1/k), and the amplitude of the analog signal A in is α. After amplification, this signal A in becomes αk and α/k, which are input to the corresponding companding A/D converters 39 and 41, and become the first and second PCM codes P1 and P2, which are digital values.
These PCM codes are companded codes and are not actual numerical values, so they cannot be used for calculations as they are.
The above codes are then converted back into linear codes L1 and L2, which represent actual numerical values, by linear conversion units 42 and 43. In this state, the average value (L1 + L2)/2 is calculated by calculation unit 43. As will be described in detail later, in addition to the 255 or 256 possible output values of an 8-bit companding CODEC, an intermediate value between adjacent output values is generated from the average value, thereby increasing the variety of output values. This truly means an improvement in the resolution of the A/D conversion device.
The reason is simply that linear codes L1 and L2 are
The 1/k magnification causes a mutual shift, and L1 and L2 have the same value L
When L1 and L2 are different, L is the output value, but when L1 and L2 are different, the intermediate value appears as the output value.

上記動作を更に具体的な例に基づいて説明する。The above operation will be explained further based on a specific example.

まず、第5図のA/D変換装置で、第1増幅器38の増幅率k
1としてk(=1.01)を設定し、第2増幅器40の増幅率k
2として1/k(=1/1.01)を設定している。なお、本実施
例の説明では、圧伸則としてμ−lawを例にとるものと
する。なお、A−lawであっても、本発明の効果は変わ
らない。
First, in the A/D conversion device of FIG. 5, the amplification factor k of the first amplifier 38 is
1, and the amplification factor k of the second amplifier 40 is set to k (=1.01).
2 is set to 1/k (=1/1.01). In the explanation of this embodiment, μ-law is used as an example of the companding law. However, the effect of the present invention remains the same even when A-law is used.

第7図は一般的なμ−lawのもとでの各値の対応を示す
図である。同図では、第5図の圧伸A/D変換器39、41へ
のアナログ入力の電圧範囲(図中のリニア入力の欄)
は、例えば−8158〜+8158に設定され、その範囲内にお
いて23(=256)通りの出力値(OUTPUTVALUE)が設定さ
れる。なお、アナログ入力電圧の単位は例えばミリボル
トである。そして、アナログ入力(図中のリニア入力)
の各値に対応して、μ−lawPCM出力として8ビットのデ
ィジタル符号が定まり、A/D変換器から出力される。な
お、同図では、説明の簡単のため、正のリニア入力に対
する場合のみ掲記し、また、第4セグメントのみ完全に
掲記して、その他のセグメントは中間値を割愛した。こ
こで、セグメントとは、μ−law特性を複数の折れ線特
性で近似した場合の各折れ線領域のことであり、各領域
内では量子化ステップは一定である。
Figure 7 shows the correspondence of each value under the general μ-law. In this figure, the voltage range of the analog input to the companding A/D converters 39 and 41 in Figure 5 (the column of linear input in the figure)
For example, is set to -8158 to +8158, and within that range, 2 3 (= 256) output values (OUTPUTVALUE) are set. The unit of analog input voltage is, for example, millivolts. And, analog input (linear input in the figure)
For each value, an 8-bit digital code is determined as the μ-law PCM output and output from the A/D converter. For simplicity, the diagram shows only the case for a positive linear input, and only the fourth segment is shown in full, with the intermediate values of the other segments omitted. Here, a segment refers to each polygonal line region when the μ-law characteristic is approximated by multiple polygonal line characteristics, and the quantization step is constant within each region.

上記μ−lawPCM出力における8ビットのディジタル符号
は、あくまでも分類上の記号であって、実際の振幅値を
意味するものではない。このため、第5図のDSP内の第
1及び第2リニア変換部(μ/L変換部)42、43で、対応
する0〜8031のディジタル値(第7図中の出力値(OUTO
UT VALUE)に相当)に変換される。従って、このディジ
タル値は、14ビットの精度を有する。
The 8-bit digital code in the μ-law PCM output is merely a classification symbol and does not represent an actual amplitude value. Therefore, the first and second linear conversion units (μ/L conversion units) 42 and 43 in the DSP in FIG. 5 convert the corresponding digital values from 0 to 8031 (output values (OUTPUT) in FIG. 7) into
This digital value therefore has 14 bits of precision.

第5図の第1及び第2リニア符号L1及びL2としては、前
述したように、αk及びα/kに対応する数値データが各
々現れるが、8ビット圧伸A/D変換器の場合、、上記L1
及びL2の各出力レベルの種類は、それぞれ255または256
通りしかない。しかし、実際のアナログ入力は−8158〜
+8158の範囲内の連続値であり、その種類は整数部分の
みでみても16316通りにもなる。L1及びL2の出力レベル
の種類とアナログ入力の連続値との差があるために、既
述の量子化雑音が発生する。一般にA/D変換器およびD/A
変換器の評価項目として、既述したS/N(単位dB)があ
る。そして、ここにいうSとは、例えば電話信号用の8
ビット圧伸A/D(D/A)変換器の場合、例えば1010Hzの正
弦波信号をA/D変換器に入力して得られる出力をD/A変換
器に入力し、その出力の中の信号分、すなわち1010Hzの
成分のことをいう。また、そのD/A変換出力中の1010Hz
以外の周波数成分がN(雑音)となる。この雑音は、あ
る範囲のアナログ入力をその中心値をなす1つの出力値
で代表させたことに起因する量子化雑音が大半を占め
る。
As mentioned above, the first and second linear codes L1 and L2 in FIG. 5 each appear as numerical data corresponding to αk and α/k. In the case of an 8-bit companding A/D converter, the above L1
The output level types for L1 and L2 are 255 or 256 respectively.
However, the actual analog input is -8158 to
The L1 and L2 output levels are continuous values within the range of +8158, and there are 16316 different types, even if we consider only the integer part. The difference between the types of L1 and L2 output levels and the continuous values of the analog input causes the quantization noise mentioned above.
The evaluation item for the converter is the S/N (unit: dB) mentioned above. S here is, for example, the 8 dB for telephone signals.
In the case of a bit-companding A/D (D/A) converter, for example, if a 1010Hz sine wave signal is input to the A/D converter and the output obtained is input to a D/A converter, the signal portion of that output, i.e., the 1010Hz component, is referred to as the 1010Hz component.
The frequency components other than these are noise N. Most of this noise is quantization noise caused by representing a range of analog input with a single output value that is the center value.

従って、S/Nが大ということは、量子化雑音が小という
ことであり、波形歪が小さいことを示す。別言すると、
S/Nを大とするには、量子化雑音を小さくする必要があ
り、量子化雑音を小さくするためには、A/D(D/A)変換
器の出力値を多くし、これにより量子化ステップの長さ
を小さくする必要がある。
Therefore, a high S/N ratio means that the quantization noise is small, and the waveform distortion is small.
To increase the S/N ratio, it is necessary to reduce the quantization noise, which in turn requires increasing the output value of the A/D (D/A) converter, thereby reducing the length of the quantization step.

第5図の実施例は、2台の8ビット圧伸A/D変換器39及
び41を用いることにより、以下に示すように、上記出力
値を多くすることができ、しかも、市販のPCM・CODECを
利用することにより、たとえ8ビット圧伸A/D変換器を
2台使用したとしても、量子化精度の高い(つまり8ビ
ット以上の)変換器を1台使用するよりも低いコストで
信号処理装置を実現可能とするものである。
In the embodiment of FIG. 5, by using two 8-bit companding A/D converters 39 and 41, the output value can be increased as shown below. Moreover, by utilizing a commercially available PCM codec, even if two 8-bit companding A/D converters are used, a signal processing device can be realized at a lower cost than if a single converter with high quantization accuracy (i.e., 8 bits or more) is used.

第5図で、第1及び第2リニア符号L1及びL2の出力値を
各々D(α・k)及びD(α/k)とする。もし、kをk
=1.01ではなくk=1とすれば、L1及びL2は当然同一の
出力値となる。しかし、本実施例が好適例として示す如
く、k=1.01としてして、第1及び第2の増幅率を1.01
及び1/1.01のように僅かにずらすと、αkとα/kは異な
った値になる。ただしその差の値が小さく、αkもα/k
も第7図のリニア入力の欄に示される各行の範囲内の場
合、出力値のD(α・k)及びD(α/k)は共に一致す
る。これに対してαkとα/kの差が、上記各行の範囲外
ならば、出力値D(α・k)及びD(α/k)は異なった
値をとる。すななち、k≠1でkが1に近い値であっ
て、一方が隣接する範囲(行)の方に入り込むことによ
り、当該隣接範囲に対応する出力値となってD(α・
k)≠D(α/k)となる。そして、前者の場合(一致す
るとき)においては、αk及びα/kの平均値、すなわ
ち、 が、第7図のリニア入力の各行の範囲の中心付近にある
場合であり、後者の場合(不一致のとき)は、上記平均
値が上記各行の隣接範囲との境界付近に現れる場合であ
る。
In FIG. 5, the output values of the first and second linear codes L1 and L2 are respectively D(α·k) and D(α/k). If k is k
If k=1 instead of k=1.01, L1 and L2 will naturally have the same output value. However, as shown as a preferred example in this embodiment, if k=1.01 and the first and second amplification factors are 1.01,
If the difference is small, such as 1/1.01, αk and α/k will be different values. However, the difference is small, and αk and α/k
If the difference between αk and α/k is within the range of each row shown in the column for linear input in Figure 7, the output values D(α·k) and D(α/k) will both match. On the other hand, if the difference between αk and α/k is outside the range of each row, the output values D(α·k) and D(α/k) will be different. In other words, if k≠1 and k is a value close to 1, and one of them enters into an adjacent range (row), the output value corresponding to that adjacent range will be D(α·k).
In the former case (when they match), the average value of αk and α/k, that is, is near the center of the range of each row of the linear input in FIG. 7, and in the latter case (when there is no match), the average value appears near the boundary between the adjacent ranges of each row.

第5図中の演算部44において、第1及び第2リニア符号
L1及びL2の平均値を演算すると、出力 となるから、前述した後者の場合に相当するときは、出
力Doutもこの行の出力値と隣接する行の出力値との中間
の値をとる。前述した前者の場合、すなわちαkとα/k
が同一範囲のときは、L1とL2は同一になるから、そのL1
とL2の平均値である出力Doutは上記各出力値と同一にな
る。このようにして第7図の出力値(OUTPUTVALUE)の
欄に示される出力値とこれらの隣接出力値間の丁度中間
の値を取る新たな出力値とが生成されることになり、A/
D変換器を高分解能化したのと同等になる。
In the calculation unit 44 in FIG. 5, the first and second linear codes
Calculating the average value of L1 and L2, the output Therefore, in the latter case described above, the output Dout also takes an intermediate value between the output value of this row and the output value of the adjacent row.
When L1 and L2 are in the same range, L1 and L2 are the same.
The output Dout, which is the average value of L1 and L2, is the same as each of the above output values. In this way, the output value shown in the output value (OUTPUTVALUE) column in Figure 7 and a new output value that is exactly midway between these adjacent output values are generated, and A/
This is equivalent to increasing the resolution of a D converter.

第8図はA/D変換装置における各部の値の対応を示す図
であり、第5図におけるアナログ信号Ainの振幅α、第
1増幅器38の出力値αk、第2増幅器4における出力値
α/k、第1リニア符号L1の値であるD(αk)、第2リ
ニア符号L2の値であるD(α/k)とディジタル変換出力
Doutである を具体的数値で示す。第8図で注目すべきところは、右
端に圧伸A/D変換器39、41の通常の量子化出力値Q2′、Q
3′、Q4′等のほかに、Q1、Q2,Q3,Q4等で示す出力値が
新たな出力値として出現したことである。この関係をよ
りわかり易い形で第9図に示す。なお、第9図のQ2′、
Q3′、Q4′等の各々は、第7図の各行に対応する。第9
図で、D(α・k)とD(α/k)に関し、同図のαが同
図の領域Aの範囲にあれば、上記両方の量子化出力は共
にQ3′となるため、ディジタル変換出力DoutもQ3′とな
る。αが領域Bにあれば、各量子化出力はQ4′とQ3′に
分かれるため、出力Doutはその中間値Q3となる。αが領
域Cにある場合も、各量子化出力はQ3′とQ2′に分か
れ、出力Doutはその中間値Q2となる。
FIG. 8 is a diagram showing the correspondence of values of each part in the A/D conversion device, and shows the amplitude α of the analog signal A in in FIG. 5, the output value αk of the first amplifier 38, the output value α/k of the second amplifier 4, D(αk) which is the value of the first linear code L1, D(α/k) which is the value of the second linear code L2, and the digital conversion output
D out The point to note in FIG. 8 is that the normal quantized output values Q2' and Q2' of the companding A/D converters 39 and 41 are shown at the right end.
In addition to Q3', Q4', etc., new output values indicated by Q1, Q2, Q3, Q4, etc. have appeared. This relationship is shown in a more easily understandable way in Figure 9.
Each of Q3', Q4', etc. corresponds to a row in Figure 7.
In the figure, with regard to D(α·k) and D(α/k), if α is within the range of area A in the figure, both of the quantized outputs will be Q3', and the digital conversion output Dout will also be Q3'. If α is in area B, each quantized output will be divided into Q4' and Q3', and the output Dout will be the intermediate value Q3. If α is in area C, each quantized output will also be divided into Q3' and Q2', and the output Dout will be the intermediate value Q2.

このように従来、出力値の種類が255であったものが、
本実施例によりほぼ倍増し、量子化ステップ(Δ)の大
きさはほぼ半分になる。そうすると、一般に知られてい
るように、量子化雑音電力Δ2/12は1/4になり、S/Nは6d
B向上し、ディジタル変換出力Doutに対してDSP処理を加
えてもS/Nの悪化は最小限に食いとめられる。
In this way, the number of output values has been increased from 255 to
This embodiment nearly doubles the signal strength, and the size of the quantization step (Δ) is nearly halved. As a result, as is generally known, the quantization noise power Δ 2 /12 becomes 1/4, and the S/N ratio becomes 6d.
B is improved, and even if DSP processing is applied to the digital conversion output D out , the deterioration of the S/N ratio can be kept to a minimum.

この場合、第9図からわかるように、圧伸A/D変換器3
9、41(第5図)の隣接する量子化出力値の境界の上側
から量子化ステップの1/4を引いた値及び下側から1/4を
加えた値が新しい境界値(decision value、点線で示さ
れる)とすれば、新たに生成される各出力値の取り得る
範囲の幅が同一となり最適になる。これより増幅率kを
算出すると、 である。
In this case, as can be seen from FIG. 9, the companding A/D converter 3
If the new boundary values (decision values, shown by dotted lines) are the values obtained by subtracting 1/4 of the quantization step from the upper boundary of the adjacent quantized output values 9 and 41 (Figure 5) and adding 1/4 to the lower boundary, the width of the range that each newly generated output value can take will be the same, making it optimal. Calculating the amplification factor k from this gives us the following: is.

圧伸A/D変換の場合は、出力値が大きい領域では、量子
化ステップを大きくしている(つまり、両か雑音が大き
くなっている)ので、(量子化ステップ/|出力値|)の
値は、一般にリニアA/D変換の出力に加べて一定値に近
い。そして、この比が一定値であれば、上式のkの値は
一意に定めることができる。しかし、第7図から明らか
なように、各行での(量子化ステップ/|出力値|)を計
算してみるとその値は十分一定とは言えない。例えば、
第8セグメントの一部では256/8031(=3.18%)の値
で、第2セグメントの一部では4/33(=12%)の値であ
って、上記値の差が大きい。従って、最適値の割り出し
は実験的に行う必要がある。実際に、μ−law8ビット圧
伸A/D変換器を使用して実験したところ、k=1.025が最
適値であった。
In the case of companding A/D conversion, the quantization step is made larger in areas where the output value is large (i.e., the noise is larger), so the value of (quantization step/|output value|) is generally close to a constant value when added to the output of linear A/D conversion. If this ratio is a constant value, the value of k in the above equation can be uniquely determined. However, as is clear from Figure 7, when we calculate (quantization step/|output value|) for each row, the value cannot be said to be sufficiently constant. For example,
The difference between the values is large: a value of 256/8031 (=3.18%) in part of the eighth segment and a value of 4/33 (=12%) in part of the second segment. Therefore, the optimum value must be determined experimentally. In fact, experiments using a μ-law 8-bit companding A/D converter revealed that k = 1.025 was the optimum value.

次に第6図のD/A変換装置について、その動作を説明す
る。説明を分かり易くするために、第1増幅器51の増幅
率k3=2/3とする。従って、前述の如く k5=1−k3=1/3となる。この条件下で、第6図のディ
ジタル信号Dinの値をβとすると、Dinは第1圧伸変換部
45を経由して第1圧伸D/A変換器49に入力し、ここで第
1アナログ信号A1に変換された後、第1増幅器51で2/3
(=k3)倍される。この出力を、 とする。このとき、第1圧伸PCM符号P3をリニア変換部4
7−1に入力させて再びリニア信号に戻す。これによ
り、入力側において上記ディジタル信号Din(=β)に
対する出力値(OUTPUT VALUE)のD(β)をディジタル
値として認識できる。そして、ディジタル信号Dinの値
βと上記出力値D(β)との差が減算部47−2で演算さ
れることにより、圧伸変換部45からD/A変換器49を介し
て発生する量子化雑音Nの電圧Eが求まる。すなわち、 E=β−D(β) (1) である。
Next, the operation of the D/A conversion device shown in Fig. 6 will be explained. For ease of explanation, the amplification factor k3 of the first amplifier 51 is assumed to be 2/3. Therefore, as mentioned above, Under this condition, if the value of the digital signal Din in FIG. 6 is β, Din is
45 and input to the first companding D/A converter 49, where it is converted into a first analog signal A1, and then is
(= k3) times. This output is In this case, the first companded PCM code P3 is converted into
The digital signal Din is then input to the digital companding unit 45 and converted back into a linear signal. This allows the output value D(β) for the digital signal Din (=β) to be recognized as a digital value on the input side. The difference between the value β of the digital signal Din and the output value D(β) is then calculated in the subtraction unit 47-2, thereby determining the voltage E of the quantization noise N generated from the companding unit 45 via the D/A converter 49. That is, E=β-D(β) (1)

このEを増幅部48−1で2(=k4)倍して、入力信号D
inに加算し、第2圧伸変換部46の入力とする。すなわち
変換部46の入力は、β+2Eとなり、上記(1)式を用い
て書き直すと、 β+2E=D(β)+3E (2) となる。ここで|E|は、出力値D(β)に対応しあるい
は直近の量子化ステップ(qとする)の1/2よりも小さ
い。なぜなら、量子化雑音Nの電圧Eが量子化ステップ
の1/2より大きいとすると、D(β)は隣接する別の出
力値になるからである例えば第7図で、D(β)が出力
値359であれば、リニア入力であるβは351〜366とな
り、量子化誤差は±8以下である。これは、セグメント
4の量子化ステップ16の1/2以下となっている。従っ
て、上記(2)式における3|E|は、D(β)の直近の量
子化ステップqの3/2倍以下の値となる。
This E is multiplied by 2 (=k4) in the amplifier 48-1 to obtain the input signal D
The resulting signal is added to in and input to the second companding converter 46. That is, the input to the converter 46 is β + 2E, which can be rewritten using equation (1) as follows: β + 2E = D(β) + 3E (2) Here, |E| corresponds to the output value D(β) or is smaller than 1/2 of the nearest quantization step (q). This is because if the voltage E of the quantization noise N is greater than 1/2 of the quantization step, D(β) will be a different adjacent output value. For example, in FIG. 7, if D(β) is the output value 359, the linear input β will be 351 to 366, and the quantization error will be ±8 or less. This is less than 1/2 of the quantization step 16 of segment 4. Therefore, 3|E| in equation (2) above is less than 3/2 times the nearest quantization step q of D(β).

ここに、第6図のDin→第2圧伸変換部46→D/A変換器50
の第2D/A変換系の処理で求まる第2アナログ信号A2の値
D(β+2E)は、以下の〜の条件で分類される。す
なわち、 +1.5q>3E≧0.5qのとき: D(β+2E)=D(β)+q (3) +0.5q>3E≧−0.5qのとき: D(β+2E)=D(β) (4) −0.5q>3E≧−1.5qのとき: D(β+2E)=D(β)−q (5) である。ここでD(β)+qは、出力値D(β)の上側
に隣接する出力値であり、D(β)−qは出力値D
(β)の下側に隣接する出力値である。この出力値は第
6図の第2増幅器52で1/(=k5)倍された後、加算器53
で前述の第1D/A変換系の出力 と加算される。これと前述の(3)〜(5)式より、加
算出力Aoutは、以下の〜の条件で分類される値とな
る。すなわち、 +1.5q>3E≧0.5qのとき: +0.5q>3E≧−0.5qのとき: −0.5q>3E≧−1.5qのとき: となる。
Here, D in → second companding conversion unit 46 → D/A converter 50 in FIG.
The value D(β+2E) of the second analog signal A2 obtained by the processing of the second D/A conversion system is classified according to the following conditions to: When +1.5q>3E≧0.5q: D(β+2E)=D(β)+q (3) When +0.5q>3E≧−0.5q: D(β+2E)=D(β) (4) When −0.5q>3E≧−1.5q: D(β+2E)=D(β)−q (5) Here, D(β)+q is the output value adjacent to the upper side of the output value D(β), and D(β)−q is the output value D
This output value is the output value adjacent to the lower side of (β). This output value is multiplied by 1/(=k5) by the second amplifier 52 in FIG. 6, and then added to the adder 53.
The output of the first D/A conversion system mentioned above is From this and the above equations (3) to (5), the sum output Aout is a value that is classified under the following conditions. That is, when +1.5q > 3E ≥ 0.5q: When +0.5q > 3E ≥ -0.5q: When −0.5q>3E≧−1.5q: This becomes:

上記(6)〜(8)式の関係を第10図に示す。まず、も
し、圧伸変換部及び圧伸D/A変換器が1台のみの従来の
構成なら、第10図の領域Aにある範囲の入力したディジ
タル信号Dinはすべて値がD(β)のアナログ信号で代
表される。従って、ディジタル信号Dinが領域B範囲に
あれば、量子化誤差は小さいが、領域C又はDにある場
合には量子化誤差は大きくなる。これに対して、上述の
本実施例では、以下に示すようにして量子化誤差を小さ
くできる。
The relationships between the above equations (6) to (8) are shown in Figure 10. First, if a conventional configuration were to have only one companding/expanding conversion section and one companding D/A converter, the entire input digital signal Din within the range of region A in Figure 10 would be represented by an analog signal with a value of D(β). Therefore, if the digital signal Din is within the range of region B, the quantization error is small, but if it is within region C or D, the quantization error becomes large. In contrast, in the above-mentioned embodiment, the quantization error can be reduced as shown below.

まず、前述の(3)又は(6)式での条件を書き直す
と、0.5q>E≧0.5q/3となる。すなわち、これは条件
におけるディジタル信号Dinの値βと代表値D(β)の
量子化雑音の電圧Eの範囲である。これは、第6図のデ
ィジタル信号Dinの値βが第10図の領域Cの範囲にある
ことを示している。すなわち、βはその範囲の代表値D
(β)に対応するずれが、量子化ステップqの1/3程度
の大きさの量子化雑音がある場合である。このような場
合には、前述の(3)式及び(6)式で示される如く、
結果的にアナログ信号Aoutは代表値D(β)にq/3だけ
上乗せされた値となり、アナログ信号Aoutと領域Cのβ
の値との量子化誤差が少なくなる。言い換えれば、第6
図のディジタル信号Dinの値βが、第10図の領域Cの範
囲にあれば、第6図の第1圧伸D/A変換器49の出力はD
(β)となる。また、第6図の第2圧伸D/A変換器50の
出力は前述の(3)式に示すようにD(β)+qとな
る。従って、第1及び第2増幅器51及び52からの出力は と、 となって、更に、これらが加算器53で加算されて、アナ
ログ信号Aoutは前述の(6)式又は第10図の如く、{D
(β)+q/3}となる。従って、従来は、ディジタル入
力信号Dinの値βが、第10図の領域Aの範囲にあればア
ナログ信号AoutはD(β)でしか表せなかったが、本実
施例では、βが領域Aのうち領域Cの範囲にあれば、A
outは{D(β)+q/3}で表すことができ、βとAout
量子化誤差を小さくできる。
First, if we rewrite the condition in the above equation (3) or (6), we get 0.5q > E ≥ 0.5q/3. That is, this is the range of the voltage E of the quantization noise of the value β of the digital signal Din under the condition and the representative value D(β). This shows that the value β of the digital signal Din in Figure 6 is within the range of area C in Figure 10. That is, β is the representative value D in that range.
The deviation corresponding to (β) is the case when there is quantization noise with a magnitude of about 1/3 of the quantization step q. In such a case, as shown in the above equations (3) and (6),
As a result, the analog signal A out is a value obtained by adding q/3 to the representative value D (β), and the analog signal A out and the β
In other words, the quantization error between the 6th
If the value β of the digital signal D in is within the range of area C in FIG. 10, the output of the first companding D/A converter 49 in FIG. 6 is D
The output of the second companding D/A converter 50 in FIG. 6 is D(β)+q as shown in the above equation (3). Therefore, the outputs from the first and second amplifiers 51 and 52 are and, These are then added by the adder 53, and the analog signal A out is obtained as follows, as shown in the above equation (6) or FIG. 10:
Therefore, in the past, if the value β of the digital input signal D in was within the range of area A in FIG. 10, the analog signal A out could only be expressed as D(β), but in this embodiment, if β is within the range of area C of area A, A
out can be expressed as {D(β)+q/3}, and the quantization error of β and A out can be reduced.

次に、前述の(5)又は(8)式の条件の場合は、上
述の条件と全く逆の関係になり、Aoutは代表値D
(β)からq/3だけ差し引かれた値となり、アナログ信
号Aoutと領域Dのβの値との量子化誤差が少なくなる。
Next, in the case of the condition of the above-mentioned formula (5) or (8), the relationship is completely opposite to the above-mentioned condition, and A out is the representative value D
The value is obtained by subtracting q/3 from (β), and the quantization error between the analog signal A out and the value of β in area D is reduced.

また、前述の(4)又は(7)式の条件の場合は、β
の値は代表値D(β)に近いため、Aoutとして代表値D
(β)がそのまま出力される。
In addition, in the case of the condition of the above-mentioned formula (4) or (7), β
Since the value of is close to the representative value D(β), the representative value D is used as A out .
(β) is output as is.

以上に示し、かつ、第6図に示した如く、Din→第1圧
伸変換部45→第1圧伸D/A変換部49のルート第1D/A変換
系から発生する上記量子化雑音分は、Din→第2圧伸変
換部46→第2圧伸D/A変換器50のルートの第2D/A変換系
の入力信号に上乗せされる。従って、上記第1D/A変換系
からの量子化雑音はほぼ打ち消され、上記第2D/A変換系
において、最大q/2だけの量子化雑音が発生する。加算
器53の出力においてみると、第2D/A変換系の出力は、第
2増幅器52で1/3(=k5)倍されるので、発生する量子
化雑音は結果として最大q/6になり、従来の1/3となる。
As described above and shown in Fig. 6, the quantization noise generated in the first D/A conversion system via the route Din → first companding unit 45 → first companding D/A conversion unit 49 is added to the input signal of the second D/A conversion system via the route Din → second companding unit 46 → second companding D/A converter 50. Therefore, the quantization noise from the first D/A conversion system is almost completely canceled out, and only a maximum of q/2 quantization noise is generated in the second D/A conversion system. At the output of adder 53, the output of the second D/A conversion system is multiplied by 1/3 (=k5) in second amplifier 52, resulting in a maximum of q/6 quantization noise, 1/3 of the conventional level.

結論的には、第6図の実施例の場合、出力値は、通常の
圧伸D/A変換器だけを用いた場合に比べ約3倍に増え、
例えば9.5ビット(256×3≒29.5)相当の高分解能な
圧伸D/A変換器が等価的に得られる。
In conclusion, in the case of the embodiment of FIG. 6, the output value increases by about three times compared to when only a normal companding D/A converter is used.
For example, a high-resolution companding D/A converter equivalent to 9.5 bits (256×3≈2 9.5 ) can be obtained.

上記動作を更に具体的な例に基づいて説明する。本実施
例の説明でも、第5図の場合と同様、圧伸則としてμ−
lawを例にとるが、A−lawであっても本発明の効果は変
わらない。
The above operation will be explained based on a more specific example. In the explanation of this embodiment, similarly to the case of FIG. 5, the μ-companding law is used.
Although law is taken as an example, the effect of the present invention is the same even when A-law is used.

第11A図及び第11B図は、第6図のD/A変換装置における
各部の値の対応を示す図であり、A/D変換装置について
の第7図に相当する。第11A図および第11B図は、第6図
におけるディジタル信号Dinの振幅β、第1圧伸PCM符号
P3、アナログ信号A1の値D(β)(ディジタル表現)、
量子変雑音N(ディジタル値)、量子化雑音Nの電圧E
の2倍の値(ディジタル値)、加算部48−2のディジタ
ル出力(β+2)、第2圧伸PCM符号P4、第2アナログ
信号A2とアナログ変換出力 を各々示す。同図に示すとおり、各アナログ変換出力A
outは、相互間で5.333の等間隔で現れる。第6図の圧伸
D/A変換器49、50等は、第5図の圧伸A/D変換器39、41等
と完全に対応しており、各々の量子化出力は、第7図の
出力値(OUTPUT VALUE)をみればわかるように、例えば
同図のセグメント4の場合、相互間で16の等間隔で現れ
る。従って、第11A図及び第11B図より、D/A変換器49と5
0を組み合わせることで、アナログ変換出力Aoutの出力
間隔は、通常のD/A変換出力の場合の1/3に細分化でき、
出力値の数は3倍になっていることがわかる。
11A and 11B are diagrams showing the correspondence between values of each part in the D/A conversion device of FIG. 6, and correspond to FIG. 7 for the A/D conversion device. 11A and 11B show the amplitude β of the digital signal D in in FIG. 6, the first companded PCM code
P3, the value D(β) of the analog signal A1 (digital representation);
Quantum noise N (digital value), voltage E of quantization noise N
(digital value), the digital output (β+2) of the adder 48-2, the second companded PCM code P4, the second analog signal A2 and the analog conversion output As shown in the figure, each analog conversion output A
The outs appear at equal intervals of 5.333 between each other.
The D/A converters 49, 50, etc. correspond exactly to the companding A/D converters 39, 41, etc. in Fig. 5, and as can be seen from the output values (OUTPUT VALUE) in Fig. 7, for example, in the case of segment 4 in the figure, the quantized outputs appear at equal intervals of 16 between each other. Therefore, from Figs. 11A and 11B, it can be seen that the D/A converters 49 and 5
By combining 0, the output interval of the analog conversion output A out can be subdivided into 1/3 of that of a normal D/A conversion output,
It can be seen that the number of output values has tripled.

上述の例はk3=2/3の場合について示したが、k3=1/2と
した場合は、前述の(3)〜(8)式と同様の計算を行
うことで、アナログ変換出力Aoutの出力値の数は2倍に
なり、8ビット圧伸D/A変換器を用いるにもかかわらず
9ビット圧伸D/A変換器と等価になることが理解され
る。
The above example shows the case where k3 = 2/3. However, if k3 = 1/2, by performing calculations similar to those of the above-mentioned equations (3) to (8), it can be understood that the number of output values of the analog conversion output A out will double, and despite the use of an 8-bit companding D/A converter, it will be equivalent to a 9-bit companding D/A converter.

またk3=3/4とすると、上記出力値の数は4倍になり、
8ビット圧伸D/A変換器を用いるにもかかわらず10ビッ
ト圧伸D/A変換器と等価になることが理解される。
If k3 = 3/4, the number of output values will be four times as many,
It will be understood that although an 8-bit companding D/A converter is used, it is equivalent to a 10-bit companding D/A converter.

第12図は本発明に基づくA/DおよびD/A変換装置の好適構
成例の詳細回路図である。好適構成とは、既存のDSP
と、既存のPCM・CODECを2セットし、その他若干の素子
で構成できることを意味する。このような構成により、
前述の第2図の構成に、安価に入手可能なPCM・CODECを
もう1つ追加するだけで充分実用に供し得る高分解能A/
DおよびD/A変換装置が実現される。なお、第12図では、
ハイブリッドトランス、アンプ、粗減衰器等は省略して
ある。
FIG. 12 is a detailed circuit diagram of a preferred example of the configuration of the A/D and D/A conversion device according to the present invention.
This means that it can be configured with two sets of existing PCM CODECs and a few other elements.
By simply adding another inexpensive PCM codec to the configuration shown in Figure 2, a high-resolution A/D converter that can be used in practical applications can be obtained.
In addition, in FIG. 12,
The hybrid transformer, amplifier, coarse attenuator, etc. are omitted.

第12図において、第5図の2つの圧伸A/D変換器39、41
と第6図の2つの圧伸D/A変換器49、50は、第1PCM・COD
EC54と第2PCM・CODEC55によって与えられる2つの圧伸A
/D変換器及び2つの圧伸D/A変換器により、各々A/DとD/
Aペアにして一体に形成される。図中、演算増幅器56
は、その抵抗R1及びR2によって、増幅率k1(第5図)が
形成され(k1=R2/R1)、次段の抵抗R3及びR4により、
増幅率k2(第5図)が形成される。k1とk2が前述のよう
にkと1/kの関係にあれば、k・R3/(R3+R4)=1/kか
ら、R3とR4を決める。
In FIG. 12, the two companding A/D converters 39 and 41 in FIG.
The two companding D/A converters 49 and 50 in FIG.
Two companding A provided by EC54 and the second PCM CODEC55
A/D converter and two companding D/A converters are used to perform A/D and D/
A pair is formed as an integral unit.
The resistors R1 and R2 create an amplification factor k1 (see Figure 5) (k1 = R2 / R1 ), and the resistors R3 and R4 in the next stage create the following:
An amplification factor k2 (Figure 5) is formed. If k1 and k2 are related to k by 1/k as described above, R3 and R4 are determined from k· R3 /( R3 + R4 ) = 1/k.

このことはD/A変換系の演算増幅器57でも同じであり、
増幅率k3(第6図)は、R7/R6で定め、k5はR7/R5で定め
る。それにより、アナログ変換出力Aout(A1とA2は第6図参照)で求まる。前の例では、k3=2/
3、k5=1/3としたが、この例ではR6=1.5R7、R5=3R7
定める。
This is also true for the operational amplifier 57 in the D/A conversion system.
The amplification factor k3 (Fig. 6) is determined by R7 / R6 , and k5 is determined by R7 / R5 . As a result, the analog conversion output Aout is (See Figure 6 for A1 and A2.) In the previous example, k3 = 2/
3, k5 = 1/3, but in this example, R 6 = 1.5R 7 and R 5 = 3R 7 are set.

DSP内の構成は、第5図に示すように、既述した第1及
び第2リニア変換部42、43、演算部44(平均レベルを算
出する)であり、また既述した第6図に示すように、第
1及び第2圧伸変換部45及び46、リニア変換部47−1、
減算部47−2、増幅部48−1及び加算部48−2である。
ライン60は、特には図示しない2線−4線変換決(ハイ
ブリッドトランス)における信号の廻り込みを防止する
ためのバランシングネットワーク機能を果たすための、
ラインである。DSP機能部58及び59内には、それぞれ既
述した等化器の機能(EQL)、減衰器の機能(ATT)等が
含まれる。これらのDSP機能部58及び59に接続された回
線側は、各々、リニア/μ変換部(L/μ)61及びμ/リ
ニア変換部(μ/L)62を介して伝送路に接続される。
As shown in FIG. 5, the DSP is configured with the first and second linear conversion units 42 and 43 and the calculation unit 44 (which calculates the average level), and as shown in FIG. 6, the DSP is configured with the first and second companding conversion units 45 and 46, the linear conversion unit 47-1,
These are a subtraction unit 47-2, an amplification unit 48-1 and an addition unit 48-2.
The line 60 is a balancing network for preventing signal leakage in a two-wire to four-wire conversion device (hybrid transformer) not shown in the figure.
The DSP function units 58 and 59 each include the equalizer function (EQL) and attenuator function (ATT), etc. The line sides connected to these DSP function units 58 and 59 are connected to the transmission line via a linear/μ conversion unit (L/μ) 61 and a μ/linear conversion unit (μ/L) 62, respectively.

以上説明したように、第1の実施例によれば、特にA/D
及びD/A変換器とDSPとを組合せたA/D及びD/A変換装置で
あって、DSPが必要とするA/DおよびD/A変換器の高分解
能入出力を、A/D及びD/A変換器はそのままにして、DSP
自らの計算機能を利用して、安価な増幅器(第5図の3
8、40又は第6図の51、52等)を付加するのみで、実現
可能となる。
As described above, according to the first embodiment, particularly the A/D
and D/A converters and DSPs are combined, and the high-resolution input and output of the A/D and D/A converters required by the DSP is handled by the DSP, while the A/D and D/A converters remain the same.
Using its own calculation function, it can generate a cheap amplifier (Fig. 5, 3
8, 40 or 51, 52 in FIG. 6) can be realized.

第2実施例 次に、本発明の第2の実施例につき説明する。本実施例
は、DSP内等で処理されたディジタル信号のクロック
を、第1クロック(受信クロック)から第2クロック
(送信クロック)へと、ディジタル信号のまま乗り換え
ることを特徴とする。
Second Embodiment Next, a second embodiment of the present invention will be described. This embodiment is characterized in that the clock of a digital signal processed in a DSP or the like is switched from a first clock (receiving clock) to a second clock (transmitting clock) while the digital signal is still in its original form.

第13A図及び第13B図は、本発明の第2の実施例の基本ブ
ロック図で、第13A図は高標本化ディジタル低域通過フ
ィルタ1個を用いる場合であり、第13B図は高標本化デ
ィジタル低域通過フィルタを複数ブロックに分割して用
いる場合である。
FIGS. 13A and 13B are basic block diagrams of a second embodiment of the present invention. FIG. 13A shows the case where one high sampling digital low pass filter is used, while FIG. 13B shows the case where the high sampling digital low pass filter is divided into multiple blocks.

第13A図に示す如く、第1クロックのデータ系列はデー
タ変換回路63を通り、単位時間当たりのデータ数が元の
データに比べてn(但し、n>1、整数)倍にされる。
更に、上記変換回路63の出力は該第1クロックのn倍の
標本化速度で動作する高標本化ディジタル低域フィルタ
64を通り、補間処理部65に入力する。
As shown in FIG. 13A, the data series of the first clock passes through a data conversion circuit 63, where the number of data per unit time is multiplied by n (n>1, integer) compared with the original data.
Furthermore, the output of the conversion circuit 63 is passed through a high-sampling digital low-pass filter operating at a sampling rate n times the first clock.
The signal passes through 64 and is input to an interpolation processing unit 65.

該補間処理部65では、タイミング差検出回路66にて検出
した該第1、第2クロックのタイミング時間差τに基づ
き、補間法により該第2クロックに同期した変換データ
を計算作成して出力する。
The interpolation processing unit 65 calculates and generates conversion data synchronized with the second clock by interpolation based on the timing time difference τ between the first and second clocks detected by the timing difference detection circuit 66, and outputs the converted data.

また、第13B図に示す如く、第1クロックのn倍の標本
化速度で動作する高標本化ディジタル低域通過フィルタ
64(第13A図)が複数ブロック67、68、69に分解され
る。そして、各隣接ブロックの標本化速度の比は整数と
され、最後段ブロック69は第1クロックのn倍の標本化
速度で動作し、各ブロック67、68、69の損失特性の和
は、第13A図の元のフィルタ64と同等とする。
Also, as shown in FIG. 13B, a high-sampling digital low-pass filter operates at a sampling rate n times the first clock.
64 (Fig. 13A) is decomposed into multiple blocks 67, 68, and 69. The ratio of the sampling rates of adjacent blocks is set to an integer, and the final block 69 operates at a sampling rate n times that of the first clock. The sum of the loss characteristics of each block 67, 68, and 69 is set to be equivalent to that of the original filter 64 in Fig. 13A.

そして、高標本化フィルタの各ブロック間に、1入力デ
ータに対して隣接ブロックの標本化速度の比(l2,l3
に等しい数の該入力データと同一振幅のデータを出力す
るデータ変換回路70、71が設けられる。また、第1クロ
ックのデータ系列を入力するデータ変換回路63′は、単
位時間当たり、元のデータのデータ数に比べて、初段の
ブロック67の標本化速度と、該第1クロックの速度との
比l1=n/l2/l3に等しい数の同一振幅のデータを出力す
るように設定する。これについては後述する。
Then, between each block of the high sampling filter, the ratio of the sampling rate of adjacent blocks to one input data (l 2 ,l 3 )
In addition, data conversion circuits 70 and 71 are provided which output data of the same amplitude as the input data, in a number equal to the ratio l1 = n/l2 / l3 of the sampling rate of the first-stage block 67 to the rate of the first clock, compared to the number of data in the original data per unit time . This will be described later.

なお、第13B図において、初段のブロック67の標本化速
度は第1クロックと同じfaとなっている場合(l1=1)
には、データ変換回路63′は不要となる。
In addition, in FIG. 13B, when the sampling rate of the first stage block 67 is fa, which is the same as the first clock (l 1 =1),
In this case, the data conversion circuit 63' is not required.

上記基本構成の概略動作について説明する。第14A図〜
第14C図は、第13A図の各部の波形のタイムチャートであ
る。
The outline of the operation of the above basic configuration will be explained below.
FIG. 14C is a time chart of the waveforms of the various parts of FIG. 13A.

以下、第1クロック及び第2クロックの周波数は公称8K
Hzであるとして説明する。
Hereinafter, the frequency of the first and second clocks is nominally 8K.
The explanation will be given assuming that the frequency is Hz.

第13A図では第14A図に示す如く、第1クロックの時間
tn,tn+1,tn+2,tn+3,・・・における、例えば3.004KHzの
正弦波のデータ値Sn,Sn+1,Sn+2,Sn+3,・・・を、データ
変換回路63が受信する。ここでは、第14B図に示す如
く、単位時間当たりのデータ数が元のデータに比べてn
倍、例えば8倍にされる。続いて、データ変換回路63の
出力は、該第1クロックの8倍の64KHzの標本化速度で
動作する高標本化ディジタル低域通過フィルタ64に入力
する。同フィルタ64の遮断周波数は、第1クロックのデ
ータ系列に許される遮断周波数であり、音声信号の場合
は(8/2)KHz=4KHzである。これにより、上記フィルタ
64の出力として、第14C図に示す如き信号が得られる。
In FIG. 13A, as shown in FIG. 14A, the time of the first clock
The data conversion circuit 63 receives, for example, 3.004 KHz sine wave data values Sn , Sn+1 , Sn +2 , Sn +3 , ... at tn , tn+1 , tn +2 , tn +3 , .... Here, as shown in Figure 14B, the number of data per unit time is n times larger than the original data.
The output of the data conversion circuit 63 is then input to a high sampling digital low pass filter 64 which operates at a sampling rate of 64 kHz, eight times the sampling rate of the first clock. The cutoff frequency of the filter 64 is the cutoff frequency allowed for the data series of the first clock, which is (8/2) kHz = 4 kHz in the case of an audio signal.
At the output of 64, a signal such as that shown in FIG. 14C is obtained.

この信号系列の時間間隔は、第1クロックに同期してい
たときの時間間隔と比べて、1/8となっている。
The time interval of this signal sequence is 1/8 of the time interval when synchronized with the first clock.

今、第14A図で、第2クロックの時間Tn-1,Tn,Tn+1,
Tn+2,Tn+3,・・・におけるデータ値を、第1クロックの
時間tn,tn+1,tn+2,tn+3,・・・における各データ値Sn,S
n+1,Sn+2,Sn+3,・・・を用いて、ラグランジェの補間法
により求めようとしても、各データの時間間隔が広くデ
ータ値の変化が大きいため、求めることは困難である。
しかし本実施例の如く、第1クロックの時間間隔を1/8
とすれば、各データの時間間隔が狭くなり隣接する時間
のデータ値の変化が小さくなるので第2クロックの時間
Tn-1,Tn,Tn+1,Tn+2,Tn+3,・・・におけるデータ値を求
めることが可能となる。
Now, in FIG. 14A, the times T n-1 , T n , T n+1 ,
The data values at T n + 2 , T n +3 , . . . are converted into data values S n , S
Even if an attempt is made to use Lagrange's interpolation method using S n+1 , S n+2 , S n+3 , . . . to find the value, it is difficult to do so because the time intervals between each piece of data are wide and the data values change greatly.
However, as in this embodiment, the time interval of the first clock is set to 1/8
If this is the case, the time interval between each piece of data will be narrower and the change in data value between adjacent times will be smaller.
It is possible to find the data values at T n-1 , T n , T n+1 , T n+2 , T n+3 , . . .

即ち、第14C図に示すように、第1クロックと第2クロ
ックのタイミング差τをタイミング差検出回路66にて求
め、それを補間処理部65に入力させる。そして、補間処
理部65で、第1クロックの周期τ及び第2クロックの
時間Tn+1と、Tn+1を越えた前記1/8時間間隔の時間との
差Δτ、及び第2クロックの時間Tn+1の両側の1/8の時
間間隔データ値Fm-1,Fmを用いて、ラグランジェの補間
式 F=[Fm{(τa/n)−Δτ}+Fm-1・Δτ] ÷(τa/n) にて、第2クロックの時間Tn-1のデータ値Fを求めるこ
とができる。
That is, as shown in Fig. 14C, the timing difference τ between the first clock and the second clock is found by a timing difference detection circuit 66 and input to an interpolation processing unit 65. Then, the interpolation processing unit 65 can find the data value F of the second clock time Tn -1 by Lagrange 's interpolation formula F = [Fm{(τa/n) - Δτ} + Fm-1 · Δτ] ÷ (τa/n) using the period τa of the first clock, the difference Δτ between the second clock time Tn+1 and the time of the 1/8 time interval beyond Tn+1, and the 1/8 time interval data values Fm-1 , Fm on both sides of the second clock time Tn +1 .

このようにして第2クロックの時間Tn-1,Tn,Tn+1,Tn+2,
Tn+3,・・・におけるデータ値が求められ、第2クロッ
クのディジタルデータ値として出力される。
In this way, the times T n-1 , T n , T n+1 , T n+2 ,
The data values at T n+3 , . . . are determined and output as digital data values for the second clock.

このようにすれば、ディジタル信号がアナログ信号に変
換されないため、量子化雑音は発生せず、また、ディジ
タルで全部処理するので、小型に集積化することができ
る。
In this way, since digital signals are not converted into analog signals, quantization noise does not occur, and since all processing is done digitally, it is possible to integrate the signal into a small size.

なお、第13A図の高標本化ディジタル低域通過フィルタ6
4は、元のデータの標本化周波数の8倍の繰り返し周波
数で動作している。すなわち、元のデータの標本化周波
数の繰り返し周期の間に8個のデータを入力し、8個の
データを出力するので、処理量は元のデータの標本化周
波数で動作させる場合の8倍となる。
In addition, the high sampling digital low pass filter 6 in FIG.
4 operates at a repetition frequency eight times the sampling frequency of the original data. In other words, eight pieces of data are input and eight pieces of data are output during the repetition period of the sampling frequency of the original data, so the processing volume is eight times that when operating at the sampling frequency of the original data.

例えば、高標本化ディジタル低域通過フィルタ64の次数
が6次で、フィルタで生ずる群遅延歪の発生を抑圧する
遅延等化器の2次と合わせて8次のフィルタの場合は、
処理量としては、等価的な次数は64次となる。
For example, if the high sampling digital low pass filter 64 has a sixth order and a second order delay equalizer that suppresses the generation of group delay distortion caused by the filter, the filter becomes eighth order.
In terms of processing volume, the equivalent order is 64th.

ディジタルフィルタは2次当たり、yn=a・xn+b・x
n-1+c・xn-2−d・yn-1−e・yn-2の差分方程式の計
算を1回することから、乗算回数は1周期当たり5回で
あり、64次では160回/周期となる。従って、ディジタ
ル信号処理部(DSP)が行うプログラムとしてみると、
データ変換手続き等を含めて220ステップ以上の処理と
なる。
The digital filter is 2nd order, y n = a x n + b x
Since the difference equation n-1 + c.xn -2 - d.yn -1 - e.yn -2 is calculated once, the number of multiplications is 5 per period, which is 160 times per period for the 64th order. Therefore, when viewed as a program executed by the digital signal processor (DSP),
The process involves more than 220 steps, including data conversion procedures.

1ステップの処理時間が100nsの高速ディジタル信号処
理部を使用しても、1周期125μs(8KHz)とした時
は、最大1250ステップしか処理できず、そのうちの220
ステップをクロック乗換方式のためのフィルタ計算に割
り当てると、他処理の配分が減り望ましくない。
Even if a high-speed digital signal processor with a processing time of 100 ns is used, when one cycle is 125 μs (8 KHz), only a maximum of 1250 steps can be processed, of which 220
Allocating steps to filter calculation for the clock transfer method is undesirable as it reduces the allocation of other processes.

そこで、13B図に示す如く、フィルタを複数ブロックに
分割して、低い標本換速度でも可能な処理は低い標本化
速度のフィルタで処理することにして処理量を大幅に減
らすことができる。
Therefore, as shown in FIG. 13B, the filter is divided into multiple blocks, and processing that can be performed at a low sampling rate is performed by a filter with a low sampling rate, thereby significantly reducing the amount of processing.

例えば、遅延等化器における処理は、通過域のみに関係
しており、阻止域である例えば4KHz以上の周波数におけ
る遅延は問題ではないから、元のデータの標本化速度8K
Hzで動作するフィルタブロック67で行うことができる。
For example, the processing in the delay equalizer is related only to the passband, and delays in frequencies above 4KHz, which is the stopband, are not an issue. Therefore, the sampling rate of the original data is 8K.
This can be done with a filter block 67 operating in Hz.

次に、例えば、4KHzから8KHzまでの周波数成分の遮断
は、標本化速度16KHzで動作するフィルタブロック68に
て行われる。そして、8KHzから32KHzまでの周波数成分
の遮断は、第13A図の高標本化ディジタル低域通過フィ
ルタ64の標本化速度と同じ64KHzで動作する、最後段の
フィルタブロック69にて行われる。
Next, for example, frequency components from 4 kHz to 8 kHz are cut off by a filter block 68 operating at a sampling rate of 16 kHz, and frequency components from 8 kHz to 32 kHz are cut off by a final filter block 69 operating at 64 kHz, the same sampling rate as the high-sampling digital low-pass filter 64 in Figure 13A.

この例の場合、初段のブロック67の標本化速度は第1ク
ロックと同じとなっているのでデータ変換回路63′は不
要となる。
In this example, the sampling rate of the first stage block 67 is the same as the first clock, so the data conversion circuit 63' is not required.

フィルタブロック68の入力側には、1つの入力データに
対して同じ振幅のデータを2つ出力するデータ変換回路
70が設けられる。また、フィルタブロック69の入力側に
は、1つの入力データに対して同じ振幅のデータを4つ
出力するデータ変換回路71が設けられる。
The input side of the filter block 68 is connected to a data conversion circuit that outputs two pieces of data with the same amplitude for one piece of input data.
On the input side of the filter block 69, there is provided a data conversion circuit 71 which outputs four pieces of data with the same amplitude in response to one piece of input data.

このようにすることにより、例えば標本化周波数が8KHz
及び64KHzの各ブロック67、69は2次のフィルタで構成
され、標本化周波数が16KHzのブロック68は4次のフィ
ルタで構成されたとすれば、1周期当たりの全体の乗算
回数は、前述のように2次あたり5回であるから、次数
比と標本化比の関係より、5×1+5×2×2+5×2
×4=65回となり、大幅に計算量を減ずることができ
る。
By doing this, for example, the sampling frequency is 8KHz
If the blocks 67 and 69 with a sampling frequency of 64KHz are configured with a second-order filter, and the block 68 with a sampling frequency of 16KHz is configured with a fourth-order filter, the total number of multiplications per period is five per second order as mentioned above, and therefore, from the relationship between the order ratio and the sampling rate, it is 5 x 1 + 5 x 2 x 2 + 5 x 2
× 4 = 65 times, which can significantly reduce the amount of calculation.

上述した第13B図のようにしても、フィルタブロック69
の出力のデータ数は元のデータの8倍となっており、第
13A図のフィルタの場合と同様であり、補間処理部65に
て第13A図の場合と同様に第1クロックより第2クロッ
クへの乗換の処理ができる。
Even if the filter block 69 is configured as shown in FIG. 13B,
The number of output data is eight times the original data,
This is the same as in the case of the filter in FIG. 13A, and the interpolation processing unit 65 can perform the process of changing from the first clock to the second clock in the same way as in the case of FIG. 13A.

次に、第13A図又は第13B図の各部の詳細な構成及び動作
につき説明する。
Next, the detailed configuration and operation of each part in FIG. 13A or 13B will be described.

第15図は、第13A図のデータ変換回路63のブロック図、
第16図は同じく高標本化ディジタル低域通過フィルタ64
のブロック図、第17図は第16図のフィルタの減衰量を示
す図、第18図は第13A図の補間処理部65のプログラムの
フローチャート、第19図は同じくタイミング差検出回路
66の原理ブロック図である。
FIG. 15 is a block diagram of the data conversion circuit 63 of FIG. 13A;
FIG. 16 shows the high sampling digital low pass filter 64.
17 is a diagram showing the attenuation of the filter of FIG. 16; FIG. 18 is a flowchart of the program of the interpolation processing unit 65 of FIG. 13A; and FIG. 19 is a timing difference detection circuit of the same.
66 is a block diagram of the principle.

各図中72はメモリ、73、109は逓倍器、108は10ビットカ
ウンタ、110は10ビットレジスタ、111はスイッチ、74〜
77は加算器、78〜87はデータ遅延用メモリ、88〜107は
係数乗算器を示す。
In each figure, 72 is a memory, 73 and 109 are multipliers, 108 is a 10-bit counter, 110 is a 10-bit register, 111 is a switch, 74 to
Reference numeral 77 denotes an adder, 78 to 87 denote data delay memories, and 88 to 107 denote coefficient multipliers.

第15図のデータ変換回路は、1周期に同じデータを8回
出力する場合の例である。同回路は、第1クロックに同
期して、例えば8KHz間隔で入力する例えば16ビットの振
幅データを、メモリ72に第1クロックで書き込み、第1
クロックを逓倍器73にて8逓倍して得た読み出しクロッ
クを用いて、1周期にそのデータを8回出力する。
The data conversion circuit in Fig. 15 is an example of a circuit that outputs the same data eight times in one period. This circuit writes, for example, 16-bit amplitude data input at intervals of 8 kHz in synchronization with the first clock into memory 72 at the first clock, and
The data is output eight times in one cycle using a read clock obtained by multiplying the clock by eight in a multiplier 73.

第16図は、遮断周波数が3.8KHzの、2次のデジタルフィ
ルタ4セクションで構成されている高標本化デジタル低
域通過フィルタの例である。上記フィルタ構成のうち6
次分は、4KHz以上60KHzまでの帯域を遮断する為の低域
通過フィルタで、他の2次分はフィルタの郡遅延時間歪
を等化する為の遅延等化器である。そして、フィルタ全
体は64KHzの標本化速度で動作し、8KHzの1周期に8回
のフィルタ計算を行うものである。
Figure 16 shows an example of a high sampling digital low-pass filter consisting of four sections of a second-order digital filter with a cutoff frequency of 3.8 kHz.
The first is a low-pass filter that blocks frequencies between 4KHz and 60KHz, and the other second order is a delay equalizer that equalizes the group delay distortion of the filter. The entire filter operates at a sampling rate of 64KHz, performing eight filter calculations per 8KHz period.

減衰特性は第17図に示す如くである。同特性において、
3.4KHz付近で2〜3dBの利得となっているのは、入力す
る信号をNRZとして処理しているので、RZ/NRZ補正を行
うためである。
The attenuation characteristics are as shown in Figure 17.
The gain of 2 to 3 dB around 3.4 kHz is due to the fact that the input signal is processed as NRZ, and RZ/NRZ correction is performed.

なお、フィルタとしては、大形なるもトランスバーサル
フィルタで実現しても勿論よい。
Of course, the filter may be realized by a large transversal filter.

第18図の動作フローチャートで示される補間処理におい
ては、例えば同じデータが第1クロックの周期でτ
(第14C図参照)に8回入力するとすると、ステップS1
にて、第1クロックと第2クロックの時間差τと比較し
ながら、τ・m/8(m=1〜8)のmを1から順次大
きくしてゆく。そして、Δτ=τ・m/8−τの符号が
正になるところで比較作業を停めて、第2クロックの時
間である第14C図のTn+1と、Tn+1を越えた1/8の時間間隔
の時間との差Δτ、及びmの値を求める。第14C図の場
合はm=5となっていることがわかる。
In the interpolation process shown in the operation flowchart of FIG. 18, if the same data is input eight times during τ a in the period of the first clock (see FIG. 14C), then in step S1
While comparing with the time difference τ between the first and second clocks, m in τ a m/8 (m = 1 to 8) is increased in order starting from 1. Then, the comparison is stopped when the sign of Δτ = τ a m/8 - τ becomes positive, and the difference Δτ between T n+1 in Figure 14C, which is the time of the second clock, and the time 1/8 of the time interval beyond T n+1 , as well as the value of m, are found. In the case of Figure 14C, it can be seen that m = 5.

そこで、m=4と5の時のデータ値Fm-1,Fmより、ステ
ップS2にて、前述のラグランシェの補間式 F=[Fm{(τa/n)−Δτ}+Fm-1・Δτ] ÷(τa/n) にて、第2クロックの時間Tn+1のデータ値Fを求める。
Therefore, in step S2, from the data values F m-1 and F m when m = 4 and 5, the data value F of the second clock time T n+1 is calculated using the Lagranche interpolation formula F = [F m {( τ a /n) - Δτ} + F m-1 · Δτ] ÷ (τ a /n).

このようにして、第14A図の第2クロックの時間Tn-1,
Tn,Tn+1,Tn+2,Tn+3,・・・におけるデータ値が求めるこ
とができる。
In this way, the time T n-1 of the second clock in FIG.
The data values at T n , T n+1 , T n+2 , T n+3 , . . . can be determined.

第19図はタイミング差検出回路の原理構成を示した図で
ある。なお、その詳細な実施例は、後述の第3及び第4
の実施例において説明する。
19 is a diagram showing the principle configuration of a timing difference detection circuit. A detailed embodiment thereof will be described later in the third and fourth embodiments.
This will be explained in the examples.

同図のタイミング差検出回路では、第1クロックを逓倍
器109にて例えば210倍して、それが10ビットカウンタ10
8の入力データとされ、同カウンタは第1クロックの立
ち上がりでリセットされるようにする。これにより、10
ビットのカウンタ値は、第1クロックの周期を210=102
4等分した時刻の中の位置を示すことになる。つまり例
えば512であれば、その時刻は第1クロックのちょうど
真ん中になる。
In the timing difference detection circuit shown in the figure, the first clock is multiplied by, for example, 2 ×10 in a multiplier 109, and this is input to a 10-bit counter 10
The counter is reset at the rising edge of the first clock.
The counter value of the first clock is 2 10 = 102
It indicates the position within a quarter of the time, so for example, if the number is 512, the time is exactly in the middle of the first clock.

従って、第2クロックのタイミングでスイチ111をオン
にして、カウンタ108の値を10ビットレジスタ110に取り
込むことにより、1周期を1024とする分解能で第1クロ
ックと第2クロックとの時間差τを求めることができ
る。
Therefore, by turning on switch 111 at the timing of the second clock and inputting the value of counter 108 into 10-bit register 110, the time difference τ between the first clock and the second clock can be calculated with a resolution of 1024 cycles.

次に、本発明のクロック乗換方式を第12図に示すPCMチ
ャネル装置に適用した場合につき説明する。
Next, a case where the clock transfer method of the present invention is applied to a PCM channel device shown in FIG. 12 will be described.

第20図は、上記第2の実施例に基づくディジタルPCMチ
ャネル装置のブロック図である。同図において、前述の
第3図の従来例及び第13A図の第2の実施例の基本構成
と同一の番号を付した部分は、各々同じ機能を有するも
のとする。
Fig. 20 is a block diagram of a digital PCM channel apparatus based on the second embodiment. In this figure, parts with the same numbers as those in the basic configuration of the conventional example in Fig. 3 and the second embodiment in Fig. 13A have the same functions.

同図では、クロックタイミングとしては、受信PCM信号R
INより受信タイミング再生回路115にて再生した受信ク
ロックRCLKと、自局の送信クロック発生器114よりの送
信クロックSCLKとが存在する。そして、受信クロックRC
LKは、受信レジスタ116、D/A変換器24、A/D変換器23、
ディジタル信号処理部(DSP)118、及び送受信タイミン
グ差検出回路66に入力しており、ほとんどの機能が受信
クロックRCLKを基準として動作している。一方、送信ク
ロックSCLKは送信レジスタ113及び送受信タイミング差
検出回路66に入力している。
In the figure, the clock timing is the received PCM signal R
There are a receiving clock RCLK recovered from IN by a receiving timing recovery circuit 115 and a transmitting clock SCLK from a transmitting clock generator 114 of the own station.
LK is a signal input to the receiving register 116, the D/A converter 24, the A/D converter 23,
The receive clock RCLK is input to the digital signal processor (DSP) 118 and the transmit/receive timing difference detection circuit 66, and most functions operate based on the receive clock RCLK. On the other hand, the transmit clock SCLK is input to the transmit register 113 and the transmit/receive timing difference detection circuit 66.

従って、第20図の回路では、受信クロックRCLKにより加
入者からの入力信号SINが拾われ、また、相手局からの
受信PCM信号RINが受信レジスタ116に書き込まれる。そ
して、その信号は受信クロックRCLKにて読み出され、μ
/L変換器117にてμ−law圧伸則のPCM信号から例えば16
ビットのリニアデータに変換され、受信レベル設定・等
化器28に入力する。また、送信側は送信レベル設定・等
化器27で、受信側は受信レベル設定・等化器28にて各々
対応する処理が行われ、また、送受信系にまたがる精密
平衡回路29での処理も同じ受信クロックRCLKのタイミン
グで行われるため、前述したクロックのずれによる問題
点は生じない。
Therefore, in the circuit of Fig. 20, the input signal SIN from the subscriber is picked up by the receiving clock RCLK, and the received PCM signal RIN from the other station is written into the receiving register 116. Then, the signal is read out by the receiving clock RCLK, and
A μ-law companding PCM signal is converted into a 16
The signal is converted into linear data of 128 bits and input to the receiving level setting/equalizer 28. The transmitting side performs corresponding processing in the transmitting level setting/equalizer 27, and the receiving side performs corresponding processing in the receiving level setting/equalizer 28. Furthermore, processing in the precision balancing circuit 29 that spans the transmitting and receiving systems is also performed using the same receiving clock RCLK, so the problems caused by the clock misalignment mentioned above do not occur.

しかし、出力信号SOUTは送信クロックSCLKのタイミング
で出力せねばならないので、送信レベル設定・等化器27
の出力データ系列に対して、前述したデータ変換回路6
3、高標本化ディジタル低域通過フィルタ64、補間処理
部65、及び(送受信)タイミング差検出回路66を用い
て、前述のクロック乗換処理が行われる。このようにし
て送信クロックSCLKのタイミングに合った振幅データに
変換された信号は、L/μ変換器112にてリニア信号から
μ−law圧伸則のPCM信号に変換されて送信レジスタに書
き込まれ、送信クロックSCLKにて読み出されて、出力信
号SOUTとしてジッタのない状態で特には図示しない多重
化部に送信される。
However, since the output signal SOUT must be output at the timing of the transmission clock SCLK, the transmission level setting and equalization circuit 27
The output data sequence is converted into the data conversion circuit 6
3. The aforementioned clock transfer process is performed using a high sampling digital low-pass filter 64, an interpolation processing unit 65, and a (transmission/reception) timing difference detection circuit 66. The signal converted into amplitude data in accordance with the timing of the transmission clock SCLK in this way is converted from a linear signal into a PCM signal with a μ-law companding law by an L/μ converter 112, written into a transmission register, read out by the transmission clock SCLK, and transmitted as an output signal SOUT in a jitter-free state to a multiplexer (not shown).

上記構成において、データ変換回路63、高標本化ディジ
タル低域通過フィルタ64、及び補間処理部65はディジタ
ルで動作するので、ディジタル信号処理部(DSP)118と
して他のディジタルで動作する回路と共に集積小形化さ
れる。また、(送受信)タイミング差検出回路66もディ
ジタルで動作するので、インターフェースLSI119として
他のディジタルで動作する回路と共に集積小形化され
る。もちろん、集積化の為の切り分けは他の方法でもよ
い。また、第20図のA/D変換器23及びD/A変換器24は通常
の構成としたが、特に前述の第1の実施例によって示さ
れる第12図の構成と組み合わせられることにより、大き
な効果が得られる。
In the above configuration, the data conversion circuit 63, high sampling digital low-pass filter 64, and interpolation processing unit 65 operate digitally, and therefore can be integrated and miniaturized together with other digitally operated circuits as a digital signal processing unit (DSP) 118. Furthermore, the (transmit/receive) timing difference detection circuit 66 also operates digitally, and therefore can be integrated and miniaturized together with other digitally operated circuits as an interface LSI 119. Of course, other methods of division for integration may be used. Furthermore, although the A/D converter 23 and D/A converter 24 in Fig. 20 have a conventional configuration, significant advantages can be obtained by combining them with the configuration of Fig. 12 shown in the first embodiment described above.

次に、第13B図で説明した、計算書利回数削減のために
高標本化ディジタル低域通過フィルタを数セレクション
に分割する技術の具体的回路構成につき説明する。
Next, a specific circuit configuration of the technique for dividing a high sampling digital low-pass filter into several selections in order to reduce the number of calculations, as explained in FIG. 13B, will be explained.

第21図は第13B図の複数セレクションに分割された高標
本化フィルタブロックの構成を示す図、第22図は第21図
の各セレクションの減衰量を示す図で、〜は第21図
の〜フィルタブロックに対応している。第23図は第
21図のフィルタの全体の減衰量を示す図である。
FIG. 21 shows the configuration of the high sampling filter block divided into a plurality of selections in FIG. 13B, and FIG. 22 shows the attenuation of each selection in FIG. 21, where 1 to 3 correspond to the 1 to 3 filter blocks in FIG. 21.
21 shows the overall attenuation of the filter shown in FIG.

第21図図中120〜123は加算器、124〜135はデータ遅延用
メモリ、136〜154は係数乗算器を示す。
In FIG. 21, 120 to 123 indicate adders, 124 to 135 indicate data delay memories, and 136 to 154 indicate coefficient multipliers.

第21図のフィルタブロックは、遅延等化器であり、こ
れは通過域にのみ関係しており、阻止域である4KHz以上
の周波数における遅延特性は問題でないから、元のデー
タの8KHzの標本化速度で動作するようになっており、前
段にはデータ変換回路(第13B図の63′参照)は不要で
ある。
The filter block in Figure 21 is a delay equalizer, which is only concerned with the passband and does not have a delay characteristic in the stopband, i.e., frequencies above 4 kHz. Therefore, it operates at the sampling rate of the original data of 8 kHz, and there is no need for a data conversion circuit (see 63' in Figure 13B) in the preceding stage.

フィルタブロックは、4KHz〜8KHzまでの周波数成分の
遮断を行うもので、16KHzの標本化速度で動作する。こ
の場合、1つのデータに対して同じ振幅のデータを2つ
出力するデータ変換回路(第13B図参照)が入力側に必
要である。
The filter block cuts off frequency components between 4 kHz and 8 kHz and operates at a sampling rate of 16 kHz. In this case, a data conversion circuit (see Figure 13B) is required on the input side to output two data of the same amplitude for one data.

フィルタブロックは、8KHz〜16KHzまでの周波数成分
の遮断を行うもので、32KHzの標本化速度で動作する。
この場合、1つのデータに対して同じ振幅のデータを2
つ出力するデータ変換回路(第13B図参照)が入力側に
必要である。
The filter block blocks frequency components from 8KHz to 16KHz and operates at a sampling rate of 32KHz.
In this case, two pieces of data with the same amplitude are used for one piece of data.
A data conversion circuit (see Figure 13B) that outputs a single signal is required on the input side.

フィルタブロックは、16KHz〜32KHzまでの周波数成分
の遮断を行うもので、64KHzの標本化速度で動作する。
この場合も、1つのデータに対して同じ振幅のデータを
2つ出力するデータ変換回路が入力側に必要である。
The filter block blocks frequency components from 16KHz to 32KHz and operates at a sampling rate of 64KHz.
In this case, too, a data conversion circuit that outputs two pieces of data with the same amplitude in response to one piece of data is required on the input side.

以上のような構成にすると、フィルタブロックの出力
のデータ数は元のデータの8倍となっており、第16図の
フィルタの場合と同様となり、補間処理部(第13B図の6
5参照)において第1クロックから第2クロックへの乗
換の処理ができる。
With the above configuration, the number of data output from the filter block is eight times the original data, which is the same as the case of the filter in FIG. 16, and the interpolation processing unit (6 in FIG. 13B)
5) can process the transition from the first clock to the second clock.

この場合の、1周期当たりの乗算の回数は、フィルタ
ブロックでは係数乗算器が5個であるので、5×1、
フィルタブロックでは係数乗算器が8個で標本化速度が
16KHzであるので、8×2、フィルタブロックでは係
数乗算器が3個で標本化速度が32KHzであるので、3×
4、フィルタブロックでは係数乗算器が、3個で標本
化速度が64KHzであるので、3×8となり、合計57回に
なる。これは、第16図のフィルタの場合の160回と比べ
ると非常に少なくなることがわかる。
In this case, the number of multiplications per cycle is 5×1, since there are five coefficient multipliers in the filter block.
The filter block has eight coefficient multipliers and a sampling rate of
Since the sampling rate is 16KHz, it is 8 x 2. In the filter block, there are three coefficient multipliers and the sampling rate is 32KHz, so it is 3 x
4. In the filter block, there are three coefficient multipliers and the sampling rate is 64 kHz, so the total number of multiplications is 3 x 8, or 57. This is significantly less than the 160 times required for the filter in Figure 16.

以上、第2の実施例によれば、第1クロックのデータ系
列を、ディジタルのままで、第2クロックのデータ系列
に乗り換えることが可能となるので、第4図の従来例に
おいて問題であった量子化雑音をなくすことができる。
この場合、通信品質は低下せず、また、集積化すること
で非常に小形化できる効果がある。
As described above, according to the second embodiment, it is possible to transfer the data series of the first clock to the data series of the second clock while keeping it digital, thereby eliminating the quantization noise that was a problem in the conventional example of FIG. 4.
In this case, the communication quality does not deteriorate, and integration has the effect of enabling extremely small size.

なお、また他のディジタル回路とも一緒に集積化して小
形化することもでき、安価にすることもできる効果もあ
る。
Furthermore, it can also be integrated together with other digital circuits to make it smaller and less expensive.

第3実施例 続いて、第3の実施例について説明する。本実施例は、
前述の第2の実施例における第13A図又は第20図におけ
るタイミング差検出回路66を具体的に開示すると共に、
第20図の送信レジスタ113の構成に言及するものであ
る。
Third Example Next, a third example will be described.
The timing difference detection circuit 66 in FIG. 13A or FIG. 20 in the second embodiment is specifically disclosed, and
This refers to the configuration of the transmit register 113 in FIG.

本実施例は、前述の第19図の原理構成に基づくものであ
る。同図の原理によれば、既述したように、第1クロッ
ク(以下、受信クロックRCLK)で10ビットカウンタ108
をリセットしてからカウンタを動作させる。そして、第
2のクロック(以下、送信クロックSCLK)の立ち上がり
点などで上記カウンタの内容を10ビットレジスタ110に
ラッチし、タイミング差τを検出する。
This embodiment is based on the principle and configuration shown in Fig. 19. According to the principle shown in Fig. 19, as already described, the 10-bit counter 108 counts up at the first clock (hereinafter referred to as the reception clock RCLK).
The counter is then reset and operated. The contents of the counter are latched into a 10-bit register 110 at the rising edge of the second clock (hereinafter referred to as the transmission clock SCLK) or the like, and the timing difference τ is detected.

上記原理において、送信クロックSCLKの例えば立ち上が
り点で上記ラッチを行うと、その時点でタイミング差の
データτが発生するため、このデータを受信クロックRC
LKを基準に動作する信号処理部118内の補間処理部65
(第13A図又は第20図参照)に取り込む場合、信号処理
部118側からみるとその時刻が一定しない。すなわち、
補間処理(第18図参照)の冒頭に入力されたり、最後に
入力されたりする。このため時間調整のためのバッファ
回路が必要になる。
In the above principle, if the latch is performed at the rising edge of the transmission clock SCLK, for example, data τ with a timing difference is generated at that point.
Interpolation processing unit 65 in signal processing unit 118 that operates based on LK
(See FIG. 13A or FIG. 20), the time is not constant when viewed from the signal processing unit 118 side.
It is input at the beginning or end of the interpolation process (see Figure 18), so a buffer circuit is required for time adjustment.

また送信クロックSCLKの周期が受信クロックRCLKの周期
に比べてわずかに短い時には、RCLKの一周期に2度タイ
ミング差を検出しなければならない場合が生じる。逆
に、RCLKの周期がSCLKの周期に比べてわずかに短い場合
は、RCLKの周期内にSCLKの立ち上がり点が入らない場合
もある。
Furthermore, when the period of the transmitting clock SCLK is slightly shorter than that of the receiving clock RCLK, it may be necessary to detect the timing difference twice in one RCLK period. Conversely, when the RCLK period is slightly shorter than that of the SCLK, the rising edge of the SCLK may not fall within the RCLK period.

このように送信クロックSCLKと受信クロックRCLKの周期
が微妙にずれている場合、1周期内の入力データの数
が、0、1、2の3通り存在し、更にその発生時刻が一
定しないため、送受信タイミング差検出回路66と信号処
理部118との間にバッファ回路が必要となる。本実施例
は、上記バッファ回路を含む送受信タイミング差検出回
路66の具体的な回路を開示するものである。
When the periods of the transmission clock SCLK and the reception clock RCLK are slightly different in this way, the number of input data within one period can be three, 0, 1, or 2, and the occurrence times are not constant, so a buffer circuit is required between the transmission/reception timing difference detection circuit 66 and the signal processing unit 118. This embodiment discloses a specific circuit for the transmission/reception timing difference detection circuit 66 including the buffer circuit.

第24図に、前述の第2の実施例における第20図のデータ
PCMチャネル装置内の送受信タイミング差検出回路66の
具体的な回路構成を示す。
FIG. 24 shows the data of FIG. 20 in the second embodiment.
A specific circuit configuration of the transmission/reception timing difference detection circuit 66 in the PCM channel device is shown.

同図において、lビットカウンタ155、ラッチ156及び逓
倍器157は、各々第19図の10ビットカウンタ108(l=1
0)10ビットラッチ110及び逓倍器109と同一である。ま
た、第1クロック及び第2クロックは、各々、第20図の
受信クロックRCLK及び送信クロックSCLKに対応してい
る。
In the figure, the l-bit counter 155, latch 156 and multiplier 157 are respectively the 10-bit counter 108 (l=1) shown in FIG.
0) It is the same as the 10-bit latch 110 and the multiplier 109. The first clock and the second clock correspond to the receiving clock RCLK and the transmitting clock SCLK in FIG. 20, respectively.

そして、信号処理部側(第20図の118)からみた場合、
前述のようにラッチ156からのタイミング差データτの
発生時刻が一定せず、受信クロックRCLKを基準とする現
周期のデータ取り込み処理が発生した場合に、一周期前
のデータが未処理である場合があり得る。そのため、バ
ッファ回路を第24図の159及び160で示されるように2つ
の並列に用意して、その入力側及び出力側に切り替えス
イッチSW1〜SW6を設け、受信クロックRCLKの偶数/奇数
サイクルで切り替えて使うようにしている。これによ
り、バッファ回路159及び160のうち、一方がラッチ156
からのデータを書き込まれているとき、他方は信号処理
回路につながれ、データが読み出される。なお、偶数/
奇数サイクル切り替えのための制御信号としては、受信
クロックRCLKを分周器158において1/2分周して得たもの
が用いられる。
When viewed from the signal processing unit side (118 in FIG. 20),
As mentioned above, when the time when the timing difference data τ is generated from the latch 156 is not constant, and data from the previous cycle is not processed when data is taken in for the current cycle based on the receiving clock RCLK, there may be cases where the data from the previous cycle remains unprocessed. For this reason, two parallel buffer circuits are provided as shown by 159 and 160 in FIG. 24, and selector switches SW1 to SW6 are provided on the input and output sides of the buffer circuits so that they can be switched between even and odd cycles of the receiving clock RCLK. As a result, one of the buffer circuits 159 and 160 is used to input the data from the latch 156.
When data is being written from one end, the other end is connected to a signal processing circuit, and the data is read out.
The control signal for switching odd cycles is obtained by dividing the receive clock RCLK by 1/2 in the frequency divider 158.

また、前述のように、送信クロックSCLKの周期が受信ク
ロックRCLKの周期に比べてわずかに短い時には、RCLKの
一周期に2度タイミング差を検出しなければならない場
合が生じ、しかも前周期のデータが未処理の段階で後の
データが入ってくることもありうる。従って、各バッフ
ァ回路159及び160の各々は、#1、#2の各メモリ16
1、162の2段構成になっており、これらの内容はセレク
タ164によって選択される。
Furthermore, as mentioned above, when the period of the transmission clock SCLK is slightly shorter than the period of the reception clock RCLK, it may be necessary to detect the timing difference twice in one period of the RCLK, and furthermore, it may happen that the data from the previous period comes in while the data from the next period has not yet been processed.
The contents of these are selected by a selector 164.

更に、上記2段構成にすると、1周期にデータが何個入
力されたかを示すアドレスポインタに相当する情報が必
要となるため、その情報を記憶する入力データ数メモリ
163を各バッファ毎に設ける。前述のように、受信クロ
ックRCLKの周期が送信クロックSCLKの周期に比べてわず
かに短い場合は、RCLKの周期内にSCLKの立ち上がり点が
入らない場合もあり、このような周期では、第20図の信
号処理部118は補間処理部65での処理を行うべきではな
い。この判別のためにも、上記入力データ数メモリ163
は必要である。なお、同メモリは、特には図示しない制
御回路により、ラッチ回路に接続される毎にその直前の
タイミングでリセットされる。
Furthermore, when the above two-stage configuration is used, information equivalent to an address pointer indicating how many pieces of data are input in one cycle is required, so an input data number memory for storing this information is also required.
As mentioned above, if the period of the receiving clock RCLK is slightly shorter than the period of the transmitting clock SCLK, the rising edge of SCLK may not fall within the period of the RCLK. In such a period, the signal processing unit 118 in FIG. 20 should not perform processing in the interpolation processing unit 65. For this reason, the input data number memory 163 is provided for each buffer.
The memory is reset by a control circuit (not shown) immediately before each connection to the latch circuit.

上記第24図で具体的に示される送受信タイミング差検出
回路66(第20図)の動作に対して、第20図の信号処理部
118では次のような動作をする。まず、高標本化周波数
低域通過フィルタ64の処理は常に実施される。次に、補
間処理部65は、各受信クロックRCLKの周期毎に上記送受
信タイミング差検出回路66からのタイミング差データτ
を取り込み、以下の処理を行う。すなわち、第24図の現
在選択されているバッファ回路159又は160内の入力デー
タ数メモリ163の内容をみて、それが零のときは、送信
用の出力信号SOUTの出力が不要なので補間処理は行わな
い。入力データの数が1以上のときは、セレクタ164を
操作しながら対応するメモリ161又は162からデータを順
次入力し、該データ数に等しい回数の補間処理を行い、
出力信号SOUTを求める。
In response to the operation of the transmission/reception timing difference detection circuit 66 (FIG. 20) specifically shown in FIG. 24, the signal processing section of FIG.
The operation of 118 is as follows: First, the processing of the high sampling frequency low pass filter 64 is always performed. Next, the interpolation processing unit 65 calculates the timing difference data τ
and performs the following processing. That is, the contents of the input data number memory 163 in the currently selected buffer circuit 159 or 160 in Fig. 24 are checked, and if it is zero, the output of the output signal SOUT for transmission is not required, so interpolation processing is not performed. If the number of input data is 1 or more, data is input sequentially from the corresponding memory 161 or 162 while operating the selector 164, and interpolation processing is performed a number of times equal to the number of data,
The output signal SOUT is obtained.

次に、上記タイミング差検出処理及び補間処理に対応す
る、第20図の送信レジスタ113に係る処理について説明
する。
Next, the processing related to the transmission register 113 in FIG. 20, which corresponds to the timing difference detection processing and interpolation processing, will be described.

出力信号SOUTは受信クロックRCLKに同期して動作する信
号処理部118で演算・生成されるため、信号処理部118か
らは受信クロックRCLKにほぼ同期して出力される。とこ
ろが、既述のように、出力信号SOUTは送信クロックSCLK
に合わせて外部に出力しなければならないため、ここに
も時間調整のためのバッファ回路が必要になる。これが
第20図の送信レジスタ113の機能となる。このレジスタ
に関する要求条件は次のようになる。
The output signal SOUT is calculated and generated by the signal processing unit 118, which operates in synchronization with the receiving clock RCLK, and is therefore outputted from the signal processing unit 118 in near synchronization with the receiving clock RCLK. However, as described above, the output signal SOUT is outputted in near synchronization with the transmitting clock SCLK
Since the data must be output to the outside in accordance with the time, a buffer circuit for time adjustment is also required here. This is the function of the transmit register 113 in Figure 20. The requirements for this register are as follows:

信号処理部118から送信レジスタ113へのデータ入力時刻
と同レジスタからの出力信号SOUTの出力時刻とは独立で
ある。そして、受信クロックRCLKの周期と送信クロック
SCLKの周期とがわずかに異なる場合、片方のクロックを
基準にみるともう一方クロックは常に移動しており、両
方の時刻が一致することはある程度長い時間を考えると
必ず発生する。この場合、送信レジスタ113から外部に
データを転送中に、同レジスタに書き込み処理が行われ
ることになり、転送データが破壊される。従って、送信
レジスタ113から外部に出力信号SOUTを出力している間
は信号処理部118から同レジスタにデータが入力されな
いようにしなければならない。
The time when data is input from the signal processing unit 118 to the transmission register 113 and the time when the output signal SOUT is output from the same register are independent.
If the period of one clock is slightly different from that of SCLK, the other clock is always moving relative to the other clock, and it is inevitable that the two times will coincide over a long period of time. In this case, a write process will be performed in the transmit register 113 while data is being transferred from the same register to the outside, destroying the transferred data. Therefore, it is necessary to prevent data from being input from the signal processing unit 118 to the same register while the output signal SOUT is being output from the transmit register 113 to the outside.

また、前述のように信号処理部118からの出力データの
個数は、1周期当たり0、1、2の3通りの場合があ
る。そして、その出力時刻は、一般に、1周期に2個デ
ータが出力されるときにはあまり時間差がなく続けて出
力され、データ出力の無い周期をはさむときにはほぼ2
周期分の時間を経て次のデータが出力される。従って、
このような時間間隔で入力されるデータを送信クロック
SCLKに合わせて出力するように時間調整を行う必要があ
る。
As mentioned above, the number of pieces of output data from the signal processing unit 118 can be 0, 1, or 2 per period. Generally, when two pieces of data are output per period, they are output consecutively with little time difference, and when there is a period without data output, they are output consecutively with almost no time difference.
After the time equivalent to the period has elapsed, the next data is output.
The data input at such time intervals is sent by the transmission clock.
It is necessary to adjust the time so that the output is synchronized with SCLK.

上記後者の条件を満たすために、まず、第24図の送信レ
ジスタ113は、特には詳述しないが、複数個のレジスタ
で構成される。更に、同レジスタ内に、上記複数個のレ
ジスタのデータのうち、どのデータを出力するかを決め
るための判定回路も用意される。この判定回路では、信
号処理部118から受信したデータ数と、前の周期にデー
タを出力したレジスタの番号とをパラメータにして判定
を行えばよい。このため、上記受信データ数を数えるた
めのカウンタも設けられる。
To satisfy the latter condition, the transmit register 113 in Fig. 24 is composed of a plurality of registers, not specifically described in detail. Furthermore, a decision circuit is provided within the register to determine which of the data in the plurality of registers is to be output. This decision circuit makes a decision using the number of data received from the signal processing unit 118 and the register number that output data in the previous cycle as parameters. Therefore, a counter is also provided to count the number of received data.

また、前者の条件を満たすために、送信レジスタ113内
に、上記カウンタのリセット中またはカウント結果を転
送中にカウンタへの入力データが無いようにする制御回
路も設けられる。
To satisfy the former condition, the transmission register 113 is also provided with a control circuit that prevents input data from being sent to the counter while the counter is being reset or while the count result is being transferred.

なお、送信レジスタ113に関する具体的回路は、次に説
明する第4の実施例で更に言及する。
A specific circuit for the transmission register 113 will be further described in the fourth embodiment described next.

第4実施例 最後に第4の実施例について説明する。本実施例は、上
述の第3の実施例と同様、第13A図又は第20図における
(送受信)タイミング差検出回路66を具体的に開示する
と共に、第20図の補間処理部65及び送信レジスタ113の
構成に言及するものである。本実施例では、送受信タイ
ミング差検出回路66に対する前述の第1クロック(受信
クロックRCLK)と第2クロック(送信クロックSCLK)の
動作関係を逆にすることにより、回路構成を第3の実施
例より更に簡略化することを可能にするものである。
Fourth Embodiment Finally, a fourth embodiment will be described. Like the third embodiment described above, this embodiment specifically discloses the (transmission/reception) timing difference detection circuit 66 in Fig. 13A or 20, and also refers to the configuration of the interpolation processing unit 65 and transmission register 113 in Fig. 20. In this embodiment, the operational relationship between the first clock (reception clock RCLK) and second clock (transmission clock SCLK) described above with respect to the transmission/reception timing difference detection circuit 66 is reversed, making it possible to further simplify the circuit configuration compared to the third embodiment.

第25図に、送受信タイミング差検出回路66の回路ブロッ
ク図を、第26図に第2の実施例における第20図の信号処
理部118での動作フローを示す。
FIG. 25 is a circuit block diagram of the transmission/reception timing difference detection circuit 66, and FIG. 26 shows the operation flow of the signal processing unit 118 of FIG. 20 in the second embodiment.

第25図において、第20図のデータPCMチャネル装置内で
生成される第2クロックのシステムクロックは、分周器
165で1/2Lに分周され、第2クロックである送信クロッ
クSCLKが生成される。この部分は、第20図の送信クロッ
ク発生器114に対応する。そして、第25図では、前述の
第19図又は第24図の場合とは逆に、信号処理部118(第2
0図)の基準クロックである受信クロックRCLKを、ラッ
チ回路167のラッチ信号として使用し、SCLKと同期する
上記第2のクロックのシステムクロックを、Lビットカ
ウンタ166のカウンタ動作クロックとして使用している
ことが大きな特徴である。
In FIG. 25, the system clock of the second clock generated in the data PCM channel device of FIG. 20 is divided by a frequency divider.
20. In FIG. 25, the signal is divided by 1/ 2L at 165 to generate the transmission clock SCLK, which is the second clock. This portion corresponds to the transmission clock generator 114 in FIG. ...
A major feature of this system is that the receive clock RCLK, which is the reference clock of the L-bit counter 166 (Fig. 0), is used as the latch signal for the latch circuit 167, and the system clock, which is the second clock synchronized with SCLK, is used as the counter operating clock for the L-bit counter 166.

以上のように、ラッチ回路167の動作を受信クロックRCL
Kに同期させることにより、信号処理部118へのタイミン
グ差データの入力時刻を、RCLKに同期して動作する信号
処理部118での処理に対してほぼ同一の関係にすること
ができる。
As described above, the operation of the latch circuit 167 is controlled by the receiving clock RCL
By synchronizing with K, the input time of the timing difference data to the signal processing unit 118 can be made to have approximately the same relationship with the processing in the signal processing unit 118 that operates in synchronization with RCLK.

本実施例のもう一つのポイントとして、後述する第26図
の動作を行う補間処理部65(第20図)は、受信クロック
RCLKを基準とする1周期内に計算すべき補間データ回数
を以下のようにして定めている。すなわち、送信クロッ
クSCLKが周期長で比べて最大でも10-4しか差がないた
め、周期毎のタイミング差の値の変化をみると通常は徐
々に大きくなるか又は徐々に小さくなるかのどちらかで
あり、RCLKを基準にした1周期当たりのデータの個数が
零または2個前後の場合に、相前後する周期のタイミン
グ差の値が大きく変化する。この特性を利用することに
より、補間処理部65は、現周期のタイミング差と前周期
のタイミング差の動きから、1周期内に計算すべき補間
データの回数を認識することができる。
Another point of this embodiment is that the interpolation processing unit 65 (FIG. 20) which performs the operation of FIG. 26 described later,
The number of interpolated data calculations to be performed within one RCLK-based period is determined as follows: Since the transmission clock SCLK differs in period length by a maximum of 10-4 , the timing difference between each period typically gradually increases or decreases; when the number of data items per RCLK-based period is zero or around two, the timing difference between adjacent periods changes significantly. By utilizing this characteristic, the interpolation processor 65 can determine the number of interpolated data calculations to be performed within one period from the change in the timing difference between the current period and the previous period.

以上のような構成にすると、タイミング差検出回路にお
いてバッファ回路が不要になり、回路規模を大幅に縮小
することができる。
With the above configuration, the timing difference detection circuit does not require a buffer circuit, and the circuit scale can be significantly reduced.

以下、第25図及び第26図に示す、第4の実施例による送
受信タイミング差検出回路66の動作と補間処理部65での
補間処理について、更に詳しく説明する。
The operation of the transmission/reception timing difference detection circuit 66 and the interpolation processing in the interpolation processing unit 65 according to the fourth embodiment shown in FIGS. 25 and 26 will now be described in more detail.

まず、第25図で、送信クロックSCLKを作っている、周波
数で2L倍のシステムクロックをLビットカウンタ166に
入力させてカウント動作をさせる。例えばL=10とし
て、SCLKの周波数が8KHzなら、システムクロックの周波
数は8.192MHzになる。この場合、上記カウンタ166は、
0から2L−1までのカウント値を指示する。そして、そ
のカウント値は、SCLKの周期に対応して0に戻るから、
等価的にSCLKを基準とする毎周期でリセットされること
になる。
First, in Fig. 25, the system clock, which generates the transmission clock SCLK and has a frequency 2L times higher, is input to an L-bit counter 166 to perform counting. For example, if L = 10 and the SCLK frequency is 8 kHz, the system clock frequency will be 8.192 MHz. In this case, the counter 166 will:
The count value ranges from 0 to 2 L −1. The count value returns to 0 according to the SCLK cycle, so
Equivalently, it is reset every cycle based on SCLK.

上記カウンタ値を受信クロックRCLKの例えば立ち上がり
点でラッチすれば、その値は送信クロックSCLKの一周期
を2Lとしたときの、SCLKを基準としたタイミング差とな
る。なお、一般にカウンタ166は止めずにカウント値を
ラッチすることができるから、同カウンタは前述のよう
にSCLKでリセットされることになる。
If the counter value is latched at, for example, the rising edge of the receive clock RCLK, the value will be the timing difference based on SCLK, where one cycle of the transmit clock SCLK is 2 L. Generally, the counter 166 can latch the count value without stopping, so the counter will be reset by SCLK as described above.

上記ラッチ動作後の第20図の信号処理部118内の特には
図示しない入力レジスタへのラッチデータの転送は、L
ビットの転送用クロックをラッチ回路167に加えること
により、該ラッチ動作後ただちに行うことができる。従
って、ラッチ動作から転送までの時間は微小であり、受
信クロックRCLKを基準とする各周期内の一定タイミング
にすることができる。これにより上記転送動作は受信ク
ロックRCLKに同期して行われていることになる。
After the latch operation, the latched data is transferred to an input register (not shown) in the signal processing unit 118 of FIG.
By applying a bit transfer clock to the latch circuit 167, the data can be transferred immediately after the latch operation. Therefore, the time from the latch operation to the transfer is very short, and the transfer can be performed at a constant timing within each cycle based on the receive clock RCLK. This means that the transfer operation is performed in synchronization with the receive clock RCLK.

一方、信号処理部118は、既術のように、受信クロックR
CLKを基準に動作している。そのことは、信号処理部118
で種々の処理が行われる時刻と受信クロックRCLKの例え
ば立ち上がり時刻との差が一定値であることを意味す
る。従って、ラッチ回路167から信号処理部118内の前記
入力レジスタにタイミング差データが転送されてから、
このデータが実際に使用されるまでの時間も一定であ
り、しかもその長さは送信クロックSCLKを基準とする各
周期長以下であるから、ラッチ回路167から信号処理部1
18内の入力レジスタにデータ転送したいときに入力レジ
スタに未使用のデータが残っていることはなく、バッフ
ァ回路は不要になる。
On the other hand, the signal processing unit 118 receives the reception clock R
This means that the signal processing unit 118 operates based on the CLK.
This means that the difference between the time when various processes are performed and, for example, the rising edge of the receiving clock RCLK is a constant value. Therefore, after the timing difference data is transferred from the latch circuit 167 to the input register in the signal processing unit 118,
The time until this data is actually used is also constant, and the length is equal to or less than the length of each cycle of the transmission clock SCLK.
When data is to be transferred to the input register in 18, there is no unused data remaining in the input register, and a buffer circuit is not required.

以上の第25図及び第26図の本実施例の動作について、第
27A図及び第27B図のタイミングチャートを用いて説明す
る。
Regarding the operation of this embodiment shown in FIGS. 25 and 26,
This will be explained using the timing charts of Figures 27A and 27B.

第27A図及び第27B図において、横軸は時間である。同図
のt0,t1,t2・・・は、受信クロックRCLKの例えば立ち
上がり点であり、同図のT0,T1,T2,・・・は送信クロ
ックSCLKの例えば立ち上がり点である。
27A and 27B, the horizontal axis represents time. t0 , t1 , t2 , and so on in the figures represent rising points of the receiving clock RCLK, and T0 , T1 , T2 , and so on in the figures represent rising points of the transmitting clock SCLK, for example.

また、同図に示されるプロットのうち、受信クロック
RCLKのタイミングt0,t1,t2・・・に同期するプロット
‘・’は、第20図のデータ変換回路63に入力する受信ク
ロックRCLKに同期した原データである。
In addition, among the plots shown in the figure, the receive clock
The plots '.' synchronized with the timings t 0 , t 1 , t 2 . . . of RCLK are original data synchronized with the receiving clock RCLK and input to the data conversion circuit 63 in FIG.

また、その他のプロット‘・’は、第20図の高標本化低
域通過フィルタ64の出力であり、前述の第2の実施例の
第14C図に対応する。なお、第14C図では、1周期あたり
8個に高標本化されていたが、第27A図又は第27B図で
は、簡単のため1周期あたり4個に高標本化されてい
る。更に、で、送信クロックSCLKのタイミングT0,T1,
T2,・・・に同期するプロット‘。’で示されるS0,S1,S
2,・・・は、第20図の補間処理部65で補間処理されて送
信クロックSCLKへのクロック乗換が行われ、出力信号SO
UTとして出力されるべき信号値である。
The other plots "-" are the outputs of the high sampling low pass filter 64 in Fig. 20, and correspond to Fig. 14C of the second embodiment. In Fig. 14C, the high sampling is 8 per cycle, but in Fig. 27A or 27B, the high sampling is 4 per cycle for simplicity. Furthermore, in Fig. 27B, the timings T0 , T1 , and T2 of the transmission clock SCLK are
Plots synchronous with T2 , ... are shown by '.' S0 , S1 , S
2 , ... are interpolated by the interpolation processing unit 65 in FIG. 20, and clock transfer to the transmission clock SCLK is performed, and the output signal SO
This is the signal value that should be output as UT.

そして、第27A図は、送信クロックSCLKの周期長(S周
期)が受信クロックRCLKの周期長(R周期)よりも大き
い場合の例である。但し、実際にはその差は最大10-4
あるため、同図では判り易くするために、とのタイ
ミング差が誇張して示されている。
27A shows an example in which the period of the transmitting clock SCLK (period S) is longer than the period of the receiving clock RCLK (period R). However, since the difference is actually up to 10-4 , the timing difference between them is exaggerated in the figure for ease of understanding.

ここで、第25図のLビットカウンタ166のクロックは送
信クロックSCLKに同期しているから、tn(n0,1,2,・・
・)の各時刻で上記カウンタの指示値は零とする。そし
て、t0,t1,t2・・・でカウント値がラッチされ、ほぼ同
時に信号処理部118(第20図)に転送されるとする。こ
のときのカウント値の大きさ、すなわち送信クロックSC
LKを基準とした受信クロックRCLKとのタイミング差を
の2重線で示し、ラッチされる時刻を上向きの矢印で示
している。
Here, since the clock of the L-bit counter 166 in FIG. 25 is synchronized with the transmission clock SCLK, t n (n0, 1, 2, . . .
The counter indicates zero at each time t0, t1, t2, .... The count value is latched at t0 , t1 , t2 , ... and is transferred to the signal processing unit 118 (Fig. 20) almost simultaneously. The magnitude of the count value at this time, i.e., the transmission clock SC
The timing difference between the receive clock RCLK and LK as a reference is indicated by a double line, and the latch time is indicated by an upward arrow.

第27A図では、の横2重線の長さが徐々に短くなっ
て、零になると再度最大長になり、また、徐々に短くな
るように変化する。また、T1〜T2又はT6〜T7の期間のよ
うに、送信クロックSCLKの1周期を基準にみると、1周
期に2回カウント値が転送されることを矢印は示してい
る。しかし、転送を受ける信号処理部118からみると
(それは受信クロックRCLKに同期して動作している)、
後述するように第26図の補間処理では、上記1周期に1
回しか処理は行われない。この場合は、t0又はt6でのタ
イミング差(カウント値)は微小な値であり、t1又はt7
でのタイミング差はほぼ1周期長に等しい大きさにな
る。この特性により、後述するように、補間処理が行わ
れるか否かが決定される。
In Figure 27A, the length of the horizontal double line gradually shortens, reaches zero, then becomes maximum again, and then gradually shortens again. Also, when viewed with respect to one period of the transmission clock SCLK as the reference, such as the periods T1 to T2 or T6 to T7 , the arrows indicate that the count value is transferred twice per period. However, when viewed from the perspective of the signal processing unit 118 that receives the transfer (which operates in synchronization with the reception clock RCLK),
As will be described later, in the interpolation process shown in FIG. 26, one
In this case, the timing difference (count value) at t0 or t6 is very small, and the timing difference (count value) at t1 or t7 is very small.
The timing difference at is approximately equal to the length of one period. This characteristic determines whether or not interpolation is performed, as will be described later.

また、第27A図のでは、信号処理部118内の後述する出
力レジスタR0から、出力信号が外部の出力タイミング調
整回路(第20図の送信レジスタ113に等しい)内のレジ
スタR1に出力される時刻が、棒印で示されている。出力
タイミング調整回路については後に詳述するが、第27A
図では、例えば送信クロックSCLKのT5での出力信号SOUT
は、T5とt5のタイミング差がt5で検出されて信号処理部
118に転送され、そこで補間計算が行われることによ
り、S5として求まる。このS5は、0.5周期後のt5.5(t5
とt6の中間時刻、以下同様)に出力タイミング調整回路
に出力される。同様に、SCLKのT6でのSOUTは、T6とt6
タイミング差がt6で検出されて信号処理部118に転送さ
れ、補間計算されることにより、S6として求まる。そし
て、0.5周期後のt6.5に出力タイミング調整回路に出力
される。一方、SCLKのタイミングT7でのSOUTは、T7とt8
とのタイミング差がt8で検出され、補間計算されること
によりS7として求まる。そして、0.5周期後のt8.5に出
力タイミング調整回路に出力される。
In Fig. 27A, the time when an output signal is output from an output register R0 ( to be described later) in the signal processing unit 118 to a register R1 in an external output timing adjustment circuit (equivalent to the transmission register 113 in Fig. 20) is indicated by a bar. The output timing adjustment circuit will be described in detail later.
In the figure, for example, the output signal SOUT at time T5 of the transmission clock SCLK
The timing difference between T5 and t5 is detected at t5 and the signal processing unit
The signal S5 is transferred to 118, where it is subjected to an interpolation calculation, and is obtained as S5 . This S5 is obtained at t5.5 ( t5
Similarly, SOUT at SCLK time T6 is obtained as S6 by detecting the timing difference between T6 and t6 at t6, transferring it to the signal processing unit 118, and performing an interpolation calculation. Then, it is output to the output timing adjustment circuit at t6.5 , 0.5 cycles later. On the other hand, SOUT at SCLK time T7 is obtained as S6 by detecting the timing difference between T7 and t8 .
The timing difference between this and the output timing signal S7 is detected at t8 and calculated by interpolation. This is then output to the output timing adjustment circuit at t8.5 , 0.5 cycles later.

このようにみると、t1又はt7で検出されたほぼ1周期長
に等しいタイミング差に対応する送信クロックSCLKは存
在せず、従ってこの場合は出力信号SOUT(第20図)は出
力される必要がないことがわかる。第27A図の場合、送
信クロックSCLKがT1〜T10まで変わる間に受信クロックR
CLKはt0〜t11まで変わっていることからもわかるよう
に、上記の事実は、S周期>R周期であることより単位
時間当りの出力信号SOUTの出力数は受信PCM信号RIN(第
20図)の数に比べて少なくなければならないことと対応
している。
From this perspective, it can be seen that there is no transmission clock SCLK corresponding to the timing difference equal to approximately one cycle length detected at t1 or t7 , and therefore, in this case, it is not necessary to output the output signal SOUT (Fig. 20). In the case of Fig. 27A, while the transmission clock SCLK changes from T1 to T10 , the reception clock R
As can be seen from the fact that CLK changes from t0 to t11 , the above fact indicates that the S period is greater than the R period, and therefore the number of outputs of the output signal SOUT per unit time is equal to the number of outputs of the received PCM signal RIN (the
This corresponds to the requirement that the number of

従って、タイミング差の傾向と信号処理部118から出力
タイミング調整回路への出力信号SOUTの出力動作とを対
応付けてみると、“送信クロックSCLKの立ち上がりから
次に受信クロックRCLKの立ち上がりまでの時間として定
まるタイミング差と、受信クロックRCLKを基準とする周
期との関係において、前周期のタイミング差がほぼ零で
現周期のタイミング差がほぼ1周期長である周期では、
出力タイミング調整回路へは出力信号SOUTは出力される
べきでない“ことが明らかになる。これは、前述の補間
処理が同じタイミングでは1周期に1回しか行われない
ことと良く対応しており、上記制御は後述の第26図の動
作フローチャートで実現される。
Therefore, when the tendency of the timing difference is correlated with the output operation of the output signal SOUT from the signal processing unit 118 to the output timing adjustment circuit, "in the relationship between the timing difference determined as the time from the rising edge of the transmission clock SCLK to the next rising edge of the reception clock RCLK and the period based on the reception clock RCLK, if the timing difference of the previous period is almost zero and the timing difference of the current period is almost one period length,
It becomes clear that the output signal SOUT should not be output to the output timing adjustment circuit. This corresponds well to the fact that the interpolation process described above is performed only once per period at the same timing, and the above control is realized by the operation flowchart in FIG. 26, which will be described later.

次に第27B図は、受信クロックRCLKの周期長(R周期)
が送信クロックSCLKの周期長(S周期)よりも大きい場
合の例である。この場合も、判り易くするために、と
のタイミング差が誇張して示されている。
Next, FIG. 27B shows the period length (R period) of the receiving clock RCLK.
This is an example in which is greater than the period length (S period) of the transmission clock SCLK. In this case too, the timing difference between and is exaggerated for ease of understanding.

同図より、タイミング差が時間とともに大きくなり1
周期に等しい大きさに達すると、次の周期で零になり、
そこからまた徐々に大きくなる動作が繰り返される。
As can be seen from the figure, the timing difference increases over time.
When it reaches a magnitude equal to the period, it becomes zero in the next period,
From there, the movement is repeated, gradually increasing in size.

ここでも、例えば送信クロックSCLKのT5での出力信号SO
UTは、T5とt5のタイミング差がt5で検出されて信号処理
部118に転送され、そこで補間計算が行われることによ
り、S5として求まる。そして、0.5周期後のt5.5(t5
t6の中間の時刻)に出力タイミング調整回路に出力され
る。次に、SCLKのT6のタイミングでのSOUTは、T6とt6
タイミング差がt6で検出されて信号処理部118に転送さ
れ、補間計算されることにより、S6として求まる。そし
て、0.5周期後のt6.5に出力タイミング調整回路に出力
される。
Here again, for example, the output signal SO at time T5 of the transmission clock SCLK
UT is calculated as S5 by detecting the timing difference between T5 and t5 at t5 and transferring it to the signal processing unit 118 , where it is subjected to an interpolation calculation.
The SOUT signal at the timing of SCLK T6 is output to the output timing adjustment circuit at t6.5 , which is the intermediate time between T6 and t6. Next, the timing difference between T6 and t6 is detected at t6 and transferred to the signal processing unit 118, where it is interpolated to obtain S6 . Then, the SOUT signal is output to the output timing adjustment circuit at t6.5 , 0.5 periods later.

一方、SCLKのT7及びT8での各出力信号SOUTについて考え
る。T5、T6の場合と同様に考えると、T7でのSOUTは、T7
とt7のタイミング差がt7で検出されて、0.5周期後のt
7.5にS7として出力タイミング調整回路に出力されると
いうことになる。しかし、第27B図をみると、T7でカウ
ントが開始されたカウンタはT8で零に戻ってしまうの
で、結局、T7とt7のタイミング差は実質T8とt7のタイミ
ング差に等しくなり、その値が信号処理部118に転送さ
れるため、t7.5で出力タイミング調整回路に出力され
る値は送信クロックSCLKのT8のタイミングでの出力信号
S8となる。その場合、T7に対応する時刻の出力S7が不足
することになる。
On the other hand, consider the output signals SOUT of SCLK at T7 and T8 . In the same way as in the cases of T5 and T6 , SOUT at T7 is
The timing difference between t7 and t7 is detected at t7 , and t
However, as can be seen from Fig. 27B, the counter that started counting at T7 returns to zero at T8 , so that the timing difference between T7 and t7 essentially becomes equal to the timing difference between T8 and t7 , and this value is transferred to the signal processing unit 118 , so the value output to the output timing adjustment circuit at t7.5 is the output signal at the timing of T8 of the transmission clock SCLK .
In this case, the output S7 at the time corresponding to T7 will be insufficient.

これを補うために、本実施例では、t7.5の前にT7に対
応する出力信号S7を出力タイミング調整回路に出力す
る。
To compensate for this, in this embodiment, an output signal S7 corresponding to T7 is output to the output timing adjustment circuit before t7.5 .

この場合のタイミング差の値は、T7とt7とのタイミング
差であり、実質的に1周期長とみてよい。なぜなら、も
ともと受信クロックRCLKと送信クロックSCLKは10-4程度
の差しかないからである。従ってタイミング差の傾向と
信号処理部118から出力タイミング調整回路への出力信
号の出力数とを対応付けてみると、“送信クロックSCLK
の立ち上がりから次に受信クロックRCLKの立ち上がりま
での時間として定まるタイミング差と、受信クロックRC
LKを基準とする周期との関係において、前周期のタイミ
ング差がほぼ1周期に等しくて、現周期のタイミング差
がほぼ零である周期では、出力タイミング調整回路への
送信信号の出力は2回しなければならず、1回目の出力
はタイミング長が1周期として計算し、2回目の出力は
タイミング差を零として計算したものである”ことが明
らかになる。
The value of the timing difference in this case is the difference between T7 and t7 , and can be considered to be substantially one cycle length. This is because the difference between the receive clock RCLK and the transmit clock SCLK is only about 10-4 to begin with. Therefore, when the tendency of the timing difference is correlated with the number of output signals from the signal processing unit 118 to the output timing adjustment circuit, it becomes clear that the "transmit clock SCLK
The timing difference is determined as the time from the rising edge of the receive clock RCLK to the rising edge of the next receive clock RCLK.
In relation to the period based on LK, when the timing difference of the previous period is approximately equal to one period and the timing difference of the current period is approximately zero, it becomes clear that the transmit signal must be output to the output timing adjustment circuit twice, with the first output calculated as having a timing length of one period and the second output calculated as having a timing difference of zero.

以上の事実を利用して、本実施例では第26図に動作フロ
ーチャートとして示される処理が、第20図の信号処理部
118内の補間処理部65で実施され、信号処理部118から出
力タイミング調整回路(=送信レジスタ113)への出力
信号の個数及びその振幅の問題にきわめて簡単に対応し
ている。
Taking advantage of the above fact, in this embodiment, the processing shown as an operation flowchart in FIG. 26 is carried out by the signal processing unit in FIG.
This is implemented by the interpolation processing unit 65 in 118, and it very simply deals with the problem of the number of output signals from the signal processing unit 118 to the output timing adjustment circuit (=transmission register 113) and the problem of their amplitude.

第26図において、現周期のタイミング差をτとし、前
周期のタイミング差をτとおいている。更に、送信ク
ロックSCLKを基準とする1周期の長さをカウンタのビッ
ト長Lを使って2L−1とする。以下に第26図の動作を示
す。
In Fig. 26, the timing difference of the current period is τx , and the timing difference of the previous period is τb . Furthermore, the length of one period based on the transmission clock SCLK is set to 2L -1 using the counter bit length L. The operation of Fig. 26 is shown below.

まず、第20図の補間処理部65は、例えば受信クロックRC
LKを基準とする各タイミングt0,t1,t2,・・・の各タイ
ミングで動作を開始し、そのタイミングで高標本化低域
通過フィルタ64より、その前1周期分の高標本化された
処理データを取り込む。例えば、第27A図で、t5のタイ
ミングではt4〜t5間の同図の処理データ(プロット
‘・’)を取り込む。
First, the interpolation processing unit 65 in FIG. 20 receives, for example, a received clock RC
Operation begins at each timing t0 , t1 , t2 , ... based on LK, and at each timing, highly sampled processed data for the previous cycle is fetched from the high sampling low pass filter 64. For example, in Figure 27A, at timing t5 , the processed data (plot '.') from t4 to t5 is fetched.

次に、第25図で示される送受信タイミング差検出回路66
(第20図)から、タイミング差データτを、信号処理
部118(第20図)内の特には図示しない入力レジスタを
介して読み込む(第26図S1)。
Next, the transmission/reception timing difference detection circuit 66 shown in FIG.
(FIG. 20), the timing difference data τ x is read in via an input register (not shown) in the signal processing unit 118 (FIG. 20) (FIG. 26 S1).

そして、もしτ≒0、τ≒2L−1ならば、その周期
は送信信号を出力しない(第26図のS1→S2→S3→S1
2)。これは、前述したように、例えば第27A図のt1
はt7等のタイミングでの処理に相当する。
If τ b ≈0 and τ x ≈2 L −1, no transmission signal is output in that period (S1 → S2 → S3 → S1 in FIG. 26).
2) As mentioned above, this corresponds to the processing at timings such as t1 or t7 in FIG. 27A.

一方、τ≒2L−1、τ≒0ならば、その周期は送信
信号を次のように2回出力する(第26図のS1→S2→S4→
S9→S10→S11)。1回目はτ=2L−1の値であり、こ
れは受信クロックRCLKによる周期を基準に直したときの
タイミング差τでいうと、τ=2L−1−τだから、τ
=0となる。そして、τ=0の場合の出力値は前述の第
14C図等からわかるように、F0そのものであり、この値
が出力される。2回目はτ=0、すなわちτ=2L−1
となり、その場合の出力値はFmそのものであり、この値
が出力される。これは、前述したように、例えば第27B
図のt2又はt7等のタイミングでの処理に相当する。
On the other hand, if τ b ≈2 L −1 and τ x ≈0, the transmission signal is output twice in the cycle as follows (S1 → S2 → S4 →
S9 → S10 → S11). The first time, the value is τ x = 2 L - 1, which is the timing difference τ when corrected based on the period of the receiving clock RCLK, so τ = 2 L - 1 - τ x.
= 0. When τ = 0, the output value is
As can be seen from Figure 14C, this is F 0 itself, and this value is output. The second time, τ x = 0, that is, τ = 2 L −1
In this case, the output value is Fm itself, and this value is output.
This corresponds to processing at timings such as t2 or t7 in the diagram.

上記以外の場合は、第26図では、S1→S2→S3→S5、又は
S1→S2→S4→S5と処理され、S5において、τ=2L−1−
τが計算され、S6及びS7において、前述の第2の実施
例における第18図と同様の補間処理が行われる。そし
て、S8で求まった出力値Fが、出力信号SOUTの振幅値と
して出力される。
In other cases, in Figure 26, S1 → S2 → S3 → S5, or
The process is S1 → S2 → S4 → S5, and in S5, τ = 2 L −1 −
τ x is calculated, and in steps S6 and S7, the same interpolation process as in the second embodiment shown in Fig. 18 is carried out. Then, the output value F found in step S8 is output as the amplitude value of the output signal SOUT.

なお、S12では、現周期のタイミング差τが前周期の
タイミング差τに変更され、次の周期での処理で用い
られる。
In S12, the timing difference τ x of the current period is changed to the timing difference τ b of the previous period, and is used in the processing of the next period.

以上のように、本実施例では、第20図の(送受信)タイ
ミング差検出回路66を、第25図のように第2クロック
(送信クロックSCLK)を基準として検出する構成とし、
信号処理部118内の補間処理部65では、第26図の動作フ
ローチャートで示される処理が実施される。これによ
り、きわめて簡潔な回路構成及び第26図等の単純な論理
判断の追加のみで、送信クロックSCLKと受信クロックRC
LKとのタイミング差及び1周期あたりのデータ出力数の
制御という、クロック乗り換えを行う上で重要な情報を
信号処理部に完全に入力することが可能となる。
As described above, in this embodiment, the (transmission/reception) timing difference detection circuit 66 in FIG. 20 is configured to detect the difference based on the second clock (transmission clock SCLK) as shown in FIG. 25.
The interpolation processing unit 65 in the signal processing unit 118 performs the processing shown in the operation flowchart of Fig. 26. As a result, the transmission clock SCLK and the reception clock RC can be easily generated by simply adding a very simple circuit configuration and simple logical decisions such as those shown in Fig. 26.
It is possible to completely input to the signal processing section information that is important for clock transfer, such as the timing difference with LK and control of the number of data outputs per cycle.

次に、出力タイミング調整回路について説明する。Next, the output timing adjustment circuit will be described.

前述のように、出力信号SOUTの振幅に関しては、第20図
の信号処理部118内の高標本化低域通過フィルタ64及び
補間処理部65で処理され、送信クロックSCLKのタイミン
グに合わせた振幅値になっている。これに対して、以下
に説明する出力タイミング調整回路は、第27A図は第27B
図のに示されるように、不規則な時間間隔で信号処理
部118から出力される出力信号列を入力信号とし、それ
らの時間調整を行って、同図に示すように送信クロッ
クSCLKの同期した等間隔の時刻で外部の回線に出力する
動作を行う。この回路は、第2の実施例における第20図
では、送信レジスタ113に対応している。
As mentioned above, the amplitude of the output signal SOUT is processed by the high sampling low pass filter 64 and the interpolation processing unit 65 in the signal processing unit 118 of Fig. 20, and is set to an amplitude value that matches the timing of the transmission clock SCLK. On the other hand, the output timing adjustment circuit described below adjusts the amplitude of the output signal SOUT to the amplitude of the high sampling low pass filter 64 and the interpolation processing unit 65 of the signal processing unit 118 of Fig. 20.
As shown in the figure, the output signal train output from the signal processing unit 118 at irregular time intervals is used as an input signal, and the timing of these signals is adjusted to output them to an external line at regular intervals synchronized with the transmission clock SCLK as shown in the figure. This circuit corresponds to the transmission register 113 in Figure 20 of the second embodiment.

ここで、第27A図又は第27B図の縦長の長方形は、その
時刻に信号処理部118から出力タイミング調整回路にデ
ータが出力されることを意味するが、その位置は信号処
理部118からの出力であるために、それほど厳密なもの
ではなくある程度幅を有している。同図の場合の信号処
理部118からの出力は、同図との関係からわかるよ
うに、通常は、受信クロックRCLKを基準にしてその中間
の位置で出力するとしている。同図をみると、不規則
といっても大部分の周期では信号処理部118からの出力
の間隔は受信クロックRCLKの間隔にほぼ等しく、信号出
力が無いとき及び1周期に2個の出力を行うときのみ大
幅に間隔がずれる。例えば、第27A図のt7の後、及び第2
7B図のt7の後等である。上記出力の間隔が大部分の周期
でほぼ等しいといっても、それは受信クロックRCLKに同
期した間隔であり、送信クロックSCLKには同期していな
いため、やはり第27A図等のように正確に送信クロッ
クSCLKのタイミングで出力される必要があり、出力タイ
ミング調整回路を設ける意義がある。
Here, the vertically long rectangles in Fig. 27A or 27B indicate that data is output from the signal processing unit 118 to the output timing adjustment circuit at that time, but the position is not very precise and has a certain width because it is an output from the signal processing unit 118. As can be seen from the relationship with the figure, the output from the signal processing unit 118 in the case of the figure is normally output at a position halfway between the receiving clock RCLK. Looking at the figure, even though it is irregular, the interval between outputs from the signal processing unit 118 is almost equal to the interval between the receiving clock RCLK in most periods, and the interval deviates significantly only when there is no signal output or when two outputs are made in one period. For example, after t7 in Fig. 27A and the second
7B , for example. Although the intervals between the above outputs are nearly equal for most of the period, they are intervals synchronized with the receive clock RCLK, not with the transmit clock SCLK, so they must still be output at the exact timing of the transmit clock SCLK, as in FIG. 27A, etc., and there is a point in providing an output timing adjustment circuit.

第28図は、上記要求を満たすための出力タイミング調整
回路の構成図である。この回路は、前述のように第2の
実施例における第20図では、送信レジスタ113の代わり
に設けられる。
28 is a diagram showing the configuration of an output timing adjustment circuit for satisfying the above requirements. As described above, this circuit is provided in place of the transmission register 113 in FIG. 20 of the second embodiment.

同図において、信号処理部118内のレジスタR0は、その
出力レジスタであり、通常、信号処理部118内の補間処
理部65(第20図)で計算された結果はこのレジスタに入
る。そして、信号処理部118から外部に対して出力をし
たい旨のデータ出力要求パルス179が出力される。これ
に対して、出力タイミング調整回路がデータを入力可能
な場合、データ転送クロック発生部169から、転送先の
レジスタR1のビット長に等しい数の転送用クロック181
が出力される。このクロックに基づいて、レジスタR0
内容が出力タイミング調整回路内のレジスタR1に出力さ
れる。ここで、データ転送時刻調整部168においてデー
タの入力が許可されなかった場合、データ転送クロック
発生部169からの転送用クロック181の発生が抑制され、
信号処理部118からのデータ出力が待たされる。しか
し、レジスタR0にデータを泊めたままにすると、信号処
理部118の中で次のデータをレジスタR0に出力するタイ
ミングで、処理がストップしてしまう。従って、レジス
タR0にデータを泊めておくのは余り長くならないように
注意する必要がある。
In the figure, register R0 in signal processing section 118 is its output register, and normally the result of calculation by interpolation processing section 65 (FIG. 20) in signal processing section 118 is entered in this register. Then, signal processing section 118 outputs data output request pulse 179 indicating that it wants to output to the outside. In response to this, when the output timing adjustment circuit is able to input data, data transfer clock generation section 169 generates transfer clocks 181 of a number equal to the bit length of destination register R1.
Based on this clock, the contents of register R0 are output to register R1 in the output timing adjustment circuit. If data input is not permitted in the data transfer time adjustment unit 168, the generation of the transfer clock 181 from the data transfer clock generation unit 169 is suppressed,
This means that data output from the signal processing unit 118 is awaited. However, if data is left stored in register R0 , processing will stop when the next data is output to register R0 in the signal processing unit 118. Therefore, care must be taken not to store data in register R0 for too long.

第28図の出力タイミング調整回路の動作の概要を次に示
す。出力信号はレジスタR0からレジスタR1、レジスタR2
が継続接続された回路に転送される。レジスタR0からレ
ジスタR1に信号が転送された後、レジスタR1、R2内の信
号のどちらを出力信号として使うかがセレクタ178で選
択され、レジスタR3に並列転送される。レジスタR3内の
信号は直列データ出力187として出力される。一方、送
信クロックSCLKは送信同期パルス出力部177に入力、そ
こから送信同期パルスSYNCとして出力される。上記直列
データ出力187及び同期パルスSYNCは、多重化された
後、出力信号SOUT(第20図)として回線に出力される。
The operation of the output timing adjustment circuit in Figure 28 is outlined below. The output signal is sent from register R0 to register R1 , and then to register R2.
are transferred to the continuously connected circuit. After the signal is transferred from register R0 to register R1 , a selector 178 selects which of the signals in register R1 or R2 will be used as the output signal, and the signal is transferred in parallel to register R3 . The signal in register R3 is output as serial data output 187. Meanwhile, the transmission clock SCLK is input to transmission synchronization pulse output section 177, from which it is output as transmission synchronization pulse SYNC. The serial data output 187 and synchronization pulse SYNC are multiplexed and then output to the line as output signal SOUT (Fig. 20).

一方、制御信号に関しては、まず、信号処理部118から
前述のようにデータ出力要求パルス179がデータ転送時
刻(タイミング)調整部168に入力される。この回路に
は、送信クロックSCLKも入力されており、同回路内で、
上記送信クロックSCLKに同期した転送禁止パルスが生成
されている。そして、データ転送時刻調整部168は、通
常は、データ出力要求パルス179が入力した直後に転送
指示パルス180をデータ転送クロック発生部169に出力す
る。これにより、データ転送クロック発生部169から転
送用クロック181が発生される。一方、上記転送禁止パ
ルスは幅をもっており、この時間帯に信号処理部118か
らのデータ出力要求パルス179が入力した場合、データ
転送時刻調整部168は上記時間帯が過ぎるまで転送指示
パルス180を発生せず、これにより、転送用クロック181
の発生が遅らせられる。すなわち、信号処理部118から
の信号入力を待たせることになる。転送用クロック179
がレジスタR0、R1、R2に加えられると、レジスタR0→レ
ジスタR1→レジスタR2のデータ転送が行われる。転送終
了後、後述するセレクト信号発生部169が1周期内の転
送入力回数をカウントできるように、データ転送終了パ
ルス発生部170からデータ転送終了パルス182が発生され
る。
On the other hand, as for the control signal, first, the data output request pulse 179 is input from the signal processing unit 118 to the data transfer time (timing) adjustment unit 168 as described above. The transmission clock SCLK is also input to this circuit, and within the same circuit,
A transfer prohibition pulse synchronized with the transmission clock SCLK is generated. Then, the data transfer time adjustment unit 168 normally outputs a transfer instruction pulse 180 to the data transfer clock generation unit 169 immediately after the data output request pulse 179 is input. This causes the data transfer clock generation unit 169 to generate a transfer clock 181. On the other hand, the transfer prohibition pulse has a width, and if the data output request pulse 179 is input from the signal processing unit 118 during this time period, the data transfer time adjustment unit 168 does not generate a transfer instruction pulse 180 until the time period has elapsed, and as a result, the transfer clock 181
In other words, the signal input from the signal processing unit 118 is made to wait.
are applied to registers R0 , R1 , and R2 , data is transferred from register R0 to register R1 to register R2 . After the transfer is completed, a data transfer end pulse 182 is generated from a data transfer end pulse generator 170 so that a select signal generator 169 (described later) can count the number of transfer inputs within one period.

セレクト信号発生部171では、前記転送禁止パルスがア
クティブになる時間帯に、以下の動作を行う。
The select signal generating unit 171 performs the following operations during the time period when the transfer prohibition pulse is active.

すなわち、まず、前周期中の信号入力の数をカウンタ17
2に読み込み、更に、判定回路175からのセレクト信号18
6を自身にフィードバックする。これにより、前周期中
にレジスタR1、R2のどちらの信号をレジスタR3に転送し
たかという情報が判定回路175自身にフィードバックさ
れる。続いて、判定回路175が動作し、現周期のセレク
タ178の向きを決めるためのセレクト信号186が演算され
る。なお、判定回路175は、送信クロックSCLKに基づい
て動作する判定回路動作指示パルス発生部174からの判
定回路起動パルス183に同期して起動する。
That is, first, the number of signal inputs during the previous period is counted by the counter 17.
2, and further, the select signal 18 from the determination circuit 175
6 to itself. As a result, information as to which signal of register R1 or R2 was transferred to register R3 during the previous period is fed back to the decision circuit 175 itself. Subsequently, the decision circuit 175 operates to calculate a select signal 186 for determining the direction of the selector 178 for the current period. The decision circuit 175 is started in synchronization with a decision circuit start pulse 183 from a decision circuit operation instruction pulse generator 174 which operates based on the transmission clock SCLK.

続いて、次の周期の信号入力数をカウントするために、
カウンタクリア信号発生部173からのカウンタクリア信
号184によりカウンタ172がクリアされる。それと同時
に、並列ロードパルス発生部176からの並列ロードパル
ス185により、セレクタ178の向きに従ってレジスタR1
R2のいずれか一方からの信号がレジスタR3に並列転送さ
れる。レジスタR3に転送された信号は並列転送後、特に
は図示しないが、ただちにクロックパルスがクロック端
子に印加され、送信同期パルスSYNCと共に外部に出力さ
れる。
Next, to count the number of signal inputs in the next period,
The counter 172 is cleared by a counter clear signal 184 from the counter clear signal generating section 173. At the same time, the parallel load pulse 185 from the parallel load pulse generating section 176 clears the registers R 1 and R 2 according to the direction of the selector 178.
A signal from either one of registers R1 and R2 is transferred in parallel to register R3 . After the signal transferred to register R3 is transferred in parallel, a clock pulse (not shown) is immediately applied to the clock terminal, and the signal is output to the outside together with a transmission synchronization pulse SYNC.

以上の動作のタイムチャートを第29図に示す。The time chart for the above operation is shown in FIG.

同図の179は、信号処理部118から出力されるデータ出力
要求パルスであり、それらの時間間隔は受信クロックRC
LKの周期長(R周期)にほぼ等しい。
Reference numeral 179 in the figure denotes a data output request pulse output from the signal processing unit 118, and the time interval between them is equal to the reception clock RC
It is approximately equal to the period length (R period) of LK.

一方、転送禁止パルスは、データ転送時刻調整部168内
部で、送信クロックSCLKと同期して生成される。そのパ
ルス幅は、転送用クロック181による直列転送動作、判
定回路起動パルス183による判定回路での動作、及び並
列ロードパルス185によるレジスタR1/R2からR3への並列
転送という3つの処理が完了するのに充分な時間でなけ
ればならない。一般に、送信クロックSCLKと受信クロッ
クRCLKは僅かに周波数が異なるから、R周期>S周期の
ときでもS周期>R周期であっても、大部分の場合は第
29図のI又はIIの場合のようにデータ出力要求パルス17
9は転送禁止パルスと重ならない。しかし、ある確率で
同図IIIの場合のように重なる場合がある。上記I又はI
Iの場合は、ただちにデータ転送クロック発生部169から
転送用クロック181が発生され、信号の転送が行われ、
データ転送終了パルス発生部170から転送が終了したこ
とを示す転送終了パルス182が発せられる。一方、上記I
IIのようにデータ出力要求パルス179が転送禁止パルス
と重なっているときには、第29図の181のように転送禁
止パルスとインアクティブになってから、転送用クロッ
ク181が出力され、データ転送が行われる。もしここで
転送禁止パルスがないと、データ出力要求パルス179の
すぐあとでデータ転送が行われるため、レジスタR0→レ
ジスタR1→レジスタR2の転送中にレジスタR1、R2→レジ
スタR3の並列転送が行われてしまう。この場合、レジス
タR3の内容がどんなものになる全く保証されない。
On the other hand, the transfer inhibit pulse is generated in synchronization with the transmission clock SCLK inside the data transfer time adjustment unit 168. The pulse width must be long enough to complete three processes: serial transfer operation by the transfer clock 181, operation in the decision circuit by the decision circuit start pulse 183, and parallel transfer from registers R1 / R2 to R3 by the parallel load pulse 185. Generally, since the transmission clock SCLK and the reception clock RCLK have slightly different frequencies, in most cases, even when R period > S period or when S period > R period, the first period is the same.
As in the case of I or II in FIG. 29, the data output request pulse 17
9 does not overlap with the transfer prohibition pulse. However, there is a certain probability that they may overlap as in the case of III in the same figure.
In the case of I, the transfer clock 181 is immediately generated from the data transfer clock generator 169, and the signal is transferred.
A transfer end pulse 182 indicating that the transfer has ended is generated from the data transfer end pulse generating unit 170.
When the data output request pulse 179 overlaps with the transfer inhibit pulse as in II, the transfer inhibit pulse becomes inactive as shown at 181 in Figure 29, and then the transfer clock 181 is output and data transfer begins. If there were no transfer inhibit pulse here, data transfer would occur immediately after the data output request pulse 179, and parallel transfers from register R1 and R2 to register R3 would occur during the transfer from register R0 register R1 register R2 . In this case, there is no guarantee what the contents of register R3 will be.

以上のように転送禁止パルスは信号処理部118からの信
号入力時間を調整して、レジスタR1/R2からレジスタR3
の転送時間と、信号処理部118からレジスタR1/R2への転
送時間とが重ならないようにして信号の破壊を防ぐと同
時に、第29図の転送終了パルス182が同図の判定回路起
動パルス183又はカウンタクリア信号184等とぶつからな
いようにして前周期の入力信号の数を常に正確に知るた
めに、きわめて重要な働きをしている。
As described above, the transfer inhibit pulse adjusts the signal input time from the signal processing unit 118 and transfers the data from register R 1 /R 2 to register R 3
This prevents the signal from being destroyed by preventing the transfer time of the signal processor 118 from overlapping with the transfer time from the signal processor 118 to the registers R1 and R2 , and at the same time, it plays an extremely important role in preventing the transfer end pulse 182 in Fig. 29 from colliding with the decision circuit start pulse 183 or counter clear signal 184 in the same figure, thereby always accurately knowing the number of input signals in the previous period.

次に、セレクタ178を動作させるためのセレクト信号発
生回路171について説明する。まず、セレクト信号186の
符号と各レジスタの関係を実際のICに合わせて次のよう
になっているとする。
Next, a description will be given of the select signal generating circuit 171 for operating the selector 178. First, it is assumed that the relationship between the sign of the select signal 186 and each register is as follows, in accordance with an actual IC.

前周期の信号入力の数は、前述したように0、1、2の
3通りであり、前周期のセレクト信号186の符号(0、
1)と合わせて、6通りの場合についてセレクタ178に
入力するセレクト信号186の符号は次のようになるよう
な判定回路を導入する。
As mentioned above, the number of signal inputs in the previous period is three, 0, 1, and 2, and the sign of the select signal 186 in the previous period (0,
In combination with 1), a decision circuit is introduced in which the sign of the select signal 186 input to the selector 178 for the six cases is as follows:

上記表で、Aは前周期のセレクト信号、Bは前周期の信
号入力数、Cは現周期のセレクト信号(出力)である。
セレクト信号186が0とは、レジスタR1からレジスタR3
に信号が転送されることであり、セレクト信号186が1
とは、レジスタR2からレジスタR3に信号が転送されるこ
とである。
In the above table, A is the select signal of the previous period, B is the number of signal inputs of the previous period, and C is the select signal (output) of the current period.
When the select signal 186 is 0, registers R1 to R3 are
The signal is transferred to the select signal 186.
This means that a signal is transferred from register R2 to register R3 .

前周期の信号入力が送信クロックSCLKを基準として1周
期(S周期)あたり1回の場合(上記表の3、4段目)
は、その入力によりレジスタR1、R2の両方の内容は1回
更新されるから、セレクタ信号の符号を変えず、前周期
と同じレジスタの信号を出力することにより、連続した
信号出力が得られる。
When the signal input for the previous period is once per period (S period) based on the transmission clock SCLK (3rd and 4th rows in the table above)
Since the contents of both registers R1 and R2 are updated once by this input, continuous signal output can be obtained by outputting the signal of the same register as in the previous cycle without changing the sign of the selector signal.

次に前S周期の信号入力が零のとき(前記表の1、2段
目)は、レジスタの内容は前周期と変わらない。従っ
て、もしセレクト信号が前周期と同じなら、前周期と同
じ信号を外部に出すことになるため、前周期のセレクト
信号が1のときは0に変える。前周期のセレクト信号が
0のときは、レジスタ1の内容よりも新しいものは無い
ので、そのまま0にする。この場合、同一の信号が2回
出力されるので、出力信号波形に小さな乱れが生じる。
しかしこの現象は、起こるとしても、装置を動作開始さ
せたとき定常状態に達するまでに1回起こるのみの現象
であるため、問題とはならない。
Next, when the signal input in the previous S cycle is zero (rows 1 and 2 in the table above), the contents of the register remain the same as in the previous cycle. Therefore, if the select signal is the same as in the previous cycle, the same signal as in the previous cycle will be output to the outside, so if the select signal in the previous cycle was 1, it is changed to 0. When the select signal in the previous cycle was 0, there is nothing newer than the contents of register 1, so it remains 0. In this case, the same signal is output twice, causing a small disturbance in the output signal waveform.
However, even if this phenomenon occurs, it does not pose a problem because it occurs only once when the device is started up until a steady state is reached.

続いて前S周期の入力が2回のとき(前記表の5、6段
目)は、レジスタの内容が2回更新される。従って、も
しセレクト信号を変えないと、得られる信号は前周期に
出力した信号に比べて1つ飛ばした新しい信号になって
しまうため、この場合は前周期のセレクト信号が0なら
1に変えることにより、正しい順番の信号をレジスタ3
に転送できる。しかし、もし前周期のセレクト信号が1
のときは、レジスタ2の信号よりも古い信号は記憶され
ていないので、現周期のセレクト信号も1のままにす
る。この場合は一つ飛ばした信号が出力されるが、この
現象が生じるのも装置を動作させたとき、定常状態にな
るまでに1回おこるか起こらないかの現象である。
If there are two inputs in the previous S cycle (rows 5 and 6 in the table), the contents of the register are updated twice. Therefore, if the select signal is not changed, the signal obtained will be a new signal that is one step ahead of the signal output in the previous cycle. In this case, if the select signal in the previous cycle is 0, change it to 1 to ensure that the correct order of signals is stored in register 3.
However, if the select signal in the previous cycle is 1,
In this case, no signal older than the signal in register 2 is stored, so the select signal for the current cycle also remains at 1. In this case, a signal that has been skipped is output, but this phenomenon occurs only once or twice before the device reaches a steady state when it is operated.

以上のタイミング調整回路の動作を第27A図で説明する
と次のようになる。同図の、は、各々レジスタR1
R2内の信号を示している。これらの信号値は、同図の
処理データにおいて、送信クロックSCLKを基準とするタ
イミングT0,T1,T2,・・・で各々求められるべき各値S0,
S1,S2,・・・と対応している。例えば第27A図のをみ
ると、t5.5〜t6.5の間はS5となっているが、これは送
信クロックSCLKを基準とするT5のタイミングに対応する
出力がt5.5〜t6.5の間にレジスタR1に記憶されている
ことを意味している。また、同図をみると、同じ時間
にレジスタR2にはT4に対応する信号S4が記憶されている
ことがわかる。
The operation of the timing adjustment circuit described above will be explained with reference to Fig. 27A as follows. In the figure, and represent registers R1 and R2 , respectively.
These signal values are the values S0 , T1, T2, ... to be calculated at the timings T0 , T1 , T2 , ... based on the transmission clock SCLK in the processing data shown in the figure .
These correspond to S1 , S2 , .... For example, in Figure 27A, S5 is shown between t5.5 and t6.5 , which means that the output corresponding to timing T5 based on the transmission clock SCLK is stored in register R1 between t5.5 and t6.5 . Also, from the same figure, it can be seen that signal S4 corresponding to T4 is stored in register R2 at the same time.

更に、第27A図で、T5〜T6の送信クロックSCLKに同期し
た周期単位(S周期)でみると、同図から、その前の
出力はレジスタR2の信号S3を使っており(セレクタ信号
は1)、同図、からその前周期には1回の入力があ
ったから、T6でもレジスタR2の信号すなわちT4に対応す
る信号S4が出力される。同様にT6〜T7のS周期でも前の
出力はレジスタR2の信号S4を使用し、入力の回数は1回
であるから、T7でもレジスタR2の信号すなわちT5に対応
する信号S5が出力される。
Furthermore, in Fig. 27A, looking at the periodic units (S periods) synchronized with the transmission clock SCLK from T5 to T6 , it can be seen that the previous output used signal S3 from register R2 (selector signal is 1) and, since there was one input in the previous period, the signal from register R2 , i.e., signal S4 corresponding to T4 , is output at T6 . Similarly, the previous output in the S periods from T6 to T7 also used signal S4 from register R2 and there was one input, so the signal from register R2, i.e., signal S5 corresponding to T5 , is output at T7 .

次のT7〜T8のS周期では入力がないため、レジスタR1
内容はT6に対応する信号S6のまま変わらず、レジスタR2
の内容もT5に対応する信号S5のまま変わらない。しかし
この場合は、入力信号がなかったことを第28図のセレク
ト信号発生部171が判定してセレクト信号は0に変わ
り、T8ではレジスタR1の信号すなわちT6に対応する信号
S6が出力される。
Since there is no input in the next S period from T7 to T8 , the contents of register R1 remain unchanged as signal S6 corresponding to T6 , and register R2
The contents of the signal S5 corresponding to T5 remain unchanged. However, in this case, the select signal generator 171 in FIG. 28 determines that there is no input signal, and the select signal changes to 0. At T8, the signal of register R1, that is, the signal corresponding to T6,
S 6 is output.

更に、次のT8〜T9のS周期の場合は信号出力は2回ある
ので、T9の時刻にはレジスタR2にはT7に対応する信号S7
が記憶されている。このとき、セレクト信号発生部171
は、2回の信号入力と前回のセレクト信号は1であるこ
とを判定してセレクト信号を1に変えるため、レジスタ
R2の信号すなわちT7に対応する信号S7が出力される。
Furthermore, in the next S period from T8 to T9 , the signal is output twice, so at the time T9 , the register R2 stores the signal S7 corresponding to T7.
At this time, the select signal generating unit 171
The register determines that the two signal inputs and the previous select signal are 1 and changes the select signal to 1.
The signal S7 corresponding to the signal R2 , that is, T7, is output.

このようにしてレジスタR3から外部への出力は順序正し
い出力が得られるのである。以上の説明は第27A図のS
周期>R周期の場合について行ったが、第27B図のR周
期>S周期の場合も同様である。
In this way, the register R3 outputs to the outside in an orderly manner.
Although the case where the period is greater than the R period was examined, the same applies to the case where the R period is greater than the S period in FIG. 27B.

なお前記の表に示される論理を実現するための第28図の
判定回路175は、信号入力回数をカウントするためのカ
ウンタ172と共に動作するディジタルコンパレータ等に
より、小規模の回路で実現できる。
The decision circuit 175 in FIG. 28 for realizing the logic shown in the table above can be realized with a small-scale circuit using a digital comparator or the like that operates together with the counter 172 for counting the number of signal inputs.

以上、第4の実施例によれば、まず、(送受信)タイミ
ング差検出回路については、送信クロックSCLKと同期し
たカウンタを受信クロックRCLKでラッチして両者のタイ
ミング差を検出するという手法を導入したことにより、
バッファ回路(レジスタ)が不要になる。更に、制御回
路が大幅に簡素化され、その回路規模が縮小されるとと
もに確実な動作が可能という2つの効果がある。
As described above, according to the fourth embodiment, first, the (transmission/reception) timing difference detection circuit employs a method of detecting the timing difference between the transmission clock SCLK and the reception clock RCLK by latching a counter synchronized with the transmission clock SCLK with the reception clock RCLK.
This eliminates the need for a buffer circuit (register), and also provides two advantages: the control circuit is greatly simplified, the circuit scale is reduced, and reliable operation is possible.

出力タイミング調整回路に関しては、転送禁止パルスの
導入により、制御回路が簡素化されると同時に確実な動
作が保証され、セレクタ信号発生部とレジスタR1、R2
組み合わせた回路はレジスタの個数を最小化するなど、
回路規模を圧縮する上で効果大である。
Regarding the output timing adjustment circuit, the introduction of a transfer inhibit pulse simplifies the control circuit while ensuring reliable operation. The circuit combining the selector signal generator and registers R1 and R2 minimizes the number of registers.
This is highly effective in reducing the circuit size.

以上のように、ディジタルPCMチャネル装置を実現する
上で最大の課題であった、受信クロックRCLKと送信クロ
ックSCLKが非同期で、前者の系での処理から後者の系へ
の変換が困難という問題に対して、ハードウエア及びソ
フトウエアの規模の観点からみて最適解を与えることが
可能となり、本実施例によりLSI化が容易となり、従っ
て、サイズ、消費電力、信頼度そしてコストを含めて最
高のディジタルPCMチャネル装置を実用化できる。
As described above, the biggest problem in realizing a digital PCM channel unit is that the receive clock RCLK and the transmit clock SCLK are asynchronous, making it difficult to convert processing in the former system to processing in the latter system. However, this embodiment provides an optimal solution from the viewpoint of the scale of hardware and software, making it easy to implement in an LSI. Therefore, it is possible to realize the best digital PCM channel unit in terms of size, power consumption, reliability and cost.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−143023(JP,A) 特開 昭63−67913(JP,A) 特開 昭55−6958(JP,A) 特開 昭62−101112(JP,A) 特開 昭62−213409(JP,A) 特開 昭61−93748(JP,A) 特公 昭58−16773(JP,B2) 特公 平4−39811(JP,B2) 米国特許4334237(US,A) 米国特許4460890(US,A) 米国特許4780892(US,A) 欧州特許出願公開176946(EP,A) 欧州特許出願公開379586(EP,A) ──────────────────────────────────────────────────── Continued from the front page (56) References: Japanese Patent Application Publication No. 143023 (JP, A) Japanese Patent Application Publication No. 63-67913 (JP, A) Japanese Patent Application Publication No. 6958 (JP, A) Japanese Patent Application Publication No. 101112 (JP, A) Japanese Patent Application Publication No. 213409 (JP, A) Japanese Patent Application Publication No. 93748 (JP, A) Japanese Patent Application Publication No. 16773 (JP, B2) Japanese Patent Application Publication No. 39811 (JP, B2) U.S. Patent No. 4334237 (US, A) U.S. Patent No. 4460890 (US, A) U.S. Patent No. 4,780,892 (US, A) European Patent Application Publication No. 176,946 (EP, A) European Patent Application Publication No. 379,586 (EP, A)

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】アナログ信号とディジタル信号との間で符
号化及び復号化を行う信号処理装置であって、 アナログ入力信号に対しその振幅値をずらして各々第1
及び第2のA/D変換系で個別に変換し、該各変換結果の
平均値を演算して、ディジタル出力信号を得るA/D変換
手段と、 ディジタル入力信号を第1及び第2のD/A変換系で個別
に変換し、前記第1のD/A変換系で生ずる量子化誤差を
検出して前記第2のD/A変換系へのディジタル入力信号
に上乗せし、該第1及び第2のD/A変換系の各変換結果
を所定の比で混合して、アナログ出力信号を得るD/A変
換手段と、 前記A/D及びD/A変換手段を外部の回線から受信したディ
ジタル受信信号の受信クロックに同期して動作させ、前
記A/D変換手段に対する前記ディジタル出力信号と前記
回線側のディジタル受信信号に対して信号処理を行い、
前記ディジタル入力信号及び前記受信クロックに同期し
た送信用ディジタル出力信号を得るディジタル信号処理
手段と、 前記受信クロックに同期した送信用ディジタル出力信号
を高標本化すると共に、 前記受信クロックと送信クロックのタイミング差を検出
し、該タイミング差に基づいて前記高標本化データから
補間処理により前記送信クロックに同期したディジタル
送信信号を生成するディジタル信号クロック乗換手段と
を含むことを特徴とする信号処理装置。
1. A signal processing device for encoding and decoding between analog and digital signals, comprising: a first input signal and a second input signal;
an A/D conversion means for converting a digital input signal separately in a first and a second A/D conversion system, calculating the average value of the conversion results, and obtaining a digital output signal; a D/A conversion means for converting a digital input signal separately in a first and a second D/A conversion system, detecting a quantization error occurring in the first D/A conversion system and adding it to the digital input signal to the second D/A conversion system, and mixing the conversion results of the first and second D/A conversion systems at a predetermined ratio to obtain an analog output signal; and operating the A/D and D/A conversion means in synchronization with a reception clock of a digital reception signal received from an external line, and performing signal processing on the digital output signal to the A/D conversion means and the digital reception signal on the line side.
a digital signal processing means for obtaining a digital output signal for transmission synchronized with the digital input signal and the receiving clock; and a digital signal clock transfer means for high-sampling the digital output signal for transmission synchronized with the receiving clock, detecting a timing difference between the receiving clock and the transmitting clock, and generating a digital transmission signal synchronized with the transmitting clock from the high-sampling data by interpolation based on the timing difference.
【請求項2】請求項1記載の装置であって、前記A/D変
換手段及び前記D/A変換手段は、8ビット圧伸符号化及
び復号化を行うPCM・CODECを2台用いて構成され、 前記ディジタル信号処理手段及び前記ディジタル信号ク
ロック乗換手段はDSP(Digital Signal Processor)を
用いて構成されることを特徴とする信号処理装置。
[Claim 2] A signal processing device according to claim 1, wherein the A/D conversion means and the D/A conversion means are configured using two PCM CODECs that perform 8-bit companding encoding and decoding, and the digital signal processing means and the digital signal clock transfer means are configured using a DSP (Digital Signal Processor).
【請求項3】アナログ入力信号をディジタル出力信号に
変換するA/D変換装置であって、 前記アナログ信号に対して各々異なる利得で増幅する第
1及び第2の増幅器と、該第1及び第2の増幅器の出力
をディジタル信号に変換する第1及び第2の圧伸D/A変
換器と、該各々のディジタル信号の平均値を演算する演
算手段とを有することを特徴とする信号処理装置。
[Claim 3] An A/D conversion device for converting an analog input signal into a digital output signal, comprising: first and second amplifiers for amplifying the analog signal with different gains, first and second companding D/A converters for converting the outputs of the first and second amplifiers into digital signals, and calculation means for calculating the average value of each of the digital signals.
【請求項4】ディジタル入力信号をアナログ出力信号に
変換するD/A変換装置であって、 前記ディジタル入力信号を第1及び第2の圧伸D/A変換
系で個別に変換し、前記第1の圧伸D/A変換系で生ずる
量子化誤差を増幅して、前記第2の圧伸D/A変換系への
ディジタル入力信号に加算し、該第1及び第2の圧伸D/
A変換系の各変換結果を所定の比で混合してアナログ出
力信号を得る圧伸D/A変換手段を含むことを特徴とする
信号処理装置。
4. A D/A conversion device for converting a digital input signal into an analog output signal, comprising: a first and a second companding D/A conversion system for converting the digital input signal separately; a quantization error occurring in the first companding D/A conversion system for amplifying the quantization error and adding it to the digital input signal to the second companding D/A conversion system; and a first and a second companding D/A conversion system for converting the digital input signal into an analog output signal.
A signal processing device comprising a companding D/A conversion means for mixing the results of each conversion in an A conversion system at a predetermined ratio to obtain an analog output signal.
【請求項5】アナログ入力信号をディジタル出力信号に
変換するA/D変換装置であって、 K1をK1>1なる実数及びK2をK2×K1=1を満たす実数と
して、前記アナログ入力信号を各々K1倍及びK2倍する第
1及び第2の増幅手段と、 該各増幅手段の各増幅出力を各々第1及び第2ディジタ
ル信号に変換する第1及び第2の圧伸A/D変換手段と、 該第1及び第2ディジタル信号の平均値を演算してディ
ジタル出力信号を出力する演算手段とを含むことを特徴
とする信号処理装置。
[Claim 5] An A/D conversion device that converts an analog input signal into a digital output signal, comprising: first and second amplification means that respectively multiply the analog input signal by K1 and K2, where K1 is a real number that satisfies K1>1 and K2 is a real number that satisfies K2×K1=1; first and second companding A/D conversion means that convert each amplified output of each amplification means into first and second digital signals, respectively; and calculation means that calculates an average value of the first and second digital signals and outputs a digital output signal.
【請求項6】ディジタル入力信号をアナログ出力信号を
変換するD/A変換装置であって、 前記ディジタル入力信号を第1量子化ディジタル信号に
変換する第1変換手段と、 該第1量子化ディジタル信号を第1アナログ信号に変換
する第1D/A変換手段と、 K3をK3>0なる実数として、前記第1アナログ信号をK3
倍する第1増幅手段と、 前記第1量子化ディジタル信号の前記ディジタル入力信
号に対する量子化雑音を検出する検出手段と、 K4をK4=K3/(1−K3)を満たす実数として、前記量子
化誤差をK4倍して前記ディジタル入力信号に加える雑音
加算手段と、 該雑音加算手段の出力を第2量子化ディジタル信号に変
換する第2変換手段と、 該第2量子化ディジタル信号を第2アナログ信号に変換
する第2D/A変換手段と、 K5をK5+K3=1を満たす実数として、前記第2アナログ
信号をK5倍する第2増幅手段と、 前記第1及び第2増幅手段の各増幅出力を加算してアナ
ログ出力信号を出力する加算手段を含むことを特徴とす
る信号処理装置。
6. A D/A conversion device for converting a digital input signal into an analog output signal, comprising: first conversion means for converting said digital input signal into a first quantized digital signal; first D/A conversion means for converting said first quantized digital signal into a first analog signal; and a first D/A conversion means for converting said first analog signal into a K3 quantized digital signal, where K3 is a real number greater than 0.
a first amplifier means for multiplying the quantization error by K5, where K5 is a real number that satisfies K5 + K3 = 1; and an adder means for adding the amplified outputs of the first and second amplifier means to output an analog output signal.
【請求項7】圧伸D/A変換器とDSP(Digital Signal Pro
cessor)とを組み合わせてなるA/D変換装置であって、 K1をK1>1なる実数及びK2をK2×K1=1を満たす実数と
して、前記アナログ入力信号を各々K1倍及びK2倍する第
1及び第2増幅手段と、 該各増幅手段の各増幅出力を各々第1及び第2圧伸PCM
符号に変換する第1及び第2圧伸A/D変換手段と、 前記第1及び第2圧伸PCM符号を各々第1及び第2リニ
ア信号に変換する第1及び第2リニア変換手段と、 該第1及び第2リニア信号の平均値を演算してディジタ
ル出力信号を出力する演算手段とを含み、 前記第1及び第2リニア変換手段並びに前記演算手段を
前記DSP内に形成することを特徴とする信号処理装置。
Claim 7: Companding D/A converter and DSP (Digital Signal Processor)
an A/D converter including a first amplifier and a second amplifier for amplifying the analog input signal by K1 and K2, respectively, where K1 is a real number satisfying K1>1 and K2 is a real number satisfying K2×K1=1; and a first amplifier and a second companding PCM processor for amplifying the amplified outputs of the amplifiers, respectively.
a first and second companding A/D conversion means for converting the first and second companding PCM codes into first and second linear signals, respectively; and a calculation means for calculating an average value of the first and second linear signals to output a digital output signal, wherein the first and second linear conversion means and the calculation means are formed within the DSP.
【請求項8】圧伸D/A変換器とDSP(Digital Signal Pro
cessor)とを組み合わせてなるD/A変換装置であって、 リニアPCM符号からなるディジタル入力信号を第1圧伸P
CM符号に変換する第1圧伸変換手段と、 該第1圧伸PCM符号を第1アナログ信号に変換する第1
圧伸D/A変換手段と、 K3をK3>0なる実数として、前記第1アナログ信号をK3
倍する第1増幅手段と、 前記第1圧伸PCM符号の前記ディジタル入力信号に対す
る量子化雑音を検出する検出手段と、 K4をK4=K3/(1−K3)を満たす実数として、前記量子
化雑音をK4倍して前記ディジタル入力信号に加える雑音
加算手段と、 該雑音加算手段の出力を第2圧伸PCM符号に変換する第
2圧伸変換手段と、 該第2圧伸PCM符号を第2アナログ信号に変換する第2
圧伸D/A変換手段と、 K5をK5+K3=1を満たす実数として、前記第2アナログ
信号をK5倍する第2増幅手段と、 前記第1及び第2増幅手段の各増幅出力を加算してアナ
ログ出力信号を出力する加算手段を含み、 前記第1及び第2圧伸変換手段、前記検出手段並びに前
記雑音加算手段を前記DSP内に形成することを特徴とす
る信号処理装置。
Claim 8: A companding D/A converter and a DSP (Digital Signal Processor)
a digital-to-analog converter (D/A converter) that converts a digital input signal consisting of a linear PCM code into a first companding P
a first companding means for converting the first companded PCM code into a first analog signal;
a companding D/A conversion means for converting the first analog signal into K3, where K3 is a real number greater than 0;
a first amplifier means for multiplying the quantization noise by K4, where K4 is a real number satisfying K4=K3/(1-K3), and adding the multiplied quantization noise to the digital input signal; a noise adder means for multiplying the quantization noise by K4 and adding the multiplied quantization noise to the digital input signal; a second companding converter means for converting the output of the noise adder means into a second companded PCM code; and a second companding converter means for converting the second companded PCM code into a second analog signal.
a companding D/A converting means; a second amplifying means for multiplying said second analog signal by K5, where K5 is a real number that satisfies K5+K3=1; and an adding means for adding the amplified outputs of said first and second amplifying means to output an analog output signal, wherein said first and second companding converting means, said detecting means, and said noise adding means are formed within said DSP.
【請求項9】圧伸A/D変換器と圧伸D/A変換器とDSP(Dig
ital Signal Processor)とを組み合わせてなる信号処
理装置であって、 K1をK1>1なる実数及びK2をK2×K1=1を満たす実数と
して、前記アナログ入力信号を各々K1倍及びK2倍する第
1及び第2増幅手段と、 該各増幅手段の各増幅出力を各々第1及び第2圧伸PCM
符号に変換する第1及び第2圧伸A/D変換手段と、 前記第1及び第2圧伸PCM符号を各々第1及び第2リニ
ア信号に変換する第1及び第2リニア変換手段と、 該第1及び第2リニア信号の平均値を演算してディジタ
ル出力信号を出力する演算手段とを含むA/D変換装置
と、 リニアPCM符号からなるディジタル入力信号を第1圧伸P
CM符号に変換する第1圧伸変換手段と、 該第1圧伸PCM符号を第1アナログ信号に変換する第1
圧伸D/A変換手段と、 K3をK3>0なる実数として、前記第1アナログ信号をK3
倍する第1増幅手段と、 前記第1圧伸PCM符号の前記ディジタル入力信号に対す
る量子化雑音を検出する検出手段と、 K4をK4=K3/(1−K3)を満たす実数として、前記量子
化雑音をK4倍して前記ディジルタ入力信号に加える雑音
加算手段と、 該雑音加算手段の出力を第2圧伸PCM符号に変換する第
2圧伸変換手段と、 該第2圧伸PCM符号を第2アナログ信号に変換する第2
圧伸D/A変換手段と、 K5をK5+K3=1を満たす実数として、前記第2アナログ
信号をK5倍する第2増幅手段と、 前記第1及び第2増幅手段の各増幅出力を加算してアナ
ログ出力信号を出力する加算手段とを含むD/A変換装置
とを有し、 前記第1及び第2圧伸A/D変換器並びに前記第1及び第
2圧伸D/A変換器は、1つの圧伸A/D変換器と1つの圧伸
D/A変換器が一体に形成されたPCM・CODECを2台用いて
構成され、 前記第1及び第2リニア変換手段、前記演算手段、前記
第1及び第2圧伸変換手段、前記検出手段並びに前記雑
音加算手段を前記DSP内に形成することを特徴とする信
号処理装置。
Claim 9: A companding A/D converter, a companding D/A converter, and a DSP (Dig
a first and second amplifier means for multiplying the analog input signal by K1 and K2, respectively, where K1 is a real number satisfying K1>1 and K2 is a real number satisfying K2×K1=1; and a first and second companding PCM signal processing means for converting the amplified outputs of the amplifier means into the first and second companding PCM signals, respectively.
an A/D conversion device including first and second companding A/D conversion means for converting the first and second companding PCM codes into first and second linear signals, respectively; first and second linear conversion means for converting the first and second companding PCM codes into first and second linear signals, respectively; and calculation means for calculating average values of the first and second linear signals and outputting a digital output signal;
a first companding means for converting the first companded PCM code into a first analog signal;
a companding D/A conversion means for converting the first analog signal into K3, where K3 is a real number greater than 0;
a first amplifier means for multiplying the quantization noise by K4, where K4 is a real number satisfying K4 = K3/(1 - K3), and adding the multiplied quantization noise to the digital input signal; a noise adder means for multiplying the quantization noise by K4 and adding the multiplied quantization noise to the digital input signal; a second companding converter means for converting the output of the noise adder means into a second companded PCM code; and a second companding converter means for converting the second companded PCM code into a second analog signal.
a companding D/A conversion device including: companding D/A conversion means; second amplification means for multiplying the second analog signal by K5, where K5 is a real number that satisfies K5+K3=1; and addition means for adding the amplified outputs of the first and second amplification means to output an analog output signal, wherein the first and second companding A/D converters and the first and second companding D/A converters are configured as one companding A/D converter and one companding D/A converter.
A signal processing device comprising two PCM CODECs each having a D/A converter formed integrally therewith, wherein the first and second linear conversion means, the calculation means, the first and second companding means, the detection means, and the noise addition means are formed within the DSP.
【請求項10】第1のクロックに同期する第1のディジ
タルデータ系列の第2のクロックに同期する第2のディ
ジタルデータ系列に変換するディジタル信号クロック乗
換装置であって、 nをn>1なる自然数として、該第1のディジタルデー
タ系列を、単位時間当たりのデータ数が元のデータに比
べてn倍のデータ系列に変換するデータ変換手段と、 該変換手段からのデータ系列をろ波する前記第1クロッ
クのn倍の標本化速度で動作する高標本化ディジタル低
域通過フィルタと、 前記第1及び第2クロックのタイミング時間差を検出す
るタイミング差検出手段と、 前記高標本化ディジタル低域通過フィルタの出力を前記
タイミング差検出手段からの前記タイミング時間差に基
づいて直線補間し、前記第2のディジタルデータ系列の
ための振幅データとして出力する補間手段と、 該振幅データを前記第2のクロックに同期させて前記第
2のディジタルデータ系列として出力する出力タイミン
グ調整手段とを含み、 前記高標本化ディジタル低域通過フィルタは、各々の標
本化速度の比が整数となる複数ブロックから構成され、 該各ブロックのうち最後段ブロックは前記第1クロック
のn倍の標本化速度で動作し、前記各ブロック間に、該
各ブロックへの各入力データを入力して隣接ブロック間
の各標本化速度の比に等しい数の前記入力データと同一
振幅のデータを出力するデータ変換手段を有し、 前記第1のディジタルデータ系列を入力するデータ変換
手段は、該各データを入力して前記各ブロックのうち初
段のブロックの標本化速度と、前記第1クロックの速度
との比に等しい数の前記入力データと同一振幅のデータ
を出力することを特徴とする信号処理装置。
10. A digital signal clock transfer device for converting a first digital data sequence synchronized with a first clock into a second digital data sequence synchronized with a second clock, comprising: data conversion means for converting the first digital data sequence into a data sequence having n times the number of data per unit time of the original data, where n is a natural number greater than 1; a high sampling digital low pass filter operating at a sampling rate n times the first clock for filtering the data sequence from said conversion means; timing difference detection means for detecting a timing difference between said first and second clocks; interpolation means for linearly interpolating the output of said high sampling digital low pass filter based on the timing difference from said timing difference detection means and outputting it as amplitude data for said second digital data sequence; and output timing adjustment means for synchronizing the amplitude data with said second clock and outputting it as said second digital data sequence, wherein said high sampling digital low pass filter is comprised of a plurality of blocks whose ratio of sampling rates is an integer, a data conversion means provided between said blocks for inputting each input data to each block and outputting data of the same amplitude as said input data, the number of which is equal to the ratio of the sampling rates of adjacent blocks; and a signal processing apparatus characterized in that the data conversion means for inputting said first digital data series inputs each data and outputs data of the same amplitude as said input data, the number of which is equal to the ratio of the sampling rate of the first block to the rate of said first clock.
【請求項11】第1のクロックに同期する第1のディジ
タルデータ系列を第2のクロックに同期する第2のディ
ジタルデータ系列に変換するディジタル信号クロック乗
換装置であって、 nをn>1なる自然数として、該第1のディジタルデー
タ系列を、単位時間当たりのデータ数が元のデータに比
べてn倍のデータ系列に変換するデータ変換手段と、 該変換手段からのデータ系列をろ波する前記第1クロッ
クのn倍の標本化速度で動作する高標本化ディジタル低
域通過フィルタと、 前記第1及び第2クロックのタイミング時間差を検出す
るタイミング差検出手段と、 前記高標本化ディジタル低域通過フィルタの出力を前記
タイミング差検出手段からの前記タイミング時間差に基
づいて直線補間し、前記第2のディジタルデータ系列の
ための振幅データとして出力する補間手段と、 該振幅データを前記第2のクロックに同期させて前記第
2のディジタルデータ系列として出力する出力タイミン
グ調整手段とを含み、 前記タイミング差検出手段は、第1クロックに同期し第
1クロックの周波数の整数倍の周波数のシステムクロッ
クで動作するカウンタ手段と、 該カウンタ手段のカウント値を前記第2クロックに同期
してラッチするラッチ手段とから構成され、 前記補間手段は、前記第1クロックに同期する各周期毎
にラッチされた前記カウント値を前記第1クロックと第
2クロックの位相差として検出し、該位相差及び前記高
標本化ディジタル低域通過フィルタの出力に基づいて前
記振幅データを演算、出力することを特徴とする信号処
理装置。
11. A digital signal/clock transfer device for converting a first digital data series synchronized with a first clock into a second digital data series synchronized with a second clock, comprising: data conversion means for converting the first digital data series into a data series having n times the number of data per unit time of the original data, where n is a natural number greater than 1; a high sampling digital low pass filter operating at a sampling rate n times that of the first clock for filtering the data series from the conversion means; timing difference detection means for detecting a timing difference between the first and second clocks; interpolation means for linearly interpolating the output of the high sampling digital low pass filter based on the timing difference from the timing difference detection means and outputting it as amplitude data for the second digital data series; and output timing adjustment means for synchronizing the amplitude data with the second clock and outputting it as the second digital data series, wherein the timing difference detection means comprises: counter means operating on a system clock synchronized with the first clock and having a frequency which is an integer multiple of the frequency of the first clock; and latch means for latching the count value of the counter means in synchronization with the second clock, wherein the interpolation means detects the count value latched for each period synchronized with the first clock as a phase difference between the first clock and the second clock, and calculates and outputs the amplitude data based on the phase difference and the output of the high sampling digital low pass filter.
【請求項12】請求項11記載の装置であって、 前記補間手段は、前記第1クロックに同期する各周期毎
に、 第1の場合として、前周期の位相差が零近傍の値で、か
つ現周期の位相差が前記第2クロックの周期近傍の値で
あるときは、現在の周期において、前記振幅データを出
力せず、 第2の場合として、前周期の位相差がほぼ前記第2のク
ロック周期近傍の値で、かつ現周期の位相差が零近傍の
値であるときは、現周期において、前記第2のディジタ
ルデータ系列として前記高標本化ディジタル低域通過フ
ィルタの出力のうち現周期の最初の値に対応する値と、
現周期の最後の値に対応する値を2つの連続する前記振
幅データとして出力し、 第3の場合として、上記第1及び第2の場合以外の場合
は、前記高標本化ディジタル低域通過フィルタの出力を
前記位相差に基づいて補間し、前記振幅データとして出
力することを特徴とする信号処理装置。
12. The apparatus according to claim 11, wherein said interpolation means, for each period synchronized with said first clock, does not output said amplitude data in the current period when, as a first case, the phase difference in the previous period is a value near zero and the phase difference in the current period is a value near the period of said second clock, and, as a second case, when the phase difference in the previous period is a value approximately near the period of said second clock and the phase difference in the current period is a value near zero, outputs as said second digital data series in the current period a value corresponding to the first value of the current period among the output of said high sampling digital low pass filter,
a signal processing apparatus which outputs a value corresponding to the last value of the current period as two consecutive amplitude data, and in a third case, in cases other than the first and second cases, interpolates the output of the high sampling digital low pass filter based on the phase difference and outputs the interpolated output as the amplitude data.
【請求項13】請求項12記載の装置であって、 前記出力タイミング調整手段は、 前記補間手段の出力側に接続される第1の一時記憶手段
と、 該第1の一時記憶の出力側に縦続に接続される第2の一
時記憶手段に転送し、 該第1の一時記憶手段に記憶されている振幅データを前
記第2の一時記憶手段に転送する転送制御手段と、 前記第1クロックに同期する周期で動作する前記補間手
段から前記振幅データの出力要求を入力し、該出力要求
の入力タイミングが、前記第2クロックに同期する各周
期中の所定の時間帯である禁止時間と重なるか否かを判
別し、該出力要求タイミングが前記禁止時間と重ならな
いときは、前記転送制御手段に前記転送動作の指示を行
い、前記出力要求タイミングが前記禁止時間と重なると
きは、該禁止時間の終了後に前記転送制御手段に前記転
送動作の指示を行うデータ転送時刻調整手段と、 前記第1又は第2の一時記憶手段のいずれか一方に記憶
されている前記振幅データを選択する選択手段と、 前記選択手段からの振幅データを一時記憶し外部の回線
とのインタフェースを行う第3の一時記憶手段と、 前記第2クロックに同期して前記第3の一時記憶手段か
らの前記振幅データの出力制御手段と、 前記第2クロックを基準とする各周期毎に同期して前記
選択手段を制御する選択制御手段と、 前記第2クロックを基準とする各周期毎に前記補間手段
からの前記振幅データの入力回数をカウントするカウン
ト手段とから構成され、 前記選択制御手段は、前記各周期に同期してその時点に
おける前記カウンタ手段からのカウンタ値と前記周期に
おける該選択制御手段自身が出力した選択情報とから現
周期の選択情報を判定して前記選択手段に出力し該選択
手段を制御することを特徴とする信号処理装置。
13. The apparatus according to claim 12, wherein said output timing adjustment means comprises: first temporary storage means connected to the output side of said interpolation means; transfer control means for transferring amplitude data stored in said first temporary storage means to second temporary storage means cascade-connected to the output side of said first temporary storage means and for transferring amplitude data stored in said first temporary storage means to said second temporary storage means; data transfer time adjustment means for inputting an output request for said amplitude data from said interpolation means operating in a cycle synchronized with said first clock, determining whether or not the input timing of said output request overlaps with a prohibited time which is a predetermined time slot in each cycle synchronized with said second clock, and instructing said transfer control means to perform said transfer operation if said output request timing does not overlap with said prohibited time, and instructing said transfer control means to perform said transfer operation after the prohibited time has elapsed if said output request timing overlaps with said prohibited time; selection means for selecting said amplitude data stored in either said first or second temporary storage means; and third temporary storage means for temporarily storing amplitude data from said selection means and interfacing with an external line. a selection control means for controlling the selection means in synchronization with each period based on the second clock; and a counting means for counting the number of times the amplitude data is input from the interpolation means in each period based on the second clock, wherein the selection control means determines selection information for a current period from a counter value from the counter means at that time and selection information output by the selection control means itself in the period in synchronization with each period, and outputs the selection information to the selection means to control the selection means.
JP1-506722A 1988-06-08 1989-06-07 signal processing device Expired - Lifetime JPH07118628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1-506722A JPH07118628B2 (en) 1988-06-08 1989-06-07 signal processing device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP63-140692 1988-06-08
JP14069288 1988-06-08
JP63-183487 1988-07-25
JP18348788 1988-07-25
JP1-506722A JPH07118628B2 (en) 1988-06-08 1989-06-07 signal processing device

Publications (3)

Publication Number Publication Date
JPWO1989012359A1 JPWO1989012359A1 (en) 1990-06-07
JPH07118628B1 JPH07118628B1 (en) 1995-12-18
JPH07118628B2 true JPH07118628B2 (en) 1995-12-18

Family

ID=27318110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1-506722A Expired - Lifetime JPH07118628B2 (en) 1988-06-08 1989-06-07 signal processing device

Country Status (1)

Country Link
JP (1) JPH07118628B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334237A (en) 1980-02-07 1982-06-08 Rca Corporation Adaptive amplitude averaging for weighting quantizing noise
US4460890A (en) 1982-01-21 1984-07-17 Sony Corporation Direct digital to digital sampling rate conversion, method and apparatus
US4780892A (en) 1984-10-05 1988-10-25 Willi Studer Ag Scanning frequency synchronization method and apparatus
JP5816773B2 (en) 2012-06-07 2015-11-18 ファロ テクノロジーズ インコーポレーテッド Coordinate measuring machine with removable accessories

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS556958A (en) * 1978-06-30 1980-01-18 Victor Co Of Japan Ltd Sampling frequency converter
JPS5816773A (en) * 1981-07-24 1983-01-31 Yashima Denki Kk AC arc welding machine with electric shock prevention device
JPS60143023A (en) * 1983-12-29 1985-07-29 Matsushita Electric Ind Co Ltd Digital signal processing device
JPH0720045B2 (en) * 1985-10-28 1995-03-06 ソニー株式会社 Sampling frequency conversion circuit
JPS62213409A (en) * 1986-03-14 1987-09-19 Toshiba Corp Digital-digital converter
JPS6367913A (en) * 1986-09-10 1988-03-26 Fujitsu Ltd Method for converting time sequential numerical data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334237A (en) 1980-02-07 1982-06-08 Rca Corporation Adaptive amplitude averaging for weighting quantizing noise
US4460890A (en) 1982-01-21 1984-07-17 Sony Corporation Direct digital to digital sampling rate conversion, method and apparatus
US4780892A (en) 1984-10-05 1988-10-25 Willi Studer Ag Scanning frequency synchronization method and apparatus
JP5816773B2 (en) 2012-06-07 2015-11-18 ファロ テクノロジーズ インコーポレーテッド Coordinate measuring machine with removable accessories

Also Published As

Publication number Publication date
JPH07118628B1 (en) 1995-12-18

Similar Documents

Publication Publication Date Title
US5615235A (en) Signal processing system for use in a digital signal clock changing apparatus
EP0356598B1 (en) Digital filter for a modem sigma-delta analog-to-digital converter
US4715257A (en) Waveform generating device for electronic musical instruments
US4270027A (en) Telephone subscriber line unit with sigma-delta digital to analog converter
JPS6131658B2 (en)
US4528551A (en) Digital to analog converter employing sigma-delta modulation for use in telephone systems
WO1986002217A1 (en) Analog-to-digital converter
JPS6193748A (en) Method and device for synchronizing scanning frequency
US5606319A (en) Method and apparatus for interpolation and noise shaping in a signal converter
US4334128A (en) Echo canceler for homochronous data transmission systems
CA1340064C (en) Signal processing apparatus with dual parallel a/d and d/a converters
US20020184277A1 (en) Resampling system and apparatus
EP0065796B1 (en) Arrangement for cancelling echo signals
US4411006A (en) Digital bit rate synchronizer for digital echo cancellers and similar signal processing devices
JPS5942502B2 (en) Gain control device for digital telephone lines
EP0234666B1 (en) Digital-to-analog converter circuit
JPH07118628B2 (en) signal processing device
EP0054024B1 (en) Subscriber line audio processing circuit apparatus
JPH05327409A (en) Rate conversion method and its conversion circuit
JPS6035841A (en) Line circuit with echo compensation function
JPH08102644A (en) Adaptive filter system
KR870001097B1 (en) Interpolation Analogue Digital Converter
JPWO1989012359A1 (en) signal processing device
WO2010039029A1 (en) Method and system for coding and decoding audio signals
JP3097324B2 (en) Digital sound data output device