JP3101118B2 - ADPCM codec - Google Patents

ADPCM codec

Info

Publication number
JP3101118B2
JP3101118B2 JP05055167A JP5516793A JP3101118B2 JP 3101118 B2 JP3101118 B2 JP 3101118B2 JP 05055167 A JP05055167 A JP 05055167A JP 5516793 A JP5516793 A JP 5516793A JP 3101118 B2 JP3101118 B2 JP 3101118B2
Authority
JP
Japan
Prior art keywords
signal
adpcm
bit
digital
linear 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 - Fee Related
Application number
JP05055167A
Other languages
Japanese (ja)
Other versions
JPH06244809A (en
Inventor
圭二 宮田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP05055167A priority Critical patent/JP3101118B2/en
Publication of JPH06244809A publication Critical patent/JPH06244809A/en
Application granted granted Critical
Publication of JP3101118B2 publication Critical patent/JP3101118B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ディジタルコードレス
電話機(PHP)等に用いられるADPCMコーデック
関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a digital cordless
ADPCM codec used for telephones (PHP)
It relates to.

【0002】[0002]

【従来の技術】一般に、ADPCMコーデックは、アナ
ログ信号波形をディジタル圧縮信号に変換する送信側
と、ディジタル圧縮信号をアナログ信号波形に変換する
受信側を有している。送信側は、アナログ信号波形をデ
ィジタル信号であるPCMに変調するA/D部、該PC
M信号をμ-Law 圧縮信号にする圧縮部、該μ-Law 圧縮
信号をADPCM信号にエンコードするADPCMエン
コーダ部より構成される。また受信側は、ADPCM信
号をμ-Law 圧縮信号にデコードするADPCMデコー
ダ部、該μ-Law 圧縮信号をリニアPCM信号に伸張す
る伸張部、該PCM信号をアナログ信号波形に復号する
D/A部より構成される。
2. Description of the Related Art Generally, an ADPCM codec has a transmitting side for converting an analog signal waveform into a digital compressed signal and a receiving side for converting a digital compressed signal into an analog signal waveform. The transmitting side includes an A / D unit for modulating an analog signal waveform into a PCM which is a digital signal;
Compression unit for the M signal to mu-Law companding compressed signal, composed of ADPCM encoder unit for encoding the mu-Law companding compressed signal to ADPC M signal. The receiving side, ADPCM decoder for decoding the ADPC M signal <br/> No. to mu-Law companding compressed signal, decompressing unit for decompressing the mu-Law companding compressed signal into a linear PCM signal, the PCM signal into an analog signal waveform It is composed of a D / A unit for decoding.

【0003】[0003]

【発明が解決しようとする課題】前述のように、従来の
ADPCMコーデックは、AD(適応差分型)PCMで
あるので、その信号パターンは、元のリニアPCM信号
をその振幅の変化量に応じてその変化の度合を係数に変
換した情報となっている。ADPCMはこのように係数
に置き換えて信号圧縮を行っているが、この時、現在の
信号波形を係数に置き換える時に、過去の信号波形と比
較してその変化量を決めて係数に変換する。このため、
この過去の信号波形を表す係数が誤ると、現在復号され
るべき信号波形は過去の信号波形形成適応係数が変わる
のに応じて変わる事になる。
As described above, since the conventional ADPCM codec is an AD (adaptive difference type) PCM, its signal pattern is obtained by converting the original linear PCM signal according to the amount of change in its amplitude. This is information obtained by converting the degree of the change into a coefficient. The ADPCM performs signal compression by replacing the coefficient with a coefficient as described above. At this time, when replacing a current signal waveform with a coefficient, the change is determined by comparing the signal waveform with a past signal waveform and converting the signal waveform into a coefficient. For this reason,
If the coefficient representing the past signal waveform is incorrect, the signal waveform to be currently decoded changes according to the change of the past signal waveform formation adaptive coefficient.

【0004】すなわち、過去の復号信号波形が元の符号
化前のアナログ信号波形と異なる復号アナログ信号波形
となるが、復号する現在の信号波形はこの元のアナログ
信号波形とは異なる復号アナログ信号波形成分と比較し
て復号されるので、当然、現在復号されるアナログ信号
波形は元の符号化前のアナログ信号波形とは異なるもの
となる。この時、ADPCM信号の適応係数のうち、そ
の係数の値を大きく変えることになるビット信号等が変
わるエラーを起こすと、前記のようなため復号アナログ
信号波形も大きく乱れ、時には不自然に急に大きな信号
や異常信号(又は雑音のような信号)を伴う過大信号
(過大衝撃音)となることがある。この信号を音響素子
で音に変換した場合、イヤピースとして使用すると、人
間の耳に異常な過大音として聴こえるようになるために
大変耳障りとなり、場合によっては耳に支障をきたすこ
とも予想される。
That is, the decoded signal waveform of the past is different from the original analog signal waveform before encoding, but the current signal waveform to be decoded is a decoded analog signal waveform different from the original analog signal waveform. Since the decoded analog signal waveform is compared with the component, the currently decoded analog signal waveform is different from the original analog signal waveform before encoding. At this time, among the adaptive coefficients of the ADPCM signal, if an error occurs in which a bit signal or the like that greatly changes the value of the coefficient is changed, the decoded analog signal waveform is greatly disturbed as described above, and sometimes unnaturally suddenly. An excessive signal (excessive impact sound) accompanied by a large signal or an abnormal signal (or a signal such as noise) may occur. When this signal is converted into sound by an acoustic element, if it is used as an earpiece, it will be perceived as an abnormally loud sound by human ears, and it will be very harsh, and in some cases it is expected that the ear may be hindered.

【0005】本発明は、このような実情に鑑みてなされ
たもので、ADPCM信号をデコード及びD/A変換し
て復号する前に、デコード後のPCMディジタル信号の
時にディジタルリミッタをかけて過大信号として現れる
であろうPCM信号のレベルを制限し、復号後のアナロ
グ信号波形で過大信号を発生させないようにしたADP
CMコーデックを提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and a digital limiter is applied to a decoded PCM digital signal before decoding and D / A conversion of the ADPCM signal before decoding. ADP that limits the level of the PCM signal that will appear as a signal so that no excessive signal is generated in the decoded analog signal waveform
It aims to provide a CM codec.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するために、ADPCM信号をリニアPCM信号にデ
コードするADPCMデコーダと、該ADPCMデコー
ダから出力されたリニアPCM信号にディジタルリミッ
タをかけるディジタルリミッタ回路とを有する一方、前
記ディジタルリミッタ回路は、誤りが存在すると判断さ
れたADPCM信号に対応するリニアPCM信号にディ
ジタルリミッタをかけることを特徴としたものである。
According to the present invention, in order to achieve the above object, an ADPCM signal is converted into a linear PCM signal.
ADPCM decoder for coding and ADPCM decoder
Digital limit to the linear PCM signal output from the
And a digital limiter circuit
The digital limiter circuit determines that an error exists.
To a linear PCM signal corresponding to the ADPCM signal
It is characterized by applying a digital limiter .

【0007】[0007]

【作用】伝送されてくるADPCM信号をリニアPCM
信号にデコードした後、該リニアPCM信号とディジタ
ルリミッタの比較判定するためのディジタルスレッシュ
レベルを比較して、当該スレッシュレベルを越えるリニ
アPCM信号は復号後過大信号とならない程度の信号レ
ベルになるように制限され、その後、D/A変換後の復
号されたアナログ信号波形が過大信号とならないように
する。
[Action] linear The ADPC M No. signal that is transmitted PCM
After decoding into a signal, the linear PCM signal is compared with a digital threshold level for comparing and judging the digital limiter, so that a linear PCM signal exceeding the threshold level becomes a signal level that does not become an excessive signal after decoding. After that, the decoded analog signal waveform after the D / A conversion is prevented from becoming an excessive signal.

【0008】[0008]

【実施例】実施例について、図面を参照して以下に説明
する。図1は、本発明によるADPCMコーデックの一
実施例を説明するための構成図で、図中、1はベースバ
ンドプロセッサ(B.B.プロセッサ)、2はADPCM
(Adaptive Differential Pulse Code Modulation:適
応差分パルス符号変調)コーデック、3はADPCMデ
コーダ、4はディジタルリミッタ回路、5は8bitμ-La
w 圧縮回路、6はD/Aコンバータである。
Embodiments will be described below with reference to the drawings. FIG. 1 is a block diagram for explaining an embodiment of an ADPCM codec according to the present invention. In FIG. 1, reference numeral 1 denotes a baseband processor (BB processor), and 2 denotes an ADPCM codec.
(Adaptive Differential Pulse Code Modulation) Codec, 3 is an ADPCM decoder, 4 is a digital limiter circuit, 5 is 8 bit μ-La
w A compression circuit, 6 is a D / A converter.

【0009】ディジタルコードレス電話機(PHP)に
おけるADPCM伝送方式の場合において説明する。ベ
ースバンドプロセッサ1は、入力されるCRC(Cyclic
Redundancy Check)符号化されたビットパターン信号
を4bit 32kbps ADPCM信号に変換し、かつ、そ
の時のビットパターン列に誤りがあるか判別し、その情
報をCRC信号として、誤りが有の時は“H”、無の時
は“L”で出力する。ベースバンドプロセッサ1より出
力され、ADPCM信号とCRC信号は全く同期が取れ
ており、この両信号はディジタルリミッタ回路4を有す
るADPCMコーデック2に入力される。ADPCMコ
ーデック2は4bit のADPCM信号を14bit リニア
PCM信号にデコードするADPCMデコーダ3、14
bit リニアPCM信号にディジタルリミッタをかけるデ
ィジタルリミッタ回路4、14bit リニアPCM信号を
8bitμ-law 圧縮信号に変換する圧縮回路5、μ-Law圧
縮信号をアナログ信号にD/A変換するD/Aコンバー
タ回路6を有している。
A description will be given of the case of the ADPCM transmission system in a digital cordless telephone (PHP). The baseband processor 1 receives the input CRC (Cyclic
Redundancy Check) The coded bit pattern signal is converted into a 4 bit 32 kbps ADPCM signal, and it is determined whether or not there is an error in the bit pattern sequence at that time. The information is used as a CRC signal. , When there is no output, the output is "L". The output from the baseband processor 1 and the ADPCM signal and the CRC signal are completely synchronized, and these two signals are input to the ADPCM codec 2 having the digital limiter circuit 4. The ADPCM codec 2 decodes 4-bit ADPCM signals into 14-bit linear PCM signals.
digital limiter circuit 4 for applying digital limiter to bit linear PCM signal, compression circuit 5 for converting 14-bit linear PCM signal to 8-bit μ-law compressed signal, D / A converter circuit for D / A converting μ-Law compressed signal to analog signal 6.

【0010】今、4bit ADPCM信号がADPCMデ
コーダ3に入力されると、4bit ADPCM信号は14
bit リニアPCM信号に変換されてディジタルリミッタ
回路4に伝送される。該14bit リニアPCM信号を伝
送されてディジタルリミッタ回路4では、同時にベース
バンドプロセッサ1より出力されたCRC信号が入力さ
れる。ディジタルリミッタ回路4におけるリミットレベ
ルとするスレッシュレベルは、これらの信号が入力され
る前に外部制御等によりあらかじめ決められており、こ
の決められたスレッシュレベルと14bit リニアPCM
信号が比較されることになる。ディジタルリミッタ回路
4の判定条件は、CRC信号の誤りが“L”の時、すな
わち、CRC符号化されたビットパターン信号に誤りが
無い時、この場合は14bit リニアPCM信号に誤りが
なく、送り出してきたアナログ信号を正しく復号できる
ことになるので、このような時には14bit リニア信号
が当該スレッシュレベルを越えてもディジタルリミッタ
回路4はリミットせず、入力された14bit リニアPC
M信号を忠実に圧縮回路5に伝送する。
When the 4-bit ADPCM signal is input to the ADPCM decoder 3, the 4-bit ADPCM signal becomes 14
The bit is converted into a linear PCM signal and transmitted to the digital limiter circuit 4. The 14-bit linear PCM signal is transmitted, and the digital limiter circuit 4 simultaneously receives the CRC signal output from the baseband processor 1. The threshold level as the limit level in the digital limiter circuit 4 is determined in advance by external control or the like before these signals are input, and the determined threshold level and the 14-bit linear PCM are determined.
The signals will be compared. Determination condition of the digital limiter circuit 4, when an error is "L" of the CRC signal, i.e., when an error in CRC encoded bit pattern signal is not, in the case of this there is no error in the 14bit linear PCM signal, feed In such a case, the digital limiter circuit 4 does not limit even if the 14-bit linear signal exceeds the threshold level in such a case, and the input 14-bit linear PC
The M signal is transmitted to the compression circuit 5 faithfully.

【0011】一方、CRC信号の誤りが、“H”の時、
すなわち、14bit リニアPCM信号に誤りがある時
は、ディジタルリミッタ回路4は14bit リニアPCM
信号とスレッシュレベルを比較する。この時、14bit
リニアPCM信号がスレッシュレベル以下の時には、前
記と同様に入力信号を忠実に圧縮回路5に伝送する。1
4bit リニアPCM信号がスレッシュレベルを越える時
には、該14bit リニアPCM信号を操作して、例え
ば、14bit あるPCMコードを値が小さくなるように
3bit シフトさせて入力された14bit リニアPCM信
号の値を小さくして、圧縮回路5に伝送する。
On the other hand, when the error of the CRC signal is “H”,
That is, when there is an error in the 14-bit linear PCM signal, the digital limiter circuit 4 outputs the 14-bit linear PCM signal.
Compare the signal with the threshold level. At this time, 14bit
When the linear PCM signal is below the threshold level, the input signal is faithfully transmitted to the compression circuit 5 as described above. 1
When the 4-bit linear PCM signal exceeds the threshold level, the 14-bit linear PCM signal is manipulated, for example, by shifting the 14-bit PCM code by 3 bits so that the value becomes smaller, and reducing the value of the inputted 14-bit linear PCM signal. And transmits it to the compression circuit 5.

【0012】その後、ディジタルリミッタ回路4より伝
送された14bit リニア14bit 信号は、圧縮回路5で
CCITT G.711等準拠のμ-Law に従って、8bit
PCM信号に変換されて、D/Aコンバータ回路6に
伝送される。該D/Aコンバータ回路6では、該8bit
PCM信号をいったん14bit リニアPCM信号に変換
し、その14bit リニアPCM信号より復号化してアナ
ログ信号にして出力する。この時、一般に、該アナログ
信号は階段状の信号波形となっているので、これらの階
段状成分を高調波として除去し、信号波形を滑らかにす
るためにローパスフィルタ(L.P.F)をアナログ信号
出力直後に入れることが多い。
Thereafter, the 14-bit linear 14-bit signal transmitted from the digital limiter circuit 4 is converted into an 8-bit signal by the compression circuit 5 in accordance with μ-Law based on CCITT G.711 or the like.
The signal is converted into a PCM signal and transmitted to the D / A converter circuit 6. In the D / A converter circuit 6, the 8 bit
The PCM signal is once converted to a 14-bit linear PCM signal, and the 14-bit linear PCM signal is decoded and converted to an analog signal and output. At this time, since the analog signal generally has a step-like signal waveform, a low-pass filter (LPF) is used to remove these step-like components as harmonics and smooth the signal waveform. It is often inserted immediately after analog signal output.

【0013】[0013]

【発明の効果】以上の説明から明らかなように、本発明
によると、以下のような効果がある。すなわち、伝送さ
れてくるADPCM信号に誤りが発生し、その結果、復
号した時に過大アナログ信号となる時には、復号化する
前にディジタルリミッタ部で適格に該ADPCM信号よ
りデコードされたPCM信号にリミットをかけることに
より、アナログ信号に復号化して、更に、音響素子にて
聴く時には過大音とならずに聴こえてくることになるの
で、耳障りになることもなく、又、耳に支障をきたすこ
ともなくなる。又、検出方法もADPCM信号に誤りが
ある部分のみをCRC信号を用いることにより適格に補
正を行えるので、大きい信号レベルではあるものの異常
でない信号までも補正は行わないので、通常の誤りがな
い時には極小信号も極大信号もスムーズに復号化される
ことになる。大変使い勝手の良いものとなる。
As is apparent from the above description, the present invention has the following effects. In other words, when an error occurs in the transmitted ADPCM signal and the resulting analog signal becomes excessive when decoded, the digital limiter unit appropriately limits the PCM signal decoded from the ADPCM signal before decoding. By applying the signal, the signal is decoded into an analog signal, and when the sound is heard by the acoustic element, the sound is heard without being excessively loud, so that the sound is not disturbed and the ear is not disturbed. . In addition, the detection method can appropriately correct only a portion where the ADPCM signal has an error by using the CRC signal. Therefore, even a signal having a large signal level but not abnormal is not corrected. Both the minimum signal and the maximum signal are decoded smoothly. It becomes very convenient.

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

【図1】本発明によるADPCMコーデックの一実施例
を説明するための構成図である。
FIG. 1 is a configuration diagram illustrating an embodiment of an ADPCM codec according to the present invention.

【符号の説明】[Explanation of symbols]

1…ベースバンドプロセッサ(B.B.プロセッサ)、2
…はADPCM(Adaptive Differential Pulse Code M
odulation:適応差分パルス符号変調)コーデック、3
…ADPCMデコーダ、4…ディジタルリミッタ回路、
5…8bit μ-Law圧縮回路、6…D/Aコンバータ。
1 ... baseband processor (BB processor), 2
… Is ADPCM (Adaptive Differential Pulse Code M)
odulation: adaptive differential pulse code modulation) codec, 3
... ADPCM decoder, 4 ... Digital limiter circuit,
5 ... 8bit μ-Law compression circuit, 6 ... D / A converter.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ADPCM信号をリニアPCM信号にデ
コードするADPCMデコーダと、該ADPCMデコー
ダから出力されたリニアPCM信号にディジタルリミッ
タをかけるディジタルリミッタ回路とを有する一方、前
記ディジタルリミッタ回路は、誤りが存在すると判断さ
れたADPCM信号に対応するリニアPCM信号にディ
ジタルリミッタをかけることを特徴とするADPCMコ
ーデック。
An ADPCM signal is converted to a linear PCM signal.
ADPCM decoder for coding and ADPCM decoder
Digital limit to the linear PCM signal output from the
And a digital limiter circuit
The digital limiter circuit determines that an error exists.
To a linear PCM signal corresponding to the ADPCM signal
An ADPCM codec characterized by applying a digital limiter .
JP05055167A 1993-02-19 1993-02-19 ADPCM codec Expired - Fee Related JP3101118B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05055167A JP3101118B2 (en) 1993-02-19 1993-02-19 ADPCM codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05055167A JP3101118B2 (en) 1993-02-19 1993-02-19 ADPCM codec

