JPH04273723A - Method and circuit for data conversion - Google Patents

Method and circuit for data conversion

Info

Publication number
JPH04273723A
JPH04273723A JP5793091A JP5793091A JPH04273723A JP H04273723 A JPH04273723 A JP H04273723A JP 5793091 A JP5793091 A JP 5793091A JP 5793091 A JP5793091 A JP 5793091A JP H04273723 A JPH04273723 A JP H04273723A
Authority
JP
Japan
Prior art keywords
data
circuit
output
compressed
maximum 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
JP5793091A
Other languages
Japanese (ja)
Inventor
Nobuo Hamamoto
信男 浜本
Tadashi Onishi
忠志 大西
Minoru Nagata
永田 穰
Hidehito Obayashi
大林 秀仁
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 JP5793091A priority Critical patent/JPH04273723A/en
Priority to DE69113153T priority patent/DE69113153T2/en
Priority to EP95100867A priority patent/EP0658863A3/en
Priority to EP91111478A priority patent/EP0467208B1/en
Priority to KR1019910011773A priority patent/KR100204720B1/en
Publication of JPH04273723A publication Critical patent/JPH04273723A/en
Priority to US08/446,278 priority patent/US6282611B1/en
Priority to US09/886,368 priority patent/US20010037431A1/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To offer a data conversion system and a data conversion circuit from which high fidelity can be obtained with simple configuration in data in which the amplitude and frequency distribution of an acoustic signal, etc., are comparatively moderated. CONSTITUTION:Difference D3 between input data D1 outputted from an ADC and one preceding sampling data stored in a register is found at a subtraction circuit and subtraction output is compared with data D4 in which the maximum value of a code to be compressed i.e., all the low-order eight bits are 1s by a comparator, and a selector is controlled by comparison output, and when the subtraction output is larger than the above maximum value D4, the maximum value data d 4(11...1) of the code to be compressed is outputted, and when the subtraction output is less than the maximum value D4, data d 3 of low-order eight bits of the subtraction output is outputted. The one preceding sampling data is updated by an adder and the register.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、データ変換方式とデ
ータ変換回路に関し、例えばディジタル・オーディオ回
路に利用して有効な技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data conversion system and a data conversion circuit, and relates to a technique effective for use in, for example, digital audio circuits.

【0002】0002

【従来の技術】ディジタル・オーディオでは、録音時間
を長くするため等に符号の圧縮化が行われる。音響信号
の振幅や周波数分布は時間とともに比較的穏やかである
が大幅に変化する。そこで、近傍の信号の性質に応じて
量子化ステップ幅を変化させる符号化として適応型PC
M(APCM)がある。この適応型PCMでは、直前の
標本の量子化値の振幅に応じて量子化ステップ幅を変化
させる。また、適応型差分PCMは、差分PCMに適応
型ステップ幅を導入したものであり、信号の直接量子化
をするのではなく、予測値との差分を適用量子化する。 そして、ΔMは、信号を1ビットで量子化する符号化方
法である。この方法は、信号が急激に変化すると歪みが
大きくなる。これに対して適応型ΔMは、量子化ステッ
プ幅を同じ符号が続く場合には増大させ、反転する場合
には小さくさせる。このような符号変換技術に関しては
、日本オーディオ協会編、オーム社1987年7月25
日発行『ディジタルオーディオ辞典』頁26〜頁28が
ある。
2. Description of the Related Art In digital audio, codes are compressed in order to lengthen the recording time. The amplitude and frequency distribution of acoustic signals change relatively gently but significantly over time. Therefore, adaptive PC is used as an encoding method that changes the quantization step width according to the properties of nearby signals.
There is M (APCM). In this adaptive PCM, the quantization step width is changed depending on the amplitude of the quantized value of the immediately preceding sample. In addition, adaptive differential PCM is a differential PCM in which an adaptive step width is introduced, and instead of directly quantizing the signal, the difference between the signal and the predicted value is quantized. ΔM is an encoding method that quantizes a signal using 1 bit. This method results in large distortions when the signal changes rapidly. On the other hand, the adaptive ΔM increases the quantization step width when the same sign continues, and decreases it when the sign is reversed. Regarding such code conversion technology, please refer to the Japan Audio Association, ed., Ohmsha, July 25, 1987.
``Digital Audio Dictionary'' published by Japan, pages 26 to 28.

【0003】0003

【発明が解決しようとする課題】上記適用型PCM、適
応型差分PCM及び適応型ΔMでは、いずれもステップ
幅を変化させるための乗算回路が必要となり、マイクロ
コンピュータやディジタル・シグナル・プロセッサとい
ったような複雑な回路が必要となり、回路規模が大きく
なるという欠点がある。また、ΔMでは量子化歪みが大
きく忠実度に欠けるという欠点がある。この発明の目的
は、簡単な構成により高い忠実度が得られるデータ変換
方式とデータ変換回路を提供することにある。この発明
の前記ならびにそのほかの目的と新規な特徴は、本明細
書の記述および添付図面から明らかになるであろう。
[Problems to be Solved by the Invention] The above-mentioned adaptive PCM, adaptive differential PCM, and adaptive ΔM all require a multiplication circuit to change the step width. This has the disadvantage that a complicated circuit is required and the circuit scale becomes large. Further, ΔM has the disadvantage that quantization distortion is large and fidelity is lacking. An object of the present invention is to provide a data conversion method and data conversion circuit that can obtain high fidelity with a simple configuration. The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

【0004】0004

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば、下
記の通りである。すなわち、1つ前のサンプリングデー
タと入力されたデータとの差分を求め、差分が圧縮され
る符号の最大値より大きい場合には最大値を出力し、小
さい場合には減算結果を出力させて圧縮されたデータを
得る。また、入力データとレジスタに記憶された1つ前
のサンプリングデータとの差分を減算回路により求め、
その減算出力と圧縮される符号の最大値とをコンパレー
タにより比較して、その比較出力によりセレクタを制御
して、減算出力が上記最大値より大きいときにはその最
大値を出力させ、減算出力が上記最大値より小さいとき
には減算出力を出力させる回路を用いる。
[Means for Solving the Problems] A brief overview of typical inventions disclosed in this application is as follows. In other words, the difference between the previous sampling data and the input data is calculated, and if the difference is larger than the maximum value of the code to be compressed, the maximum value is output, and if it is smaller, the subtraction result is output and compressed. Obtain the data. In addition, the difference between the input data and the previous sampling data stored in the register is calculated using a subtraction circuit,
The subtraction output is compared with the maximum value of the code to be compressed by a comparator, and the selector is controlled by the comparison output to output the maximum value when the subtraction output is larger than the above maximum value. When it is smaller than the value, a circuit is used that outputs a subtracted output.

【0005】[0005]

【作用】上記した手段によれば、音響信号の振幅や周波
数分布は時間とともに比較的穏やかであるで、上記のよ
うなデータ変換方式を用いることより忠実度の高いデー
タ圧縮及び伸長を行うことができる。そして、このデー
タ圧縮や伸長は、減算回路、加算回路、コンパレータ及
びレジスタといった簡単な論理回路の組み合わせにより
実現できる。
[Operation] According to the above-mentioned means, the amplitude and frequency distribution of the acoustic signal are relatively stable over time, and data compression and expansion with higher fidelity can be achieved by using the data conversion method as described above. can. This data compression and expansion can be realized by a combination of simple logic circuits such as a subtraction circuit, an addition circuit, a comparator, and a register.

【0006】[0006]

【実施例】図1には、この発明に係るデータ変換方式に
より構成されたデータ変換回路の一実施例のブロック図
が示されている。特に制限されないが、この実施例のデ
ータ変換回路は、アナログ信号を16ビットからなるデ
ィジタルデータに変換させるとともに、それを8ビット
からなるディジタルデータに圧縮して出力させる回路に
向けられている。アナログ信号Vinは、アナログ/デ
ィジタル変換回路ADCに入力されて、ここでnビット
(例えば上記のように16ビット)からなるディジタル
データに変換される。この実施例では、上記ディジタル
変換された16ビットのデータをm(例えば8ビット)
のデータに圧縮させるために、次のような回路が用いら
れる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a block diagram of an embodiment of a data conversion circuit constructed using a data conversion method according to the present invention. Although not particularly limited, the data conversion circuit of this embodiment is intended for a circuit that converts an analog signal into 16-bit digital data, compresses it into 8-bit digital data, and outputs it. The analog signal Vin is input to the analog/digital conversion circuit ADC, where it is converted into digital data consisting of n bits (for example, 16 bits as described above). In this embodiment, the digitally converted 16-bit data is converted into m (for example, 8 bits)
In order to compress the data into , the following circuit is used.

