JPH04157817A - Variable rate encoding device - Google Patents

Variable rate encoding device

Info

Publication number
JPH04157817A
JPH04157817A JP28306290A JP28306290A JPH04157817A JP H04157817 A JPH04157817 A JP H04157817A JP 28306290 A JP28306290 A JP 28306290A JP 28306290 A JP28306290 A JP 28306290A JP H04157817 A JPH04157817 A JP H04157817A
Authority
JP
Japan
Prior art keywords
encoding
signal
rate
state quantity
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28306290A
Other languages
Japanese (ja)
Inventor
Kimiaki Yamashita
公彰 山下
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 JP28306290A priority Critical patent/JPH04157817A/en
Publication of JPH04157817A publication Critical patent/JPH04157817A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To shorten the time when the SN ratio of an encoded signal decreases when the signal is almost at a threshold value level by doubly setting a border so that the encoding rate control signal varies with specific hysteresis when a status quantity veries in crossing the border. CONSTITUTION:The border between adjacent ranges is set double so that when the status quantity varies crossing the border, the encoding rate control signal varies having the specific hysteresis. When the status quantity varies across the double border between the adjacent ranges, the encoding rate control signal varies having the specific hysteresis and the encoding rate of the output of the variable rate encoding device also varies correspondingly while having the specific hysteresis. Therefore, even when said status quantity varies nearby the border between the adjacent ranges, this invention prevents the encoding rate from being switched frequency.

Description

【発明の詳細な説明】 (概 要〕 入力信号レベルあるいはS/N等の所定の状態量に応じ
て適応的に符号化レートを可変にする符号化装置に関し
、 入力信号のパワーレベル、あるいは、符号化された信号
のS/Nが、上記の符号化レートの切替えのためのしき
い値の前後のレベルにあるときに符号化された信号のS
/Nが低下する時間を短縮することを目的とし、 所定の状態量に応じて適応的に符号化レートを可変にす
る符号化装置において、複数の符号化手段と、制御手段
と、選択手段と、出力手段とを備えてなり、前記複数の
符号化手段は、同一の入力信号を並列に入力して、各々
異なる符号化レートで符号化して出力し、前記選択手段
は、前記複数の符号化手段から出力された、各々異なる
符号化レートで符号化された信号を受信して、前記制御
手段が出力する符号化レート制御信号の制御の下に、該
各々異なる符号化レートで符号化された(1)号のうち
1つを選択して出力し、前記出力手段は、前記選択手段
にて選択された信号と、該信号に対応する前記符号化レ
ート制御信号とを対応付けて出力し、前記制御手段は、
当該符号化装置において符号化処理される信号の状態を
示す所定の状態量の複数の範囲の各々毎に、該範囲に対
応して前記選択手段において選択すべき信号の符号化レ
ートを記憶しており、前記状態量を検出して、該検出し
た状態量が含まれる範囲に対応する符号化レートの信号
を前記選択手段が選択するように該選択手段を制御する
前記符号化レート制御信号を出力し、前記状態量の複数
の範囲は、該状態量がとり得る範囲をカバーし、且つ、
隣合う範囲の間の境界は、前記状態量が該境界を横切っ
て変化する際に、前記符号化レート制御信号が所定のヒ
ステリシスを以て変化するように2重に設定されている
ように構成する。
[Detailed Description of the Invention] (Summary) This invention relates to an encoding device that adaptively varies the encoding rate according to a predetermined state quantity such as an input signal level or S/N, the power level of the input signal, or When the S/N of the encoded signal is at a level around the threshold for switching the encoding rate described above, the S/N of the encoded signal is
In an encoding device that adaptively varies the encoding rate according to a predetermined state quantity with the aim of shortening the time for /N to decrease, the present invention includes a plurality of encoding means, a control means, and a selection means. , and an output means, the plurality of encoding means receives the same input signal in parallel and encodes and outputs each at a different encoding rate, and the selection means is configured to input the same input signal in parallel and output the encoded signal at different encoding rates. receiving the signals output from the means and encoded at different encoding rates, and under the control of the encoding rate control signal outputted by the control means, the signals being encoded at the different encoding rates. (1) Select and output one of the signals, and the output means outputs the signal selected by the selection means and the encoding rate control signal corresponding to the signal in association with each other, The control means includes:
For each of a plurality of ranges of a predetermined state quantity indicating the state of a signal to be encoded in the encoding device, a signal encoding rate to be selected by the selection means corresponding to the range is stored. detects the state quantity and outputs the encoding rate control signal for controlling the selection means so that the selection means selects a signal with a coding rate corresponding to a range that includes the detected state quantity; The plurality of ranges of the state quantity cover possible ranges of the state quantity, and
The boundary between adjacent ranges is configured to be doubly set so that when the state quantity changes across the boundary, the encoding rate control signal changes with a predetermined hysteresis.

〔産業上の利用分野] 本発明は、入力信号−レベルあるいはS/N等の所定の
状態量に応じて適応的に符号化レートを可変にする符号
化装置に関する。
[Industrial Application Field] The present invention relates to an encoding device that adaptively varies the encoding rate according to a predetermined state quantity such as an input signal level or S/N.