Publications (2)

Publication Number Publication Date
JPH06244809A JPH06244809A (en) 1994-09-02
JP3101118B2 true JP3101118B2 (en) 2000-10-23

Family

ID=12991182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05055167A Expired - Fee Related JP3101118B2 (en) 1993-02-19 1993-02-19 ADPCM codec

Country Status (1)

Country Link
JP (1) JP3101118B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102638984B1 (en) * 2022-01-03 2024-02-22 주식회사 어원트 Hallux valgus and hallux valgus corrective socks

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002237803A (en) * 2001-02-08 2002-08-23 Oki Electric Ind Co Ltd Receiving circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102638984B1 (en) * 2022-01-03 2024-02-22 주식회사 어원트 Hallux valgus and hallux valgus corrective socks

Also Published As

Publication number Publication date
JPH06244809A (en) 1994-09-02

Similar Documents

Publication Publication Date Title
JP3264822B2 (en) Mobile communication equipment
US4700360A (en) Extrema coding digitizing signal processing method and apparatus
CA1208789A (en) Adpcm encoder/decoder with improved tracking
US20080096515A1 (en) Mobile communication terminal with equalizer function
US4633483A (en) Near-instantaneous companding PCM involving accumulation of less significant bits removed from original data
JP3101118B2 (en) ADPCM codec
JPH0758710A (en) Method and equipment for detection of noise burst in signal processor
JPH09506187A (en) Adaptive error control for ADPCM speech coder
JP2809524B2 (en) Digital transmission system synchronization
JPS5875341A (en) Data compression device using finite difference
US6618700B1 (en) Speech coder output transformation method for reducing audible noise
US5621760A (en) Speech coding transmission system and coder and decoder therefor
JP3130834B2 (en) Mobile phone
JP2691189B2 (en) Code decoder
JP3221233B2 (en) Transmission code error compensator
JPS5866440A (en) Waveform coding system
JPH07143074A (en) Transmission code error compensating device
JP3149562B2 (en) Digital audio transmission equipment
JP2853716B2 (en) Variable bit type ADPCM transcoder
JP4299436B2 (en) Speech coding system and speech transmission system using Hamming distance
JP3089477B2 (en) Quantizer and quantization method
JP3163567B2 (en) Voice coded communication system and apparatus therefor
JPH07115403A (en) Circuit for encoding and decoding silent section information
JP2508498B2 (en) Code converter
JPH0439812B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees