JPH0758706A - Speech encoder and speech encoding method - Google Patents

Speech encoder and speech encoding method

Info

Publication number
JPH0758706A
JPH0758706A JP5205022A JP20502293A JPH0758706A JP H0758706 A JPH0758706 A JP H0758706A JP 5205022 A JP5205022 A JP 5205022A JP 20502293 A JP20502293 A JP 20502293A JP H0758706 A JPH0758706 A JP H0758706A
Authority
JP
Japan
Prior art keywords
processor
data
decoding
memory
voice
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
JP5205022A
Other languages
Japanese (ja)
Inventor
Haruo Kamimaki
春雄 上牧
Yuji Hatano
雄治 波多野
Ryujiro Muramatsu
隆二郎 村松
Yoshiaki Asakawa
吉章 淺川
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5205022A priority Critical patent/JPH0758706A/en
Publication of JPH0758706A publication Critical patent/JPH0758706A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To provide a speech encoder which performs speech encoding with low power consumption. CONSTITUTION:This encoder is equipped with a memory access means 4 which inputs and outputs digital code data 18 and 19 or digital speech data 12 and 15 and is interposed for an internal processor 2 to send and receive the digital code data 18 and 19 or digital speech data 12 and 15 by accessing a memory 3 for speech encoding and decoding in the processor 2, a means which stops the processor 2 from operating when detecting no speech being included in input speech data for encoding.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタル無線通信等に
用いられる音声の符号化及び復号を行う音声符号化器に
係り、特に低消費電力化に好適な音声符号化器に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speech coder for encoding and decoding speech used in digital wireless communication and the like, and more particularly to a speech coder suitable for low power consumption.

【0002】[0002]

【従来の技術】デジタル無線通信における無音時の低消
費電力化処理の例としては、 "VOICEACTIVITY DETECTIO
N(VAD) AND THE OPERATION OF DISCONTINUOUS TRANSMIS
SION(DTX) IN THE GSM SYSTEM"(S.Hansen:Digital Cel
lular Radio Conference'1988)で述べられているよう
な、無線部の電波送信を停止することによって低消費電
力化をはかる方法がある。これは、デジタル無線通信の
なかで最も消費電力の大きな無線送信を極力少なくする
ことにより消費電力の低減を図る方法で、他の回路の消
費電力が小さな時は簡単かつ効率的に低消費電力化をは
かれるという利点を持つ。
2. Description of the Related Art "VOICEACTIVITY DETECTIO is an example of a process for reducing power consumption when there is no sound in digital wireless communication.
N (VAD) AND THE OPERATION OF DISCONTINUOUS TRANSMIS
SION (DTX) IN THE GSM SYSTEM "(S.Hansen: Digital Cel
There is a method to reduce the power consumption by stopping the radio wave transmission of the radio section as described in lular Radio Conference '1988). This is a method of reducing power consumption by minimizing wireless transmission, which consumes the largest amount of power in digital wireless communication. When the power consumption of other circuits is small, the power consumption can be reduced easily and efficiently. It has the advantage of being worn.

【0003】[0003]

【発明が解決しようとする課題】上記従来例では、無線
送信部をとめる方法のみを開示しており、音声の符号化
を行う音声符号化器の動作を停止する手法は開示されて
いない。しかし、最近のデジタル移動通信で採用されて
いる高圧縮の音声符号化においては、音声符号化の処理
量が増大しているため内蔵するプロセッサの動作速度が
速くなっており、消費電力が大きい。このためデジタル
移動通信装置全体の低電力化を図るためには音声符号化
器の低電力化を図ることも重要である。本発明の目的
は、音声符号化を低消費電力で実現できる音声符号化器
を提供することにある。
In the above-mentioned conventional example, only the method of stopping the wireless transmission section is disclosed, and the method of stopping the operation of the speech encoder for encoding speech is not disclosed. However, in the highly-compressed voice coding adopted in recent digital mobile communications, since the processing amount of the voice coding is increasing, the operating speed of the built-in processor is high and the power consumption is large. Therefore, in order to reduce the power consumption of the entire digital mobile communication device, it is important to reduce the power consumption of the speech coder. An object of the present invention is to provide a speech coder that can realize speech coding with low power consumption.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
の本発明の音声符号化器では、例えば図1に示すよう
に、デジタル符号データ18、19またはデジタル音声
データ12、15の入出力と内蔵のプロセッサ2との間
に介在して、プロセッサ2の中に有する音声符号化復号
用メモリ3にアクセスして該メモリ3に対してデジタル
符号データ18、19またはデジタル音声データ12、
15の授受を行うメモリアクセス手段4と、例えば図2
または図6に示すように、符号化を行うための入力音声
デ−タに音声が含まれていないことを検出した無音判定
(32)の時に、上記プロセッサの動作を停止(27)
する手段を備えることとする。
In the speech coder of the present invention for achieving the above object, for example, as shown in FIG. 1, input / output of digital code data 18, 19 or digital speech data 12, 15 By interposing with the built-in processor 2, the speech coding / decoding memory 3 included in the processor 2 is accessed and digital code data 18, 19 or digital speech data 12, is sent to the memory 3.
15 and the memory access means 4 for transmitting and receiving, for example, FIG.
Alternatively, as shown in FIG. 6, the operation of the processor is stopped (27) at the time of silence determination (32) in which it is detected that the input voice data for encoding does not include voice.
Means for doing so.