近年、音声、画像、その他のデータ等、伝送帯域の異な
るマルチメディアの情報を統一的に取り扱うATM等の
通信方式の研究が進んでおり、加入者の要求に応じて伝
送速度をフレキシブルに割り当てることが可能となっ−
Cきた。この様なネットワークにおいては、音声の発生
状況に応じて適応的に符号化ビットレー1・を可変にす
る符号化レート可変の符号化方式が有効である。
In recent years, research has been progressing on communication systems such as ATMs that handle multimedia information with different transmission bands, such as voice, images, and other data, in a unified manner, making it possible to flexibly allocate transmission speeds according to subscriber requests. became possible.
C came. In such a network, a variable encoding rate encoding method that adaptively varies the encoding bit rate 1 according to the voice generation situation is effective.

〔従来の技術および発明が解決しようとする課題]第4
図は、本発明の適用対象となる可変レー1−符号化装置
の典型的な例のハードウェア構成を、該可変レート符号
化装置から送信される符号化されたデータを受信して復
号化する構成と共に示すものである。第4図において、
111は4ピツI・ADPCM符号器、112は2ピン
トAD P CM符号器、12は選択制御回路、13は
セレクタ、14は多重化回路、15は伝送路、16は受
信側の多重分離回路、そして、17は4/2ビットΔD
PCM復号器である。
[Prior art and problems to be solved by the invention] Part 4
The figure shows the hardware configuration of a typical example of a variable rate encoding device to which the present invention is applied, which receives and decodes encoded data transmitted from the variable rate encoding device. It is shown together with the configuration. In Figure 4,
111 is a 4-pin I ADPCM encoder, 112 is a 2-pin ADPCM encoder, 12 is a selection control circuit, 13 is a selector, 14 is a multiplexing circuit, 15 is a transmission path, 16 is a demultiplexing circuit on the receiving side, And 17 is 4/2 bit ΔD
It is a PCM decoder.

4ビットADPCM符号器11nは、8ビットX8MH
zのPCM信号を受信して、量子化ビット数4ビットの
ADPCMによる符号化を行うもの、そして、2ビット
ADPCM符号器112は、同じく8ビットX 8 M
 HzのPCM信号を受信して、量子化ビット数4ビッ
トのADPCMによる符号化を行うものである。両符号
器11nおよび112は、常に並行して、それぞれの量
子化ビットレートで、ADPCM符号化を行っている。
The 4-bit ADPCM encoder 11n is 8 bits x 8MH
The 2-bit ADPCM encoder 112 receives the PCM signal of z and performs ADPCM encoding with 4 bits of quantization bits, and the 2-bit ADPCM encoder 112 also has 8 bits x 8 M
A PCM signal of Hz is received and encoded using ADPCM with a quantization bit count of 4 bits. Both encoders 11n and 112 always perform ADPCM encoding in parallel at their respective quantization bit rates.

上記の4ビットADPCM符号器11nの符号化出力、
および、2ヒツ)ADPCM符号器112の符号化出力
は、それぞれ、セレクタ13の一方および他方の入力端
子に印加される。セレクタ13は、選択制御回路12の
制御の下に、上記の符号化出力の一方を選択し、選択さ
れた符号化出力は、該選択が4ビットΔDPCM符号器
11nの符号化出力であるか、または、2ピツ) A 
D )) CM符号器11゜の符号化出力であるかを示
すレート情報と共に多重化回路14を介し゛ζ伝送路1
5上を伝送される。
The encoded output of the above 4-bit ADPCM encoder 11n,
and 2) The encoded outputs of the ADPCM encoder 112 are applied to one and the other input terminals of the selector 13, respectively. The selector 13 selects one of the above encoded outputs under the control of the selection control circuit 12, and the selected encoded output is determined whether the selected encoded output is the encoded output of the 4-bit ΔDPCM encoder 11n or not. Or 2 pits) A
D)) ζ transmission line 1 via the multiplexing circuit 14 along with rate information indicating whether it is the encoded output of the CM encoder 11
It is transmitted over 5.