【0007】減算器の一方の入力には上記ディジタル変
換された16ビットのデータD1が入力される。減算器
の他方の入力にはレジスタに記憶された16ビットのデ
ータD2が入力される。このレジスタに記憶された16
ビットのデータD2は、後述するように1つ前のサンプ
リングデータとされる。減算器は、上記ディジタル変換
された入力データD1からレジスタに記憶させられた1
つ前のサンプリングデータD2を減算して、その差分(
D1−D2)のデータD3を出力させる。この差分のデ
ータCは、コンパレータの一方の入力Bに供給される。 コンパレータの他方の入力Aには、圧縮される8ビット
のデータの最大値に対応したデータD4が供給される。 このデータD4は、同図のように0000000011
111111の16ビットからなり、下位8ビット(m
)が全て1のデータ(十進法で255)である。
The digitally converted 16-bit data D1 is input to one input of the subtracter. The 16-bit data D2 stored in the register is input to the other input of the subtracter. 16 stored in this register
The bit data D2 is the previous sampling data, as will be described later. The subtracter extracts 1 stored in the register from the digitally converted input data D1.
The previous sampling data D2 is subtracted and the difference (
D1-D2) data D3 is output. This difference data C is supplied to one input B of the comparator. The other input A of the comparator is supplied with data D4 corresponding to the maximum value of the 8-bit data to be compressed. This data D4 is 0000000011 as shown in the same figure.
It consists of 16 bits of 111111, and the lower 8 bits (m
) is all 1 data (255 in decimal notation).

【0008】コンパレータは、入力端子AとBに供給さ
れたデータD3とD4の大小比較を行い、B>A(D3
>D4)のときにはハイレベルの出力信号を形成し、A
>Bならロウレベルの出力信号を形成する。このコンパ
レータの出力信号は、セレクタ選択信号として用いられ
る。セレクタの一方の入力Aには、上記圧縮される8ビ
ットからなる最大値データd4(11111111)が
入力されており、入力Bには上記差分のデータD3のう
ちの下位8ビット分のデータd3が入力されている。こ
のセレクタは、上記コンパレータの出力信号がハイレベ
ルなら、言い換えるならば、上記減算データD3がD4
より大きいときには、入力Aの最大値データd4を選択
して出力させ、上記コンパレータの出力信号がロウレベ
ルなら、言い換えるならば、上記減算データD3がD4
より小さいときには、入力Bに供給される減算出力の下
位8ビットのデータd3を出力させる。
The comparator compares the magnitude of data D3 and D4 supplied to input terminals A and B, and B>A(D3
>D4), a high level output signal is formed, and A
>B, a low level output signal is formed. The output signal of this comparator is used as a selector selection signal. The maximum value data d4 (11111111) consisting of 8 bits to be compressed is input to one input A of the selector, and the data d3 for the lower 8 bits of the difference data D3 is input to the input B. It has been entered. In other words, if the output signal of the comparator is at a high level, this selector selects that the subtraction data D3 is D4.
When the value is larger than that, the maximum value data d4 of the input A is selected and outputted, and if the output signal of the comparator is at a low level, in other words, the subtraction data D3 is equal to D4.
When it is smaller, data d3 of the lower 8 bits of the subtraction output supplied to input B is output.

【0009】上記セレクタの出力信号d5は、特に制限
されないが、メモリ回路にいったん記憶させ、それを読
み出して圧縮された8ビットのディジタルデータDou
tとして出力させられる。上記セレクタの出力信号d5
は、加算器の一方の入力に供給される。この加算器の他
方の入力には、上記レジスタの出力データD2が供給さ
れる。これにより、加算器はレジスタに記憶された1つ
前のサンプリングデータD2に、上記セレタクから出力
された圧縮されたデータd5とを加算して、次に入力さ
れるデータD1に対して1つ前とされる更新されたサン
プリングデータD2’を形成してレジスタに記憶させる
。このように、レジスタと加算器により次のサンプリン
グデータを生成させることにより、累積誤差を防止させ
ることができる。以下、上記同様な繰り返しにより16
ビット(nビット)の入力データD1を、8ビット(m
ビット)に圧縮させられたデータd5に変換するもので
ある。
The output signal d5 of the selector is, although not particularly limited to, 8-bit digital data Dou that is once stored in a memory circuit and then read out and compressed.
It is output as t. Output signal d5 of the above selector
is fed to one input of the adder. The output data D2 of the register is supplied to the other input of this adder. As a result, the adder adds the compressed data d5 output from the selector to the previous sampling data D2 stored in the register, and adds the compressed data d5 outputted from the selector to the previous sampling data D2 stored in the register. The updated sampling data D2' is generated and stored in the register. In this way, by generating the next sampling data using the register and the adder, cumulative errors can be prevented. Hereafter, by repeating the same as above, 16
The input data D1 of bits (n bits) is converted into 8 bits (m
This is to convert the data into data d5 compressed into bits).

【0010】図2には、上記のデータ圧縮動作を伴うア
ナログ/ディジタル変換動作を説明するための波形図が
示されている。データ圧縮開始時にはレジスタのデータ
はクリア(0000000000000000)されて
いる。したがって、同図のようにアナログ信号が急減に
立ち上がると、入力ディジタル信号に対して下位8ビッ
トの最大値の累進加算動作では追従できないが、いった
ん入力ディジタル信号と1つ前のサンプリングデータと
の差分が上記圧縮データの最大値以下になると、入力信
号の変化に忠実に対応した圧縮データを得ることができ
る。音響信号では、その振幅や周波数分布は時間ととも
に比較的穏やかであるで、実用上問題のない忠実度での
データ圧縮化が可能になる。
FIG. 2 shows a waveform diagram for explaining the analog/digital conversion operation accompanied by the above data compression operation. At the start of data compression, the data in the register is cleared (0000000000000000). Therefore, when the analog signal suddenly decreases and rises as shown in the figure, it cannot be followed by the progressive addition operation of the maximum value of the lower 8 bits, but once the difference between the input digital signal and the previous sampling data When the value becomes less than the maximum value of the compressed data, compressed data that faithfully corresponds to changes in the input signal can be obtained. The amplitude and frequency distribution of acoustic signals is relatively stable over time, making it possible to compress data with a level of fidelity that is acceptable for practical use.

【0011】図3には、この発明に係るデータ変換方式
によるデータ変換回路の他の一実施例のブロック図が示
されている。この実施例では、前記実施例に対応してm
ビット(例えばは8ビット)に圧縮させられたデータを
nビット(16ビット)のデータに伸長させるとともに
アナログ信号に変換して出力させる回路に向けられてい
る。前記図1のようなデータ圧縮回路により圧縮された
データDinは、特に制限されないが、いったんメモリ
回路に記憶される。このメモリ回路から読み出されたデ
ータd5は、加算器の一方の入力に供給される。加算器
の他方の入力には、レジスタに記憶されたnビットのデ
ータD6が供給されている。加算器は上記データd5は
データD6とを加算してデータD7を形成する。このデ
ータD7は、特に制限されないが、レジスタの入力デー
タとされる。そして、上記レジスタのから出力されるデ
ータD6を伸長させられたデータとしてディジタル/ア
ナログ変換回路DACに入力して、復調されたアナログ
信号Voutを形成する。
FIG. 3 shows a block diagram of another embodiment of a data conversion circuit using the data conversion method according to the present invention. In this embodiment, m
It is intended for a circuit that expands data compressed into bits (for example, 8 bits) into n-bit (16 bits) data, converts it into an analog signal, and outputs it. The data Din compressed by the data compression circuit shown in FIG. 1 is temporarily stored in a memory circuit, although this is not particularly limited. Data d5 read from this memory circuit is supplied to one input of the adder. The other input of the adder is supplied with n-bit data D6 stored in the register. The adder adds the data d5 and data D6 to form data D7. This data D7 is input data to the register, although it is not particularly limited. The data D6 outputted from the register is inputted as expanded data to the digital/analog conversion circuit DAC to form a demodulated analog signal Vout.

【0012】データ伸長回路の動作は、次の通りである
。データ伸長動作開始時にはレジスタが前記同様にクリ
アされる。メモリ回路から読み出された圧縮データd5
は、読み出し毎に1つ前のnビットからなるレジスタの
データD6と加算されて、伸長されたデータとしてレジ
スタに記憶される。したがって、図2のような圧縮デー
タd5による変化分に従って階段状に変化する伸長デー
タを復元させることができる。
The operation of the data expansion circuit is as follows. At the start of the data expansion operation, the register is cleared in the same manner as described above. Compressed data d5 read from the memory circuit
is added to data D6 of the register consisting of the previous n bits each time it is read, and is stored in the register as expanded data. Therefore, it is possible to restore decompressed data that changes stepwise in accordance with the amount of change caused by the compressed data d5 as shown in FIG.