【0005】ここで、上記メモリアクセス手段4による
上記音声符号化復号用メモリ3に対するデジタル符号デ
ータまたはデジタル音声データの授受は、上記プロセッ
サが動作していなくても行われてメモリへの該データの
書き込みまたはメモリからの該データの読み出しを行う
ようにするものである。
Here, the memory access means 4 sends and receives digital code data or digital voice data to and from the voice coding / decoding memory 3 even if the processor is not operating. The writing or reading of the data from the memory is performed.

【0006】また、上記目的を達成するための本発明の
音声符号化方法では、例えば図3および図6に示すよう
に、メモリに対して上記デジタル符号データまたはデジ
タル音声データの授受を行うメモリアクセス手段を設け
て、該メモリアクセス手段と上記メモリと上記プロセッ
サとの間で、次の手順を含んで、動作中のプロセッサに
よる符号化の開始、または該プロセッサの停止への移行
を行うこととする。すなわち、(1)メモリアクセス手
段が音声データを受け取り(41)、該データをメモリ
に書き込み(42)、データ個数を確認し、符号化に必
要な数の音声データの取り込みを完了する(43または
71)、(2)次に、プロセッサで有音か無音かを判定
し(26)、有音であれば符号化処理を開始し(4
6)、無音であればプロセッサの動作を停止する(2
7)、(3)メモリアクセス手段は次の音声データの取
り込みを行う。
Further, in the voice encoding method of the present invention for achieving the above object, for example, as shown in FIGS. 3 and 6, memory access for transmitting / receiving the digital code data or digital voice data to / from a memory is performed. Means is provided, and between the memory access means, the memory, and the processor, the following steps are included to start encoding by the operating processor or shift to stop of the processor. . That is, (1) the memory access means receives (41) the audio data, writes the data in the memory (42), confirms the number of data, and completes the acquisition of the required number of audio data for encoding (43 or 71), (2) Next, the processor determines whether there is sound or no sound (26), and if there is sound, the encoding process is started (4).
6) If there is no sound, stop the operation of the processor (2
7), (3) The memory access means fetches the next audio data.

【0007】ここで復号の開始については、例えば図4
に示すように、次の手順を含むようにすればよい。すな
わち、(1)メモリアクセス手段が復号用のデジタル符
号データを受け取り(52)、該データをメモリに書き
込む(53)、(2)次にプロセッサが動作しているか
を判定し(54)、動作していれば復号を開始する(5
6)、(3)プロセッサが停止していればプロセッサを
起動させ(55)、復号を開始する(56)。
As for the start of decoding, for example, FIG.
As shown in, the following procedure may be included. That is, (1) the memory access means receives the digital code data for decoding (52), writes the data in the memory (53), (2) determines whether the processor is operating next (54), and operates. If yes, start decoding (5
6) and (3) If the processor is stopped, the processor is activated (55) and decoding is started (56).

【0008】あるいは復号割込みおよび復帰処理につい
ては、例えば図5に示すように、次の手順を含むように
すればよい。すなわち、(1)プロセッサで符号化処理
を実行中でも復号用データを受け取ると符号化処理を中
断し、復号処理を行う(61)、(62)、(2)次
に、復号処理以前のプロセッサの処理状態を確認し(6
3)、その状態に応じて符号化処理状態または動作停止
状態に復帰する(37)、(38)。
Alternatively, the decoding interrupt and the restoration process may include the following procedure as shown in FIG. 5, for example. That is, (1) when the decoding data is received even when the processor is executing the encoding process, the encoding process is interrupted and the decoding process is performed (61), (62), (2). Check the processing status (6
3) Then, depending on the state, the state returns to the encoding processing state or the operation stop state (37), (38).

【0009】あるいはさらに、プロセッサが停止中の状
態から符号化状態に移行することについては、例えば図
7に示すように、(1)メモリアクセス手段が音声デー
タを受け取り、該データをメモリに書き込み、データ個
数を確認し、符号化に必要な数の音声デ−タの取り込み
を完了する(71)、(2)メモリアクセス手段がプロ
セッサを起動する(21)、(3)次に、プロセッサは
有音無音判定を行い(26)、有音と判定すれば音声符
号化状態となる(28)ようにすればよい。
Further, regarding the transition from the stopped state to the encoded state, for example, as shown in FIG. 7, (1) the memory access means receives voice data, writes the data in the memory, The number of data is confirmed and the acquisition of the required number of audio data for encoding is completed (71), (2) the memory access means activates the processor (21), (3). The sound / silence determination is performed (26), and if it is determined that there is sound, the voice coding state is set (28).

【0010】[0010]

【作用】音声符号化器において、音声の符号化や復号を
行うプロセッサとは別にメモリアクセス手段を設けるこ
とによって、プロセッサが動作を停止していても符号化
用音声デ−タの取り込みや、復号結果の音声デ−タの出
力を行えるようになる。そこで、取り込んだ一回の符号
化に必要な数の音声デ−タに音声が含まれていないとき
は、上記のプロセッサの動作を停止できることになり、
これにより、音声符号化器の低消費電力化が実現可能と
なる。
In the voice encoder, by providing the memory access means separately from the processor for encoding and decoding the voice, even if the processor is not operating, the voice data for encoding is taken in and decoded. The resulting voice data can be output. Therefore, when the number of voice data required for one-time encoding taken in does not include voice, the operation of the above processor can be stopped.
This makes it possible to reduce the power consumption of the speech encoder.

【0011】[0011]

【実施例】本発明の実施例を以下に説明する。まず、図
1に本発明を適用した音声符号化器を搭載するデジタル
無線通信装置の構成を示す。本装置は、音声の符号化及
び復号を行う音声符号化器1と音声をアナログの入力音
声信号11に変換し取り込むマイク10と、アナログの
入力音声信号11をデジタルの入力音声デ−タ12に変
換するA/D変換器7、及び復号したデジタルの出力音
声デ−タ15をアナログの出力音声信号16に変換する
D/A変換器6と出力音声信号16を出力するスピ−カ
9と、音声符号化器1から符号化結果を送信デ−タ19
として受け取り送信信号20としてアンテナ8から出力
し、アンテナ8で受信した受信信号17を復号用デ−タ
18として音声符号化器1に渡す無線部5により構成さ
れる。また上記音声符号化器1は、音声符号化時にデ−
タを保持するメモリ3を有する符号化用プロセッサ2
と、A/D変換器7から受け取る入力音声デ−タ12
や、無線部5より受け取る復号用デ−タ18をプロセッ
サ2のメモリ3に書き込み、またメモリ3に格納されて
いる符号化結果の送信デ−タ19を無線部5に渡し、復
号した出力音声デ−タ15をD/A変換器6に出力する
自動メモリアクセス器4により構成される。
EXAMPLES Examples of the present invention will be described below. First, FIG. 1 shows the configuration of a digital wireless communication apparatus equipped with a speech coder to which the present invention is applied. The apparatus includes a voice encoder 1 for encoding and decoding voice, a microphone 10 for converting voice into an analog input voice signal 11 and taking it in, and an analog input voice signal 11 for digital input voice data 12. An A / D converter 7 for converting, a D / A converter 6 for converting the decoded digital output audio data 15 into an analog output audio signal 16, and a speaker 9 for outputting the output audio signal 16. Transmission data 19 of the encoded result from the voice encoder 1.
Is formed from the antenna 8 as a received transmission signal 20 and the received signal 17 received by the antenna 8 is passed to the speech encoder 1 as decoding data 18. Further, the speech coder 1 is used for data decoding at the time of speech coding.
Encoding processor 2 having a memory 3 for storing data
And the input voice data 12 received from the A / D converter 7.
Alternatively, the decoding data 18 received from the wireless unit 5 is written in the memory 3 of the processor 2, and the transmission data 19 of the encoding result stored in the memory 3 is passed to the wireless unit 5 to output the decoded output voice. The automatic memory access device 4 outputs the data 15 to the D / A converter 6.

