JPH05158499A - Compressing and recording device for signal - Google Patents

Compressing and recording device for signal

Info

Publication number
JPH05158499A
JPH05158499A JP3153837A JP15383791A JPH05158499A JP H05158499 A JPH05158499 A JP H05158499A JP 3153837 A JP3153837 A JP 3153837A JP 15383791 A JP15383791 A JP 15383791A JP H05158499 A JPH05158499 A JP H05158499A
Authority
JP
Japan
Prior art keywords
bits
detection circuit
recording
component
minimum value
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
JP3153837A
Other languages
Japanese (ja)
Inventor
Takashi Miyamura
孝志 宮村
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.)
Nippon Avionics Co Ltd
Original Assignee
Nippon Avionics Co 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 Nippon Avionics Co Ltd filed Critical Nippon Avionics Co Ltd
Priority to JP3153837A priority Critical patent/JPH05158499A/en
Publication of JPH05158499A publication Critical patent/JPH05158499A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To provide the device for securing required accuracy while decreasing the number of bits required for recording. CONSTITUTION:Digitized data are stored in a buffer memory 2 as they are, and the maximum and minimum values of the data stored in the buffer memory 2 are stored by a maximum value detection circuit 3 and a minimum value detection circuit 4. Based on these values, the maximum change amount and DC component of the stored data are calculated, and the number of bits for storing the change component and the number of bits for storing the DC component are decided by a bit number change circuit 9. Then, recording is executed to a recording medium 6 with the number of bits.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、時間的に変化はする
が、大幅な変動がない信号をデジタルにより記録媒体に
対して圧縮・伸長する信号の圧縮記録装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal compression recording apparatus for digitally compressing / decompressing a signal which varies with time but does not vary significantly with respect to a recording medium.

【0002】[0002]

【従来の技術】従来、アナログ信号を記録する方法は各
種提案されているが、再生精度に問題があるものが多
く、アナログ信号そのもので精度を良くしようとすると
構成が複雑になり経済性が悪くなる。経済性良く精度も
確保して記録しようとする場合、先ずアナログ信号をA
/D変換器でサンプリングしてデジタル化し、デジタル
信号に変換された信号を記録媒体に記録するものが提案
されている。
2. Description of the Related Art Conventionally, various methods for recording an analog signal have been proposed, but many of them have a problem in reproduction accuracy. If an attempt is made to improve the accuracy of the analog signal itself, the structure becomes complicated and the economy becomes poor. Become. If you want to record with good cost and accuracy, first of all, analog signal A
There has been proposed a method in which a signal converted into a digital signal is recorded on a recording medium by sampling with a / D converter and digitizing.

【0003】[0003]

【発明が解決しようとする課題】しかしながらデジタル
信号を記録するには、デジタル化した時の分解能ビット
数に応じて決まる量の記録媒体が必要であり、精度を要
求すると大きな記録容量が必要になると言う課題があっ
た。
However, in order to record a digital signal, a recording medium of an amount determined according to the number of resolution bits at the time of digitization is required, and if accuracy is required, a large recording capacity is required. There was a problem to say.

【0004】本発明はこのような状況に鑑みてなされた
もので、記録に必要なビット数を下げながら、精度を確
保する装置を提供するものである。
The present invention has been made in view of the above circumstances, and provides an apparatus for ensuring accuracy while reducing the number of bits required for recording.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、アナログ信号をデジタル信号に変換
するA/D変換器と、所定時間にわたりデジタル信号を
サンプリングタイミング毎に記憶するバッファメモリ
と、所定時間内の最大値を記憶する最大値検出回路と、
所定時間内の最小値を記憶する最小値検出回路と、最大
値と最小値の差から変化分および直流分の記憶に必要な
ビット数を決定するビット数変換回路と、決定されたビ
ット数によってバッファメモリ中の変化分および直流分
を選択して記録媒体に記録するマルチプレクサとを備え
たものである。
In order to solve such a problem, the present invention provides an A / D converter for converting an analog signal into a digital signal, and a buffer for storing the digital signal at a sampling timing for a predetermined time. A memory and a maximum value detection circuit that stores the maximum value within a predetermined time,
A minimum value detection circuit that stores the minimum value within a predetermined time, a bit number conversion circuit that determines the number of bits required to store the variation and the DC component from the difference between the maximum value and the minimum value, and the determined number of bits And a multiplexer for selecting a change component and a direct current component in the buffer memory and recording them on a recording medium.

【0006】[0006]