【0013】図4には、この発明に係るデータ変換回路
が用いられるディジタル信号受け渡しシステムの一実施
例の要部ブロック図が示されている。特に制限されない
が、ディジタル信号受け渡しシステムは、ディジタル信
号を商品化して販売することを目的としたシステムに向
けられている。すなわち、ディジタル信号の受け渡しの
1つの形態としてディジタル信号の販売がある。同図に
は、ディジタル信号販売システムのうち、端末装置のブ
ロック図が示されている。この端末装置は、タバコやジ
ュースといったような清涼飲料水の自動販売機に相当す
るものである。この端末装置は情報サーバといった役割
を果たし、特に制限されないが、広帯域ディジタル通信
回線B−ISDNを介してディジタル信号の販売元と接
続されて、商品としてのディジタル信号の受け取りを行
う。このようなシステムを採ることにより、ディジタル
信号は、上記タバコやジュースといったような商品と同
様に通信回線を通すことにより特定された端末装置に対
してのみ電送させる。この場合のディジタル信号は、上
記一般的な商品の搬送のように交通渋滞や大気汚染をも
らたすこともなく、高速にしかも大量に商品としてのデ
ータ転送をすることができる。上記端末装置は、例えば
駅売店やタバコ屋や本屋といったような商店の店先に設
置される。端末装置は、大きく分けると入力部、記憶部
及び出力部から構成され、各回路ブロックはVMEバス
により接続されてディジタル信号や、各種制御信号の授
受が行われる。この端末装置に同図で点線で示したプレ
ーヤを接続し、商品としての特定のディジタル信号が電
気信号の形態のままで受け渡される。
FIG. 4 shows a block diagram of essential parts of an embodiment of a digital signal transfer system using the data conversion circuit according to the present invention. Although not particularly limited, the digital signal delivery system is intended for systems intended to commercialize and sell digital signals. That is, one form of digital signal delivery is the sale of digital signals. This figure shows a block diagram of a terminal device in the digital signal sales system. This terminal device corresponds to a vending machine for soft drinks such as cigarettes and juice. This terminal device plays the role of an information server, is connected to a digital signal vendor via a broadband digital communication line B-ISDN, and receives digital signals as products, although this is not particularly limited. By adopting such a system, digital signals are transmitted only to specified terminal devices through communication lines, similar to the above-mentioned products such as cigarettes and juice. In this case, digital signals can transfer data in large quantities at high speed without causing traffic congestion or air pollution unlike the above-mentioned general transportation of products. The above-mentioned terminal device is installed, for example, in front of a store such as a station store, a tobacco shop, or a bookstore. A terminal device is broadly divided into an input section, a storage section, and an output section, and each circuit block is connected by a VME bus to exchange digital signals and various control signals. A player indicated by a dotted line in the figure is connected to this terminal device, and a specific digital signal as a product is delivered in the form of an electric signal.

【0014】図5には、上記端末装置の入力部のブロッ
ク図が示されている。上記端末装置の入力部は、広帯域
ディジタル通信回線B−ISDNに対応したディジタル
入力インターフェイスINFと、アナログ信号の形態で
の入力信号を受け取るアナログ入力インターフェイス(
右アナログ入力、左アナログ入力)を持つ。アナログ入
力インターフェイスは、右入力Rinと左入力Linに
対応してロウパスフィルタLPFがそれぞれ設けられ、
アナログ入力信号RinとLinに含まれる余分な周波
数帯域成分が予め除去される。そして、これらの入力信
号RinとLinは、マルチプレクサMPXを介して時
間的に交互に選択されてサンプル&ホールド回路S/H
に取り込まれ、アナログ/ディジタル変換回路ADCに
よりディジタル信号に変換される。このとき、アナログ
/ディジタル変換回路ADCからは時系列的に右チャン
ネル信号と左チャンネル信号の2チンャネル(ステレオ
)のディジタル信号が時分割的に出力され、上記ディジ
タル入力インターフェイスINFに取り込まれる。 この入力インターフェイスINFには、前記のようなデ
ータ変換回路が内蔵されてデータ圧縮が行われる。この
ようなアナログ入力インターフェイスは、例えば放送等
により送られる音楽番組や定時のニュース番組、株式情
報あるいは各種商品市況等をディジタル信号化して記憶
回路に記憶させる等のために用いられる。なお、モノラ
ル信号は、上記右又は左入力信号を用いて入力される。 音楽番組のように帯域の広い入力信号に対しては、ロウ
パスフィルタLPFの帯域を広くし、ニュース番組のよ
うに帯域の狭い入力に対してはロウパスフィルタLPF
の帯域を狭く切り換える等の機能を付加してもよい。I
NCTは、入力部コントローラであり、点線で示したN
IFは、上記B−ISDNに対応したネットワークイン
ターフェイスである。
FIG. 5 shows a block diagram of the input section of the terminal device. The input section of the terminal device includes a digital input interface INF compatible with the broadband digital communication line B-ISDN, and an analog input interface (INF) that receives input signals in the form of analog signals.
right analog input, left analog input). The analog input interface is provided with low-pass filters LPF corresponding to right input Rin and left input Lin, respectively.
Extra frequency band components included in the analog input signals Rin and Lin are removed in advance. These input signals Rin and Lin are temporally alternately selected via the multiplexer MPX and sent to the sample & hold circuit S/H.
and converted into a digital signal by an analog/digital conversion circuit ADC. At this time, two-channel (stereo) digital signals, ie, a right channel signal and a left channel signal, are output in a time-division manner from the analog/digital conversion circuit ADC in a time-divisional manner, and are taken into the digital input interface INF. This input interface INF has a built-in data conversion circuit as described above, and performs data compression. Such an analog input interface is used, for example, to convert music programs sent by broadcasting, regular news programs, stock information, various commodity market conditions, etc. into digital signals and store them in a storage circuit. Note that the monaural signal is input using the right or left input signal. For input signals with a wide band such as music programs, the band of the low-pass filter LPF is widened, and for input signals with a narrow band such as news programs, the low-pass filter LPF is used.
A function such as switching the band to a narrower one may be added. I
NCT is an input controller, and NCT is indicated by a dotted line.
IF is a network interface compatible with the above B-ISDN.

【0015】上記アナログ入力インターフェイスは、電
話回線に接続して留守番電話機からのメッセージを受け
取るようにしてもよい。この場合、端末装置に電話機能
が付加され、上記留守番電話と接続して録音されたメッ
セージを受け取るようにしてもよい。このようにアナロ
グ入力インターフェイスを用いると、メッセージの転送
時間が長くなってしまう。そこで、ディジタル回線を持
つ加入者にあっては、ディジタル式の留守番電話機によ
りメッセージをディジタル信号化して記憶させるととも
に前記のようなデータ変換回路を用いてデータ圧縮を行
えば、記録された複数のメセージを極く短い時間で受け
取ることができる。このようにすれば、出先において交
通機関等による移動中等のような任意のときに留守番電
話のメッセージを聞き取るようにすることができる。
The analog input interface may be connected to a telephone line to receive messages from an answering machine. In this case, a telephone function may be added to the terminal device, and the terminal device may be connected to the above-mentioned answering machine to receive recorded messages. Using an analog input interface in this manner increases message transfer time. Therefore, for subscribers with digital lines, if the messages are converted into digital signals and stored using a digital answering machine, and the data is compressed using the data conversion circuit as described above, multiple recorded messages can be can be received in a very short time. In this way, it is possible to listen to the message on the answering machine at any time, such as when the user is traveling by means of transportation or the like.

【0016】図6には、上記端末装置における記憶部の
一実施例のブロック図が示されている。この記憶部は、
ハードディスクメモリHDD等のような外部記憶装置と
、バッファメモリとしてのRAM(ランダム・アクセス
・メモリ)、及び上記のようなディジタル入力又はアナ
ログ入力のための情報処理フログラムや、ハードディス
クメモリHDDとのデータ授受、液晶表示装置LCDの
表示動作及び出力部に接続されるプレーヤとのデータ転
送動作等の各種プログラムが格納されたROM(リード
・オンリー・メモリ)及び上記プログラムに従った情報
処理や制御動作を行うマイクロプロセッサCPUを含む
。RAMは、特に制限されないが、約1MBの記憶容量
を持ち、ROMは約512KB(キロバイト、以下同じ
)の記憶容量を持つ。ハードディスクメモリHDDは、
特に制限されないが、約250MB(メガバイト、以下
同じ)の記憶容量を持ち、電源遮断時のバックアップメ
モリとしての機能を持つ他、多種類のディジタル信号を
格納しておくといった倉庫のような役割を果たす。 このハードディスクメモリHDDは、ハードディスクコ
ントローラHDDCを介して内部バスに接続され、マイ
クロプロセッサCPUの指示に従いデータの書き込みと
読み出しを行う。この場合、前記のようなデータ変換方
式により圧縮されたデータを記憶させるようにすれば、
例えば16ビットからなるような高音質の音響データが
8ビットデータとして記憶させることができるから記憶
容量を2倍に拡大させることができる。
FIG. 6 shows a block diagram of an embodiment of the storage section in the terminal device. This storage section is
Data exchange between external storage devices such as hard disk memory HDD, RAM (Random Access Memory) as buffer memory, information processing program for digital input or analog input as mentioned above, and hard disk memory HDD. , a ROM (read only memory) that stores various programs such as display operations of the liquid crystal display device LCD and data transfer operations with the player connected to the output section, and performs information processing and control operations according to the above programs. Contains a microprocessor CPU. The RAM has a storage capacity of approximately 1 MB, although it is not particularly limited, and the ROM has a storage capacity of approximately 512 KB (kilobytes, hereinafter the same). Hard disk memory HDD is
Although not particularly limited, it has a storage capacity of approximately 250 MB (megabytes, the same hereinafter), functions as a backup memory when the power is cut off, and also plays a role like a warehouse by storing many types of digital signals. . This hard disk memory HDD is connected to an internal bus via a hard disk controller HDDC, and writes and reads data according to instructions from a microprocessor CPU. In this case, if you store data compressed using the data conversion method described above,
For example, since high-quality audio data consisting of 16 bits can be stored as 8-bit data, the storage capacity can be doubled.