【0012】上記デジタル無線通信装置では、まず音声
をマイク10において一定周期毎にアナログの入力音声
信号11として取り込み、A/D変換器7においてデジ
タルの入力音声デ−タ12に変換し音声符号化器1に渡
す。音声符号化器1では前記音声デ−タ12を自動メモ
リアクセス器4によって受け取りメモリ3に格納する。
ここで自動メモリアクセス器4では、入力音声デ−タ1
2の受け取り個数を確認し、一回の音声符号化に必要な
数のデ−タ取り込みが完了すると、プロセッサ2に符号
化開始信号13を発行する。このときプロセッサ2が動
作を停止していれば、起動信号21を符号化開始信号1
3の前に発行する。上記符号化開始信号13を受け取っ
たプロセッサ2では、まず音声の有音無音判定を行い有
音であれば符号化処理を開始し、無音であれば動作を停
止する。符号化が終了すると結果をメモリ3に格納し、
これを自動メモリアクセス器4が無線部5に送信デ−タ
19として渡し無線部5は送信信号20としてアンテナ
8により送信する。またアンテナ8で受信された受信信
号17は無線部5により復号用デ−タ18に変換された
後、音声符号化器1に渡される。これを受け取った音声
符号化器1では、自動メモリアクセス器4が復号用デ−
タ18をプロセッサ2のメモリ3に格納するとともに復
号開始信号14を発行し、プロセッサ2が動作を停止し
ていれば復号開始信号14の前に起動信号21を発行し
ておく。これによりプロセッサ2は音声の復号処理を行
い結果をメモリ3に格納する。その後自動メモリアクセ
ス器4において音声入力時の周期と同周期で復号した出
力音声デ−タ15をD/A変換器6に出力する。D/A
変換器6では受け取った出力音声デ−タ15をアナログ
の出力音声信号16に変換し、この出力音声信号16は
スピ−カ9により音声として出力される。
In the above digital radio communication device, first, the voice is taken in as a analog input voice signal 11 in the microphone 10 at regular intervals, converted into digital input voice data 12 in the A / D converter 7, and voice encoded. Hand over to vessel 1. The speech coder 1 receives the speech data 12 by the automatic memory access unit 4 and stores it in the memory 3.
Here, in the automatic memory access device 4, the input voice data 1
The number of received data of 2 is confirmed, and when the data acquisition of the number required for one-time voice coding is completed, the coding start signal 13 is issued to the processor 2. At this time, if the processor 2 has stopped operating, the start signal 21 is set to the encoding start signal 1
Issue before 3. Upon receipt of the coding start signal 13, the processor 2 first determines whether there is sound or not in the voice, and if there is sound, starts the coding process, and if there is no sound, stops the operation. When the encoding is completed, the result is stored in the memory 3,
The automatic memory access device 4 passes it to the radio section 5 as transmission data 19 and the radio section 5 transmits it as a transmission signal 20 through the antenna 8. Further, the reception signal 17 received by the antenna 8 is converted into the decoding data 18 by the radio section 5 and then passed to the speech encoder 1. In the speech coder 1 which receives this, the automatic memory access device 4 decodes the decoding data.
The data 18 is stored in the memory 3 of the processor 2 and the decoding start signal 14 is issued. If the processor 2 is not operating, the activation signal 21 is issued before the decoding start signal 14. As a result, the processor 2 decodes the voice and stores the result in the memory 3. After that, the automatic memory access unit 4 outputs the output voice data 15 decoded in the same period as the voice input period to the D / A converter 6. D / A
The converter 6 converts the received output voice data 15 into an analog output voice signal 16 and the output voice signal 16 is output as voice by the speaker 9.

【0013】上記プロセッサ2の動作を図2に示す状態
遷移図を用いて以下に説明する。まず初期状態としてプ
ロセッサ2は信号処理を行っていないwait状態25
になっており、自動メモリアクセス器4から符号化開始
信号13を受け取ると有音無音判定26に移行する(3
0)。ここで有音であると判定した場合音声の符号化処
理を行う音声符号化状態28に遷移し(31)、無音であ
ると判定した場合にはプロセッサの動作をとめる動作停
止状態27に遷移する(32)。また音声符号化処理状態
28において復号開始信号14を受け取ると復号処理を
行う復号状態29に移行し(35)、復号処理終了後音声
符号化処理28に復帰する(36)。動作停止状態におい
ても同様に復号開始信号14を受け取ると復号処理を行
う復号状態29に移行し(37)、復号処理終了後プロセ
ッサ2の動作停止状態に戻る(38)。この他上記音声
符号化状態28において音声符号化処理が終了するとw
ait状態25となり(33)、動作停止状態27におい
て起動信号21および符号化開始信号13を受け取る
と、有音無音判定26に移行する(34)。
The operation of the processor 2 will be described below with reference to the state transition diagram shown in FIG. First, as an initial state, the processor 2 is in a wait state 25 in which no signal processing is performed.
When the encoding start signal 13 is received from the automatic memory access device 4, the process moves to the voiced / unvoiced determination 26 (3
0). If it is determined that the voice is present, the state transits to the voice encoding state 28 in which the voice encoding process is performed (31), and if it is determined that the voice is not present, the state transits to the operation stop state 27 for stopping the operation of the processor. (32). Further, when the decoding start signal 14 is received in the voice encoding processing state 28, the state shifts to the decoding state 29 for performing the decoding processing (35), and after the decoding processing ends, the processing returns to the voice encoding processing 28 (36). When the decoding start signal 14 is received in the operation stop state as well, the state shifts to the decoding state 29 in which the decoding process is performed (37), and after the decoding process ends, the processor 2 returns to the operation stop state (38). In addition, when the voice encoding process is completed in the voice encoding state 28, w
In the ait state 25 (33), when the activation signal 21 and the encoding start signal 13 are received in the operation stop state 27, the process moves to the voiced / unvoiced determination 26 (34).