【作用】デジタル化されたデータはそのままバッファメ
モリに記憶され、最大値検出回路および最小値検出回路
によってバッファメモリに記憶されたデータの最大値と
最小値が記憶される。この値をもとに記憶データの最大
変化量および、直流分が求められるとともに、ビット数
変換回路によって変化分記憶用のビット数および直流分
記憶用のビット数が決められる。そして、そのビット数
によって記録媒体に記録が行われる。
The digitized data is stored in the buffer memory as it is, and the maximum value and the minimum value of the data stored in the buffer memory are stored by the maximum value detection circuit and the minimum value detection circuit. Based on this value, the maximum amount of change in the stored data and the DC component are obtained, and the bit number conversion circuit determines the number of bits for storing the variation and the number of bits for storing the DC component. Then, recording is performed on the recording medium according to the number of bits.

【0007】[0007]

【実施例】音声信号に限らず、映像信号などは、ある時
刻の近傍ではその前後の信号に相関性が強い性質があ
る。その性質を利用して直流分と変化分を分離して記録
することができれば記録容量の小さな記録媒体でもデー
タサイズの大きな情報が記録できる。図2を例にとって
説明する。時間的に変化する信号があり、Ts時間ごと
に時刻Ta(Ta=Ts×24)までサンプリングする
場合を想定する。
[Embodiment] Not only audio signals but also video signals and the like have a strong correlation with signals before and after a certain time. If the direct current component and the changed component can be recorded separately by utilizing this property, information having a large data size can be recorded even on a recording medium having a small recording capacity. An example will be described with reference to FIG. It is assumed that there is a signal that changes with time and sampling is performed every time Ts until time Ta (Ta = Ts × 24).

【0008】強さの分解能を8ビット(256レベル)
としてTaまでサンプリングすると記録媒体へ書き込む
ビット数は、8×24=192となり、この数値は一義
的に決まる。
8-bit strength resolution (256 levels)
When sampling up to Ta, the number of bits written to the recording medium is 8 × 24 = 192, and this numerical value is uniquely determined.

【0009】例えばBの値が240、Aの値が190
(=直流分)であるとき、B−A=50(変化分の最
大)となり、変化分のみを記録するのであれば、6ビッ
トで表現することができる。直流分、変化分の最大、T
sごとの変化分データを並べると次のようになる。
For example, the value of B is 240 and the value of A is 190.
When (= DC component), BA = 50 (maximum change amount), and if only the change amount is recorded, it can be expressed by 6 bits. DC, maximum change, T
The change data for each s are arranged as follows.

【0010】190,←−−−直流分・・・8ビット 6,←−−−変化分の最大を含む最少ビット数・・・3
ビット 31,28,26,27,35,35,24, 19,17,29,34,33,20, 7, 0,21,18,21,39,50,45,・・・各6
ビット 38,23,28←−−−変化分のデータ24個
190, ← ---- DC component ... 8 bits 6, ← ---- Minimum number of bits including maximum change ... 3
Bits 31, 28, 26, 27, 35, 35, 24, 19, 17, 29, 34, 33, 20, 7, 7, 0, 21, 18, 21, 39, 50, 45, ... 6 each
Bits 38, 23, 28 ← ---- 24 pieces of change data

【0011】この構成ビットを合計すると190に対応
する8ビット、6に対応する3ビット、19から28に
それぞれ対応する6ビットをそれぞれ合計すると155
ビットとなり、従来の192ビットより少なくすること
が可能となる。この手法は信号の前後の相関性が大きい
程、すなわち変化分が少ないほど、効果がある。
When the constituent bits are summed up, 8 bits corresponding to 190, 3 bits corresponding to 6 and 6 bits corresponding to 19 to 28 are summed up to 155, respectively.
The number of bits is smaller than that of the conventional 192 bits. This method is effective as the correlation between the front and rear of the signal is large, that is, the change is small.

【0012】図1はこの処理を実現するためのブロック
図である。A/D変換回路1に入力されたアナログ信号
がデジタル信号に変換され、バッファメモリ2、最大値
検出回路3、最小値検出回路4に供給される。バッファ
メモリ2には所定期間、例えば図2の期間Ta分のデー
タが記録され、古いデータから順次出力されるようにな
っている。
FIG. 1 is a block diagram for realizing this processing. The analog signal input to the A / D conversion circuit 1 is converted into a digital signal and supplied to the buffer memory 2, the maximum value detection circuit 3, and the minimum value detection circuit 4. Data for a predetermined period, for example, the period Ta shown in FIG. 2, is recorded in the buffer memory 2, and the old data is sequentially output.

【0013】最大値検出回路3は供給された信号のうち
最大値を記憶し、最小値検出回路4は供給された信号の
うち最小値を記憶するようになっている。例えば221
(190+31)、218(190+28)、216
(190+26)、217(190+27)、225
(190+35)のデータがサンプリングされたとする
と先ず、221を最大値レジスタに書き込む。次に22
1(X)と218(Y)を比較し、Xの方が大きければ
そのまま、Yの方が大きければレジスタ内容を書き換え
るようにする。
The maximum value detection circuit 3 stores the maximum value of the supplied signals, and the minimum value detection circuit 4 stores the minimum value of the supplied signals. For example, 221
(190 + 31), 218 (190 + 28), 216
(190 + 26), 217 (190 + 27), 225
If (190 + 35) data is sampled, first, 221 is written in the maximum value register. Then 22
1 (X) and 218 (Y) are compared, and if X is larger, the contents are rewritten, and if Y is larger, the register contents are rewritten.

