JPS6147020B2 - - Google Patents
Info
- Publication number
- JPS6147020B2 JPS6147020B2 JP7007378A JP7007378A JPS6147020B2 JP S6147020 B2 JPS6147020 B2 JP S6147020B2 JP 7007378 A JP7007378 A JP 7007378A JP 7007378 A JP7007378 A JP 7007378A JP S6147020 B2 JPS6147020 B2 JP S6147020B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- register
- assignment
- dsi
- pcm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 230000015654 memory Effects 0.000 claims description 97
- 238000012545 processing Methods 0.000 claims description 46
- 238000003780 insertion Methods 0.000 claims 8
- 230000037431 insertion Effects 0.000 claims 8
- 238000001514 detection method Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000000034 method Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000003745 diagnosis Methods 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000005520 cutting process Methods 0.000 description 1
- 238000013481 data capture Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000004092 self-diagnosis Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/17—Time-division multiplex systems in which the transmission channel allotted to a first user may be taken away and re-allotted to a second user if the first user becomes inactive, e.g. TASI
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Time-Division Multiplex Systems (AREA)
Description
本発明はデイジタル音声(Digital Speech
Interpolation−DSI)装置用のプロセツサに関す
る。
通常の電話による会話では、一方が話している
間他方は聴いているだけであり、両者が共に黙つ
ている時間も多い。従つて、伝送路は時間平均で
みると、約1/2以下の時間しか利用されていな
い。このような事実を利用してDSI装置では音声
の存在する部分だけを伝送することにより伝送路
の使用効率を高め、既存のPCM回線の容量を約
2倍にしている。DSI装置の理論は刊行物
“Digital Speech Interpolation”COMSAT
TECHNICAL REVIEW、Vol.6、No.1、
Spring1976”に詳しく述べられている。
このようなDSI装置の構成を第1図に示す。参
照番号1は送信側DSI装置、参照番号2は受信側
DSI装置を示す。送信側DSI装置1は音声検出器
110、送信用音声メモリ120、送信用アサイ
メント・レジスタ130およびアサイメント・プ
ロセツサ140からなり、PCMチヤンネル2を
DSIチヤンネル3へ圧縮し、PCMチヤンネル2と
DSIチヤンネル3との間の新規接続情報を割当情
報信号線4を介して受信側DSI装置へ送信する。
受信側DSI装置2は割当情報受信器150、受信
側アサイメント・レジスタ160および受信側音
声メモリ170からなり、DSIチヤンネル3と割
当情報信号線4とからPCMチヤンネル5にPCM
チヤンネル2の状態を再生する。
送信側DSI装置1では、入力PCMチヤンネル2
の信号のうち音声のあるチヤンネルだけが送信側
アサイメント・レジスタ130の制御のもとに送
信側音声メモリ120へ書き込まれ、DSIチヤン
ネル3の信号として読み出される。送信側アサイ
メント・レジスタ130はPCMチヤンネル番号
とDSIチヤンネル番号との対応関係を示すもので
ある。説明の都合上送信側アサイメント・レジス
タ130が第2図に示すような対応関係を有する
とすると、PCMチヤンネル2とDSIチヤンネル3
との間の関係は第3図に示すようになる。つま
り、PCMチヤンネル番号1にDSIチヤンネル番号
2、PCMチヤンネル番号3にDSIチヤンネル番号
1、PCMチヤンネル番号4にDSIチヤンネル番号
3が割当てられているとする。このとき例えば、
PCMチヤンネル番号7が音声あり(以下アクテ
イブと称する)となつた場合、音声検出器110
はPCMチヤンネル番号7がアクテイブであるこ
とを検出する。アサイメント・プロセツサ140
はアクテイブではないDSIチヤンネル番号を探し
(第2図の場合、DSIチヤンネル番号4となる)、
新規接続を決定し、割当情報として送出しかつ送
信側アサイメント・レジスタ130を書換える。
割当情報は接続か切断かを示す部分、PCMチヤ
ンネル番号部およびDSIチヤンネル番号部からな
つている。
受信側DSI装置2では受信側アサイメント・レ
ジスタ160の内容は割当情報受信器150によ
り受信された割当情報に従つて更新され、送信側
アサイメント・レジスタ130の内容に追随す
る。この結果、受信DSI信号は送信側で行なつた
操作の逆操作により出力PCM信号を得る。
DSIチヤンネルに接続されているPCMチヤンネ
ルはアクテイブでなくなつてもアサイメント・プ
ロセツサ140がDSIチヤンネルを他のPCMチヤ
ンネルに割当てないかぎり接続されたまま残る。
DSIチヤンネル数は固定しているため、時とし
てDSIチヤンネル数以上のPCMチヤンネルがアク
テイブとなり、音声の最初の部分が伝送できない
ことが生ずる。この事態は一時的にPCMワード
(PCMの一標本値)の精度を8ビツトから7ビツ
トもしくは6ビツトに劣化させ、仮想的にDSIチ
ヤンネル数を増加させることで大幅に改善され
る。例えば、第3図aのように、PCMチヤンネ
ル数が8で同図bのように、DSIチヤンネル数が
4である場合、DSIチヤンネルで伝送されるPCM
ワードをすべて6ビツトとすれば、総計で8ビツ
ト余り、このためDSIチヤンネルを新たに1つ増
加させることができる。DSI装置は通常PCM60チ
ヤンネル以上を対象とする装置である。例えば、
PCM24の4回線からなる96チヤンネルをDSI48チ
ヤンネルに圧縮するシステムではPCMワードを
7ビツト伝送にすることにより新たな6チヤンネ
ルが生成でき、6ビツト伝送とすることにより更
に新たな6チヤンネルを付け加えることができ
る。これ等の新たに付加できるチヤンネルをそれ
ぞれオーバーロード(過負荷)1チヤンネル(以
下OL1CHと略す)およびオーバーロード2チヤ
ンネル(以下OL2CHと略す)と呼ぶ。これに対
し、元来のDSIチヤンネルをノーマル・チヤンネ
ル(以下NCHと略す)と呼ぶことにする。
オーバーロード・チヤンネルが使用されている
と、伝送されるPCMワードの精度が悪いため
に、アサイメント・プロセツサ140は、NCH
に音声なし(以下インアクテイブと略す)なチヤ
ンネルが存在し、新規接続要求がない場合、
PCMワードの精度を上げるためにオーバーロー
ド・チヤンネルに接続されていたPCMチヤンネ
ルを前記インアクテイブなNCHに再割当を行う
必要がある。
これ等の対策を講じても、アクテイブであるに
もかかわらず、DSIチヤンネルに割当てられない
PCMチヤンネルが存在することもある。単位時
間におけるアクテイブなPCMチヤンネルに対す
る割当てられないPCMチヤンネルの割合を締出
率と呼ぶが、異常に高い締出率をDSI装置が示し
ている場合、このことを外部に知らせることもア
サイメント・プロセツサ140の付加的機能であ
る。
割当情報は数フレームに1度送るだけでよく、
DSI装置の最も重要な利用分野の一つである
TDMA衛星通信などに適合するように6フレー
ムを1つのアサイメント・フレームとするのも一
つの方法である。
以上に説明したアサイメント・プロセツサ14
0の機能をまとめると、
(1) 新規割当要求PCMチヤンネルの受け付け。
(2) インアクテイブDSIチヤンネルの検出。
(3) オーバーロード・チヤンネルの管理。
(4) 新規割当の決定。
(5) 締め出し率等統計データの整理。
(6) 以上の機能を6フレーム以内に、PCM等の
周辺回路と同期して行うこと。
特に機能1、2および4はDSIアサイメント・
プロセツサの基本的機能である。
従来のDSI装置では、以上の機能を専用ハード
ウエアで実現するかミニコンピユータで実現して
おり、専用ハードウエアで実現する場合は上記の
ような多くの機能を実現する必要から装置の規模
が大きくかつ複雑となり、生産に要する初期調整
または故障時における修復時間が長くなる欠点を
有している。また、ミニコンピユータで実現する
場合は、故障診断の面では飛躍的に有利になるも
のの固定したアーキテクチユアにより上記アサイ
メント・プロセツサの機能を実現する必要が生ず
るため、速度的に問題がある。新規割当要求、
PCMチヤンネルの受付部やオーバーロード・チ
ヤンネルの管理部などの多くの部分はミニコンピ
ユータで実現するのではなく、外部に高速動作が
可能な複雑な機能を持つハードウエアを付加する
のが通常である。
さらに、ミニコンピユータ内にアサイメント・
レジスタのコピーと音声検出器の出力状況を示す
表とを持つておれば、理論的には新規割当を実行
できるのであるが、新規割当にはアサイメントレ
ジスタの内容、つまり、PCMチヤンネル番号が
いかなるDSIチヤンネル番号に対応しているかと
いう情報だけでなく、あるDSIチヤンネル番号に
いかなるPCMチヤンネル番号が対応しているか
という逆対応表も重要な役割を持つており、この
ような表なくしてはアサイメント・フレーム内
(125μsec×6=750μsec)で新規割当やオーバ
ーロード・チヤンネルの管理をすべて行うことは
ミニコンピユータの速度の点から困難である。し
かるに、このような逆対応表をソフトウエアで実
現することはかなりの時間を必要とし、毎アサイ
メント・フレームでこれ等の表すべてを作り変え
るような方式は目下のところ採用されていない。
一方、アサイメント・フレーム毎に決定される新
規データから、アサイメント・レジスタ及びミニ
コンピユータ内部にあるアサイメント・レジスタ
のコピーと、逆対応表を更新するような方式で
は、一度誤動作によりアサイメント・レジスタと
ミニコンピユータ内部の表に狂いが生ずると、数
アサイメント・フレームに渡つて正しい新規割当
が行なえない欠点がある。
以上のように、ミニコンピユータを利用すると
しても、外部に強力な付属ハードウエアを使用し
ない限り、新規割当の機能を実現できない。この
ため、専用ハードウエアと規模の点で比べると、
ミニコンピユータ以外の付属ハードウエアが減少
する割合に比べ、ミニコンピユータというハード
ウエアの増加が大きく、また、最近急速に進歩し
てきている。1チツプマイクロCPU(中央処理
装置)をミニコンピユータの代用としたとしても
処理速度は一般にミニコンピユータより遅いため
に、さらに付属ハードウエアを強固にする必要性
が生じ全体としての規模は専用ハードウエアと比
べていくらも変わらない。
本発明の目的はミニコンピユータを用いた場合
の利点である故障診断の容易性および仕様変更の
柔軟性を保つたまま、上述のDSIアサイメントプ
ロセツサの機能1、2および4を持つ外付けハー
ドウエアなしのDSIアサイメント・プロセツサを
提供することにある。
本発明の他の目的はアサイメントレジスタのコ
ピーとその逆対応表を短時間で生成するアサイメ
ントプロセツサを提供することにある。
本発明のプロセツサは、順次プログラム読出し
回路と、順次プログラム読出し回路に接続された
プログラムメモリと、プログラムメモリにより制
御されたデータ処理回路と、前記データ処理回路
に接続され独立にアドレス設定、データ設定およ
びデータ読出しが可能な2つのデータメモリと、
前記データ処理回路の出力端子に接続された新規
接続レジスタと、第1図に示した音声検出回路お
よびアサイメントレジスタの出力を前記データ処
理回路に取り込む手段と、前記新規接続レジスタ
の内容に従つて前記アサイメント・レジスタを変
更する手段とを有し、独立した2つのデータメモ
リの一方にアサイメント・レジスタのコピーであ
る表を作り、他方のデータメモリに前記アサイメ
ント・レジスタのアドレスと内容の関係が逆にな
る対応表を作ることを特徴としている。
次に図面を参照して本発明を詳細に説明する。
まず、本発明の一実施例を第4図を参照して説
明する。第4図の本発明のプロセツサは順次プロ
グラム読出回路200、プログラムメモリ21
0、データ処理回路220、メモリアドレス・レ
ジスタ230および240、メモリデータ・レジ
スタ250および260、データメモリ270お
よび280、データ取り込みゲート290、新規
接続レジスタ300、割当情報伝送回路310、
アサイメントレジスタ変更回路320、アサイメ
ントレジスタ130、音声検出回路110、
PCMチヤンネル番号入力端子400、PCM音声
入力端子410、DSIチヤンネル番号出力端子4
20、第1PCMフレーム同期信号入力端子43
0、新規割当出力タイミング信号入力端子440
およびクロツク信号入力端子450から構成され
ている。
第4図において、声音検出回路110は、例え
ば、米国特許第3712959号および特許願昭49年
39723号に詳しく述べられており、また、順次プ
ログラム読出回路200は、例えば刊行物
「FAIRCHILD BIPOLAR MICROPROCESSOR
DATABOOK“MACRO LOGIC”P.3−71〜P.3
−77、1976」に詳しく述べられている。
さらに、データ処理回路は、一時記憶メモリと
算術論理回路とを含んだものからなつており、
「Advanced Micro Derices The Am 2900
Family Data Book P.5〜P.21 1976」に詳しく述
べられている。また、アサイメント・レジスタ1
30はアドレスにPCMチヤンネル番号を入力し
た時、該PCMチヤンネルが接続されているDSIチ
ヤンネル番号を出力するランダムアクセスメモリ
で、あるPCMチヤンネルがDSIチヤンネルと接続
されていない場合、対応するアサイメント・レジ
スタ130の出力は0となるものとする。
第4図ではPCM96チヤンネルをDSI48チヤンネ
ルに圧縮する場合を考え、順次プログラム読出回
路200、プログラムメモリ210および、デー
タ処理回路220からなるプログラム実行部は、
1PCMチヤンネル当り6ステツプの動作が可能と
して説明する(この時、プログラムは212nsec
(ナ)秒)で1ステツプ実行されることになる。
プログラムメモリ210にはプログラムを構成す
る命令語が蓄えられており、この命令語は直接順
次プログラム読出回路200、データ処理回路2
20、メモリアドレス・レジスタ230および2
40、メモリデータ・レジスタ250および26
0、データメモリ270および280、データ取
り込みゲート290ならびに新規接続レジスタ3
00を制御する。順次プログラム読出回路200
はプログラムメモリ210から読出された命令語
の一部のフイールド及びデータ処理回路220か
らのフラグ情報から次に実行すべき命令語が格納
されているプログラムメモリ210のアドレスを
決定する。データ処理回路220は前記のプログ
ラムメモリ210から読み出された命令語の他の
フイールドの一部により、データ処理回路220
への入力データやデータ処理回路220の内部一
時記憶メモリがデータ処理回路220で演算さ
れ、出力される。データ処理回路220の出力
は、プログラムメモリ210から読み出された命
令語の独立した他のフイールドの一部によりメモ
リアドレス・レジスタ230または240、メモ
リデータ・レジスタ250または260、新規接
続レジスタ300のいずれか、もしくはこれ等の
複数個のレジスタに格納できる。データメモリ2
70はプログラムメモリ210から読み出された
命令語の他のフイールドの一部によりメモリアド
レス・レジスタ230が格納しているアドレスに
メモリデータ・レジスタ250が格納しているデ
ータを書き込まれたり、メモリアドレス・レジス
タ230が格納しているアドレスの内容をデータ
処理回路220の入力部に接続される。同様に、
データメモリ280はプログラムメモリ210か
ら読み出された命令語の他のフイールドの一部に
よりメモリアドレス・レジスタ240が格納して
いるアドレスにメモリデータ・レジスタ250が
格納しているデータを書き込まれたり、メモリア
ドレス・レジスタ240が格納しているアドレス
の内容をデータ処理回路220の入力部に接続さ
れる。つまり、順次プログラム読出回路200、
プログラムメモリ210、データ処理回路22
0、メモリアドレス・レジスタ230、メモリデ
ータ・レジスタ250およびデータメモリ270
により一つの汎用データ処理装置となり、また、
順次プログラム読出回路200、プログラムメモ
リ210、データ処理回路220、メモリアドレ
ス・レジスタ240、メモリデータ・レジスタ2
60およびデータメモリ280によつても一つの
汎用データ処置として働らきうる。
ただし、メモリアドレス・レジスタ240は、
メモリアドレス・レジスタ230と異なり、
MSB(most significant bit)1ビツトを無効に
するゲートが付加されており、プログラムにより
制御される。
音声検出回路110は端子410から入力され
るPCM音声信号と端子400から入力される
PCMチヤンネル番号信号とから対応するPCMチ
ヤンネルに音声があるか否かを検出し出力する。
また、アサイメント・レジスタ変更回路320は
通常端子400から入力されるPCMチヤンネル
番号信号を単に通過させアサイメント・レジスタ
130をアクセスするが、新規接続レジスタ30
0が更新されると、入力されるPCMチヤンネル
番号信号と、新規接続レジスタ内300のPCM
チヤンネル番号が一致した時に、新規接続レジス
タ300内のDSIチヤンネル番号をアサイメン
ト・レジスタ130に書込む機能を有している。
アサイメン・レジスタ変更回路320の詳細は後
述する。
端子400から入力されるPCMチヤンネル番
号信号は768kHz(96ch×8kHz)であり、端子4
50から入力されるクロツク周波数を、
4.608MHz(6step×96ch×8kHz)とすれば、順
次プログラム読出回路200が6回出力を変える
毎に(換言すれば、プログラムが6ステツプ進む
毎に)PCMチヤンネル番号信号が変わるように
同期化することはこれ等の信号が同一装置内で発
生されるので、基本周波数をこれ等の公倍数とな
るクロツク発生源を持たせることにより容易に実
現できる。
プログラムメモリ210には第5図に示すよう
なプログラムを入れておく。第5図はデータ処理
回路220で行う処理のみを記述している。ここ
にAはデータ処理回路220の内部レジスタとす
る。
アサイメント・レジスタの内容を示す表と、そ
の逆対応表とを作るルーチンの動作説明を第6図
のタイムチヤートを利用して説明する。
後述するように、前のアサイメント・フレーム
の終了までにデータメモリ280の0番号から46
番地までは0を書き込んでクリヤする必要があ
る。
まず、端子430に第1PCMフレーム同期信号
(第6図のFRAMESYNC)が入力されると、順
次プログラム読出回路200はリセツトされ、プ
ログラムメモリ210へ0を出力する。このた
め、プログラムメモリ0番地の内容、つまり、第
5図に示すA=0が命令として出力され、データ
処理部220で実行される。端子430の第
1PCMフレーム同期信号は第1PCMフレームが始
まる直前に切れ、第1PCMフレーム開始時から順
次プログラム読出回路200は端子450から入
力されるクロツク信号に従つて動作を始める。
まず第5図より第1ステツプでA=1となる。
これは端子400から入力されるPCMチヤンネ
ル番号信号と同じであり、これをメモリアドレ
ス・レジスタ230及びメモリデータ・レジスタ
260に取り込む。
第2図ステツプでは音声検出回路110の出力
をMSB(最上位ビツト)とし、アサイメント・
レジスタ変更回路320を通過したPCMチヤン
ネル番号によりアクセスされたアサイメント・レ
ジスタ130の出力(対応するDSIチヤンネル番
号)を下位ビツトとしたデータを、データ取り込
みゲート290を介してデータ処理回路220へ
ロードする。このデータはデータ処理回路220
の出力に現われるため、メモリデータ・レジスタ
250およびメモリアドレス・レジスタ240に
取り込まれる。この時、メモリアドレス・レジス
タ240のMSBは、プログラムメモリ210の
出力である命令語の一部からマスク指令を受け無
効(強制的に0とする)にされる。つまり、メモ
リアドレス・レジスタ240には音声検出回路1
10の出力は取り込まれない。
第3ステツプでは、データ処理回路220は演
算を行なわない。PCM1チヤンネルあたり6ステ
ツプのプログラムが実行できることから、PCM
チヤンネルとデータ処理回路との同期を取る目的
で置かれたステツプである。また、この時に、デ
ータメモリ270及び280は書き込み指令を受
け、各々メモリアドレス・レジスタ230の内容
(PCMチヤンネル番号が入力されている)が示す
アドレスにメモリデータ・レジスタ250の内容
(音声検出回路110の出力及びDSIチヤンネル
番号が入力されている)を、また、メモリアドレ
ス・レジスタ240の内容(DSIチヤンネル番号
が入力されている)が示すアドレスにメモリアド
レス・レジスタ240の内容(PCMチヤンネル
番号が入力されている)を書き込まれる。
第4ステツプではイミデイエイト(プログラム
から直接)に数値96をデータ処理回路220へロ
ードする。
第5ステツプではデータ処理回路220はAが
96より小さいか否かをテストし、PCMチヤンネ
ル番号が96まで進んだかどうかをチエツクする。
チエツク結果はフラグ情報として順次プログラム
読出回路200へ伝えられる。
第6ステツプでは順次プログラム読出し回路2
00は第5ステツプでデータ処理回路200から
伝えられたフラグ情報をもとにして、Aが96より
小であつた場合つまり、今の場合第7ステツプ目
では、1番地にジヤンプすることになる。
第7ステツプ以降、このループが実行され、順
次プログラム読出し回路200の出力は第6図の
SEQに示すように、アサイメント・フレーム内
の第1PCMフレームの間ループを実行し、第
2PCMフレームから本発明のプロセツサによる
DSIチヤンネル割当のための処理動作(アサイメ
ント・プロセツジング)、つまりプログラムメモ
リ210の第7番地以降のプログラム実行に移
る。この結果、データメモリ270はPCMチヤ
ンネル番号でアクセスすると対応するDSIチヤン
ネル番号と該当PCMチヤンネルに音声があるか
否かを出力し、データメモリ280はDSIチヤン
ネル番号でアクセスすると、対応するPCMチヤ
ンネル番号が得られる。つまり、データメモリ2
70はアサイメント・レジスタ130のコピーと
なり、データメモリ280はアサイメント・レジ
スタ130の逆対応表となる。この状況を第7図
および第8図に示す。
注意すべきことは、PCMチヤンネルとDSIチヤ
ンネルとの間に接続がない場合の逆変換表におけ
る表現がどのようになるかと言う問題と、DSIチ
ヤンネルに空きが生じた場合の問題である。ま
ず、前者の問題は先に述べたように、アサイメン
トレジスタ内では非接続PCMチヤンネルに対し
て0が格納されているため、逆変換表では0番地
に非接続PCMチヤンネル番号が縮退されて表わ
れるが、このようなものは通常使用しないので問
題はない。後者の場合、先に述べたように、前の
アサイメントフレームの終りの方でデータメモリ
280はすべて0にクリヤされているため、非接
続DSIチヤンネルがあると、データメモリ280
のそのDSIチヤンネル番号のアドレスの位置に上
記の処理では何も書き込まれないため0が残り、
不都合は生じない。
以下に本発明のプロセツサによるDSIチヤンネ
ル割当のための処理動作(アサイメント・プロセ
ツシング)を簡単に説明する。新規割当要求
PCMチヤンネルは1アサイメント・フレームで
1チヤンネルだけしかDSIチヤンネルに接続でき
ない。このためアサイメント・プロセツサは複数
個の新規割当要求PCMチヤンネルがある場合は
待ち合わせを行ない、以下の機能を行なう必要が
ある。
待ち合わせ中にインアクテイブになつた
PCMチヤンネルは待ち合わせ行列から除かれ
る。
待ち合わせ行列では最初に到着したものほど
割当の優先順位を高くする。
新たに生じた新規割当要求PCMチヤンネル
を待ち合わせ行列に追加する。ただし待ち合わ
せ行列全体の長さは4まででよい。
待ち合わせ行列は第7図に示すように、データ
メモリ270の高位アドレス部(アドレス97〜
100)を用いて実現できる。待ち合わせ中の
PCMチヤンネル番号でデータメモリ270をア
クセスして、その出力データをチエツクすること
で判定でき、MSB(音声検出器110の出力が
格納されている)が0である場合、つまり、イン
アクテイブになつた場合、そのPCMチヤンネル
を待ち合わせ行列から除外し、行列を前方へつめ
る。行列を前方へつめ寄せる操作は上記第2の機
能と合わせて処理でき、行列全体が4の長さでよ
いため約100ステツプのプログラムステツプで実
行できる。
新たに生じた新規割当要求PCMチヤンネルを
検出するにはデータメモり270を1番地から96
番地までサーチし、データメモリ270の出力の
MSB(音声検出回路110の出力が格納されて
いる)が1であり、その他の下位ビツト(DSIチ
ヤンネル番号が格納されている)がすべて0であ
るデータを格納しているPCMチヤンネル番号を
検出しかつそのチヤンネル番号がすでに待ち合わ
せを行なつている待ち合わせ行列内のデータと一
致しないことをチエツクして待ち合わせ行列に加
える。全体としての待ち合わせ行列の長さが4に
なるか、新規割当要求PCMチヤンネルの検出を
行なうサーチがPCM96チヤンネルまでチエツク
し終るまで行なう。このプログラムを実行するた
めに必要な動的ステツプ数は最悪の場合を考える
と、約900ステツプ程度必要となる。
よつて新規割当要求PCMチヤンネルの検出及
び管理はアサイメントフレーム中の最悪の場合で
も第2、第3PCMフレーム中には実行できる。
割当可能DSIチヤンネル番号の選出を行なうに
は以下の処理が必要である。
非接続DSIチヤンネルの検出
インアクテイブなDSIチヤンネルの検出
非接続DSIチヤンネルまたはインアクテイブな
DSIチヤンネルを検出し、選出するにはデータメ
モリ270および280を利用して実現できる。
データメモリ280を1番地から46番地(DSIチ
ヤンネル番号に相当)までサーチし、データメモ
リ280の出力はアドレスとして与えられるDSI
チヤンネル番号と対応するPCMチヤンネル番号
であるから、これが0であると該当するDSIチヤ
ンネル番号は非接続を意味し、非接続DSIチヤン
ネルの検出ができる。これに対しデータメモリ2
80の出力が非零であれば、アドレスとして与え
られるDSIチヤンネル番号はデータメモリ280
の出力である番号のPCMチヤンネルと接続され
ており、このDSIチヤンネルがインアクテイブか
否かは、データメモリ280の出力数値でデータ
メモリ270をアクセスし、データメモリ270
の出力のMSB(音声検出回路110の出力が格
納されている)が0か否かを調べればよい。これ
が0であれば、インアクテイブなDSIチヤンネル
が検出されたことになる。非接続DSIチヤンネル
もしくはインアクテイブなDSIチヤンネルを検出
できた時、もしくはDSIのすべてのチヤンネル
(46チヤンネル分)をサーチし終つた時このステ
ツプは終了する。この処理は最悪の場合でも約
600ステツプ(約1PCMフレーム分)で実行で
き、第4PCMフレームの間にはDSIチヤンネル選
出ルーチンが終了できる。
DSIチヤンネルとPCMチヤンネルの割当機能は
次のように行なう。
DSIチヤンネルが選出され、新規割当要求
PCMチヤンネルが待ち行列中に存在する場
合、選出されたDSIチヤンネルと新規割当要求
PCMチヤンネルの一つの組合せを決定でき
る。
DSIチヤンネルが選出されないか、新規割当
要求PCMチヤンネルが存在しない場合、送信
側DSI装置はアサイメントレジスタ130の内
容を受信側へ送信して送受信間に誤動作が発生
した時も、その誤動作が連続しないようにする
リフレツシユ動作を行なう必要があり、データ
メモリ280内の内容から現状の割当を示した
一組のPCMチヤンネルとDSIチヤンネルを選び
新規割当とする。
このルーチンは約100ステツプ以内には終了で
きる。これ等の新規割当が決定される時点は、新
規割当要求PCMチヤンネルの管理や非接続もし
くはインアクテイブDSIチヤンネルの選出などに
おけるプログラムの流れによつて異なつてくる。
このため、決定された新規割当データは端子4
40から入力される新規割当出力タイミング信号
が順次プログラム読出回路200に入力されるま
で待つた後、新規接続レジスタ300に転送され
る。新規接続レジスタ300へ入力された割当情
報は割当情報伝送回路310により受信側DSI装
置へ伝送され、また、新規接続レジスタ300の
内容のPCMチヤンネルデータ部と端子400か
ら入力されたPCMチヤンネル番号が一致した
時、新規接続レジスタ300の内容のDSIチヤン
ネルデータをアサイメント・レジスタ変更回路3
20を用いてアサイメント・レジスタ130に書
込み(新規割当)、また、新規接続レジスタ30
0の内容のDSIチヤンネルデータとアサイメン
ト・レジスタ130の出力が一致した時、アサイ
メント・レジスタ変更回路320を用いてアサイ
メント・レジスタ130に0を書込む。(旧割当
解除)
残る時間にアサイメントプロセツサが行なわな
ければならない処理は、次のアサイメント・フレ
ームのための準備、つまりデータメモリ280の
クリヤである。これはデータメモリ280を1番
地から46番地までアクセスし、0を書き込むだけ
でよく、プログラムは300ステツプ以下で実現で
きる。
以上、アサイメント・フレームで実行すべき処
理をまとめると次のようになる。
The present invention is applicable to digital speech (Digital Speech).
The present invention relates to a processor for an Interpolation (DSI) device. In a typical telephone conversation, one person is only listening while the other person is speaking, and both parties are often silent. Therefore, on a time-average basis, the transmission path is only used for about 1/2 or less of the time. Taking advantage of this fact, DSI equipment increases the efficiency of transmission path usage by transmitting only the portion where voice is present, approximately doubling the capacity of existing PCM lines. The theory of DSI equipment is explained in the publication “Digital Speech Interpolation” COMSAT
TECHNICAL REVIEW, Vol.6, No.1,
The configuration of such a DSI device is shown in Figure 1. Reference number 1 is the transmitting side DSI device, reference number 2 is the receiving side DSI device.
Showing DSI equipment. The transmitting DSI device 1 includes a voice detector 110, a transmitting voice memory 120, a transmitting assignment register 130, and an assignment processor 140, and is configured to transmit a PCM channel 2.
Compress to DSI channel 3 and PCM channel 2
New connection information with the DSI channel 3 is transmitted to the receiving DSI device via the allocation information signal line 4.
The receiving DSI device 2 includes an assignment information receiver 150, a receiving assignment register 160, and a receiving audio memory 170, and transmits PCM data from the DSI channel 3 and the assignment information signal line 4 to the PCM channel 5.
Replay the state of channel 2. In transmitting side DSI device 1, input PCM channel 2
Of the signals, only the channel with audio is written to the transmitting side audio memory 120 under the control of the transmitting side assignment register 130 and read out as the signal of DSI channel 3. The transmission side assignment register 130 indicates the correspondence between PCM channel numbers and DSI channel numbers. For convenience of explanation, suppose that the transmission side assignment register 130 has a correspondence relationship as shown in FIG.
The relationship between is shown in FIG. That is, assume that DSI channel number 2 is assigned to PCM channel number 1, DSI channel number 1 is assigned to PCM channel number 3, and DSI channel number 3 is assigned to PCM channel number 4. At this time, for example,
When PCM channel number 7 has audio (hereinafter referred to as active), the audio detector 110
detects that PCM channel number 7 is active. Assignment processor 140
searches for the DSI channel number that is not active (in the case of Figure 2, it is DSI channel number 4),
A new connection is determined, sent as assignment information, and the sending assignment register 130 is rewritten.
The allocation information consists of a part indicating connection or disconnection, a PCM channel number part, and a DSI channel number part. In the receiving DSI device 2, the contents of the receiving assignment register 160 are updated according to the assignment information received by the assignment information receiver 150 and track the contents of the transmitting assignment register 130. As a result, the received DSI signal obtains an output PCM signal by performing the reverse operation of the operation performed on the transmitting side. A PCM channel connected to a DSI channel remains connected even if it is no longer active unless assignment processor 140 assigns the DSI channel to another PCM channel. Since the number of DSI channels is fixed, sometimes more PCM channels than the number of DSI channels become active, making it impossible to transmit the first part of the audio. This situation can be greatly improved by temporarily reducing the accuracy of the PCM word (one sample value of PCM) from 8 bits to 7 or 6 bits and virtually increasing the number of DSI channels. For example, if the number of PCM channels is 8 as shown in Figure 3a and the number of DSI channels is 4 as shown in Figure 3b, the PCM transmitted on the DSI channel
If all words are 6 bits, there will be a total of 8 bits left over, so one new DSI channel can be added. DSI equipment is usually equipment that targets PCM60 channels or more. for example,
In a system that compresses 96 channels consisting of 4 PCM24 lines into 48 DSI channels, 6 new channels can be generated by changing the PCM word to 7-bit transmission, and 6 new channels can be added by changing to 6-bit transmission. can. These newly added channels are respectively called overload 1 channel (hereinafter abbreviated as OL1CH) and overload 2 channel (hereinafter abbreviated as OL2CH). In contrast, the original DSI channel will be referred to as a normal channel (hereinafter abbreviated as NCH). If an overload channel is used, assignment processor 140 may
If there is a channel with no audio (hereinafter referred to as inactive) and there is no new connection request,
In order to improve the accuracy of the PCM word, it is necessary to reallocate the PCM channel connected to the overload channel to the inactive NCH. Even after taking these measures, the channel cannot be assigned to a DSI channel even though it is active.
A PCM channel may also be present. The ratio of unallocated PCM channels to active PCM channels in a unit time is called the lockout rate, and if the DSI device shows an abnormally high lockout rate, the assignment processor can also inform the outside world of this. 140 additional functions. Allocation information only needs to be sent once every few frames.
One of the most important application fields of DSI equipment
One method is to use six frames as one assignment frame to suit TDMA satellite communications. Assignment processor 14 explained above
To summarize the functions of 0, (1) Acceptance of new allocation request PCM channel. (2) Detection of inactive DSI channels. (3) Overload channel management. (4) Decision on new allocation. (5) Organizing statistical data such as lockout rate. (6) Perform the above functions within 6 frames and in synchronization with peripheral circuits such as PCM. In particular, functions 1, 2 and 4 are DSI assignments.
This is the basic function of a processor. In conventional DSI equipment, the above functions are realized using dedicated hardware or mini-computers, and when they are implemented using dedicated hardware, the scale of the equipment becomes large due to the need to implement many functions such as those mentioned above. Moreover, it is complicated, and has the disadvantage that the initial adjustment required for production or the time required for repair in the event of a failure becomes long. Furthermore, if it is implemented using a mini-computer, although it is dramatically advantageous in terms of fault diagnosis, it is necessary to implement the function of the assignment processor using a fixed architecture, which poses a problem in terms of speed. new allocation request,
Many parts, such as the PCM channel reception section and the overload channel management section, are not implemented on a minicomputer, but are usually added to external hardware with complex functions capable of high-speed operation. . In addition, assignments and
Theoretically, it is possible to make a new assignment if you have a copy of the register and a table showing the output status of the audio detector. In addition to information on whether a DSI channel number corresponds, a reverse correspondence table that shows which PCM channel number corresponds to a certain DSI channel number also plays an important role, and without such a table, assignments cannot be made. - It is difficult to manage all new allocations and overload channels within a frame (125 μsec x 6 = 750 μsec) due to the speed of the minicomputer. However, it takes a considerable amount of time to create such an inverse correspondence table using software, and a method of re-creating all of these tables for each assignment frame is not currently in use.
On the other hand, with a method that updates the copy of the assignment register and the assignment register inside the minicomputer and the inverse correspondence table from new data determined for each assignment frame, once a malfunction occurs, the assignment If a discrepancy occurs in the registers and the internal tables of the minicomputer, there is a drawback that new assignments cannot be made correctly over several assignment frames. As described above, even if a minicomputer is used, the newly allocated function cannot be realized unless powerful external hardware is used. Therefore, when compared in terms of dedicated hardware and scale,
Compared to the decreasing rate of accessory hardware other than minicomputers, minicomputers have been increasing rapidly, and have been rapidly progressing in recent years. Even if a 1-chip micro CPU (central processing unit) is used as a substitute for a minicomputer, the processing speed is generally slower than that of a minicomputer, so the attached hardware needs to be more robust, and the overall scale is smaller than that of dedicated hardware. There is no difference in comparison. The purpose of the present invention is to maintain the ease of fault diagnosis and flexibility in changing specifications, which are the advantages of using a minicomputer, and to create an external hardware that has functions 1, 2, and 4 of the DSI assignment processor described above. The objective is to provide a hardware-free DSI assignment processor. Another object of the present invention is to provide an assignment processor that can generate a copy of an assignment register and its inverse correspondence table in a short time. The processor of the present invention includes a sequential program reading circuit, a program memory connected to the sequential program reading circuit, a data processing circuit controlled by the program memory, and a processor connected to the data processing circuit that independently performs address setting, data setting, and Two data memories from which data can be read,
a new connection register connected to an output terminal of the data processing circuit; means for receiving the outputs of the voice detection circuit and assignment register shown in FIG. 1 into the data processing circuit; means for changing the assignment register, creating a table that is a copy of the assignment register in one of two independent data memories, and storing the address and contents of the assignment register in the other data memory. It is characterized by creating a correspondence table in which the relationships are reversed. Next, the present invention will be explained in detail with reference to the drawings. First, one embodiment of the present invention will be described with reference to FIG. The processor of the present invention shown in FIG. 4 includes a sequential program reading circuit 200 and a program memory 21.
0, data processing circuit 220, memory address registers 230 and 240, memory data registers 250 and 260, data memories 270 and 280, data acquisition gate 290, new connection register 300, allocation information transmission circuit 310,
Assignment register change circuit 320, assignment register 130, voice detection circuit 110,
PCM channel number input terminal 400, PCM audio input terminal 410, DSI channel number output terminal 4
20, 1st PCM frame synchronization signal input terminal 43
0, new assignment output timing signal input terminal 440
and a clock signal input terminal 450. In FIG. 4, the voice detection circuit 110 includes, for example, U.S. Pat.
39723, and the sequential program readout circuit 200 is described in detail in, for example, the publication "FAIRCHILD BIPOLAR MICROPROCESSOR".
DATABOOK “MACRO LOGIC” P.3-71~P.3
-77, 1976”. Further, the data processing circuit includes a temporary storage memory and an arithmetic logic circuit,
"Advanced Micro Derices The Am 2900
Family Data Book P.5-P.21 1976". Also, assignment register 1
30 is a random access memory that outputs the DSI channel number to which the PCM channel is connected when a PCM channel number is input to the address; if a certain PCM channel is not connected to a DSI channel, the corresponding assignment register is output. It is assumed that the output of 130 is 0. In FIG. 4, considering the case where a PCM96 channel is compressed into a DSI48 channel, the program execution section consisting of a sequential program reading circuit 200, a program memory 210, and a data processing circuit 220 is as follows.
The following explanation assumes that 6 steps of operation are possible per 1 PCM channel (at this time, the program is 212 nsec).
One step will be executed in (na) seconds).
The program memory 210 stores instruction words constituting a program, and these instruction words are directly sequentially read out by the program reading circuit 200 and the data processing circuit 2.
20, memory address register 230 and 2
40, memory data registers 250 and 26
0, data memories 270 and 280, data capture gate 290 and new connection register 3
Controls 00. Sequential program reading circuit 200
determines the address of the program memory 210 where the next instruction to be executed is stored from some fields of the instruction read from the program memory 210 and flag information from the data processing circuit 220. The data processing circuit 220 is activated by a part of other fields of the instruction word read from the program memory 210.
The input data and the internal temporary storage memory of the data processing circuit 220 are calculated by the data processing circuit 220 and output. The output of the data processing circuit 220 is set to either the memory address register 230 or 240, the memory data register 250 or 260, or the new connection register 300, depending on the independent other fields of the instruction word read from the program memory 210. or can be stored in multiple registers. data memory 2
70 indicates that data stored in the memory data register 250 is written to the address stored in the memory address register 230 by part of other fields of the instruction word read from the program memory 210, or the data stored in the memory data register 250 is written to the address stored in the memory address register 230. - The contents of the address stored in the register 230 are connected to the input section of the data processing circuit 220. Similarly,
The data memory 280 writes data stored in the memory data register 250 to the address stored in the memory address register 240 according to part of other fields of the instruction word read from the program memory 210, The contents of the address stored in the memory address register 240 are connected to the input section of the data processing circuit 220 . In other words, the sequential program reading circuit 200,
Program memory 210, data processing circuit 22
0, memory address register 230, memory data register 250 and data memory 270
It becomes a general-purpose data processing device, and
Sequential program reading circuit 200, program memory 210, data processing circuit 220, memory address register 240, memory data register 2
60 and data memory 280 may also serve as a general purpose data processor. However, the memory address register 240 is
Unlike the memory address register 230,
A gate is added to disable one MSB (most significant bit) and is controlled by the program. The audio detection circuit 110 receives a PCM audio signal input from a terminal 410 and an input from a terminal 400.
Based on the PCM channel number signal, it is detected whether or not there is audio on the corresponding PCM channel and output.
Further, although the assignment register change circuit 320 normally simply passes the PCM channel number signal input from the terminal 400 and accesses the assignment register 130, the assignment register change circuit 320 accesses the assignment register 130.
When 0 is updated, the input PCM channel number signal and the PCM 300 in the new connection register are updated.
It has a function of writing the DSI channel number in the new connection register 300 to the assignment register 130 when the channel numbers match.
Details of the assignment register change circuit 320 will be described later. The PCM channel number signal input from terminal 400 is 768kHz (96ch x 8kHz),
The clock frequency input from 50 is
If it is 4.608 MHz (6 steps x 96 channels x 8 kHz), synchronization is performed so that the PCM channel number signal changes every time the sequential program reading circuit 200 changes its output six times (in other words, every time the program advances six steps). Since these signals are generated within the same device, this can be easily realized by providing a clock generation source whose fundamental frequency is a common multiple of these signals. A program as shown in FIG. 5 is stored in the program memory 210. FIG. 5 describes only the processing performed by the data processing circuit 220. Here, A is an internal register of the data processing circuit 220. The operation of the routine for creating a table showing the contents of the assignment register and its inverse correspondence table will be explained using the time chart shown in FIG. As will be explained later, by the end of the previous assignment frame, data memory 280 is filled from number 0 to number 46.
It is necessary to write 0 up to the address to clear it. First, when the first PCM frame synchronization signal (FRAMESYNC in FIG. 6) is input to the terminal 430, the program reading circuit 200 is sequentially reset and outputs 0 to the program memory 210. Therefore, the contents of the program memory address 0, that is, A=0 shown in FIG. 5, are output as an instruction and executed by the data processing section 220. terminal 430
The 1PCM frame synchronization signal is cut off just before the first PCM frame starts, and the program reading circuit 200 sequentially starts operating in accordance with the clock signal input from the terminal 450 from the start of the first PCM frame. First, from FIG. 5, A=1 in the first step.
This is the same as the PCM channel number signal input from terminal 400, and is taken into memory address register 230 and memory data register 260. In the step of FIG. 2, the output of the voice detection circuit 110 is MSB (most significant bit), and the assignment
Data with the output of the assignment register 130 (corresponding DSI channel number) accessed by the PCM channel number that has passed through the register change circuit 320 as the lower bit is loaded into the data processing circuit 220 via the data acquisition gate 290. . This data is sent to the data processing circuit 220
appears at the output of the memory data register 250 and the memory address register 240. At this time, the MSB of the memory address register 240 receives a mask command from part of the instruction word output from the program memory 210 and is invalidated (forced to 0). In other words, the memory address register 240 contains the voice detection circuit 1.
10 outputs are not captured. In the third step, data processing circuit 220 does not perform any calculations. Since a 6-step program can be executed per PCM channel, PCM
This step is placed for the purpose of synchronizing the channel and data processing circuit. Also, at this time, the data memories 270 and 280 receive a write command, and the contents of the memory data register 250 (audio detection circuit 110 The output of the memory address register 240 (in which the DSI channel number is input) is sent to the address indicated by the contents of the memory address register 240 (in which the DSI channel number is input), and the contents of the memory address register 240 (in which the PCM channel number is input) are ) is written. In the fourth step, the numerical value 96 is loaded into the data processing circuit 220 immediately (directly from the program). In the fifth step, the data processing circuit 220
Test if it is less than 96 and check if the PCM channel number has advanced to 96.
The check results are sequentially transmitted to the program reading circuit 200 as flag information. In the sixth step, the program reading circuit 2
00 is based on the flag information transmitted from the data processing circuit 200 in the fifth step, and if A is smaller than 96, that is, in this case, in the seventh step, it will jump to address 1. . After the seventh step, this loop is executed, and the output of the sequential program reading circuit 200 is as shown in FIG.
Run a loop during the first PCM frame in the assignment frame, as shown in SEQ.
2PCM frame by the processor of the present invention.
The process moves on to processing operation for DSI channel assignment (assignment processing), that is, program execution starting from the seventh address of the program memory 210. As a result, when the data memory 270 is accessed using a PCM channel number, it outputs the corresponding DSI channel number and whether or not there is audio on the corresponding PCM channel, and when the data memory 280 is accessed using the DSI channel number, the corresponding PCM channel number is output. can get. In other words, data memory 2
70 becomes a copy of assignment register 130, and data memory 280 becomes an inverse correspondence table of assignment register 130. This situation is shown in FIGS. 7 and 8. What should be noted is the problem of how the expression in the inverse conversion table will be when there is no connection between the PCM channel and the DSI channel, and the problem when a free space occurs in the DSI channel. First, as mentioned above, the former problem is that 0 is stored for unconnected PCM channels in the assignment register, so the unconnected PCM channel number is degenerated to address 0 in the inverse conversion table and is not displayed. However, this is not a problem as such items are not normally used. In the latter case, as mentioned earlier, the data memory 280 was cleared to all 0s towards the end of the previous assignment frame, so any unconnected DSI channels will cause the data memory 280 to
Nothing is written to the address position of that DSI channel number in the above process, so 0 remains.
No inconvenience will occur. The processing operation for DSI channel assignment (assignment processing) by the processor of the present invention will be briefly explained below. New assignment request
Only one PCM channel can be connected to a DSI channel in one assignment frame. Therefore, if there are a plurality of new assignment request PCM channels, the assignment processor must wait and perform the following functions. Became inactive during a meeting
PCM channels are removed from the queue. In the waiting queue, the first to arrive has a higher priority for allocation. A newly generated new allocation request PCM channel is added to the waiting queue. However, the length of the entire waiting queue may be up to 4. The waiting queue, as shown in FIG.
100). in a meeting
This can be determined by accessing the data memory 270 using the PCM channel number and checking the output data. If the MSB (in which the output of the audio detector 110 is stored) is 0, that is, it has become inactive. If so, remove that PCM channel from the queue and move the queue forward. The operation of pushing the matrix forward can be processed in conjunction with the second function described above, and since the entire matrix only needs to have a length of 4, it can be executed in about 100 program steps. To detect a newly generated new allocation request PCM channel, move the data memory 270 from address 1 to 96.
Search up to the address and output the data memory 270.
Detects the PCM channel number storing data in which the MSB (where the output of the audio detection circuit 110 is stored) is 1 and the other lower bits (where the DSI channel number is stored) are all 0. Also, it is checked that the channel number does not match the data in the queue that is already waiting, and the data is added to the queue. The search is continued until the length of the waiting queue as a whole reaches 4 or until the search for detecting a new allocation request PCM channel finishes checking up to PCM96 channels. Considering the worst case, the number of dynamic steps required to execute this program is about 900 steps. Therefore, detection and management of newly allocated PCM channels can be performed during the second and third PCM frames even in the worst case during the assignment frame. The following processing is required to select allocatable DSI channel numbers. Detection of unconnected DSI channels Detection of inactive DSI channels Detection of unconnected DSI channels or inactive DSI channels
Detection and selection of DSI channels can be accomplished using data memories 270 and 280.
The data memory 280 is searched from address 1 to address 46 (corresponding to the DSI channel number), and the output of the data memory 280 is the DSI address given as the address.
Since this is the PCM channel number that corresponds to the channel number, if this is 0, it means that the corresponding DSI channel number is not connected, and a non-connected DSI channel can be detected. On the other hand, data memory 2
If the output of 80 is non-zero, the DSI channel number given as the address is the data memory 280.
The DSI channel is connected to the PCM channel whose number is the output of
It is only necessary to check whether the MSB of the output (in which the output of the voice detection circuit 110 is stored) is 0 or not. If this is 0, an inactive DSI channel has been detected. This step ends when an unconnected DSI channel or an inactive DSI channel is detected, or when all DSI channels (46 channels) have been searched. In the worst case, this process is approximately
It can be executed in 600 steps (about 1 PCM frame), and the DSI channel selection routine can be completed during the 4th PCM frame. The DSI channel and PCM channel assignment function is performed as follows. DSI channel selected and new allocation request
If a PCM channel exists in the queue, the elected DSI channel and new allocation request
One combination of PCM channels can be determined. If a DSI channel is not selected or a new allocation request PCM channel does not exist, the transmitting DSI device transmits the contents of the assignment register 130 to the receiving side, and even if a malfunction occurs between transmission and reception, the malfunction will not continue. It is necessary to perform a refresh operation so that a set of PCM channels and DSI channels indicating the current allocation is selected from the contents of the data memory 280 and used as a new allocation. This routine can be completed within about 100 steps. The point at which these new allocations are determined varies depending on the flow of the program in managing the PCM channel requesting new allocation and selecting an unconnected or inactive DSI channel. Therefore, the determined new allocation data is transferred to terminal 4.
After waiting until the new assignment output timing signal inputted from 40 is sequentially inputted to the program reading circuit 200, it is transferred to the new connection register 300. The allocation information input to the new connection register 300 is transmitted to the receiving DSI device by the allocation information transmission circuit 310, and the PCM channel data part of the contents of the new connection register 300 matches the PCM channel number input from the terminal 400. When this happens, the DSI channel data of the contents of the new connection register 300 is transferred to the assignment register change circuit 3.
20 to the assignment register 130 (new assignment), and also write to the new connection register 30
When the DSI channel data containing 0 matches the output of the assignment register 130, the assignment register change circuit 320 is used to write 0 to the assignment register 130. (Old Allocation) The processing that the assignment processor must perform during the remaining time is to clear data memory 280 in preparation for the next assignment frame. This can be accomplished by simply accessing data memory 280 from address 1 to address 46 and writing 0, and the program can be implemented in 300 steps or less. The processing to be executed in the assignment frame can be summarized as follows.
【表】
第4図において、参照数字320で示されるア
サイメント・レジスタ変更回路の具体例を第9図
に示す。第9図に示すアサイメント・レジスタ変
更回路は新規接続レジスタ300、アサイメン
ト・レジスタ130、選択回路3201、一致回
路3202および3203、ゲート回路320
4,3205および3206、ゼロ入力端子32
07、PCMチヤンネル番号入力端子400およ
びタイミング信号入力端子3210からなつてい
る。
端子3210から入力されるタイミング信号は
アサイメント・レジスタ130の書換えを許可す
る1PCMフレーム間以外はオフであるため、アサ
イメント・レジスタ130の書込許可端子Wへは
他のPCMフレームに出力されることはない。タ
イミング信号がオンになるPCMフレームは割当
情報の伝送方式などにより決定され、便宜上ここ
では第4PCMフレームとする。従つて、アサイメ
ント・フレーム中、第4PCMフレーム以外の時間
アサイメント・レジスタ130は、端子400か
ら入力されるPCMチヤンネル番号信号でアクセ
スされることになる。新規接続レジスタ300は
前のアサイメント・フレームの第5PCMフレーム
で新規割当情報が転送されている。新規割当情報
は先にも述べたように、一組のPCMチヤンネル
番号とDSIチヤンネル番号および、これ等のPCM
チヤンネルとDSIチヤンネルとの間を接続するか
(オン)または切断するか(オフ)ということを
示すモード情報からなる。
第4PCMフレームにおいて、モード情報がオン
の場合について先に説明する。端子400から入
力されたPCMチヤンネル番号信号と新規接続レ
ジスタ300中のPCMチヤンネル番号部とは一
致回路3203により比較され、新規接続要求
PCMチヤンネルのタイムスロツトが到着する
と、一致信号が出力される。ゲート3204では
モード情報がオンかつ一致回路3203の出力が
オンであるため、選択回路3201の選択信号入
力端子はオンとなる。選択回路3201は選択信
号がオンの時新規接続レジスタ300のDSIチヤ
ンネル部を選択し、選択信号がオフの時、端子3
207から入力されたゼロを選択するため、アサ
イメント・レジスタ130のデータ入力端子DI
へは新規接続DSIチヤンネル番号が伝えられる。
また、この時、一致回路3203の出力はゲート
3205及び3206を通過するため、アサイメ
ント・レジスタ130では端子400から入力さ
れた新規割当要求PCMチヤンネル番号のアドレ
ス位置に新規接続DSIチヤンネル番号を書き込ま
れることになる。さらに、アサイメント・レジス
タ130の出力、つまりDSIチヤンネル番号と、
新規接続レジスタ300のDSIチヤンネル番号部
とは一致回路3202により比較され、これ等が
一致するDSIチヤンネルを検出したら、その時の
PCMチヤンネル番号とDSIチヤンネル番号は前の
アサイメントフレームまでは接続されていたもの
で現在のアサイメントフレームで新規接続を行な
うために切断を行なう必要のあるものである。こ
の時、一致回路3203の出力は通常オフである
ため、ゲート3204を閉じ、選択回路3201
へ端子3207から入力されているゼロの値を選
択している。一方、一致回路3202の出力はオ
ンであり、ゲート3205および3206を通し
てアサイメント・レジスタ130の書込指令端子
Wに信号を与える。このため、アサイメント・レ
ジスタ130の該当するPCMチヤンネル番号ア
ドレスにはゼロが書き込まれ切断が実行できる。
次にモード情報がオフの場合を説明する。この
ような状況は先に述べたリフレツシユを行う場合
に必要となり、また、本発明の実施例には直接関
係はないが、先に説明したオーバーロード・チヤ
ンネルを使用するDSI装置における、オーバーロ
ード・チヤンネルの切断などに必要となる。この
場合、新規接続レジスタ300内に蓄えられた
PCMチヤンネル番号とDSIチヤンネル番号を切断
すればよく、モード情報がオンの場合と異なるの
は、一致回路3203がオンとなり、該当PCM
チヤンネルのタイムスロツトに来たことを知らせ
た時、アサイメント・レジスタ130へ新規接続
レジスタ300に蓄えられているDSIチヤンネル
番号を書き込むのではなく、ゼロを書き込めばよ
い。これはゲート3204がモード情報により常
にオフとなつているため選択回路3201は端子
3207から加えられているゼロの値を選択して
いるため実現できる。
以上のように、本発明によると、第1PCMフレ
ームにおいてアサイメント・レジスタのコピーと
その逆対応表が生成でき、このことにより続いて
実行される割当決定が容易に実現できる。
さらに本発明によれば、割当決定を含む種々の
アサイメントプロセスを1つのハードウエアで実
現でき、外部に特別な回路を必要とせず、アサイ
メント・プロセツサの規模を従来のものと比べ小
型化できる。
また、本発明はプログラムにより制御されるア
サイメント・プロセツサであるため、故障診断な
どには故障診断用プログラムを用意することで容
易に実現でき、また、DSIアサイメント・プロセ
スを行なううえで、動作ステツプに余裕があれば
リアルタイムで自己診断を行なうこともできる。
本発明において、アサイメント・プロセツサの
プログラム実行速度を1PCMチヤンネル当り6ス
テツプとしたが、これは本質的ではなく、第4図
において、さらに高速な順次プログラム読出し回
路、より高速なプログラムメモリ、より高速なデ
ータ処理回路を用いれば、プログラム実行速度は
さらに向上し、本発明の実施例では扱わなかつた
オーバーロード・チヤンネルの管理をも含むDSI
装置が実現できる。
また、本発明において、第4図の参照数字24
0で示されるメモリアドレス・レジスタはMSB
をマスクすることが必要であつたが、データメモ
リ280の容量を小さくして、メモリアドレス・
レジスタ240のMSBはメモリ280のアドレ
ス部に接続されていないようにすることでもよ
い。[Table] A specific example of the assignment register changing circuit indicated by reference numeral 320 in FIG. 4 is shown in FIG. The assignment register change circuit shown in FIG.
4, 3205 and 3206, zero input terminal 32
07, a PCM channel number input terminal 400 and a timing signal input terminal 3210. Since the timing signal input from the terminal 3210 is off except during one PCM frame that permits rewriting of the assignment register 130, it is output to the write enable terminal W of the assignment register 130 for other PCM frames. Never. The PCM frame in which the timing signal is turned on is determined by the transmission method of allocation information, etc., and for convenience, it is assumed to be the fourth PCM frame here. Therefore, during the assignment frame, time assignment registers 130 other than the fourth PCM frame are accessed by the PCM channel number signal input from terminal 400. New assignment information is transferred to the new connection register 300 in the fifth PCM frame of the previous assignment frame. As mentioned above, the new allocation information includes a set of PCM channel numbers, DSI channel numbers, and these PCM channel numbers.
It consists of mode information indicating whether to connect (on) or disconnect (off) between the channel and the DSI channel. First, a case where the mode information is on in the fourth PCM frame will be described. The PCM channel number signal input from the terminal 400 and the PCM channel number part in the new connection register 300 are compared by the matching circuit 3203, and a new connection request is made.
When a PCM channel time slot arrives, a match signal is output. In the gate 3204, the mode information is on and the output of the matching circuit 3203 is on, so the selection signal input terminal of the selection circuit 3201 is turned on. The selection circuit 3201 selects the DSI channel section of the new connection register 300 when the selection signal is on, and selects the DSI channel section of the new connection register 300 when the selection signal is off.
In order to select the zero input from 207, the data input terminal DI of the assignment register 130
The newly connected DSI channel number is conveyed to .
Also, at this time, since the output of the matching circuit 3203 passes through gates 3205 and 3206, the newly connected DSI channel number is written in the address position of the new assignment request PCM channel number input from the terminal 400 in the assignment register 130. It turns out. Furthermore, the output of the assignment register 130, that is, the DSI channel number,
The matching circuit 3202 compares the DSI channel number section of the new connection register 300, and if a matching DSI channel is detected, the current
The PCM channel number and DSI channel number were connected until the previous assignment frame, and must be disconnected in order to make a new connection in the current assignment frame. At this time, since the output of the matching circuit 3203 is normally off, the gate 3204 is closed and the selection circuit 3201
The zero value input from the terminal 3207 is selected. On the other hand, the output of match circuit 3202 is on and provides a signal to write command terminal W of assignment register 130 through gates 3205 and 3206. Therefore, zero is written to the corresponding PCM channel number address in the assignment register 130, and the disconnection can be executed. Next, a case where the mode information is off will be explained. This situation is necessary when performing the refresh mentioned above, and although it is not directly related to the embodiment of the present invention, it is necessary to avoid overload in a DSI device using the above-described overload channel. Necessary for cutting channels, etc. In this case, the information stored in the new connection register 300
All you have to do is disconnect the PCM channel number and DSI channel number.The difference from when the mode information is on is that the matching circuit 3203 is on and the corresponding PCM
When notifying that the time slot of a channel has been reached, instead of writing the DSI channel number stored in the new connection register 300 to the assignment register 130, it is sufficient to write zero. This can be achieved because the selection circuit 3201 selects the zero value added from the terminal 3207 since the gate 3204 is always off based on the mode information. As described above, according to the present invention, a copy of the assignment register and its inverse correspondence table can be generated in the first PCM frame, thereby easily realizing the subsequent assignment determination. Furthermore, according to the present invention, various assignment processes including allocation decisions can be realized with a single piece of hardware, no special external circuit is required, and the scale of the assignment processor can be made smaller compared to conventional ones. . Furthermore, since the present invention is an assignment processor that is controlled by a program, failure diagnosis can be easily realized by preparing a failure diagnosis program. Self-diagnosis can also be performed in real time if there is enough time for the steps. In the present invention, the program execution speed of the assignment processor is set to 6 steps per PCM channel, but this is not essential. If a data processing circuit is used, the program execution speed will be further improved.
The device can be realized. Further, in the present invention, reference numeral 24 in FIG.
Memory address registers indicated by 0 are MSB
However, by reducing the capacity of the data memory 280 and masking the memory address.
The MSB of register 240 may not be connected to the address section of memory 280.
第1図は一般的DSI送受信装置の図、第2図は
第1図のアサイメントレジスタ130の内容を示
す図、第3図aおよびbは第1図のPCMチヤン
ネル2とDSIチヤンネル3との対応を示す図、第
4図は本発明の一実施例を示す図、第5図は第4
図のプログラムメモリ210に格納されるプログ
ラムの一部のフローチヤート、第6図は第4図の
動作タイミング図、第7図は第4図のデータメモ
リ270の内容を示す図、第8図は第4図のデー
タメモリ280の内容を示す図および第9図は第
4図のアサイメント・レジスタ変更回路の具体例
を示す図である。
第4図において、200……順次プログラム読
出し回路、210……プログラムメモリ、220
……データ処理回路、230および240……メ
モリアドレス・レジスタ、250および260…
…メモリデータ・レジスタ、270および280
……データメモリ、290……データ取り込みゲ
ート、300……新規接続レジスタ、310……
割当情報伝送回路、320……アサイメント・レ
ジスタ変更回路、130……アサイメント・レジ
スタ、110……音声検出回路、400……
PCMチヤンネル番号入力端子、410……PCM
音声入力端子、420……DSIチヤンネル番号出
力端子、430……第1PCMフレーム同期信号入
力端子、440……新規割当出力タイミング信号
入力端子、450……クロツク信号入力端子。
FIG. 1 is a diagram of a general DSI transmitter/receiver, FIG. 2 is a diagram showing the contents of the assignment register 130 in FIG. 1, and FIGS. A diagram showing correspondence, FIG. 4 is a diagram showing an embodiment of the present invention, and FIG. 5 is a diagram showing an embodiment of the present invention.
6 is an operation timing diagram of FIG. 4, FIG. 7 is a diagram showing the contents of the data memory 270 of FIG. 4, and FIG. FIG. 4 is a diagram showing the contents of data memory 280, and FIG. 9 is a diagram showing a specific example of the assignment register changing circuit of FIG. 4. In FIG. 4, 200...sequential program reading circuit, 210... program memory, 220
...Data processing circuits, 230 and 240...Memory address registers, 250 and 260...
...memory data registers, 270 and 280
...Data memory, 290...Data acquisition gate, 300...New connection register, 310...
Assignment information transmission circuit, 320... Assignment register change circuit, 130... Assignment register, 110... Voice detection circuit, 400...
PCM channel number input terminal, 410...PCM
Audio input terminal, 420...DSI channel number output terminal, 430...1st PCM frame synchronization signal input terminal, 440...new allocation output timing signal input terminal, 450...clock signal input terminal.
Claims (1)
声検出器により各パルス符号変調チヤンネルに音
声があるか否かを検出し、前記入力パルス符号変
調チヤンネルと出力デイジタル音声挿入用チヤン
ネルとの対応を示す割当レジスタによつて音声の
存在する入力パルス符号変調チヤンネルを出力デ
イジタル音声挿入用チヤンネルに接続するデイジ
タル音声挿入装置におけるパルス符号変調チヤン
ネルとデイジタル音声挿入用チヤンネルとの新し
い割当を決定するデイジタル音声挿入用プロセツ
サにおいて、 順次プログラム読出し回路と、この順次プログ
ラム読出し回路に接続されたプログラムメモリ
と、このプログラムメモリに接続されたデータ処
理回路と、このデータ処理回路に接続され、前記
プログラムメモリの出力により、アドレス設定お
よびデータ設定が行なわれる第1および第2のデ
ータメモリと、前記データ処理回路に接続された
新規接続レジスタと、前記音声検出器および前記
割当レジスタの出力を前記データ処理回路に取り
込む手段と、前記新規接続レジスタの内容に従つ
て前記割当レジスタを変更する手段とを有し、ア
サイメントフレーム毎に前記データ処理回路を介
し、前記第1のデータメモリにはパルス符号変調
チヤンネル番号でアドレス指定したときデイジタ
ル音声挿入用チヤンネル番号が出力されるように
前記割当レジスタの内容を書き込みかつ前記第2
のデータメモリには前記デイジタル音声挿入用チ
ヤンネル番号でアドレス指定したとき前記パルス
符号変調チヤンネル番号が出力されるように前記
割当レジスタの内容を取り込みこれらの操作を同
時に行なうことを特徴とするDSIデイジタル音声
挿入用プロセツサ。[Scope of Claims] 1. A voice detector detects whether or not there is voice in each pulse code modulation channel from the multiplexed input pulse code modulation signal, and connects the input pulse code modulation channel and the output digital voice insertion channel. Determine a new assignment between the pulse code modulation channel and the digital audio insertion channel in the digital audio insertion device that connects the input pulse code modulation channel where audio exists to the output digital audio insertion channel using the allocation register indicating the correspondence with the input pulse code modulation channel. A digital audio insertion processor that includes a sequential program reading circuit, a program memory connected to the sequential program reading circuit, a data processing circuit connected to the program memory, and a data processing circuit connected to the data processing circuit and connected to the program memory. The outputs of the first and second data memories in which address setting and data setting are performed, the new connection register connected to the data processing circuit, and the outputs of the voice detector and the assignment register are connected to the data processing circuit. and means for changing the allocation register according to the contents of the new connection register, and the first data memory is configured to input a pulse code modulation channel to the first data memory via the data processing circuit for each assignment frame. Write the contents of the assignment register so that the channel number for digital audio insertion is output when the address is specified by a number, and write the contents of the second assignment register.
A DSI digital audio system characterized in that the contents of the allocation register are loaded into the data memory so that the pulse code modulation channel number is output when an address is specified using the digital audio insertion channel number, and these operations are performed simultaneously. Insertion processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7007378A JPS54161217A (en) | 1978-06-09 | 1978-06-09 | Processor for digital sound insertion |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7007378A JPS54161217A (en) | 1978-06-09 | 1978-06-09 | Processor for digital sound insertion |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54161217A JPS54161217A (en) | 1979-12-20 |
| JPS6147020B2 true JPS6147020B2 (en) | 1986-10-17 |
Family
ID=13420993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7007378A Granted JPS54161217A (en) | 1978-06-09 | 1978-06-09 | Processor for digital sound insertion |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS54161217A (en) |
-
1978
- 1978-06-09 JP JP7007378A patent/JPS54161217A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54161217A (en) | 1979-12-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5596540A (en) | Serial to parallel and parallel to serial architecture for a RAM based FIFO memory | |
| US4056851A (en) | Elastic buffer for serial data | |
| US6345334B1 (en) | High speed semiconductor memory device capable of changing data sequence for burst transmission | |
| US5956349A (en) | Semiconductor memory device for high speed data communication capable of accurate testing of pass/fail and memory system employing the same | |
| EP0330475A2 (en) | Configuration control system | |
| CN111400205A (en) | A first-in-first-out address polling cache reading and writing method, system and device | |
| US4345325A (en) | Message-interchange circuitry for microprocessors linked by synchronous communication network | |
| JP2596208B2 (en) | Memory device | |
| US20030167368A1 (en) | Transmission control circuit, reception control circuit, communications control circuit, and communications control unit | |
| US5835742A (en) | System and method for executing indivisible memory operations in multiple processor computer systems with multiple busses | |
| US6327667B1 (en) | Apparatus and method for operating clock sensitive devices in multiple timing domains | |
| JPS6147020B2 (en) | ||
| KR0182342B1 (en) | Synchronous memory and information processor having synchronous memory | |
| US7577894B2 (en) | Apparatus and method for judging the legitimacy of transfer data | |
| US5691977A (en) | Virtual channel converter and VCC table access method | |
| JPH0217821B2 (en) | ||
| JPS6148301B2 (en) | ||
| JPS58130651A (en) | Data receiving system | |
| US6535935B1 (en) | Method of sending data streams using a refetchable first-in-first-out memory which is read in a sequence that backs-up | |
| JPH0115900B2 (en) | ||
| JP2953362B2 (en) | LAN switching device | |
| JPH0637852A (en) | Communication control device | |
| JPH0486032A (en) | Sound code | |
| JPS6153738B2 (en) | ||
| JPS632386B2 (en) |