【0014】図3は、上記プロセッサ2の動作に合わせ
た、自動メモリアクセス器4における入力音声デ−タ1
2の取り込み手順を示したものである。まず自動メモリ
アクセス器4は入力音声デ−タ12がA/D変換器7か
ら到着するのを待っている(40)。この時に、A/D変
換器7から入力音声デ−タ12を受け取る(41)、受け
取った入力音声デ−タ12をメモリ3に書き込む(4
2)。その後一回の符号化に必要な数の音声デ−タが揃
ったかどうかの判定(43)を行い、揃っていなければ
(47)次の入力音声デ−タ12を待ち(40)、揃ってい
れば(48)プロセッサ2が動作していることを確認する
(44)。この時プロセッサ2が動作していれば(50)、
プロセッサ2に符号化開始信号13を発行し(46)、動
作が停止していれば(49)、プロセッサ起動信号21を
発行(45)した後符号化開始信号13を発行する(4
6)。
FIG. 3 shows the input voice data 1 in the automatic memory access unit 4 in accordance with the operation of the processor 2.
2 shows a procedure of capturing 2. First, the automatic memory access device 4 waits for the input voice data 12 to arrive from the A / D converter 7 (40). At this time, the input voice data 12 is received from the A / D converter 7 (41), and the received input voice data 12 is written in the memory 3 (4).
2). After that, a judgment (43) is made as to whether or not the necessary number of voice data for one encoding has been prepared.
(47) Wait for the next input voice data 12 (40), and if they are complete (48) Confirm that the processor 2 is operating
(44). At this time, if the processor 2 is operating (50),
The encoding start signal 13 is issued to the processor 2 (46), and if the operation is stopped (49), the processor start signal 21 is issued (45) and then the encoding start signal 13 is issued (4).
6).

【0015】また図4は、自動メモリアクセス器4の復
号用デ−タ18の転送手順を示したものである。まず復
号用デ−タ18待ち(51)、復号用デ−タ18を受け取
り(52)、受け取った復号用デ−タ18をメモリ3に書
き込む(53)。その後、プロセッサ2が動作しているか
を判定し(54)、動作していれば(58)復号開始信号1
4を送出し(56)、プロセッサ2が停止していれば(5
7)プロセッサ起動信号21を送出した(55)後復号開
始信号14を送出する(56)。
FIG. 4 shows a transfer procedure of the decoding data 18 of the automatic memory access device 4. First, the decryption data 18 is waited (51), the decryption data 18 is received (52), and the received decryption data 18 is written in the memory 3 (53). Thereafter, it is determined whether the processor 2 is operating (54), and if it is operating (58), the decoding start signal 1
4 is sent (56), and if the processor 2 is stopped (5
7) The processor start signal 21 is sent (55) and the decoding start signal 14 is sent (56).

【0016】次に、プロセッサ2における復号処理状態
29へ移行した後、前状態に復帰するまでの処理フロ−
を図5に示す。まず復号開始信号14を自動メモリアク
セス器4より受け取り(61)、復号処理を行う(62)。
その後復号処理以前の処理が符号化処理28だったのか
動作停止状態27であったかを確認(63)し、符号化処
理状態28であれば(67)符号化処理状態28へ復帰し
(36)、動作停止状態27であれば(66)動作停止状態
27へ復帰する(38)。
Next, the processing flow until the state returns to the previous state after shifting to the decoding processing state 29 in the processor 2.
Is shown in FIG. First, the decoding start signal 14 is received from the automatic memory access device 4 (61), and decoding processing is performed (62).
After that, it is confirmed whether the process before the decoding process is the encoding process 28 or the operation stop state 27 (63), and if it is the encoding process state 28 (67), the process returns to the encoding process state 28.
(36) If the operation stop state 27 is reached (66), the operation stop state 27 is restored (38).

【0017】また図6に、無音判定26において無音と
判定されプロセッサ2が動作停止状態27へ移行するま
でのタイミングチャ−トを示す。まずデ−タ待ち状態2
5にあるプロセッサ2に対し、符号化に必要な音声デ−
タの取り込みを完了した(71)自動メモリアクセス器4
から符号化開始信号13が送られ、プロセッサ2におい
て有音無音判定26が行われ、ここで無音と判定され動
作停止状態27となる。また自動メモリアクセス器4で
は符号化開始信号13をプロセッサ2に送った後次の符
号化用音声の取り込みを開始する。
Further, FIG. 6 shows a timing chart until the processor 2 shifts to the operation stop state 27 when it is determined to be silent in the silence determination 26. First, wait for data 2
5 to the processor 2 in FIG.
(71) Automatic memory access device 4
Sends a coding start signal 13 from the processor 2, and the processor 2 determines whether there is sound or no sound 26. Here, it is determined that there is no sound, and the operation stop state 27 is set. Further, the automatic memory access device 4 sends the encoding start signal 13 to the processor 2 and then starts taking in the next encoding voice.