【0017】LCDは、液晶表示装置であり、情報メニ
ューの表示、操作指示等を表示するために用いられる。 その表面はタッチキー機能が付加されて、表示メニュー
の選択や、表示切り換え等を行う。例えば、プレーヤを
差し込むと、表示画面に最初に表示される情報メニュー
として、1.音楽、2.ニュース、3.天気予報、4.
株式市況、5.朗読等が表示される。そして、その中の
1つ、例えば2.ニュースを指定すると画面が切り替わ
り、1.NHK、2.FEN、3.交通情報、4.スポ
ーツニュース等の表示が行われる。そして、希望するニ
ュース番組を指定することにより、それに対応したディ
ジタル信号をプレーヤが受け取る。例えば、1.音楽の
場合には、クラシック、ポピューラー、歌謡曲、ジャズ
といってような音楽ジャンルが表示され、音楽ジャンル
を選択すると販売可能な曲名が表示される。この曲情報
は、特に制限されないが、ROM又はハードディスクメ
モリの特定のエリアに格納させておくものとする。ハー
ドディスクメモリHDDに該当曲が無いときには、上記
通信回線B−ISDNを介してディジタル信号販売元と
接続され、目的の音楽プログラムの伝送を受けてプレー
ヤに引き渡される。上記LCDは、LCDコントローラ
LCDCを介して内部バスに接続され、上記のような表
示とそれに対応したタッチキーの入力が行われる。バス
インターフェイスVMEINFは、上記内部バスとVM
Eバスとの接続を行うVMEバスインターフェイスであ
る。
[0017] The LCD is a liquid crystal display device, and is used to display information menus, operation instructions, and the like. Its surface has a touch key function for selecting display menus, switching displays, etc. For example, when you insert a player, the first information menu displayed on the display screen is 1. Music, 2. News, 3. Weather forecast, 4.
Stock market conditions, 5. Recitation etc. will be displayed. And one of them, for example 2. When you specify news, the screen changes and 1. NHK, 2. FEN, 3. Traffic information, 4. Sports news etc. are displayed. By specifying a desired news program, the player receives the corresponding digital signal. For example, 1. In the case of music, music genres such as classical, popular, popular songs, and jazz are displayed, and when a music genre is selected, the titles of songs that can be sold are displayed. This music information is not particularly limited, but it is assumed that it is stored in a specific area of the ROM or hard disk memory. When there is no corresponding song in the hard disk memory HDD, the music program is connected to the digital signal vendor via the communication line B-ISDN, and the desired music program is transmitted and delivered to the player. The LCD is connected to an internal bus via an LCD controller LCDC, and the above-described display and corresponding touch key input are performed. The bus interface VMEINF connects the above internal bus to the VM
This is a VME bus interface that connects with the E bus.

【0018】上記ニュースや株式市況といったように時
間の経過とともに最新情報に置き換える必要のあるもの
は、後述する出力部に設けられるバッファメモリBMに
格納させておくようにする。これにより、逐一ハードデ
ィスクメモリHDDをアクセスすることなく、直ちにプ
レーヤに転送することができる。また、音楽プログラム
でも、販売量の多いものはバッファメモリBMに格納し
ておくものとしてもよい。この場合、表示メニューとし
て各音楽ジャンルに対応して販売量がトップテンのもの
を表示させて、ユーザーの選択を容易にするものであっ
てもよい。
Information that needs to be replaced with the latest information as time passes, such as the above-mentioned news and stock market conditions, is stored in a buffer memory BM provided in the output unit, which will be described later. Thereby, the data can be immediately transferred to the player without accessing the hard disk memory HDD one by one. Also, music programs that are sold in large quantities may be stored in the buffer memory BM. In this case, the display menu may display top ten music genres with the highest sales volume to facilitate the user's selection.

【0019】上記端末装置の出力部は、図7に示すよう
にVMEバスに接続される出力インターフェイスOUT
INFと、プレーヤ制御回路PCTL、バッファメモリ
BM、モニターコントロール回路MOCTL及びモニタ
ー回路MONT等から構成される。出力部は、プレーヤ
との接続を行うコネタクを持ち、プレーヤとコネクタを
介して接続されて、商品としてのディジタル信号の受け
渡しを行う。バッファメモリBMは、約96MBの比較
的大きな記憶容量を持つ、これは後述するようなプレー
ヤの最大記憶容量8MBの約10倍に相当する。モニタ
ー回路MONTは、特に制限されないが、スピーカやヘ
ッドフォン出力を備えて音楽プログラムの選曲のときに
サワリの部分を聞かせる等のために用いられる。このモ
ニター回路MONTとそのコントローラMOCTLは、
後述するプレーヤの再生回路と同等のものが用いられる
The output section of the terminal device has an output interface OUT connected to the VME bus as shown in FIG.
INF, a player control circuit PCTL, a buffer memory BM, a monitor control circuit MOCTL, a monitor circuit MONT, and the like. The output section has a connector for connection to the player, and is connected to the player via the connector to exchange digital signals as a product. The buffer memory BM has a relatively large storage capacity of approximately 96 MB, which is approximately 10 times the maximum storage capacity of a player, which will be described later, of 8 MB. Although not particularly limited, the monitor circuit MONT is equipped with a speaker or headphone output, and is used for, for example, allowing the listener to listen to the "sawari" part when selecting a music program. This monitor circuit MONT and its controller MOCTL are
A reproduction circuit similar to the player's reproduction circuit described later is used.

【0020】前記のように自動販売機により販売される
タバコやジュースといった商品は、包装又は容器の中に
入れられて包装や容器と一体的に販売される。また、従
来の商品化された情報等は、紙を媒体とした印刷物、フ
ロッピーやICメモリを媒体としてそれが包装や容器と
いった役割を果たして販売される。そして、音楽プログ
ラムも磁気テープやコンパクトディスクといった記憶媒
体と一体的に販売される。これらの媒体は、それ自体で
は何の商品価値も持たない。それが電子手帳やパーソナ
ルコンピュータといった端末装置と組み合わせされて、
商品としての情報の取り出しと加工が行われる。また、
音楽プログラムもカセット式テープレコーダや再生装置
に組み合わせれて商品の価値が発揮される。これに対し
て、本願のディジタル信号受け渡しテステムにおいては
、上記のような容器といった役割を果たす記憶媒体を介
在させること無しに商品としてのディジタル信号を電気
信号の形態のままで受け渡しを行うようにする。このよ
うな電気信号の形態のままでのディジタル信号の受け渡
しのためにプレーヤに記憶回路RAMが搭載される。 そして、このRAMに取り込まれたディジタル信号は、
プレーヤの持つ再生回路によりプレーヤ単体での再生が
可能にされる。すなわち、受け渡された商品が、そのま
ま直ちに商品としての価値を発揮する。このような2つ
の特徴が、従来における商品の取引きと大きく異なるも
のである。また、上記のようにプレーヤを端末装置に接
続して、商品としてのディジタル信号を受け渡しを行う
システムでは、必要なときに必要な情報のみを特定して
販売できる。そして、この発明に係るようなデータ変換
方式を採る場合には、再生される音声信号の忠実度を損
なうことなく、比較的小さな記憶容量しかもたないRA
Mにより長時間又は複数種類のプログラムの記憶が可能
となる。
[0020] As mentioned above, products such as cigarettes and juices sold by vending machines are put into packages or containers and sold integrally with the packages or containers. In addition, conventional commercialized information and the like are sold as printed matter using paper as a medium, or as media such as floppies or IC memory, which serve as packaging or containers. Music programs are also sold together with storage media such as magnetic tapes and compact discs. These media have no commercial value by themselves. When combined with terminal devices such as electronic notebooks and personal computers,
Information is extracted and processed as a product. Also,
The value of the product is demonstrated by combining music programs with cassette tape recorders and playback devices. In contrast, in the digital signal delivery test system of the present application, a digital signal as a product is delivered in the form of an electrical signal without intervening a storage medium that functions as a container as described above. . A storage circuit RAM is mounted on the player to exchange digital signals in the form of electrical signals. The digital signal captured in this RAM is
The playback circuit of the player allows the player to play by itself. In other words, the delivered product immediately exhibits its value as a product. These two features are very different from conventional product transactions. Further, in the system described above in which a player is connected to a terminal device and digital signals as a product are exchanged, it is possible to specify and sell only the necessary information when necessary. When adopting a data conversion method such as the one according to the present invention, it is possible to use an RA that has a relatively small storage capacity without impairing the fidelity of the reproduced audio signal.
M allows long-term or multiple types of programs to be stored.

【0021】図7において、POWは電源回路であり、
特に制限されないが、プレーヤへの高速なディジタル信
号の伝送のために、端末装置から動作電源の供給が行わ
れる。また、プレーヤの電源として、充電が可能な二次
電池を用いた場合には急速充電を行うためにも用いられ
る。上記出力部とプレーヤとの間で授受される信号の例
としては、上記動作電圧V、ディジタル信号D、アドレ
ス信号A、コントロール信号C及びステータス信号S等
がある。
In FIG. 7, POW is a power supply circuit;
Although not particularly limited, operating power is supplied from the terminal device in order to transmit high-speed digital signals to the player. Furthermore, when a rechargeable secondary battery is used as a power source for the player, it is also used for rapid charging. Examples of signals exchanged between the output section and the player include the operating voltage V, digital signal D, address signal A, control signal C, and status signal S.