受信側においては、多重分離回路16にて、上記の符号
化出力とレート情報とは分離され、4/2ビットADP
cM復号器17において、該レート情報に応じて、4ビ
ットまたは2ビットの復号化処理を行う。
On the receiving side, the encoded output and rate information are separated in the demultiplexing circuit 16, and the encoded output and rate information are separated into 4/2 bit ADP
The cM decoder 17 performs 4-bit or 2-bit decoding processing depending on the rate information.

可変レート符号化の制御のやり方としては、例えば、音
声信号の場合、入力PCM信号のパワーレベルが高いと
きの信号には比較的重要な情報が含まれ、入力PCM信
号のパワーレベルが低いときの4t’S号は比較的低い
符号化レートで符号化し′Cも復号化された音声信号の
聞き取り易さには影響かないことを考慮して、例えば、
入力PCM信号のパワーレベルを所定の時間(例えば、
入力PCM信号の1フレームの間)積分して、第5図に
示されるように、該積分値が所定のレベルを超えるなら
ば、4ビットADPCM符号器111の符号化出力を選
択し、該積分値が該所定のレベルを超えないならば、2
ビットADPCM符号器11゜の符号化出力を選択する
ものがある。
For example, in the case of audio signals, the control method for variable rate encoding is that when the power level of the input PCM signal is high, the signal contains relatively important information, and when the power level of the input PCM signal is low, the signal contains relatively important information. Considering that the 4t'S code is encoded at a relatively low encoding rate and the 'C has no effect on the audibility of the decoded audio signal, for example,
The power level of the input PCM signal is adjusted for a predetermined period of time (e.g.
As shown in FIG. 5, if the integrated value exceeds a predetermined level, the encoded output of the 4-bit ADPCM encoder 111 is selected, and the integrated value is integrated during one frame of the input PCM signal. 2 if the value does not exceed the predetermined level.
There is a selection of the encoded output of the bit ADPCM encoder 11°.

あるいは、他の制御方法としては、符号化されり信号の
ビットレートをほぼ一定のレベルに保つように、符号化
された信号のS/Nを所定の時間(例えば、入力PCM
信号の1フレームの間)積分して、該積分値が所定のレ
ベルを超えるならば、2ビットADPcM符号器112
の符号他出ツノを選択し、該積分値が該所定のレベルを
超えないならば、4ピツ)ADPCM符号器litの符
号化出力を選択するというものがある。
Alternatively, as another control method, the S/N of the encoded signal may be adjusted for a predetermined period of time (for example, input PCM
If the integrated value exceeds a predetermined level, the 2-bit ADPcM encoder 112
There is a method of selecting the code edge of 4) and selecting the encoded output of the ADPCM encoder lit if the integral value does not exceed the predetermined level.

第6図は、上記のような選択制御によって、フレーム毎
に適応的に符号化レートを切り換えるタイミングの1例
を示すものである。
FIG. 6 shows an example of the timing at which the encoding rate is adaptively switched for each frame by the selection control as described above.

しかしながら、上記のような可変レート符号化による伝
送システムにおいては、送信側で複数の符号器を並行し
て動作させているので、符号化レートを切替える度に、
−時的に符号化された信ηのS/Nが低下するという問
題がある。そのため、上記の制御において、入力信号の
パワーレベル、あるいは、符号化された信号のS/Nが
、上記の符号化レートの切替えのためのしきい値の前後
のレベルにあるときは、第7図に示されるように、頻繁
に符号化レートの切替えが行われることにより、音質劣
化が生ずる時間が相対的に長くなるという問題があった
However, in a transmission system using variable rate encoding as described above, multiple encoders are operated in parallel on the transmitting side, so each time the encoding rate is switched,
- There is a problem that the S/N of the temporally encoded signal η decreases. Therefore, in the above control, when the power level of the input signal or the S/N of the encoded signal is at a level around the threshold for switching the encoding rate, the seventh As shown in the figure, there is a problem in that frequent switching of the encoding rate increases the time it takes for sound quality to deteriorate.

本発明は、上記の問題点に鑑み、なされたもので、入力
信号のパワーレベル、あるいは、符号化された信号のS
/Nが、上記の符号化レートの切替えのためのしきい値
の前後のレベルにあるときに符号化された信号のS/N
が低下する時間を短縮する可変レート符号化装置を提供
することを目的とするものである。
The present invention has been made in view of the above-mentioned problems, and it is possible to change the power level of an input signal or the signal speed of an encoded signal.
S/N of the encoded signal when /N is at a level around the threshold for switching the encoding rate described above.
It is an object of the present invention to provide a variable rate encoding device that reduces the time required for the rate to decrease.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の可変レート符号化装置基本構成図で
ある。
FIG. 1 is a basic configuration diagram of a variable rate encoding device of the present invention.