【0014】次に221(X)と218(Y)を比較
し、221(X)と225(Y)を比較した後は225
(X)になる。最小値も小さい方を残すように同様のこ
とを行う。記憶した値はこの場合であると、Ta時間保
持し、記録媒体に書き込んだ後にクリアし、次のTa時
間、別の値を保持する。これをリアルタイムで行うには
図1のバッファメモリ2を2個持ち、ダブルバッファ構
成にする。
Next, 221 (X) and 218 (Y) are compared, 221 (X) and 225 (Y) are compared, and then 225.
It becomes (X). The same is done so that the smallest minimum value remains. In this case, the stored value is held for Ta time, cleared after writing to the recording medium, and held for another value for the next Ta time. In order to do this in real time, two buffer memories 2 shown in FIG.

【0015】最大値検出回路3の出力と最小値検出回路
4の出力は減算回路7に供給されその差がビット数変換
回路8に供給される。ビット数変換回路8は最大値と最
小値の差のデータを表現するために必要なビット数を求
め、マルチプレクサ5に供給する。
The output of the maximum value detection circuit 3 and the output of the minimum value detection circuit 4 are supplied to the subtraction circuit 7, and the difference is supplied to the bit number conversion circuit 8. The bit number conversion circuit 8 finds the number of bits required to express the data of the difference between the maximum value and the minimum value, and supplies it to the multiplexer 5.

【0016】バッファメモリ2の出力は減算回路9にお
いて、最小値すなわち直流分を減算する事によって変化
分のみをマルチプレクサ5に供給する。また、最小値検
出回路4の出力もマルチプレクサ5に供給される。な
お、直流分はTa時間内の最小値として定義される。
The output of the buffer memory 2 is supplied to the multiplexer 5 with only the changed amount by subtracting the minimum value, that is, the direct current component in the subtraction circuit 9. The output of the minimum value detection circuit 4 is also supplied to the multiplexer 5. The DC component is defined as the minimum value within Ta time.

【0017】次にこの方法による効果の実例について説
明する。今、ICメモリ使用の留守番電話があるとし、
その動作条件をA/D変換ビット数を12ビット、A/
D変換スピードを20KHz、使用メモリを1Mビット
DRAM(2000円)、録音時間を5分とする。
Next, an example of the effect of this method will be described. Now that you have an answering machine that uses IC memory,
The operating condition is A / D conversion bit number 12 bits, A / D
The D conversion speed is 20 KHz, the memory used is 1 Mbit DRAM (2000 yen), and the recording time is 5 minutes.

【0018】従来の方法で前記条件を満たすのに必要な
メモリの個数を計算する(計算アルゴリズムなどは考慮
せず、単純に容量で計算する)と、メモリ1個あたり記
録できる時間は次ぎのようになる。 1048576ビット÷12ビット÷20KHz=4.37秒
When the number of memories required to satisfy the above conditions is calculated by the conventional method (calculation is simply performed by the capacity without considering the calculation algorithm etc.), the time that can be recorded per memory is as follows. become. 1048576 bits / 12 bits / 20 KHz = 4.37 seconds

【0019】したがって5分間で必要な個数は次のよう
になる。 300秒÷4.37秒=69個(13万8千円) 電話での話は、人によって大きい声の人、小さい声の
人、たてつづけにしゃべる人、間をおいて話す人など、
さまざまであり、本手法に関係する要因の変動が大きい
ため一義的に圧縮量は決まらない。
Therefore, the required number in 5 minutes is as follows. 300 seconds ÷ 4.37 seconds = 69 (138,000 yen) Depending on the person, a loud voice, a low voice, a person who speaks upright, a person who speaks at intervals, etc.
There are various types, and the amount of compression cannot be uniquely determined because the factors related to this method vary greatly.

【0020】実際に調べてみると、普通の会話で無音の
時間が約1/5、声の大きさが平均で1/2で、全体か
ら見ると2/5に圧縮される。そうすると同じ容量のメ
モリを持てば、2.5倍の12.5分間録音できる。ま
た録音時間を5分とすればメモリ容量は2/5の28個
(5万6千円)と半分以下になる。したがって必要なス
ペースもバッファメモリ、最大値検出などの回路を含め
ても半分程度になる。
When actually examined, the silent period in a normal conversation is about ⅕, the volume of voice is ½ on average, and it is compressed to ⅕ as a whole. Then, if you have the same amount of memory, you can record 2.5 times as much as 12.5 minutes. Also, if the recording time is 5 minutes, the memory capacity is 28, which is 2/5 (56,000 yen), which is less than half. Therefore, the required space is about half even if the buffer memory and the circuit for maximum value detection are included.

