JPS6126255B2 - - Google Patents

Info

Publication number
JPS6126255B2
JPS6126255B2 JP54065829A JP6582979A JPS6126255B2 JP S6126255 B2 JPS6126255 B2 JP S6126255B2 JP 54065829 A JP54065829 A JP 54065829A JP 6582979 A JP6582979 A JP 6582979A JP S6126255 B2 JPS6126255 B2 JP S6126255B2
Authority
JP
Japan
Prior art keywords
clock signal
signal
section
external clock
frequency
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
Application number
JP54065829A
Other languages
Japanese (ja)
Other versions
JPS55158754A (en
Inventor
Masao Yamazawa
Masuyuki Ikezawa
Masayuki Takahashi
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
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP6582979A priority Critical patent/JPS55158754A/en
Publication of JPS55158754A publication Critical patent/JPS55158754A/en
Publication of JPS6126255B2 publication Critical patent/JPS6126255B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、複数種類の外部クロツク信号周波数
に対して内部で発生する変換クロツク信号周波数
が常に一定になるようにしたコーデツク
(CODEC)に関するものである。 コーデツクは、PCM装置等における信号の符
号器(CODEC)と復号器(DECODER)とを複
合したものであて、PCM信号の伝送等において
用いられるものである。すなわち音声等のアナロ
グ信号を一定速度でサンプリングして所定のビツ
ト数のPCM信号に変換し、またその逆の操作を
行う。 第1図は従来のコーデツクの構成を示すブロツ
ク図である。同図において、1はデバイダ部であ
つて外部クロツク信号端子2から与えられる外部
クロツク信号を分周して変換クロツク信号を発生
する。デバイダ部1における分周比はコントロー
ル・ロジツク部3から与えられる分周比コントロ
ール信号によつて制御される。コントロール・ロ
ジツク部3においては、分周比切替用外部入力ピ
ン4から与えられる分周比信号に従つて、デバイ
ダ部1における分周比がそれぞれ所定の値になる
ような分周比コントロール信号を発生する。 D/Aコンバータ部5は、符号器の場合は変換
クロツク信号に応じてアナログデータ端子6から
のアナログ入力信号をデイジタル信号に変換して
所定ビツト数のPCM信号を作成し、レジスタ部
7に記憶する。レジスタ部7の内容は読出/書込
クロツク信号端子8から与えられる読出クロツク
信号に応じて直列データとしてデイジタルデータ
端子9に出力される。デバイダ部1とレジスタ部
7は1回の符号化終了時、同期信号端子10から
与えられる同期信号によつて初期状態に戻され
る。 復号器として動作する場合は、読出/書込クロ
ツク信号端子8から与えられる書込クロツク信号
に応じて、デイジタルデータ端子9から与えられ
る所定ビツト数のPCM信号をレジスタ部7に書
き込む。レジスタ部7の内容はD/Aコンバータ
部5に並列に入力され変換クロツク信号に応じて
変換されてアナログ信号を再生し、アナログデー
タ端子6に出力される。 第1図のコーデツクにおける符号化、復号化の
繰り返しは同期信号端子10から与えられる同期
信号の繰り返し周波数によつて定まる。また外部
クロツク信号端子2のクロツク信号と、読出/書
込クロツク信号端子8のクロツク信号とは通常、
同一のクロツク信号が用いられ、そのクロツク周
波数はコーデツクを多数チヤンネル多重化して
PCM伝送する場合のデータ転送速度に等しい。
この外部クロツク信号を分周して、符号化および
復号化動作を行うのに必要な変換クロツク信号を
作成している。 このように第1図に示された従来のコーデツク
においては、外部クロツク信号を分周して変換ク
ロツク信号を発生していた。従つてデバイダ部が
定分周比であれば特定の外部クロツク周波数に対
してしか使用できず、複数種類の外部クロツク信
号に対して使用するためには外部から分周比信号
を与えて分周比を決定して使用しなければなら
ず、分周比切替用外部入力ピンを必要とし、IC
化のためのピン数が制限される場合は設計上の制
約を被つていた。 本発明はこのような従来技術の欠点を除去しよ
うとするものであつてその目的は、外部クロツク
周波数の制約を受けずまた入力ピン数が増加しな
いコーデツクを提供することにある。この目的を
達成するため本発明のコーデツクにおいては、外
部クロツク信号を分周して符号化と復号化の動作
に必要な内部変換クロツク信号を発生するコーデ
ツクにおいて、符号化または復号化の繰り返しを
示す同期信号ごとに外部クロツク信号を計数する
手段と、該計数値により外部クロツク信号を分周
する分周比を決定する手段と、決定された分周比
に応じて外部クロツク信号を分周する可変分周手
段とを設け、複数種類の外部クロツク信号周波数
に対して一定の内部変換クロツク信号周波数を得
ることを特徴としている。 以下実施例について説明する。 第2図は本発明のコーデツクの一実施例の構成
を示すブロツク図である。同図において符号2,
5,6,7,8,9,10のあらわすところは第
1図の場合と異ならない。11はカウンタ部、1
2はコントロール・ロジツク部、13は可変デバ
イダ部である。 第2図においてカウンタ部11は、外部クロツ
ク信号端子から与えられる外部クロツク信号をカ
ウントする。カウンタ部11はN進カウンタから
なり、外部クロツク信号のNカウントごとにキヤ
リー信号を発生する。またカウンタ部11は、同
期信号端子10から与えられる同期信号によつて
リセツトされて初期状態に戻る。このようにカウ
ンタ部11か、同期信号の1周期間における外部
クロツク信号のNカウントごとにキヤリー信号を
発生する。 コントロール・ロジツク部12は、カウンタ部
11からのキヤリー信号をカウントするカウンタ
と、同期信号でカウンタの内容をラツチするラツ
チ回路とからなり、同期信号端子10からの同期
信号によつてリセツトされて初期状態に戻るとと
もにラツチした内容を分周比コントロール信号と
して可変デバイダ部13に転送するように構成さ
れている。 コントロール・ロジツク部12から可変デバイ
ダ部13に転送される分周比コントロール信号は
可変デバイダ部13における分周比を制御する。
従つてカウンタ部11からコントロール・ロジツ
ク部12へ入力されるキヤリー信号が同期信号の
1周期間においてMカウントであつた場合、同期
信号によりラツチされた値Mが、分周比コントロ
ール信号として、可変デバイダ部13における分
周比を1/Mに定める。 可変デバイダ部13はカウンタ形式の分周器か
らなり、同期信号に同期してそのカウンタにコン
トロール・ロジツク部12からの分周比コントロ
ール信号によつて定まる値Mを設定される。可変
デバイダ部13のカウンタは外部クロツク信号を
カウントして設定値Mに達するごとにオーバーフ
ローしてキヤリー信号即ち変換クロツク信号を発
生する。可変デバイダ部13では変換クロツク信
号を発生すると再びコントロール・ロジツクから
の分周比コントロール信号によつて値Mを設定さ
れ、同じ動作をくり返す。このようにして発生す
る変換クロツク信号は外部クロツク信号を所望の
分周比に分周した信号であり、D/Aコンバータ
部5に与えて所要の符号化、複号化の動作を行わ
せることができる。D/Aコンバータ部5、レジ
スタ部7の動作については第1図の場合と同様で
ある。 以上のように、本発明によれば外部クロツクと
して様々な周波数のクロツクが入力されても、同
期信号間に存在するクロツク数により可変デバイ
ダ部13の分周比Mが変化するので、いつも一定
の周波数の変換クロツクをD/Aコンバータ5へ
供給できる。 第1表は、本発明のコーデツクにおける動作の
具体的な例として、外部クロツク信号として
128KHzの整数倍の信号が入力する場合に、外部
クロツク信号を分周して変換クロツク信号として
128KHzを発生する場合を掲げたものである。第
1表は同期信号を8KHzとし、その1周期間に入
る外部クロツク信号16カウントごとにキヤリー信
号を出力し、その合計値で値Mを設定している。 例えばいま外部クロツク信号として128KHzの
信号が入力されたとすると、8KHzの同期信号の
間で、カウンタ部11でのカウント値は16回とな
るので、分周比として設定されるMはM=1とな
る。この分周比にもとづいて可変デバイダ部では
128KHzの外部クロツクを1/1分周して128KHzの
変換クロツク信号を発生する。 次に外部クロツク信号として256KHzの信号が
入力された場合を考えると、カウンタ部11での
カウント値は32回となるので設定値M=2より、
可変デバイダ部では256KHzを1/2に分周して
128KHzの変換クロツクを生成する。 以下同様にして、外部クロツク周波数128KHz
の整数倍の任意の周波数を入れた場合のどの場合
でもいつも一定の周波数の変換クロツクを得るこ
とができる。
The present invention relates to a codec (CODEC) in which the internally generated conversion clock signal frequency is always constant for a plurality of types of external clock signal frequencies. A codec is a combination of a signal encoder (CODEC) and a decoder (DECODER) in a PCM device, etc., and is used in the transmission of PCM signals. That is, analog signals such as audio are sampled at a constant rate and converted into PCM signals of a predetermined number of bits, and vice versa. FIG. 1 is a block diagram showing the structure of a conventional codec. In the figure, reference numeral 1 denotes a divider section which divides the frequency of an external clock signal applied from an external clock signal terminal 2 to generate a converted clock signal. The frequency division ratio in the divider section 1 is controlled by a frequency division ratio control signal given from the control logic section 3. In the control logic section 3, according to the frequency division ratio signal given from the external input pin 4 for frequency division ratio switching, a frequency division ratio control signal is generated so that the frequency division ratio in the divider section 1 becomes a predetermined value. Occur. In the case of an encoder, the D/A converter section 5 converts the analog input signal from the analog data terminal 6 into a digital signal according to the conversion clock signal to create a PCM signal with a predetermined number of bits, and stores it in the register section 7. do. The contents of the register section 7 are output as serial data to a digital data terminal 9 in response to a read clock signal applied from a read/write clock signal terminal 8. The divider section 1 and the register section 7 are returned to the initial state by a synchronization signal applied from a synchronization signal terminal 10 when one encoding is completed. When operating as a decoder, a predetermined number of bits of the PCM signal applied from the digital data terminal 9 is written into the register section 7 in response to a write clock signal applied from the read/write clock signal terminal 8. The contents of the register section 7 are inputted in parallel to the D/A converter section 5, converted in accordance with the conversion clock signal to reproduce an analog signal, and outputted to the analog data terminal 6. The repetition of encoding and decoding in the codec of FIG. 1 is determined by the repetition frequency of the synchronization signal applied from the synchronization signal terminal 10. Further, the clock signal at the external clock signal terminal 2 and the clock signal at the read/write clock signal terminal 8 are normally
The same clock signal is used, and the clock frequency is determined by multiplexing multiple channels of codecs.
Equivalent to the data transfer rate for PCM transmission.
This external clock signal is frequency-divided to create a conversion clock signal necessary for encoding and decoding operations. As described above, in the conventional codec shown in FIG. 1, a conversion clock signal is generated by frequency-dividing an external clock signal. Therefore, if the divider section has a fixed frequency division ratio, it can only be used for a specific external clock frequency, and in order to use it for multiple types of external clock signals, it must be divided by applying a frequency division ratio signal from the outside. The ratio must be determined and used, an external input pin for switching the division ratio is required, and the IC
If the number of pins required for integration is limited, there are design constraints. The present invention attempts to eliminate these drawbacks of the prior art, and its purpose is to provide a codec that is not limited by external clock frequency and does not increase the number of input pins. To achieve this objective, the codec of the present invention divides the frequency of an external clock signal to generate an internal conversion clock signal necessary for encoding and decoding operations. means for counting external clock signals for each synchronization signal; means for determining a frequency division ratio for dividing the external clock signal according to the counted value; and variable frequency division for dividing the external clock signal according to the determined frequency division ratio. The present invention is characterized in that a frequency dividing means is provided to obtain a constant internal conversion clock signal frequency for a plurality of types of external clock signal frequencies. Examples will be described below. FIG. 2 is a block diagram showing the structure of one embodiment of the codec of the present invention. In the figure, reference numeral 2,
The representations of 5, 6, 7, 8, 9, and 10 are the same as in FIG. 11 is a counter section, 1
2 is a control logic section, and 13 is a variable divider section. In FIG. 2, a counter section 11 counts external clock signals applied from an external clock signal terminal. The counter section 11 consists of an N-ary counter and generates a carry signal every N counts of the external clock signal. Further, the counter section 11 is reset by a synchronization signal applied from the synchronization signal terminal 10 and returns to the initial state. In this way, the counter section 11 generates a carry signal every N counts of the external clock signal during one period of the synchronization signal. The control logic section 12 consists of a counter that counts the carry signal from the counter section 11 and a latch circuit that latches the contents of the counter with a synchronization signal, and is reset and initialized by the synchronization signal from the synchronization signal terminal 10. Upon returning to the state, the latched contents are transferred to the variable divider section 13 as a frequency division ratio control signal. The frequency division ratio control signal transferred from the control logic section 12 to the variable divider section 13 controls the frequency division ratio in the variable divider section 13.
Therefore, if the carry signal input from the counter section 11 to the control logic section 12 is M counts during one period of the synchronization signal, the value M latched by the synchronization signal is variable as the frequency division ratio control signal. The frequency division ratio in the divider section 13 is set to 1/M. The variable divider section 13 consists of a counter-type frequency divider, and a value M determined by the frequency division ratio control signal from the control logic section 12 is set in the counter in synchronization with the synchronization signal. The counter of the variable divider section 13 counts the external clock signal, and every time it reaches a set value M, it overflows and generates a carry signal, that is, a conversion clock signal. When the variable divider section 13 generates the conversion clock signal, the value M is again set by the frequency division ratio control signal from the control logic, and the same operation is repeated. The conversion clock signal generated in this way is a signal obtained by dividing the external clock signal to a desired frequency division ratio, and is supplied to the D/A converter section 5 to perform the required encoding and decoding operations. I can do it. The operations of the D/A converter section 5 and the register section 7 are the same as in the case of FIG. As described above, according to the present invention, even if clocks of various frequencies are input as external clocks, the frequency division ratio M of the variable divider section 13 changes depending on the number of clocks present between the synchronization signals, so the frequency division ratio M is always constant. A frequency conversion clock can be supplied to the D/A converter 5. Table 1 shows the external clock signal as a specific example of the operation of the codec of the present invention.
When a signal with an integral multiple of 128KHz is input, divide the external clock signal and use it as a conversion clock signal.
This is for the case where 128KHz is generated. In Table 1, the synchronizing signal is 8 KHz, a carry signal is output every 16 counts of the external clock signal that enters one cycle, and the value M is set as the total value. For example, if a 128KHz signal is input as an external clock signal, the count value in the counter section 11 will be 16 times during the 8KHz synchronization signal, so M set as the frequency division ratio will be M = 1. Become. Based on this frequency division ratio, the variable divider section
A 128KHz conversion clock signal is generated by dividing the 128KHz external clock by 1/1. Next, if we consider the case where a 256KHz signal is input as an external clock signal, the count value in the counter section 11 will be 32 times, so from the set value M = 2,
The variable divider section divides 256KHz into 1/2.
Generates a 128KHz conversion clock. Similarly, the external clock frequency is 128KHz.
In any case, a conversion clock with a constant frequency can be obtained in any case where an arbitrary frequency that is an integer multiple of is input.

【表】 以上説明したように本発明のコーデツクによれ
ば、複数種類の外部クロツク信号を符号化または
復号化の繰り返しを示す同期信号ごとに計数し、
この計数値によつて分周比を定めて外部クロツク
信号を分周することによつて常に一定の変換クロ
ツク信号を発生することができるので、従つて汎
用性を生じる。さらに外部から分周比設定用信号
を与える必要がないため外部接続用ピン数を削減
することができ、IC化する場合に有利である。
[Table] As explained above, according to the codec of the present invention, multiple types of external clock signals are counted for each synchronization signal indicating repetition of encoding or decoding,
By dividing the frequency of the external clock signal by determining the frequency division ratio based on this count value, a constant conversion clock signal can be generated at all times, thus providing versatility. Furthermore, since there is no need to apply a dividing ratio setting signal from the outside, the number of external connection pins can be reduced, which is advantageous when integrated into an IC.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のコーデツクの構成を示すブロツ
ク図、第2図は本発明のコーデツクの一実施例の
構成を示すブロツク図である。 1……デバイダ部、2……外部クロツク信号端
子、3……コントロール・ロジツク部、4……分
周比切替用外部入力ピン、5……D/Aコンバー
タ部、6……アナログデータ端子、7……レジス
タ部、8……読出/書込クロツク端子、9……デ
ータ端子、10……同期信号端子、11……カウ
ンタ部、12……コントロール・ロジツク部、1
3……可変デバイダ部。
FIG. 1 is a block diagram showing the structure of a conventional codec, and FIG. 2 is a block diagram showing the structure of an embodiment of the codec of the present invention. 1... Divider section, 2... External clock signal terminal, 3... Control logic section, 4... External input pin for frequency division ratio switching, 5... D/A converter section, 6... Analog data terminal, 7...Register section, 8...Read/write clock terminal, 9...Data terminal, 10...Synchronization signal terminal, 11...Counter section, 12...Control logic section, 1
3...Variable divider section.

Claims (1)

【特許請求の範囲】[Claims] 1 外部クロツク信号を分周して符号化と復号化
の動作に必要な内部変換クロツク信号を発生する
コーデツクにおいて、符号化または復号化の繰り
返しを示す同期信号ごとに外部クロツク信号を計
数する手段と、該計数値により外部クロツク信号
を分周する分周比を決定する手段と、決定された
分周比に応じて外部クロツク信号を分周する可変
分周手段とを設け、複数種類の外部クロツク信号
周波数に対して一定の内部変換クロツク信号周波
数を得ることを特徴とするコーデツク。
1. In a codec that divides an external clock signal to generate an internal conversion clock signal necessary for encoding and decoding operations, means for counting the external clock signal for each synchronization signal indicating repetition of encoding or decoding; , a means for determining a frequency division ratio for dividing an external clock signal based on the counted value, and a variable frequency division means for dividing the frequency of an external clock signal according to the determined frequency division ratio. A codec characterized by obtaining a constant internal conversion clock signal frequency with respect to the signal frequency.
JP6582979A 1979-05-28 1979-05-28 Codec Granted JPS55158754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6582979A JPS55158754A (en) 1979-05-28 1979-05-28 Codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6582979A JPS55158754A (en) 1979-05-28 1979-05-28 Codec

Publications (2)

Publication Number Publication Date
JPS55158754A JPS55158754A (en) 1980-12-10
JPS6126255B2 true JPS6126255B2 (en) 1986-06-19

Family

ID=13298296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6582979A Granted JPS55158754A (en) 1979-05-28 1979-05-28 Codec

Country Status (1)

Country Link
JP (1) JPS55158754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130946U (en) * 1988-03-02 1989-09-06
JPH0642679U (en) * 1992-11-13 1994-06-07 積水化成品工業株式会社 Hanging container

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5540953B2 (en) * 2010-07-12 2014-07-02 パナソニック株式会社 Clock regeneration circuit and digital audio playback apparatus using the same
JP5919500B2 (en) * 2011-12-28 2016-05-18 パナソニックIpマネジメント株式会社 Clock regeneration circuit and digital audio playback device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130946U (en) * 1988-03-02 1989-09-06
JPH0642679U (en) * 1992-11-13 1994-06-07 積水化成品工業株式会社 Hanging container

Also Published As

Publication number Publication date
JPS55158754A (en) 1980-12-10

Similar Documents

Publication Publication Date Title
US4791406A (en) Monolithic integrated digital-to-analog converter
JPS61144121A (en) Frequency division circuit
US5128673A (en) Signal generator for generating a delayed clock signal
US4154985A (en) Interface circuit for digital telephone facilities
JPS62140072A (en) Digital phase meter circuit
US4404546A (en) Digital-to-analog converter
JPS6126255B2 (en)
US3350708A (en) Digital code converter
JPS6129577B2 (en)
US5847667A (en) Digital-to-analog converter interface apparatus
US4805508A (en) Sound synthesizing circuit
EP0020079B1 (en) Encoder/decoder circuit
JPS5941336B2 (en) buffer memory device
SU1015492A2 (en) Variable-frequency pulse forming device
JP2563366B2 (en) Signal cycle measuring device
SU995312A1 (en) Complex function forming device
JPS62110323A (en) Frequency-digital conversion circuit
SU1647918A1 (en) Frequency-to-code transducer
SU1128246A1 (en) Interface
SU733017A1 (en) Buffer memory
SU826562A1 (en) Multichannel code-to-time interval converter
SU1506553A1 (en) Frequency to code converter
SU1413590A2 (en) Device for time scale correction
SU1124278A1 (en) Information output device
JPS6236407B2 (en)