第1図において、11+  12+12.は、複数の符
号化手段、2は制御手段、3は選択手段、そして、4は
出力手段である。
In FIG. 1, 11+12+12. are a plurality of encoding means, 2 is a control means, 3 is a selection means, and 4 is an output means.

複数の符号化手段15.1□、12.1は、同一の入力
信号を並列に入力して、各々異なる符号化レートで符号
化して出力する。
The plurality of encoding means 15.1□, 12.1 receive the same input signal in parallel, encode it at different encoding rates, and output it.

選択手段3は、前記複数の符号化手段11+12+12
7から出力された、各々異なる符号化レートで符号化さ
れた信号を受信して、前記制?ff11手段2が出力す
る符号化レート制御信号の制御の下に、該各々異なる符
号化レートで符号化された信号のうち1つを選択して出
力する。
The selection means 3 selects the plurality of encoding means 11+12+12.
7, each coded at a different coding rate, is received, and the control? Under the control of the encoding rate control signal output by the ff11 means 2, one of the signals encoded at the different encoding rates is selected and output.

出力手段4は、前記選択手段3にて選択された信号と、
該信号に対応する前記符号化レート制御信号とを対応付
けて出力する。
The output means 4 outputs the signal selected by the selection means 3;
The signal is associated with the encoding rate control signal and output.

制御手段2は、当該符号化装置において符号化処理され
る信号の状態を示す所定の状態量の複数の範囲の各々毎
に、該範囲に対応して前記選択手段3において選択すべ
き信号の符号化レートを記憶しており、前記状態量を検
出して、該検出した状態量が含まれる範囲に対応する符
号化レー1−の信号を前記選択手段3が選択するように
該選lR手段3を制御する前記符号化レート制御信号を
出ツノする。
The control means 2 determines the code of the signal to be selected by the selection means 3 corresponding to each of a plurality of ranges of a predetermined state quantity indicating the state of the signal to be encoded in the encoding device. The selection means 3 stores the encoding rate, detects the state quantity, and selects the signal of the encoded rate 1- corresponding to the range in which the detected state quantity is included. The encoding rate control signal is output to control the encoding rate.

とごろで、前記状態量の複数の範囲は、該状態量がとり
得る範囲をカバーしており、且つ、本発明によって、隣
合う範囲の間の境界は、前記状態量が該境界を横切って
変化する際に、前記符号化レート制御信号が所定のヒス
テリシスを以て変化するように2重に設定されている。
According to the present invention, the plurality of ranges of the state quantity cover possible ranges of the state quantity, and according to the present invention, the boundary between adjacent ranges is defined by the range where the state quantity crosses the boundary. When changing, the coding rate control signal is set doubly so that it changes with a predetermined hysteresis.

1作 用〕 本発明によれば、隣合う範囲の間の境界は、前記状態量
が該境界を横切って変化する際に、前記符号化レート制
御信号が所定のヒステリシスを以て変化するように2重
に設定されている。すなわち、第1および第2の範囲が
隣合う場合を考えると、第1および第2の範囲の間の境
界の位置には、第1の範囲側の境界と第2の範囲側の境
界とが設けられていることになる。
[1] According to the present invention, the boundary between adjacent ranges is double-layered so that when the state quantity changes across the boundary, the encoding rate control signal changes with a predetermined hysteresis. is set to . That is, considering the case where the first and second ranges are adjacent to each other, the boundary between the first and second ranges has a boundary on the first range side and a boundary on the second range side. It will be established.

これにより、状態量が第1の範囲から第2の範囲の方向
に変化する場合、上記の2重に設定された境界の第1の
範囲側の境界を横切って変化しても、前記符号化レート
制御信号は依然、第1の範囲に対応する符号化レートを
選択させる状態にある。そして、状態量が更に変化して
、上記の2重に設定された境界の第2の範囲側の境界を
横切って変化するときに、前記符号化レート制tall
信号は、第1の範囲に対応する符号化レートを選択させ
る状態から第2の範囲に対応する符号化レーI・を選択
させる状態に変化する。
As a result, when the state quantity changes from the first range to the second range, even if it changes across the boundary on the first range side of the double set boundary, the encoding The rate control signal remains in a state that causes the coding rate corresponding to the first range to be selected. Then, when the state quantity further changes and changes across the boundary on the second range side of the double-set boundary, the encoding rate control tall
The signal changes from a state causing selection of the coding rate corresponding to the first range to a state causing selection of the coding rate I· corresponding to the second range.