【0021】[0021]

【発明の効果】以上説明したように本発明は、変化分と
直流分を切り放して記録するようにしたので、少ないビ
ット数であっても信号の品質を全く損なわずに、圧縮記
録することが可能である。
As described above, according to the present invention, since the variation and the DC component are separated and recorded, even if the number of bits is small, it is possible to perform the compression recording without impairing the signal quality. It is possible.

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

【図1】本発明の一実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】入力波形を示すグラフFIG. 2 is a graph showing an input waveform

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

1 A/D変換回路 2 バッファメモリ 3 最大値検出回路 4 最小値検出回路 5 マルチプレクサ 6 記録媒体 7,9 減算器 8 ビット数変換器 1 A / D conversion circuit 2 Buffer memory 3 Maximum value detection circuit 4 Minimum value detection circuit 5 Multiplexer 6 Recording medium 7, 9 Subtractor 8 bit number converter

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/92 H 8324−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 5/92 H 8324-5C

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アナログ信号をデジタル信号に変換する
A/D変換器と、 所定時間にわたりデジタル信号をサンプリングタイミン
グ毎に記憶するバッファメモリと、 前記所定時間内の最大値を記憶する最大値検出回路と、 前記所定時間内の最小値を記憶する最小値検出回路と、 前記最大値と最小値の差から変化分および直流分の記憶
に必要なビット数を決定するビット数変換回路と、 決定されたビット数によってバッファメモリ中の変化分
および直流分を選択して記録媒体に記録するマルチプレ
クサとから構成される信号の圧縮記録装置。
1. An A / D converter for converting an analog signal into a digital signal, a buffer memory for storing a digital signal for each sampling timing over a predetermined time period, and a maximum value detection circuit for storing a maximum value within the predetermined time period. A minimum value detection circuit that stores the minimum value within the predetermined time, and a bit number conversion circuit that determines the number of bits required to store the variation and the DC component from the difference between the maximum value and the minimum value, A signal compression recording apparatus comprising a multiplexer for selecting a change component in a buffer memory and a direct current component according to the number of bits and recording it on a recording medium.
JP3153837A 1991-05-30 1991-05-30 Compressing and recording device for signal Pending JPH05158499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3153837A JPH05158499A (en) 1991-05-30 1991-05-30 Compressing and recording device for signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3153837A JPH05158499A (en) 1991-05-30 1991-05-30 Compressing and recording device for signal

Publications (1)

Publication Number Publication Date
JPH05158499A true JPH05158499A (en) 1993-06-25

Family

ID=15571182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3153837A Pending JPH05158499A (en) 1991-05-30 1991-05-30 Compressing and recording device for signal

Country Status (1)

Country Link
JP (1) JPH05158499A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5858680A (en) * 1981-10-05 1983-04-07 Dainippon Screen Mfg Co Ltd Data processing method using look-up table memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5858680A (en) * 1981-10-05 1983-04-07 Dainippon Screen Mfg Co Ltd Data processing method using look-up table memory

Similar Documents

Publication Publication Date Title
KR20000029500A (en) Selective recall and preservation of continuously recorded data
JPS58165443A (en) Encoded storage device of signal
US5448679A (en) Method and system for speech data compression and regeneration
US4910780A (en) Audio signal recording and reproducing apparatus utilizing digital data compression and extension
US6480550B1 (en) Method of compressing an analogue signal
JPS5938999A (en) Storage device of analog signal
JPH05158499A (en) Compressing and recording device for signal
JPH09147472A (en) Video and audio reproducing device
US5842171A (en) Audio signal processor
KR950013375B1 (en) Signal compression recording and reproducing restoration method
US7221305B2 (en) Apparatus and method for converting an analog audio signal into digital data
JPH08292790A (en) Video tape recorder
US20020004722A1 (en) Voice speed converting apparatus
TW317633B (en) Audio frequency slope threshold sampling recording/playing method and device thereof
KR100194659B1 (en) Voice recording method of digital recorder
JPH08289305A (en) Image data compression and expansion system
JPH07199998A (en) Compressing and expanding device for speech signal
JP2508483B2 (en) Digital image signal buffering device
KR840002113B1 (en) Sound synthetic system
JP2826897B2 (en) Motion compensation circuit
JPS59216195A (en) Voice processing system
KR100246786B1 (en) Window recording and reproducing device using an ic card
JPS6143883A (en) Sound signal recording method
JPH05265500A (en) Information signal recording device
JPS59195307A (en) Recording system of sound information