【0022】図8には、上記プレーヤの一実施例のブロ
ック図が示されている。プレーヤは、大きく分けるとデ
ィジタル信号を記憶する記憶回路RAM、ゲートアレイ
等から構成される大規模集積回路LSI、再生回路から
構成される。記憶回路RAMは、特に制限されないが、
約8MBの記憶容量を持つ疑似スタティック型RAMか
ら構成される。例えば、後述するよう約4Mビットの疑
似スタティック型RAM(PSRAM)を16個搭載し
て、上記約8MBの記憶容量を実現する。LSIは、コ
ントロール回路CTL、アドレスカウンタAC、マルチ
プレクサMPX及びデータ変換回路DCが搭載される。 コントロール回路は、記憶回路RAMに記憶されたディ
ジタル信号の再生動作のときの各種制御信号の他、記憶
回路RAMへのデータ入力のときの制御信号も形成する
。アドレスカウンタACは、記憶回路RAMに記憶され
たディジタル信号を読み出しときのアドレス信号を生成
する。マルチプレクサMPXは、記憶回路RAMをサー
バ(端末装置)からアクセスするときと、記憶回路RA
Mを内部でアクセスするときのアドレス切り換えを行う
。すなわち、記憶回路RAMへのディジタル信号の書き
込みはサーバ側からのアドレスにより行い、そのディジ
タル信号の再生動作のときの読み出しはアドレスカウン
タACにより生成されたアドレスにより行うようにする
ものである。
FIG. 8 shows a block diagram of an embodiment of the above player. Broadly speaking, a player is composed of a storage circuit RAM for storing digital signals, a large-scale integrated circuit LSI composed of a gate array, etc., and a reproduction circuit. Although the memory circuit RAM is not particularly limited,
It consists of a pseudo-static RAM with a storage capacity of approximately 8MB. For example, as will be described later, 16 pseudo-static RAMs (PSRAMs) of about 4 Mbit are installed to realize the above-mentioned storage capacity of about 8 MB. The LSI is equipped with a control circuit CTL, an address counter AC, a multiplexer MPX, and a data conversion circuit DC. The control circuit generates various control signals for reproducing digital signals stored in the memory circuit RAM, as well as control signals for inputting data to the memory circuit RAM. The address counter AC generates an address signal when reading a digital signal stored in the storage circuit RAM. The multiplexer MPX is used when the storage circuit RAM is accessed from the server (terminal device) and when the storage circuit RAM is accessed from the server (terminal device).
Performs address switching when accessing M internally. That is, writing of a digital signal into the memory circuit RAM is performed using an address from the server side, and reading during a reproduction operation of the digital signal is performed using an address generated by the address counter AC.

【0023】データ変換回路は、前記のような記憶回路
RAMに記憶されたディジタルデータが前記のようにデ
ータ圧縮されたものであるから、それをもとのデータに
伸長させたり、後述するようなビット長の変更も合わせ
持つようにされる。LPFは、ロウパスフィルタであり
、ディジタルフィルタ回路から構成されて再生に必要な
帯域成分のみをディジタル/アナログ変換回路に入力す
る。この実施例では、後述するように情報やプログラム
に応じて複数のサンプリングレートのディジタル信号を
扱うようにするものである。これらのサンプリングレー
トに応じてディジタルフィルタの通過帯域の切り換えも
行われる。ディジタル/アナログ変換回路は、時分割的
に入力されるステレオ信号に対応して左右に分離された
左右チャンネルのアナログ信号を出力する機能を持つ。 なお、ディジタル信号がモノラル信号である場合には、
両チャンネルから同じアナログ信号が出力される。 プレーヤは、小型軽量化のために音声出力はヘッドフォ
ンにより行うようにするものである。出力RとLはその
ためのヘッドフォン端子である。
Since the digital data stored in the storage circuit RAM as described above has been compressed as described above, the data conversion circuit expands it to the original data or performs processing as described below. The bit length can also be changed. The LPF is a low-pass filter, which is composed of a digital filter circuit, and inputs only band components necessary for reproduction to the digital/analog conversion circuit. In this embodiment, digital signals with a plurality of sampling rates are handled depending on information and programs, as will be described later. The passband of the digital filter is also switched according to these sampling rates. The digital/analog conversion circuit has a function of outputting analog signals of left and right channels separated into left and right channels in response to a stereo signal input in a time-sharing manner. Note that if the digital signal is a monaural signal,
The same analog signal is output from both channels. In order to reduce the size and weight of the player, audio output is performed through headphones. Outputs R and L are headphone terminals for this purpose.

【0024】図9には、プレーヤを構成する実装基板の
一実施例の平面図が示されている。プレーヤは、コント
ロール基板とメモリ基板から構成される。コントロール
基板には、長手方向の両端にボタン電池を挿入する電源
部とコネクタ部が分けられて設けられ、その間の基板表
面に上記LSIやアンプAMP1,AMP2、ロウパス
フィルタLPF及びディジタル/アナログ変換回路DA
Cを構成する各半導体集積回路装置が搭載される。コネ
タクは、JEIDA規格(メモリカード等の規格)に合
わせたものが用いられる。電源部はボタン電池ホルダか
らなり、例えばアルカリボタン電池(LR44)が4個
実装可能にされる。このコントロール基板のサイズは、
特に制限されないが、縦が52mm、横が82mmとさ
れて既存のICカード用のケースに収納可能にされる。 メモリ基板は上記コントロール基板における比較的厚さ
の厚いコネクタ部と電源部に対応した部分を除いた大き
さに相当し、両面に8個ずつのPSRAMが搭載される
。このメモリ基板とコントロール基板とはフレキシブル
配線基板により接続される。すなわち、上記2つの基板
は、検査や修理等を容易にするために見開き可能にされ
る。
FIG. 9 shows a plan view of an embodiment of the mounting board constituting the player. The player consists of a control board and a memory board. The control board has a power supply part into which a button battery is inserted and a connector part separated at both longitudinal ends, and the above-mentioned LSI, amplifiers AMP1 and AMP2, low-pass filter LPF, and digital/analog conversion circuit are installed on the surface of the board between them. D.A.
Each semiconductor integrated circuit device constituting C is mounted. The connector used is one that complies with the JEIDA standard (standard for memory cards, etc.). The power supply section is composed of a button battery holder, and for example, four alkaline button batteries (LR44) can be mounted therein. The size of this control board is
Although not particularly limited, the length is 52 mm and the width is 82 mm so that it can be stored in an existing IC card case. The memory board corresponds to the size of the control board excluding the relatively thick connector part and the part corresponding to the power supply part, and eight PSRAMs are mounted on each side of the control board. The memory board and the control board are connected by a flexible wiring board. In other words, the two substrates are arranged so that they can be spread out in order to facilitate inspection, repair, and the like.

【0025】図10には、ケースに収められる状態の実
装基板の側面図が示されている。上記コントロール基板
の電源部とコネクタ部を除く表面にメモリ基板がフレキ
シブル配線基板を介することにより折り返して重ね合わ
される。これにより、既存のICカード(RAMカード
)と同等のケースに収納可能となり、小型でかつ薄型の
プレーヤが実現できる。
FIG. 10 shows a side view of the mounting board housed in the case. A memory board is folded and superimposed on the surface of the control board excluding the power supply section and the connector section via a flexible wiring board. This makes it possible to store the card in a case similar to that of an existing IC card (RAM card), making it possible to realize a small and thin player.

【0026】図11には、プレーヤの電源供給方式の一
実施例のブロック図が示されている。プレーヤは、上記
のように記憶回路RAMと、ディジタル回路から構成さ
れるコントロール回路CTL、ディジタルフィルタLP
F及び後述するようなディジタル/アナログ変換回路D
CA及びアナログ信号を出力する増幅回路AMPに分け
られる。これらの各回路ブロックは、それぞれの動作電
圧が異なる。例えば、記憶回路RAMは、前記のような
疑似スタティック型RAMを用いる場合、約4V程度の
比較的高い動作電圧を必要とする。これに対して、ディ
ジタル回路はCMOS回路ゲートアレイ等を用いること
により、約3Vと比較的低い電圧で動作する。そして、
ヘッドフォンを駆動する増幅回路AMPにあっては更に
動作電圧が低く約1.5V程度でよい。このことから、
それぞれの回路の動作電圧に合わせた電池E1、E2及
びE3を用い、RAMの情報保持動作のために定常的に
電圧供給を行う電池E1を除いて、電池E2とE3は電
源スイッチS2とS3を介して対応する各回路に供給さ
れる。
FIG. 11 shows a block diagram of an embodiment of a power supply system for a player. As mentioned above, the player includes a storage circuit RAM, a control circuit CTL composed of a digital circuit, and a digital filter LP.
F and a digital/analog conversion circuit D as described below.
It is divided into CA and an amplifier circuit AMP that outputs an analog signal. Each of these circuit blocks has a different operating voltage. For example, the storage circuit RAM requires a relatively high operating voltage of about 4 V when using the above-mentioned pseudo-static RAM. On the other hand, digital circuits operate at a relatively low voltage of about 3V by using CMOS circuit gate arrays and the like. and,
The operating voltage of the amplifier circuit AMP that drives the headphones is even lower, at about 1.5V. From this,
Batteries E1, E2, and E3 are used to match the operating voltage of each circuit. Except for battery E1, which constantly supplies voltage for RAM information retention operation, batteries E2 and E3 are connected to power switches S2 and S3. It is supplied to each corresponding circuit via.