逆に、状態量が第2の範囲から第1の範囲の方向に変化
する場合、上記の2重に設定された境界の第2の範囲側
の境界を横切って変化しても、前記符号化レート制御信
号は依然、第2の範囲に対応する符号化レートを選択さ
せる状態にある。そして、状態量が更に変化して、上記
の2重に設定された境界の第1の範囲側の境界を横切っ
て変化するときに、前記符号化レート制御信号は、第2
の範囲に対応する符号化レートを選択させる状態から第
1の範囲に対応する符号化レーI・を選択させる状態に
変化する。
Conversely, when the state quantity changes from the second range to the first range, even if the state quantity changes across the second range side boundary of the double set boundary, the encoding The rate control signal remains in a state that causes selection of a coding rate corresponding to the second range. Then, when the state quantity further changes and changes across the border on the first range side of the above-mentioned doubly set border, the encoding rate control signal changes to the second range.
The state changes from a state in which the coding rate corresponding to the range of is selected to a state in which the coding rate I· corresponding to the first range is selected.

こうして、前記状態にが隣合う範囲の間の2重の境界を
横切って変化する際には、前記符号化レート制御20信
号は所定のビステリシスを以て変化することになり、こ
れに対応して、当該可変レート符号化装置の出力の符号
化レートも、上記のヒスう−リシスを以て変化すること
になる。
Thus, when the state changes across a double boundary between adjacent ranges, the encoding rate control 20 signal will change with a predetermined bisteresis, correspondingly The encoding rate of the output of the variable rate encoding device also changes with the above-mentioned histolysis.

したがって、上記の状態量が隣合う範囲の間の境界付近
で変化する場合においても、本発明によれば、符号化レ
ートのりJ替えが頻繁に発イ1nすることを防止するこ
とができる。
Therefore, even if the above-mentioned state quantity changes near the boundary between adjacent ranges, the present invention can prevent the coding rate from frequently changing.

[実施例〕 本発明の実施例においては、前述の第4図の構成と同様
のブロック構成をイ〕する可変レート符号化装置におい
て1n上記のように、符号化レートをヒステリシスを以
て変化させるように制御する。
[Embodiment] In an embodiment of the present invention, in a variable rate encoding device having a block configuration similar to that shown in FIG. 4 described above, the encoding rate is changed with hysteresis as described above. Control.

この制御は、第4図の選択制御回路12において行われ
る。第4図の選択制御回路12以外の構成は、前述の従
来の構成と全く同様でよい。尚、前述の音声信号入力の
平均パワーレベルを状態量とする。
This control is performed in the selection control circuit 12 shown in FIG. The configuration other than the selection control circuit 12 shown in FIG. 4 may be completely the same as the conventional configuration described above. Note that the average power level of the audio signal input described above is the state quantity.

第2図は本発明の実施例における符号化レート切替え制
御のしきい値を示す図である。第2図に示されるように
、音声信号入力の平均パワーレベルが高い範囲では4ピ
ッhADPcM符号化された信号を選択すべきであり、
音声信号入力の平均パワーレベルが低い範囲では2ピツ
)ADPCM符号化された信号を選択すべきであるが、
本発明によって、2つの範囲の境界には、2重のしきい
値AおよびBが設定されている。
FIG. 2 is a diagram showing threshold values for encoding rate switching control in the embodiment of the present invention. As shown in FIG. 2, a 4-pitch hADPcM encoded signal should be selected in a range where the average power level of the audio signal input is high.
In the range where the average power level of the audio signal input is low, the ADPCM encoded signal should be selected.
According to the invention, double thresholds A and B are set at the boundaries of the two ranges.

これにより、音声信号入力の平均パワーレベルが高い範
囲から音声信号入力の平均パワーレベルが低い範囲の方
向に変化する場合、音声信号入力の平均パワーレベルが
、上記の2重に設定された境界のしきい値Aを横切って
変化しても、選択制御回路12が出力する符号化レート
制御信号(レート情報)は依然、4ビットADPCM符
号化された信号を選択させる状態にある。そして、音声
信号入力の平均パワーレベルが更に変化し7て、−1−
記のしきい値Bを横切って変化するときに、上記の符号
化レート制御信号は、4ピッl−ADPCM符号化され
た信号を選択させる状態から、2ビットADPCM符号
化された信号を選択させる状態に変化する。
As a result, if the average power level of the audio signal input changes from a high range to a low range, the average power level of the audio signal input will be within the double boundary set above. Even when changing across the threshold value A, the encoding rate control signal (rate information) output by the selection control circuit 12 is still in a state that selects the 4-bit ADPCM encoded signal. Then, the average power level of the audio signal input changes further and -1-
When changing across threshold B, the encoding rate control signal described above causes a 2-bit ADPCM encoded signal to be selected from a state that causes a 4-bit ADPCM encoded signal to be selected. change in state.