【0018】図7にプロセッサ2が動作停止状態27か
ら音声符号化状態28となるまでのタイミングチャ−ト
を示す。まず符号化に必要な音声デ−タの取り込みを完
了(71)した自動メモリアクセス器4から、プロセッサ
2に対し起動信号21が送られ、これを受けたプロセッ
サ2は動作を開始する。その後自動メモリアクセス器4
から符号化開始信号13が続けてプロセッサ2に送ら
れ、プロセッサ2では有音無音判定26が行われ、ここ
で有音と判定され音声符号化状態28となる。
FIG. 7 shows a timing chart from the operation stop state 27 to the speech coding state 28 of the processor 2. First, the start signal 21 is sent to the processor 2 from the automatic memory access device 4 which has completed (71) the acquisition of the voice data necessary for encoding, and the processor 2 receiving this signal starts the operation. After that, automatic memory access device 4
Then, the coding start signal 13 is continuously sent to the processor 2, and the processor 2 makes a voiced / non-voiced determination 26. Here, the voiced state is determined to be voiced and a voice encoding state 28 is set.

【0019】次に復号処理のタイミングについて説明す
る。図8は音声符号化処理状態28から復号処理状態2
9となった時のタイミングチャ−トであり、図9はプロ
セッサ2の動作が停止している状態27から音声復号処
理状態29となるときのタイミングチャ−トである。ま
ず音声符号化処理状態28において、無線部5から復号
用デ−タ18を自動メモリアクセス器4が受け取る(7
2)。自動メモリアクセス器4は受け取った復号用デ−
タ18をメモリ3に格納(73)し復号開始信号14をプ
ロセッサ2に送る。復号開始信号14を受け取ったプロ
セッサ2では符号処理を停止し復号処理を行うための割
込み処理74を行った後、復号処理状態29となり復号
処理終了後復帰処理75を行い音声符号化処理状態28
に復帰する。また、動作停止状態27において無線部5
から復号用デ−タ18を自動メモリアクセス器4が受け
取ると、自動メモリアクセス器4は受け取った復号用デ
−タ18をメモリ3に書き込み73、プロセッサ2に起
動信号21と復号処理開始信号14を送る。この信号を
受け取ったプロセッサ2は動作を開始し復号処理状態2
9となり、復号処理終了後動作停止状態27となる。
Next, the timing of the decoding process will be described. FIG. 8 shows the voice coding process state 28 to the decoding process state 2
9 is a timing chart when the state becomes 9, and FIG. 9 is a timing chart when the state 27 in which the operation of the processor 2 is stopped becomes the voice decoding processing state 29. First, in the voice encoding processing state 28, the automatic memory access device 4 receives the decoding data 18 from the wireless section 5 (7
2). The automatic memory access unit 4 receives the received decoding data.
The data 18 is stored in the memory 3 (73) and the decoding start signal 14 is sent to the processor 2. The processor 2, which has received the decoding start signal 14, stops the coding process and performs the interrupt process 74 for performing the decoding process, and then becomes the decoding process state 29 and performs the restoration process 75 after the decoding process is completed and the voice coding process state 28.
Return to. Further, in the operation stop state 27, the wireless unit 5
When the automatic memory access device 4 receives the decoding data 18 from the memory device 3, the automatic memory access device 4 writes the received decoding data 18 in the memory 73, and the processor 2 sends the start signal 21 and the decoding process start signal 14 to the processor 2. To send. Receiving this signal, the processor 2 starts operation and the decoding processing state 2
9 and the operation stop state 27 is set after the decoding process is completed.

【0020】[0020]

【発明の効果】本発明によれば、デジタル無線通信装置
等に用いられる音声符号化器において、高圧縮の音声符
号化を行う音声符号化器の低消費電力化を図ることが出
来る。
According to the present invention, in a voice coder used in a digital wireless communication device or the like, it is possible to reduce the power consumption of the voice coder for performing highly compressed voice coding.

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

【図1】本発明を適用したデジタル無線通信装置の構成
図。
FIG. 1 is a configuration diagram of a digital wireless communication device to which the present invention has been applied.

【図2】本発明による音声符号化器のプロセッサの状態
遷移図。
FIG. 2 is a state transition diagram of a processor of a speech coder according to the present invention.

【図3】自動メモリアクセス器の符号化データ転送フロ
ー図。
FIG. 3 is a flow chart of encoded data transfer of the automatic memory access device.

【図4】自動メモリアクセス器の復号データ転送フロー
図。
FIG. 4 is a flow chart of decoding data transfer of the automatic memory access device.

【図5】復号割り込み処理フロー図。FIG. 5 is a decryption interrupt processing flow chart.

【図6】無音判定からプロセス停止のタイミングフロー
図。
FIG. 6 is a timing flow chart from silence determination to process stop.

【図7】プロセス停止から符号化へのタイミングフロー
図。
FIG. 7 is a timing flow chart from process stop to encoding.

【図8】符号化処理時の復号割り込み処理タイミングフ
ロー図。
FIG. 8 is a flow chart of a decoding interrupt processing timing at the time of encoding processing.

【図9】動作停止状態からの復号割り込み処理タイミン
グフロー図。
FIG. 9 is a flowchart of a decoding interrupt processing timing from an operation stop state.

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