【0027】このように電圧値の異なる複数種類の電池
を用いて直接的に対応する回路に電源供給を行うように
することにより電池寿命を長くすることができる。例え
ば、内部電源を最も高い4Vに合わせると、ディジタル
回路やアナログ回路AMPでは無駄な電流が流れて消費
電流が増大する。そこで、上記4Vを内部降圧回路で降
圧するようにすると、降圧回路においても電流消費が行
われるから結局電池寿命を短くしてしまう。これに対し
て、この実施例では、それぞれの回路に必要最小の電池
を選んでそれに電源供給するので、無駄な電流消費が抑
えられて実質的な電池寿命を長くすることができる。
[0027] By using a plurality of types of batteries having different voltage values to directly supply power to the corresponding circuits, the battery life can be extended. For example, when the internal power supply is set to the highest level of 4V, wasteful current flows in the digital circuit and analog circuit AMP, increasing current consumption. Therefore, if the voltage of 4V is stepped down by an internal voltage down converter, the voltage down circuit also consumes current, which ultimately shortens the battery life. On the other hand, in this embodiment, since the minimum battery required for each circuit is selected and power is supplied to it, unnecessary current consumption can be suppressed and the actual battery life can be extended.

【0028】また、記憶回路RAMへのディジタル信号
の書き込み/あるいはディジタル信号の読み出しを高速
に行うためには、記憶回路の動作電流が大きくなる。そ
こで、サーバ(端末装置)に電源供給用コネクタを設け
てそこから上記内部電圧より高い約5Vのような動作電
圧を供給する。この場合、電池側とサーバ側の電源切り
換えを自動的に行うようにするため、コネクタと電池E
1はそれぞれダイオードD1,D2を介して記憶回路R
AMの電源端子に電圧供給を行うようにするものである
。この構成では、プレーヤがサーバに接続されると、サ
ーバ側の動作電圧が約5Vと電池E1の約4Vに比べて
高いからダイオードD1がオン状態になり、記憶回路R
AMはサーバ側からの動作電圧により動作させられる。 このときには、電池E1 側のダイオードD2は逆バイ
アスされてオフ状態になり、電池E1にサーバのコネタ
クから逆流電流が流れることはない。そして、プレーヤ
がサーバから抜き取られるとコネクタが開放されるから
ダイオードD2がオン状態になって、電池E1の電圧が
記憶回路RAMに供給される。このような電源供給方式
を採ることにより、記憶回路RAMへのデータ転送を高
速に行いつつ、プレーヤの電池寿命を長くすることがで
きる。
Furthermore, in order to write/read digital signals into/from the memory circuit RAM at high speed, the operating current of the memory circuit becomes large. Therefore, a power supply connector is provided in the server (terminal device), and an operating voltage of about 5 V, which is higher than the above-mentioned internal voltage, is supplied from there. In this case, in order to automatically switch the power between the battery side and the server side, the connector and battery
1 are connected to the memory circuit R via diodes D1 and D2, respectively.
This is to supply voltage to the AM power supply terminal. In this configuration, when the player is connected to the server, the diode D1 is turned on because the operating voltage on the server side is approximately 5V, which is higher than the approximately 4V of the battery E1, and the storage circuit R
AM is operated by operating voltage from the server side. At this time, the diode D2 on the battery E1 side is reverse biased and turned off, and no reverse current flows from the server connector to the battery E1. Then, when the player is removed from the server, the connector is opened, so that the diode D2 is turned on, and the voltage of the battery E1 is supplied to the memory circuit RAM. By adopting such a power supply system, data can be transferred to the storage circuit RAM at high speed, and the battery life of the player can be extended.

【0029】図12には、プレーヤのメモリ回路RAM
の記憶領域管理方式の一実施例の概念図が示されている
。この実施例では、目次メモリとデータメモリとにより
ディジタル信号の記憶管理を行うようにするものである
。目次メモリは、目次1ないし目次4のように最大4種
類のディジタル信号(プログラム)までの格納を可能に
するものである。目次メモリには、前記先頭アドレス、
終了アドレス及び再生条件を指定するIDコードの他に
目次情報も記憶させる。この目次情報は、特に制限され
ないが、文字情報からなり、プレーヤに液晶表示装置を
設けてプログラムの内容を文字によって表示可能にする
ものである。目次メモリの各目次と、データメモリのデ
ータエリアは、記憶順序等によりデータメモリの先頭ア
ドレス側からデータ2、データ1、データ4及びデータ
3のように任意に行われる。すなわち、先に指定した順
にデータメモリに対してディジタル信号が記憶される。
FIG. 12 shows the memory circuit RAM of the player.
A conceptual diagram of an embodiment of the storage area management method is shown. In this embodiment, a table of contents memory and a data memory are used to manage the storage of digital signals. The table of contents memory is capable of storing up to four types of digital signals (programs) such as table of contents 1 to table of contents 4. The table of contents memory contains the first address,
In addition to the ID code specifying the end address and reproduction conditions, table of contents information is also stored. Although this table of contents information is not particularly limited, it consists of character information, and the player is provided with a liquid crystal display device so that the contents of the program can be displayed in characters. Each table of contents in the table of contents memory and the data area in the data memory are arranged arbitrarily such as data 2, data 1, data 4, and data 3 from the start address side of the data memory depending on the storage order. That is, the digital signals are stored in the data memory in the order specified first.

【0030】図13には、上記目次機能を付加した場合
のプレーヤの一実施例の要部ブロック図が示されている
。コントローラCTLには、前記のような動作制御用の
スイッチSW2の他に、目次指定(プログラム指定)用
のスイッチSW1が設けられる。特に制限されないが、
このスイッチSW1をオン状態にすると、目次AC(ア
ドレスカウンタ)に+1のパルスが供給されて目次メモ
リのアクセスが行われる。目次メモリから読み出された
目次情報は、目次レジスタに格納されてLCDによりタ
イトル等の文字表示が行われる。
FIG. 13 shows a block diagram of a main part of an embodiment of a player in which the table of contents function described above is added. The controller CTL is provided with a switch SW1 for specifying a table of contents (program specification) in addition to the switch SW2 for controlling the operation as described above. Although not particularly limited,
When this switch SW1 is turned on, a +1 pulse is supplied to the table of contents AC (address counter), and the table of contents memory is accessed. The table of contents information read from the table of contents memory is stored in a table of contents register, and characters such as titles are displayed on the LCD.

【0031】目次メモリから読み出された先頭アドレス
は、データメモリのアドレスカウンタACにセットされ
、終了アドレスとIDコードはレジスタREGにそれぞ
れロードされる。IDコードは、コントローラCTLに
伝えられ、それが解読されて前記サンプリング周波数、
データ長、ステレオ/モノラル再生等の再生条件の自動
設定が行われる。上記アドレスカウンタACにより出力
されるアドレス信号は、データメモリのアクセスに用い
られることの他、コンパレータCPにも供給される。こ
のコンパレータCPの他方の入力には、上記レジスタR
EGにロードされた最終アドレスが伝えられる。 これにより、上記指定された目次に対応したディジタル
信号(データ)の読み出しが終了すると、コンパレータ
CPがこれを検出してコントローラCTLに終了信号を
入力するので、一連のディジタル信号の読み出し動作が
終了することになる。
The start address read from the table of contents memory is set in the address counter AC of the data memory, and the end address and ID code are loaded into the register REG. The ID code is transmitted to the controller CTL, which decodes it and determines the sampling frequency,
Reproduction conditions such as data length and stereo/monaural reproduction are automatically set. The address signal output by the address counter AC is not only used for accessing the data memory but also supplied to the comparator CP. The other input of this comparator CP is connected to the register R.
The final address loaded into the EG is communicated. As a result, when the readout of the digital signals (data) corresponding to the specified table of contents is completed, the comparator CP detects this and inputs the end signal to the controller CTL, thereby completing the series of readout operations of the digital signals. It turns out.