逆に、音声信号入力の平均パワーレベルが低い範囲から
音声信号入力の平均パワーレベルが高い範囲の方向に変
化する場合、音声信号入力の平均パワーレベルが、上記
の2重に設定された境界のしきい値Bを横切って変化し
ても、選択制御回路12が出力する符号化レート制御信
号(レート情報)は依然、2ピツ)ADPCM符号化さ
れた信号を選択させる状態にある。そして、音声信号入
力の平均パワーレベルが更に変化して、上記のしきい値
Aを横切って変化するときに、上記の符号化レート制御
信号は、2ピッl−A D P CM符号化された信号
を選択させる状態から、4ピツ)ADPCM符号化され
た信号を選択させる状態に変化する。
Conversely, if the average power level of the audio signal input changes from a low range to a high average power level of the audio signal input, the average power level of the audio signal input will exceed the double boundary set above. Even if it changes across threshold B, the encoding rate control signal (rate information) output by the selection control circuit 12 is still in a state that selects the 2-bit ADPCM encoded signal. Then, when the average power level of the audio signal input changes further and crosses the above threshold A, the above coding rate control signal is 2-pill-A DP CM coded. The state changes from a state in which a signal is selected to a state in which a 4-bit ADPCM encoded signal is selected.

こうして、音声信号入力の平均パワーレベルが、上記の
音声信号入力の平均パワーレベルが高い範囲と音声信号
入力の平均パワーレベルが低い範囲の間の2重のしきい
値を横切って変化する際には、前記符号化レート制御信
号は所定のヒステリシスを以て変化することになり、こ
れに対応して、当該可変レート符号化装置の出力の符号
化レートも、上記のヒステリシスを以て変化することに
なる。
Thus, as the average power level of the audio signal input changes across a double threshold between the above range of high average power level of the audio signal input and low average power level of the audio signal input, In this case, the encoding rate control signal changes with a predetermined hysteresis, and correspondingly, the encoding rate of the output of the variable rate encoding device also changes with the above-mentioned hysteresis.

第3図は、本発明の実施例における音声信号レベルと符
号化レートの切替えのタイミングを示す図である。第3
図に示されるように、本発明によって、音声信号入力の
平均パワーレベルが、上記の音声信号入力の平均パワー
レベルが高い範囲と音声信号入力の平均パワーレベルが
低い範囲の間の境界付近で変化する場合においても、本
発明によれば、符号化レートの切替えが頻繁に発生する
ことを防止することができ、S/Nが低下する時間(音
質が劣化する時間)を相対的に小さくすることができる
FIG. 3 is a diagram showing the timing of switching the audio signal level and encoding rate in the embodiment of the present invention. Third
As shown in the figure, the present invention allows the average power level of the audio signal input to change near the boundary between the range where the average power level of the audio signal input is high and the range where the average power level of the audio signal input is low. Even in such a case, according to the present invention, it is possible to prevent frequent switching of encoding rates, and to relatively shorten the time during which the S/N decreases (the time during which sound quality deteriorates). I can do it.

尚、上記の制御を行う第4図の選択制御回路12は、ハ
ードウェア論理回路により、あるいは、上記の制御を行
うソフトウェアにより実現することができる。
The selection control circuit 12 shown in FIG. 4 that performs the above control can be realized by a hardware logic circuit or by software that performs the above control.

〔発明の効果〕〔Effect of the invention〕

本発明の可変レート符号化装置によれば、入力信号のパ
ワーレベル、あるいは、符号化された信号のS/Nが、
上記の符号化レートの切替えのためのしきい値の前後の
レベルにあるときに符号化された信号のS/Nが低下す
る時間を短縮することができる。
According to the variable rate encoding device of the present invention, the power level of the input signal or the S/N of the encoded signal is
It is possible to shorten the time during which the S/N of the encoded signal decreases when it is at a level around the threshold for switching the encoding rate.

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