1…音声符号化器 2…プロセッサ 3…プロセッサのメモリ 4…自動メモリアク
セス器 5…無線部 6…D/A変換器 7…A/D変換器 8…電波送受信アン
テナ 9…スピ−カ 10…マイク 11…入力音声信号 12…入力音声デ−
タ 13…音声符号化開始信号 14…音声復号開始
信号 15…出力音声デ−タ 16…出力音声信号 17…受信信号 18…受信復号用デ
−タ 19…送信デ−タ 20…送信信号 21…制御信号
DESCRIPTION OF SYMBOLS 1 ... Voice encoder 2 ... Processor 3 ... Processor memory 4 ... Automatic memory access device 5 ... Radio part 6 ... D / A converter 7 ... A / D converter 8 ... Radio wave transmitting / receiving antenna 9 ... Speaker 10 ... Microphone 11 ... Input voice signal 12 ... Input voice data
Data 13 ... voice coding start signal 14 ... voice decoding start signal 15 ... output voice data 16 ... output voice signal 17 ... reception signal 18 ... reception / decoding data 19 ... transmission data 20 ... transmission signal 21 ... Control signal

フロントページの続き (72)発明者 淺川 吉章 東京都国分寺市東恋ケ窪1丁目280番地 株式会社日立製作所中央研究所内Front page continuation (72) Yoshiaki Asakawa, Inventor Yoshiaki Asakawa 1-280, Higashi Koikekubo, Kokubunji, Tokyo

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】プロセッサを内蔵し、該プロセッサの中に
音声符号化復号用メモリを有し、さらに、該メモリを用
いて一定数のデジタル入力音声デ−タ毎に音声をデジタ
ル符号に変換して出力する符号化手段と、入力されたデ
ジタル符号から上記一定数と同数のデジタル音声デ−タ
に復号して出力する復号手段を上記のプロセッサの中に
有する音声符号化器において、 デジタル符号データまたはデジタル音声データの入出力
とプロセッサとの間に介在して、上記音声符号化復号用
メモリにアクセスして該メモリに対してデジタル符号デ
ータまたはデジタル音声データの授受を行うメモリアク
セス手段と、符号化を行うための入力音声デ−タに音声
が含まれていないことを検出した時に、上記プロセッサ
の動作を停止する手段を備えることを特徴とする音声符
号化器。
1. A processor having a built-in processor, a voice coding / decoding memory provided in the processor, and the voice is converted into a digital code for each fixed number of digital input voice data by using the memory. In the speech coder having in the processor, a decoding means for decoding the input digital code into the same number of digital voice data as the fixed number and outputting the digital code data. Or, a memory access means for accessing the voice encoding / decoding memory and transmitting / receiving digital code data or digital voice data to / from the memory, interposed between the input / output of the digital voice data and the processor. And a means for stopping the operation of the processor when it is detected that the input voice data for performing the conversion does not include voice. And a speech coder.
【請求項2】請求項1記載の音声符号化器において、上
記メモリアクセス手段による上記音声符号化復号用メモ
リに対するデジタル符号データまたはデジタル音声デー
タの授受は、上記プロセッサが動作していなくても行わ
れてメモリへの該データの書き込みまたはメモリからの
該データの読み出しを行うものであることを特徴とする
音声符号化器。
2. The speech coder according to claim 1, wherein the memory access means transmits / receives digital code data or digital speech data to / from the speech coding / decoding memory even if the processor is not operating. A speech coder for writing the data to the memory or reading the data from the memory.
【請求項3】プロセッサの中に音声符号化復号用メモリ
を有して、該メモリを用いてプロセッサが一定数の入力
音声デ−タ毎に音声をデジタル符号に変換して出力する
とともに、入力されたデジタル符号から上記一定数と同
数の音声デ−タを復号して出力する音声符号化方法にお
いて、 上記メモリに対して上記デジタル符号データまたはデジ
タル音声データの授受を行うメモリアクセス手段を設け
て、該メモリアクセス手段と上記メモリと上記プロセッ
サとの間で、次の手順を含んで、動作中のプロセッサに
よる符号化の開始、または該プロセッサの停止への移行
を行うことを特徴とする音声符号化方法。 (1)メモリアクセス手段が音声データを受け取り、該
データをメモリに書き込み、データ個数を確認し、符号
化に必要な数の音声データの取り込みを完了する、 (2)次に、プロセッサで有音か無音かを判定し、有音
であれば符号化処理を開始し、無音であればプロセッサ
の動作を停止する、 (3)メモリアクセス手段は次の音声データの取り込み
を行う。
3. A speech encoding / decoding memory is provided in the processor, and the processor converts the speech into a digital code for each fixed number of input speech data and outputs the digital speech by using the memory. In a voice encoding method for decoding and outputting the same number of voice data as the fixed number from the generated digital code, memory access means for transmitting / receiving the digital code data or digital voice data to / from the memory is provided. A voice code characterized by including the following procedure between the memory access means, the memory and the processor, to start encoding by the operating processor or to stop the processor. Method. (1) The memory access means receives the audio data, writes the data in the memory, confirms the number of data, and completes the acquisition of the required number of audio data for encoding. (2) Next, the processor outputs the sound. It is determined whether or not there is sound, and if there is sound, the encoding process is started, and if there is no sound, the operation of the processor is stopped. (3) The memory access means fetches the next sound data.
【請求項4】請求項3記載の音声符号化方法において、
次の手順を含んで復号を開始することを特徴とする音声
符号化方法。 (1)メモリアクセス手段が復号用のデジタル符号デー
タを受け取り、該データをメモリに書き込む、 (2)次にプロセッサが動作しているかを判定し、動作
していれば復号を開始する、 (3)プロセッサが停止していればプロセッサを起動さ
せた後復号を開始する。
4. The speech coding method according to claim 3, wherein
A speech encoding method characterized by starting decoding including the following steps. (1) The memory access means receives the digital code data for decoding and writes the data in the memory (2) Next, it is judged whether or not the processor is operating, and if it is operating, the decoding is started, (3) If the processor is stopped, start the processor and then start decoding.
【請求項5】請求項3または請求項4記載の音声符号化
方法において、次の手順を含んで復号割込みおよび復帰
処理を行うことを特徴とする音声符号化方法。 (1)プロセッサで符号化処理を実行中でも復号用デー
タを受け取ると符号化処理を中断し、復号処理を行う、 (2)次に、復号処理以前のプロセッサの処理状態を確
認し、その状態に応じて符号化処理状態または動作停止
状態に復帰する。
5. The speech coding method according to claim 3 or 4, wherein the decoding interruption and restoration processing is performed by including the following procedure. (1) If the decoding data is received even if the processor is executing the encoding process, the encoding process is interrupted and the decoding process is performed. (2) Next, the processing state of the processor before the decoding process is confirmed and Accordingly, the coding processing state or the operation stop state is restored.
【請求項6】請求項3乃至請求項5の何れかに記載の音
声符号化方法において、プロセッサが停止中の状態から
次の手順を含んで符号化状態に移行することを特徴とす
る音声符号化方法。 (1)メモリアクセス手段が音声データを受け取り、該
データをメモリに書き込み、データ個数を確認し、符号
化に必要な数の音声デ−タの取り込みを完了する、 (2)メモリアクセス手段がプロセッサを起動する、 (3)次に、プロセッサは有音無音判定を行い、有音と
判定すれば音声符号化状態となる。
6. A speech coding method according to any one of claims 3 to 5, wherein the processor shifts from a stopped state to a coding state including the following steps. Method. (1) The memory access means receives the audio data, writes the data in the memory, confirms the number of data, and completes the acquisition of the audio data of the number necessary for encoding. (2) The memory access means is a processor (3) Next, the processor determines whether there is sound or no sound, and if it is judged that there is sound, the processor enters the voice coding state.
JP5205022A 1993-08-19 1993-08-19 Speech encoder and speech encoding method Pending JPH0758706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5205022A JPH0758706A (en) 1993-08-19 1993-08-19 Speech encoder and speech encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5205022A JPH0758706A (en) 1993-08-19 1993-08-19 Speech encoder and speech encoding method