【0032】以上の目次機能において、目次の数は4の
他、任意であるが2のN乗個にすると2進のアドレスカ
ウンタがそのまま利用できるので選択が容易になる。ま
た、目次メモリをデータメモリとは別に設けた場合には
、それぞれを独立して並行にアクセスすることができる
からアドレスカウンタの制御が簡単になる。なお、上記
の目次メモリは、データメモリの一定の記憶領域を利用
して構成するものであってもよいことはいうまでもない
。例えば、前記のようなディジタル信号受け渡しシステ
ムにおいて、プレーヤがサーバに接続されると、サーバ
は目次メモリをアクセスして有効にされているブロック
アドレスの読み出しを行う。これにより、サーバはプレ
ーヤにおけるメモリ回路RAMの空き領域を知ることが
できる。そして、新たに受け渡されるディジタル信号が
指定されると、空きの目次にブロックアドレスを記憶さ
せるとともに空き領域にディジタル信号を記憶させる。
In the table of contents function described above, the number of tables of contents can be any number other than 4, but if it is 2 to the N power, the selection becomes easier because the binary address counter can be used as is. Furthermore, if the table of contents memory is provided separately from the data memory, each can be accessed independently and in parallel, which simplifies the control of the address counter. It goes without saying that the table of contents memory described above may be constructed using a certain storage area of the data memory. For example, in the digital signal delivery system as described above, when a player is connected to a server, the server accesses the table of contents memory and reads the enabled block addresses. This allows the server to know the free space in the memory circuit RAM in the player. When a new digital signal to be transferred is designated, the block address is stored in the empty table of contents and the digital signal is stored in the empty area.

【0033】もしも、目次が不足したり、受け渡される
ディジタル信号に対して空きの記憶容量が不足するなら
、その旨を表示して消去してよい格納済のディジタル信
号を選択させ、それを消去して新しいディジタル信号の
入力を行う。このとき、プレーヤに記憶されている格納
済のディジタル信号も読み出して、新しいディジタル信
号の記憶容量に合わせて記憶容量に空きがないようアド
レス割り当てが改めて行われる。このようにサーバ側に
プレーヤのメモリ回路RAMの記憶領域の管理を行わせ
ることにより、比較的小さいな記憶容量を効率よく使用
できるとともに、プレーヤ側の制御動作の大幅な簡素化
が可能になる。
[0033] If the table of contents is insufficient or if there is not enough free storage capacity for the digital signals to be transferred, a message to that effect is displayed and the stored digital signal that can be erased is selected, and then it is erased. to input a new digital signal. At this time, the stored digital signals stored in the player are also read out, and address allocation is performed anew to match the storage capacity of the new digital signal so that there is no free space in the storage capacity. By having the server side manage the storage area of the player's memory circuit RAM in this manner, a relatively small storage capacity can be used efficiently, and control operations on the player side can be greatly simplified.

【0034】以上の実施例から得られる作用効果は、下
記の通りである。すなわち、 (1)  1つ前のサンプリングデータと入力されたデ
ータとの差分を求め、差分が圧縮される符号の最大値よ
り大きい場合には最大値を出力し、小さい場合には減算
結果を出力させて圧縮されたデータを出力してデータ圧
縮を行う。この方式では、音響信号等のように振幅や周
波数分布は時間とともに比較的穏やかなデータにおいて
は、減算や加算といった簡単な構成により忠実度の高い
データ圧縮を行うことができるという効果が得られる。 (2)  上記(1)により、データ圧縮及び伸長回路
が減算器や加算器、レジスタやコンパレータといった簡
単な回路により実現でき、その消費電力も小さく抑える
ことができるという効果が得られる。 (3)  上記のようなデータ変換方式及び回路を用い
ることにより、メモリ回路に記憶された音響信号を再生
するプレーヤの小型軽量化が実現できるという効果が得
られる。
The effects obtained from the above examples are as follows. That is, (1) Find the difference between the previous sampling data and the input data, and if the difference is larger than the maximum value of the code to be compressed, output the maximum value, and if it is smaller, output the subtraction result. The compressed data is output and data compression is performed. This method has the advantage that data compression with high fidelity can be achieved using simple configurations such as subtraction and addition for data whose amplitude and frequency distribution are relatively gentle over time, such as acoustic signals. (2) According to (1) above, the data compression and expansion circuit can be realized by simple circuits such as subtracters, adders, registers, and comparators, and the power consumption thereof can also be kept low. (3) By using the data conversion method and circuit as described above, it is possible to achieve the effect that the player that reproduces the audio signals stored in the memory circuit can be made smaller and lighter.

【0035】以上本発明者よりなされた発明を実施例に
基づき具体的に説明したが、本願発明は前記実施例に限
定されるものではなく、その要旨を逸脱しない範囲で種
々変更可能であることはいうまでもない。例えば、図1
において、減算出力データD3と圧縮されるデータの最
大値D4とをコンパレータにより比較する構成に代え、
オアゲート回路等を用いて減算出力データD3の上位ビ
ットのうちいずれか1ビットでも1であることをもって
等価的に上記最大値との大小比較出力を形成するもので
あってもよい。差分のデータはレジスタのデータD2か
ら入力データD1を減算させたものを用いるものであっ
てもよい。データ圧縮される入力信号は、図1の実施例
のようにアナログ/ディジタル変換回路の出力信号を用
いるもの他、ディジタル変換されたデータがいたんメモ
リ回路や磁気テープ又はコンパクトディスクに記憶され
たものであってもよいことはいうまでもない。圧縮され
たデータは、シリアルデータに変換されて通信回線等を
介して出力させるようにするものであってもよい。この
発明に係るデータ変換方式及びデータ変換回路は、時間
の経過とともに変化するディジタルデータを扱う回路や
装置に広く利用できるものである。
Although the invention made by the present inventor has been specifically explained based on examples, the present invention is not limited to the above-mentioned examples, and can be modified in various ways without departing from the gist thereof. Needless to say. For example, Figure 1
, instead of using a comparator to compare the subtracted output data D3 and the maximum value D4 of the data to be compressed,
An OR gate circuit or the like may be used to equivalently form a magnitude comparison output with the maximum value when any one of the upper bits of the subtracted output data D3 is 1. The difference data may be obtained by subtracting the input data D1 from the register data D2. The input signal to be data compressed may be one that uses the output signal of an analog/digital conversion circuit as in the embodiment shown in Figure 1, or one that uses digitally converted data that is once stored on a memory circuit, magnetic tape, or compact disk. Needless to say, it is possible. The compressed data may be converted into serial data and output via a communication line or the like. The data conversion method and data conversion circuit according to the present invention can be widely used in circuits and devices that handle digital data that changes over time.

【0036】[0036]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。すなわち、1つ前のサンプリングデー
タと入力されたデータとの差分を求め、差分が圧縮され
る符号の最大値より大きい場合には最大値を出力し、小
さい場合には減算結果を出力させて圧縮されたデータを
出力してデータ圧縮を行う。この方式では、音響信号等
のように振幅や周波数分布は時間とともに比較的穏やか
なデータにおいては、減算や加算といった簡単な構成に
より忠実度の高いデータ圧縮を行うことができ、減算器
や加算器、レジスタやコンパレータといった簡単な回路
により実現できる。
Effects of the Invention A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows. In other words, the difference between the previous sampling data and the input data is calculated, and if the difference is larger than the maximum value of the code to be compressed, the maximum value is output, and if it is smaller, the subtraction result is output and compressed. Output the data and perform data compression. With this method, for data whose amplitude and frequency distribution are relatively stable over time, such as acoustic signals, high-fidelity data compression can be performed using simple configurations such as subtraction and addition. , can be realized using simple circuits such as registers and comparators.

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

【図1】この発明に係るデータ変換方式により構成され
たデータ変換回路の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data conversion circuit configured using a data conversion method according to the present invention.

【図2】図1の実施例におけるデータ圧縮動作を伴うア
ナログ/ディジタル変換動作の一例を説明するための波
形図である。
FIG. 2 is a waveform diagram for explaining an example of an analog/digital conversion operation accompanied by a data compression operation in the embodiment of FIG. 1;

【図3】この発明に係るデータ変換方式により構成され
たデータ変換回路の他の一実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing another embodiment of a data conversion circuit configured using the data conversion method according to the present invention.

【図4】この発明に係るデータ変換方式及びデータ変換
回路が用いられるディジタル信号受け渡しシステムの一
実施例を示す要部ブロック図である。
FIG. 4 is a block diagram of main parts showing an embodiment of a digital signal delivery system using the data conversion method and data conversion circuit according to the present invention.

【図5】図4の端末装置の入力部のブロック図である。FIG. 5 is a block diagram of an input unit of the terminal device in FIG. 4;

【図6】図4の端末装置の記憶部のブロック図である。FIG. 6 is a block diagram of a storage unit of the terminal device in FIG. 4;

【図7】図4の端末装置の出力部のブロック図である。FIG. 7 is a block diagram of an output unit of the terminal device in FIG. 4;

【図8】上記ディジタル信号受け渡しシステムに用いら
れるプレーヤの一実施例を示すブロック図である。
FIG. 8 is a block diagram showing an embodiment of a player used in the digital signal delivery system.

【図9】上記プレーヤを構成する実装基板の一実施例を
示す平面図である。
FIG. 9 is a plan view showing an example of a mounting board constituting the player.

【図10】ケースに治められる状態の実装基板の一実施
例を示す側面図である。
FIG. 10 is a side view showing an embodiment of the mounting board in a state covered by a case.

【図11】プレーヤの電源供給方式の一実施例を示すブ
ロック図である。
FIG. 11 is a block diagram showing an embodiment of a power supply system for a player.