第1図は本発明の基本構成図、 第2図は本発明の実施例における符号化シー1切替え制
御のしきい値を示す図、 第3図は、本発明の実施例における音声信号し・\ルと
符号化レートの切替えのタイミングを示す図、 第4図は、本発明の適用対象となる可変レート符号化装
置の典型的な例のハードウェア構成を、該可変レート符
号化装置から送信される符号化されたデータを受信して
復号化する構成と共に示す図、 第5図は、従来の可変レート符号化装置におりる符号化
レート切替え制御のしきい値を示す図、第6図は、AD
PCM符号化装置における符号化レートの切替えのタイ
ミングの1例を示す図、そして、 第7図は、従来の可変レート符号化装置における音声信
号レベルと符号化レートの切替えのタイミングを示す図
である。 〔符号の説明〕 11112112、・・・複数の符号化手段、2・・・
制御手段、3・・・選択手段、4・・・出力1段、11
、・・・4ビットADPCM符号器、112・・・2ピ
ツ)ADPCM符号器、12・・・選択制御回路、I3
・・・セレクタ、14・・・多重化回路、15・・・伝
送路、16・・・受信側の多重分離回路、17・・・4
/2ビットADPCM復号器。
FIG. 1 is a basic configuration diagram of the present invention. FIG. 2 is a diagram showing the threshold value of the encoding sea 1 switching control in the embodiment of the present invention. FIG. Figure 4 shows the hardware configuration of a typical example of a variable rate encoding device to which the present invention is applied. FIG. 5 is a diagram showing a configuration for receiving and decoding encoded data, and FIG. 5 is a diagram showing threshold values for encoding rate switching control in a conventional variable rate encoding device. is A.D.
FIG. 7 is a diagram showing an example of the timing of switching the coding rate in a PCM coding device, and FIG. 7 is a diagram showing the timing of switching the audio signal level and coding rate in a conventional variable rate coding device. . [Explanation of codes] 11112112, ... a plurality of encoding means, 2...
Control means, 3... Selection means, 4... Output 1 stage, 11
,...4-bit ADPCM encoder, 112...2 bits) ADPCM encoder, 12...Selection control circuit, I3
... Selector, 14... Multiplexing circuit, 15... Transmission line, 16... Receiving side demultiplexing circuit, 17... 4
/2-bit ADPCM decoder.

Claims (1)