Publications (1)

Publication Number Publication Date
JPH0758706A true JPH0758706A (en) 1995-03-03

Family

ID=16500151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5205022A Pending JPH0758706A (en) 1993-08-19 1993-08-19 Speech encoder and speech encoding method

Country Status (1)

Country Link
JP (1) JPH0758706A (en)

Similar Documents

Publication Publication Date Title
US6407325B2 (en) Background music play device and method thereof for mobile station
JP3320749B2 (en) Processor for voice band telecommunications
US20160111082A1 (en) Voice and text communication system, method and apparatus
KR960027453A (en) Remote control method using data processing system and pager
JP3264822B2 (en) Mobile communication equipment
CN107527614B (en) Voice control system and method thereof
JPH05160773A (en) Voice communication equipment
JP3090842B2 (en) Transmitter adapted to Viterbi decoding method
WO2002019113A1 (en) Memory access controller
JP2001502440A (en) System and method for communicating desired audible information over a communication medium
JPH0758706A (en) Speech encoder and speech encoding method
US6502071B1 (en) Comfort noise generation in a radio receiver, using stored, previously-decoded noise after deactivating decoder during no-speech periods
JP3075067B2 (en) Digital mobile radio equipment
US6134519A (en) Voice encoder for generating natural background noise
JP3201136B2 (en) Digital mobile radio equipment
JP2979859B2 (en) Digital mobile radio equipment
JP3173639B2 (en) Background noise update system and method
JPH04278757A (en) Device for transmitting voice data
JPH0937318A (en) Message receiver and message transmitting and receiving method
KR19990045553A (en) Telephone device and voice recording method
JPH05252121A (en) Voice encoding processing circuit
JPH03203466A (en) Modulator and demodulator
JP3185611B2 (en) Communication device and communication system
KR100439422B1 (en) Method for operating a vocoder in a mobile phone
JP2643842B2 (en) Digital mobile phone device with hold function and method for transmitting hold sound