【図12】プレーヤに内蔵されるメモリ回路RAMの記
憶領域管理方式の一実施例の概念図である。
FIG. 12 is a conceptual diagram of an embodiment of a storage area management system of a memory circuit RAM built into the player.

【図13】図12の目次機能を付加した場合のプレーヤ
の一実施例を示す要部ブロック図である。
FIG. 13 is a block diagram of main parts showing an embodiment of a player in which the table of contents function of FIG. 12 is added.

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

LPF…ロウパスフィルタ、MPX…マルチプレクサ、
S/H…サンプル&ホールド回路、ADC…アナログ/
ディジタル変換回路、INCT…入力部コントローラ、
NIF…ネットワークインターフェイス、CPU…マイ
クロプロセッサ、ROM…リード・オンリー・メモリ、
RAM…ランダム・アクセス・メモリ(メモリ回路)、
HDDC…ハードディスクコントローラ、LCDC…L
CDコントローラ、VMEINF…VMEバスインター
フェイス、HDD…ハードディクスメモリ、LCD…液
晶表示装置、OUTINF…出力インターフェイス、P
CTL…プレーヤ制御回路、BM…バッファメモリ、M
OCTL…モニターコントロール回路、MONT…モニ
ター回路、DC…データ変換回路、AC…アドレスカウ
ンタ、CTL…コントローラ、LSI…大規模集積回路
(ゲートアレイ)、DAC…ディジタル/アナログ変換
回路、AMP,AMP1,AMP2…増幅回路、BAT
…電源回路、S2,S3…電源スイッチ、E1〜E3…
電池、SEL…セレクタ。
LPF...low pass filter, MPX...multiplexer,
S/H...sample & hold circuit, ADC...analog/
Digital conversion circuit, INCT...input controller,
NIF...Network interface, CPU...Microprocessor, ROM...Read-only memory,
RAM...Random access memory (memory circuit),
HDDC...hard disk controller, LCDC...L
CD controller, VMEINF...VME bus interface, HDD...hard disk memory, LCD...liquid crystal display device, OUTINF...output interface, P
CTL...Player control circuit, BM...Buffer memory, M
OCTL...monitor control circuit, MONT...monitor circuit, DC...data conversion circuit, AC...address counter, CTL...controller, LSI...large-scale integrated circuit (gate array), DAC...digital/analog conversion circuit, AMP, AMP1, AMP2 ...Amplification circuit, BAT
...Power supply circuit, S2, S3...Power switch, E1-E3...
Battery, SEL...selector.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  1つ前のサンプリングデータと入力さ
れたデータとの差分を求め、その結果が圧縮される符号
の最大値より大きい場合には圧縮されるデータの最大値
を出力し、小さい場合には上記圧縮されるデータにより
減算結果を出力させることを特徴とするデータ変換方式
[Claim 1] Calculate the difference between the previous sampling data and the input data, and if the result is larger than the maximum value of the code to be compressed, output the maximum value of the data to be compressed, and if it is smaller, the difference is calculated. A data conversion method characterized in that a subtraction result is output based on the compressed data.
【請求項2】  上記圧縮されたデータは、1つ前のサ
ンプリングデータと加算されることよりもとのデータに
伸長されるものであることを特徴とする請求項1のデー
タ変換方式。
2. The data conversion method according to claim 1, wherein the compressed data is expanded to the original data by being added to the previous sampling data.
【請求項3】  入力データとレジスタに記憶された1
つ前のサンプリングデータとの差分を求める減算回路と
、この減算出力と圧縮されるデータの最大値との比較を
行うコンパレータと、このコンパレータの出力により減
算出力が上記最大値より大きいときにはその最大値を出
力させ、減算出力が上記最大値より小さいときには圧縮
されるデータにより減算出力を出力させるセレクタとを
含むことを特徴とするデータ変換回路。
[Claim 3] Input data and 1 stored in the register
A subtraction circuit that calculates the difference from the previous sampling data, a comparator that compares this subtraction output with the maximum value of the data to be compressed, and when the subtraction output is larger than the maximum value based on the output of this comparator, the maximum value and a selector that outputs the subtracted output based on compressed data when the subtracted output is smaller than the maximum value.
【請求項4】  上記レジスタは、セレクタから出力さ
れる圧縮されたデータとレジスタに記憶された1つ前の
データとを加算する加算回路の出力信号を、1つ前のサ
ンプリングデータとして取り込むものであることを特徴
とする請求項3のデータ変換回路。
4. The register takes in the output signal of an adder circuit that adds the compressed data output from the selector and the previous data stored in the register as the previous sampling data. 4. The data conversion circuit according to claim 3, characterized in that:
【請求項5】  1つ前のサンプリング値と入力された
サンプリングデータとの差分を求め、その結果が圧縮さ
れるデータの最大値より大きい場合にはその最大値とさ
れ、小さい場合には圧縮されるデータにより減算結果と
される圧縮データに対する伸長回路として、もとのデー
タに対応したビット長を持つレジスタと、このレジスタ
の出力信号と上記圧縮されたデータとを加算して、上記
レジスタの新たなデータを形成する加算回路とを含み、
上記加算回路又はレジスタの出力から伸長されたデータ
を得ることを特徴とするデータ変換回路。
[Claim 5] Calculate the difference between the previous sampling value and the input sampling data, and if the result is larger than the maximum value of the data to be compressed, it is taken as the maximum value, and if it is smaller, it is not compressed. As a decompression circuit for compressed data that is the result of subtraction using data, a register with a bit length corresponding to the original data is added, and the output signal of this register is added to the compressed data, and the new data in the register is added. an addition circuit that forms data,
A data conversion circuit characterized in that it obtains decompressed data from the output of the adder circuit or register.
JP5793091A 1990-07-11 1991-02-28 Method and circuit for data conversion Pending JPH04273723A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP5793091A JPH04273723A (en) 1991-02-28 1991-02-28 Method and circuit for data conversion
DE69113153T DE69113153T2 (en) 1990-07-11 1991-07-09 Digital information system.
EP95100867A EP0658863A3 (en) 1990-07-11 1991-07-09 Memory card for use with a digital information system
EP91111478A EP0467208B1 (en) 1990-07-11 1991-07-09 Digital information system
KR1019910011773A KR100204720B1 (en) 1990-07-11 1991-07-11 Digital information system, digital voice signal process circuit and signal conversion circuit
US08/446,278 US6282611B1 (en) 1990-07-11 1995-05-22 Digital information system, digital audio signal processor and signal converter
US09/886,368 US20010037431A1 (en) 1990-07-11 2001-06-22 Digital information system, digital audio signal processor and signal converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5793091A JPH04273723A (en) 1991-02-28 1991-02-28 Method and circuit for data conversion

Publications (1)

Publication Number Publication Date
JPH04273723A true JPH04273723A (en) 1992-09-29

Family

ID=13069732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5793091A Pending JPH04273723A (en) 1990-07-11 1991-02-28 Method and circuit for data conversion

Country Status (1)

Country Link
JP (1) JPH04273723A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996023359A1 (en) * 1995-01-26 1996-08-01 Sega Enterprises Ltd. Device and method for encoding data and device and method for decoding data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996023359A1 (en) * 1995-01-26 1996-08-01 Sega Enterprises Ltd. Device and method for encoding data and device and method for decoding data
US5856797A (en) * 1995-01-26 1999-01-05 Sega Enterprises Ltd. Data encoding device, data decoding device, data encoding method and data decoding method

Similar Documents

Publication Publication Date Title
KR100204720B1 (en) Digital information system, digital voice signal process circuit and signal conversion circuit
US6292440B1 (en) MP3 car player
US20060075166A1 (en) Multiple function integrated circuit
US20020175665A1 (en) Integrated battery and media decoder for a portable host device, and methods of operating and manufacturing the same
JP2001509907A (en) Multi-station audio distribution device
JP5329846B2 (en) Digital data player, data processing method thereof, and recording medium
US6252830B1 (en) Real-time compressing and decompressing apparatus for recording and reproducing multi-soundtrack voice data
US20030179672A1 (en) Playback apparatus and power-saving method
JPH04271396A (en) Digital signal delivery system, digital voice signal processing circuit, and signal converting circuit
JPH04273723A (en) Method and circuit for data conversion
KR20010028354A (en) Mp3 player for car audio
CN200973175Y (en) Digital loudspeaker box
JPH0536293A (en) Digital signal delivering system, digital audio signal processing circuit and signal converting circuit
CN107705794A (en) Intensified multifunction digital audio frequency decoder
KR100575818B1 (en) Digital audio data reproducing apparatus for car audio system
US20040255760A1 (en) Portable music player for use with removable memory device
JP2000032582A (en) Headphone system
JPH05130252A (en) Digital signal receiving and supplying system and digital voice signal processing circuit and signal conversion circuit
JP2001005497A (en) Music reproducing device
US7778428B2 (en) Sound-source signal processing module
JPH05135228A (en) Digital signal transfer system and digital voice signal processing circuit and signal conversion circuit
CN2463913Y (en) Numerical code sound signal program-requesting machine with digital keyboard
JP3778781B2 (en) Signal recording / playback device
KR20040079694A (en) Muti Data Interface system of Using by Universal Data Bus
KR20010063362A (en) Car audio system