JPS58156239A - Broken line compression/expansion circuit - Google Patents
Broken line compression/expansion circuitInfo
- Publication number
- JPS58156239A JPS58156239A JP3798682A JP3798682A JPS58156239A JP S58156239 A JPS58156239 A JP S58156239A JP 3798682 A JP3798682 A JP 3798682A JP 3798682 A JP3798682 A JP 3798682A JP S58156239 A JPS58156239 A JP S58156239A
- Authority
- JP
- Japan
- Prior art keywords
- range
- compression
- broken line
- bits
- bit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G7/00—Volume compression or expansion in amplifiers
- H03G7/007—Volume compression or expansion in amplifiers of digital or coded signals
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
- Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
本発明は、PCM信号の記録または伝送系に−ふいて、
咳偏号の圧縮および伸張を行なう回路に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a PCM signal recording or transmission system.
This invention relates to a circuit that compresses and expands cough eccentricity.
PCM信号の圧縮伸張方法は種々の方法が提(
案されているが、一般には設計が容易で、回路が簡単な
折線による方法が用いらnている。Various methods have been proposed for compressing and expanding PCM signals, but generally a broken wire method is used, which is easy to design and has a simple circuit.
111図はその5折線の場合の圧縮回路の構成図であり
、第3図は圧縮特性図である。第1図において、6はシ
フトレジスタ、46および47はレベル比較器、48は
デコーダを示している。FIG. 111 is a configuration diagram of the compression circuit in the case of the five-fold line, and FIG. 3 is a compression characteristic diagram. In FIG. 1, 6 is a shift register, 46 and 47 are level comparators, and 48 is a decoder.
斯る構成において入力端子1に加えられたデジタルデー
タのうち、最上位の符号ビットはライン51を通して出
力端子2にそのまま出力される。残りの下位ビットはシ
フトレジスタ6及びレベル比較器46.47に入力され
る。レベル比較器4447 Kは、それぞれレンジ(1
)とレンジ(2)の境界の値及びレンジ(2)とレンジ
(53の境界の値が与えられており、それぞれの値と入
力データとの大小を判別する。そして、その出力をデコ
ーダ48を通すことによって入力データがどのレンジに
あるかを示すレンジビットを得る。レンジビ。In such a configuration, the most significant sign bit of the digital data applied to the input terminal 1 is outputted as is to the output terminal 2 through the line 51. The remaining lower bits are input to shift register 6 and level comparators 46 and 47. The level comparators 4447K each have a range (1
) and the boundary value of range (2) and the boundary value of range (2) and range (53) are given, and the magnitude of each value and the input data is determined.Then, the output is sent to the decoder 48. By passing the range bit, you get the range bit that indicates which range the input data is in. Range bit.
トはレンジビット出力端子5より出力される。The bit is output from the range bit output terminal 5.
さらに、レンジビットはシフトレジスタ6に与えられ、
入力データをレンジに応じてシフトさせ、下位ビットを
切捨てる。伸張する場合には上記レンジビットを用い、
切捨ての場合とは逆にシフトさせて行なう。なお、一般
のシフトレジスタにおいては、圧縮の場合左シフトを行
ない、伸張の場合は右シフトを行なう。Furthermore, the range bit is given to the shift register 6,
Shifts the input data according to the range and truncates the lower bits. When expanding, use the above range bit,
This is done by shifting in the opposite way to truncation. Note that in a general shift register, a left shift is performed for compression, and a right shift is performed for expansion.
このよ6な従来の方法では、出力が同じでも入力が異な
る場合つまり入力信号と圧縮信号が1対1に対応してい
ない場合があり、この場合ある圧縮信号に対して入力信
号を確立することができず、正しい伸張ができな(なる
。これを是正するために、別にレンジビットを設けて入
力データがどのレンジにあるかを記憶させている。In these six conventional methods, there are cases where the output is the same but the input is different, that is, the input signal and the compressed signal do not correspond one-to-one.In this case, it is necessary to establish the input signal for a certain compressed signal. In order to correct this, a separate range bit is provided to store the range of the input data.
しかし、この方法では、複雑な折線圧縮を行なう場合に
はレンジビットが多く必要となり、また全てのデータを
効率よく使おうとすれば折線の切換点が決まってしまう
。これらの点は、なるべく少ない容量で記録又は伝送し
ようとする場合に閘題となる。However, with this method, a large number of range bits are required when performing complicated polygonal line compression, and the switching point of the polygonal line is determined if all data is to be used efficiently. These points become issues when recording or transmitting data with as little capacity as possible.
本発明の目的は、上記した従来技術の欠点をなくシ、複
雑な折線圧縮伸張を少ない容量で効率よく記録又は伝送
できる折線圧縮伸張回路を提供するにある。SUMMARY OF THE INVENTION An object of the present invention is to eliminate the drawbacks of the prior art described above and to provide a polygonal compression/expansion circuit that can efficiently record or transmit complex polygonal compression/expansion with a small capacity.
本発明は、圧縮したデータにオフセットを与えることに
よって圧縮したデータが入力と1対1に対応するように
し、レンジビットを用いないで効率よく折線圧縮伸張を
行なうようにしたものである。The present invention provides an offset to the compressed data so that the compressed data has a one-to-one correspondence with the input, and efficiently performs polygonal compression/expansion without using range bits.
以下、本発明の実施例を14ビ、トのデータを5折線で
15ビ、トに圧縮する場合について説明する。@2図は
本発明の実施例を示す構成図、′84図はその圧縮特性
図である。第2図において、7は加算器、11は記憶回
路(ROM)であるO
次にその動作について説明する。第2図において、シフ
トレジスタ6及びレベル比較@4447デコーダー48
よりなる部分はg1図の回路と同じ動作をする。加算器
6は、ROMjlに記憶されているレンジに応じたオフ
セット量をデータに加えるためのものである。 −
表1に圧縮の例を示す。ただし、表1では符号ビットは
無視している。Hereinafter, an embodiment of the present invention will be described in which 14-bit data is compressed into 15-bit data using a 5-fold line. Figure 2 is a block diagram showing an embodiment of the present invention, and Figure '84 is its compression characteristic diagram. In FIG. 2, 7 is an adder, and 11 is a memory circuit (ROM).Next, the operation thereof will be explained. In FIG. 2, shift register 6 and level comparison @4447 decoder 48
These parts operate in the same way as the circuit in figure g1. The adder 6 is for adding an offset amount according to the range stored in the ROMjl to the data. - Table 1 shows examples of compression. However, in Table 1, the sign bit is ignored.
(以下余白)
オフセット量を適当に選ぶことによって(実施例ではそ
れぞfi Q、 512.2048) 、圧縮されたデ
ータが連続につながるようにする。このオフセット量は
折線の境界が変わればそれに応じて変わる。データのシ
フト及びオフセット加算は表1の変換式によって行なわ
nる。入力データがレンジ(1)にあると判断された場
合にはそのまま出力される。゛レンジ(2)にあると判
断された場合には、入力データを1ビ、トシフトさせて
最下位のビットを切捨てさらにオフセy ) ’ 51
2・を加えて出力する。レンジ(3)にあると判断され
た場合には、入力データを2ビ、トシフトさせて下位の
2ビ、トを切捨てさらにオフセ、 )@2048を加え
て出力する。伸張の場合は、この逆の動作を行なえばよ
い。すなわち、オフセット減算及びデータシフト(圧縮
の場合と逆方向)を行なえばよい。(The following is a margin) By appropriately selecting the offset amount (in the embodiment, fi Q, 512.2048), the compressed data is made to be continuous. This amount of offset changes as the boundary of the broken line changes. Data shifting and offset addition are performed using the conversion formula shown in Table 1. If it is determined that the input data is in range (1), it is output as is. If it is determined that it is in range (2), shift the input data by 1 bit, truncate the least significant bit, and further offset) ' 51
Add 2. and output. If it is determined that it is in range (3), the input data is shifted by 2 bits, the lower 2 bits are truncated, and the offset, )@2048 is added and output. In the case of expansion, the opposite operation can be performed. That is, offset subtraction and data shift (in the opposite direction to compression) may be performed.
このように、入力データと圧縮されたデータが1対1で
対応するために、レンジビットを必要とせず、折縁の切
換点も任意に設定することができる。In this way, since there is a one-to-one correspondence between the input data and the compressed data, there is no need for a range bit, and the edge switching point can be set arbitrarily.
以上述べたように、本発明はレンジビットを用いる必要
がなく、かつ折線の切換点を任意に設定でき、効率よく
データを圧縮できる。As described above, the present invention does not require the use of range bits, can arbitrarily set the switching point of the broken line, and can efficiently compress data.
第1図は従来の実施例を示す構成図、第2図は本発明の
実施例を示す折線圧縮回路の構成図、第3図は従来の折
線圧伸方式の圧縮特性図、第4図は本発明の折線圧伸方
式の圧縮特性図である0
5・・・シフトレジスタ
47・・・レベル比較器
9・・・加算器
10・・・記憶回路(ROM)
代理人弁理志 薄 1)−゛%−1
糖1閉
一’<t
mJAz図FIG. 1 is a block diagram showing a conventional embodiment, FIG. 2 is a block diagram of a broken line compression circuit showing an embodiment of the present invention, FIG. 3 is a compression characteristic diagram of a conventional broken line companding method, and FIG. 0 which is a compression characteristic diagram of the broken line companding method of the present invention 5...Shift register 47...Level comparator 9...Adder 10...Memory circuit (ROM)゛%-1 Sugar 1 closed 1'<t mJAz diagram
Claims (1)
して復調時に再び罵ビットの信号に伸張するデジタル圧
縮伸張回路において、入力信号と折線の境界値とを比較
する複数のレベル比較器と、咳レベル比較器の出力に応
じて入力信号がどのレンジにあるかを判断するデコーダ
と、該デコーダによって判断されたレンジに応じて上記
入力信号をビットシフトさせるシフトレジスタと、上記
デコーダによって判断されたレンジに応じて圧縮時には
圧縮されたデータが連続になるように上記シフトレジス
タの出力信号にオフセットを加算し伸張時にはそのオフ
セットを減算する手段よりなることを特徴とする折線圧
縮伸張回路。In a digital compression/expansion circuit that compresses a signal with quantization bits into bits, transmits it, and expands it again into a signal with bits during demodulation, multiple level comparisons are performed to compare the input signal with the boundary value of the broken line. a decoder that determines which range the input signal is in according to the output of the cough level comparator; a shift register that bit-shifts the input signal according to the range determined by the decoder; The linear compression/expansion circuit is characterized by comprising means for adding an offset to the output signal of the shift register so that the compressed data becomes continuous during compression and subtracting the offset during expansion according to the determined range.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3798682A JPS58156239A (en) | 1982-03-12 | 1982-03-12 | Broken line compression/expansion circuit |
| US06/368,868 US4682152A (en) | 1981-04-20 | 1982-04-15 | Digital data companding |
| EP82301972A EP0063485B1 (en) | 1981-04-20 | 1982-04-16 | Digital data companding |
| DE8282301972T DE3279093D1 (en) | 1981-04-20 | 1982-04-16 | DIGITAL DATA COMPANDING |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3798682A JPS58156239A (en) | 1982-03-12 | 1982-03-12 | Broken line compression/expansion circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS58156239A true JPS58156239A (en) | 1983-09-17 |
Family
ID=12512888
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3798682A Pending JPS58156239A (en) | 1981-04-20 | 1982-03-12 | Broken line compression/expansion circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58156239A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60253323A (en) * | 1984-05-30 | 1985-12-14 | Toshiba Corp | Companding processing circuit |
| JPH03155220A (en) * | 1989-11-14 | 1991-07-03 | Matsushita Electric Ind Co Ltd | Data compressor and data expander |
| JPH0650305U (en) * | 1993-09-06 | 1994-07-08 | 北陸電気工業株式会社 | Variable resistor for high voltage |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54118761A (en) * | 1978-03-08 | 1979-09-14 | Chino Works Ltd | Digital linealizer |
-
1982
- 1982-03-12 JP JP3798682A patent/JPS58156239A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54118761A (en) * | 1978-03-08 | 1979-09-14 | Chino Works Ltd | Digital linealizer |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60253323A (en) * | 1984-05-30 | 1985-12-14 | Toshiba Corp | Companding processing circuit |
| JPH03155220A (en) * | 1989-11-14 | 1991-07-03 | Matsushita Electric Ind Co Ltd | Data compressor and data expander |
| JPH0650305U (en) * | 1993-09-06 | 1994-07-08 | 北陸電気工業株式会社 | Variable resistor for high voltage |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0645950A (en) | Apparatus and method for generation of signal | |
| JPH06104767A (en) | Variable length code decoder | |
| JPH0485621A (en) | rounding device | |
| JPH02283186A (en) | Non-breaking and no-loss picture code apparatus | |
| JP3410629B2 (en) | Variable length coding circuit and variable length coding method | |
| US5832037A (en) | Method of compressing and expanding data | |
| JPH046289B2 (en) | ||
| US4866440A (en) | Method for compressing and restoring data series and apparatus for realizing same | |
| JPS58156239A (en) | Broken line compression/expansion circuit | |
| US4682152A (en) | Digital data companding | |
| EP0102608A2 (en) | Expansion circuit for digital signals | |
| JPH01256278A (en) | Prediction coding system | |
| US4037226A (en) | Pulse code modulation compressor | |
| JP2552102B2 (en) | Digital data for-matching / defo-matching circuit | |
| JP3014330B2 (en) | Denormalization apparatus for multi-channel audio decoder and denormalization method used therefor | |
| JPH0472421B2 (en) | ||
| JP3166218B2 (en) | Data compression / expansion apparatus and electronic musical instrument using the same | |
| JPH0372723A (en) | Broken line compression/expansion circuit | |
| JP2002271207A (en) | Data conversion device, data compression device and data extension device | |
| JPS6226101B2 (en) | ||
| US5361066A (en) | Data processing device using data correlation | |
| JPH0214821B2 (en) | ||
| JP3095558B2 (en) | Variable length coded data decoding circuit device and decoding method | |
| JPH0348774Y2 (en) | ||
| JPH0229254B2 (en) | SHINGODENSOHOSHIKI |