【特許請求の範囲】 1、所定の状態量に応じて適応的に符号化レートを可変
にする符号化装置において、 複数の符号化手段(1_1、1_2、・・・1_n)と
、制御手段(2)と、選択手段(3)と、出力手段(4
)とを備えてなり、 前記複数の符号化手段(1_1、1_2、・・・1_n
)は、同一の入力信号を並列に入力して、各々異なる符
号化レートで符号化して出力し、 前記選択手段(3)は、前記複数の符号化手段(1_1
、1_2、・・・1_n)から出力された、各々異なる
符号化レートで符号化された信号を受信して、前記制御
手段(2)が出力する符号化レート制御信号の制御の下
に、該各々異なる符号化レートで符号化された信号のう
ち1つを選択して出力し、前記出力手段(4)は、前記
選択手段(3)にて選択された信号と、該信号に対応す
る前記符号化レート制御信号とを対応付けて出力し、 前記制御手段(2)は、当該符号化装置において符号化
処理される信号の状態を示す所定の状態量の複数の範囲
の各々毎に、該範囲に対応して前記選択手段(3)にお
いて選択すべき信号の符号化レートを記憶しており、前
記状態量を検出して、該検出した状態量が含まれる範囲
に対応する符号化レートの信号を前記選択手段(3)が
選択するように該選択手段(3)を制御する前記符号化
レート制御信号を出力し、 前記状態量の複数の範囲は、該状態量がとり得る範囲を
カバーし、且つ、隣合う範囲の間の境界は、前記状態量
が該境界を横切って変化する際に、前記符号化レート制
御信号が所定のヒステリシスを以て変化するように2重
に設定されていることを特徴とする可変レート符号化装
置。 2、前記状態量は、前記入力信号の所定の時間の平均パ
ワーレベルである請求項1記載の可変レート符号化装置
。 3、前記状態量は、前記選択手段(3)の出力の符号化
誤差である請求項1記載の可変レート符号化装置。 4、前記複数の符号化手段(1_1、1_2、・・・1
_n)は、量子化ビット4ビットのADPCM符号器(
11_1)と、量子化ビット2ビットのADPCM符号
器(11_2)とからなる請求項1記載の可変レート符
号化装置。
[Claims] 1. An encoding device that adaptively varies the encoding rate according to a predetermined state quantity, comprising a plurality of encoding means (1_1, 1_2, . . . 1_n) and a control means ( 2), selection means (3), and output means (4).
), and the plurality of encoding means (1_1, 1_2, ... 1_n
) receives the same input signal in parallel and encodes and outputs each signal at a different encoding rate, and the selection means (3) selects the plurality of encoding means (1_1).
, 1_2, . The output means (4) selects and outputs one of the signals encoded at different encoding rates, and the output means (4) outputs the signal selected by the selection means (3) and the signal corresponding to the signal. The control means (2) outputs a coding rate control signal in association with the coding rate control signal, and the control means (2) outputs the coding rate control signal for each of a plurality of ranges of a predetermined state quantity indicating the state of a signal to be coded in the coding device. The coding rate of the signal to be selected in the selection means (3) is stored in correspondence with the range, and the state quantity is detected and the coding rate corresponding to the range in which the detected state quantity is included is stored. outputting the encoding rate control signal that controls the selection means (3) so that the selection means (3) selects a signal; and the plurality of ranges of the state quantity cover possible ranges of the state quantity. and the boundary between adjacent ranges is set doubly so that when the state quantity changes across the boundary, the encoding rate control signal changes with a predetermined hysteresis. A variable rate encoding device characterized by: 2. The variable rate encoding device according to claim 1, wherein the state quantity is an average power level of the input signal over a predetermined time. 3. The variable rate encoding device according to claim 1, wherein the state quantity is an encoding error of the output of the selection means (3). 4. The plurality of encoding means (1_1, 1_2, . . . 1
_n) is an ADPCM encoder (
2. The variable rate encoding device according to claim 1, comprising: an ADPCM encoder (11_2) with 2 bits of quantization bits.
JP28306290A 1990-10-20 1990-10-20 Variable rate encoding device Pending JPH04157817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28306290A JPH04157817A (en) 1990-10-20 1990-10-20 Variable rate encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28306290A JPH04157817A (en) 1990-10-20 1990-10-20 Variable rate encoding device

Publications (1)

Publication Number Publication Date
JPH04157817A true JPH04157817A (en) 1992-05-29

Family

ID=17660713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28306290A Pending JPH04157817A (en) 1990-10-20 1990-10-20 Variable rate encoding device

Country Status (1)

Country Link
JP (1) JPH04157817A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003532329A (en) * 2000-04-19 2003-10-28 クゥアルコム・インコーポレイテッド Method and apparatus for reducing voice latency in voice over wireless communication over data
JP2004505498A (en) * 2000-07-25 2004-02-19 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Link quality measurement of transmission link in OFDM transmission system
JP2007304606A (en) * 1994-08-10 2007-11-22 Qualcomm Inc Method and apparatus for determining encoding rate in a variable rate vocoder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007304606A (en) * 1994-08-10 2007-11-22 Qualcomm Inc Method and apparatus for determining encoding rate in a variable rate vocoder
JP4680958B2 (en) * 1994-08-10 2011-05-11 クゥアルコム・インコーポレイテッド Method and apparatus for determining encoding rate of variable rate vocoder
JP2003532329A (en) * 2000-04-19 2003-10-28 クゥアルコム・インコーポレイテッド Method and apparatus for reducing voice latency in voice over wireless communication over data
JP2004505498A (en) * 2000-07-25 2004-02-19 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Link quality measurement of transmission link in OFDM transmission system

Similar Documents

Publication Publication Date Title
US4710960A (en) Speech-adaptive predictive coding system having reflected binary encoder/decoder
Jayant Subsampling of a DPCM Speech Channel to Provide Two “Self‐Contained” Half‐Rate Channels
AU663020B2 (en) Error-correcting tandem encoding system
JPH0398318A (en) Voice coding system
JPH0287731A (en) Variable rate voice signal encoding system
US5862178A (en) Method and apparatus for speech transmission in a mobile communications system
US7403892B2 (en) AMR multimode codec for coding speech signals having different degrees for robustness
CN1285101A (en) Enhanced range-graceful degradation for digital wireless telephone system
JPH09505970A (en) Method and apparatus for reducing errors in received communication signals
KR100300688B1 (en) Method and apparatus for providing a multi-party speech connection for use in a wireless communication system
CA2028947C (en) Picture coding apparatus
FI991605A (en) Method for reducing computing capacity for speech coding and speech coding and network element
US20080109219A1 (en) ADPCM encoding and decoding method and system with improved step size adaptation thereof
CA2359756C (en) Methods and apparatus for wireless transmission using multiple description coding
JPH04157817A (en) Variable rate encoding device
JP3254126B2 (en) Variable rate coding
JPH02288739A (en) Voice coding and decoding transmission system
JPH0685767A (en) Decoding device of digital communication
JPH0697846A (en) Radio communication equipment
WO1995024773A2 (en) A data transmission method, transmitter, and receiver
KR100357130B1 (en) Multimedia data transmitting method
JP3587920B2 (en) Transmission method and reception method
CN1168043A (en) Telephone apparatus with recording function
JP2897483B2 (en) Audio coding device
JPH07193514A (en) Transmission line code selecting data transmission system