JPH03171825A - Ternary/binary converter - Google Patents

Ternary/binary converter

Info

Publication number
JPH03171825A
JPH03171825A JP1311282A JP31128289A JPH03171825A JP H03171825 A JPH03171825 A JP H03171825A JP 1311282 A JP1311282 A JP 1311282A JP 31128289 A JP31128289 A JP 31128289A JP H03171825 A JPH03171825 A JP H03171825A
Authority
JP
Japan
Prior art keywords
data
ternary
binary
value
parallel
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.)
Granted
Application number
JP1311282A
Other languages
Japanese (ja)
Other versions
JP2681401B2 (en
Inventor
Koji Minami
浩次 南
Yuichi Ninomiya
佑一 二宮
Toshiro Omura
大村 俊郎
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.)
Mitsubishi Electric Corp
Japan Broadcasting Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Hoso Kyokai NHK
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp, Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Mitsubishi Electric Corp
Priority to JP1311282A priority Critical patent/JP2681401B2/en
Publication of JPH03171825A publication Critical patent/JPH03171825A/en
Application granted granted Critical
Publication of JP2681401B2 publication Critical patent/JP2681401B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Receiver Circuits (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To reduce the loss error by deciding and correcting erroneously demodulated one of higher-order data and lower-order data at the time of demodulating the lost level and converting data to preliminarily determined data at the time when second decision data is not significant. CONSTITUTION:A series/parallel conversion means 11 converts each pair of data constituting ternary 2-baud data of conversion data to two parallel data and outputs them. First deciding means 21, 15, and 23 detect the difference between distances from higher-order data and lower-order data of two parallel data to the middle value corresponding to ternary level '1' and output binary code decision data. Second deciding means 24 and 25 compare the absolute value of this difference with a preliminarily determined threshold to output binary code decision data. A ternary/binary converting means 19 converts data to 3-bit binary data in accordance with a preliminarily determined conversion format based on first and second decision data. Thus, the loss error is reduced.

Description

【発明の詳細な説明】 [a業上の利用分野] この発明は、例えばMUSE方式の音声復調回路におい
て、3値2ボーのデータを、2値3ビットのデータに変
換するのに用いられる3値/2値変換装置に関する. [従来の技術] ハイビジョン伝送方式であるMUSE方式の音声その他
の音声チャンネルによって伝送される独立データ(以下
、「音声データ」という)を多重する方法として、NH
K技術研究第39巻第2号(90〜92ページ)におけ
るrMUSE方式の開発」と題する文献に諭じられてぃ
る「音声/独立データ多重方式』 および特開昭62−
172874号公報に記載されている「音声ベースバン
ド多重方式」がある. この方式は、送信側の変調回路では、ビットレートが1
.35 [M bit/S]の2値NRZ符号音声/独
立データを、Hl.225 (M bit/sjのデー
タに時間軸圧縮し、つぎに、2値NRZ符号を3値NR
Z符号に変換することでボーレートが12.15 [M
 Baud/sl (サンプリング周波数12.15 
[MHz] )の3値NRZ符号のデータに変換し、つ
ぎにこの3値NRZ符号データを,MUSE方式の映像
信号と等じサンプリング周波数16.2[MHz]のデ
ータに変換し、映像信号の垂直プランキング期間に時間
軸圧縮多重して伝送する。また、受信側の復調回路では
このデータを受けてデイジタルフィルタによってリサン
プルして12.15 [MHI]のデータに変換し、つ
ぎに振幅弁別器によってボーレートが12.15 [M
 Baud/s]の3値NRZ符号のデータに変換し、
つぎにこの3値NRZ符号のデータをビットレートが1
8.225[M b1t/s]ノ2値NRZ符号のデー
タニ変換し、つぎに時間軸伸長して1.35 [M b
it/s]の2値NRZ符号音声/独立データに復調す
る方式である. 第6図は、特開昭62−172874号公報に記載され
ている音声復調回路の振#Nm別部.リサンプル部およ
び3値/2値変換部の構成を示すブロック回路図である
.図において(1)は人力端子で、16.2[MHz]
 2値8ビットの3値NRZ符号音声/独立データa(
以下、「データa』という)が入力される.(2)は第
1の比較器で、入力されたデータaの値と、所定値に定
めた第1の判定値p(この例では178)との大小を比
較し、比較結果にもとづいて、「1」または「O」の信
号を出力する.(3)は第2の比較器で、人力されたデ
ータaの値と、第2の判定値q(この例では78)との
大小を比較し、比較結果にもとづいて、r1」または「
0」の信号を出力し、比較器(2) , (3)で2値
8ビットのデータaを、2値2ビットの3値NRZ符号
のデータb(以下、「データb」という)に復調する振
幅弁別器(4)を構成する。(5)はシフトレジスタで
、データbが人力され、18.2[MHZ]のクロツク
で駆動される。(6)はラッチで、シフトレジスタ(5
)の出力信号が入力され、16.2[M}IZ] のク
ロツクを入力とする4進カウンタ(7)の出力クロツク
で駆動される。(8)はスイッチで、ラッチ(6)の出
力信号が入力され、12.15 [MHZ]のクロツク
を人力とする3進カウンタ(9)の出力クロツクで駆動
され、シフトレジスタ(5)〜3進カウンタ(9)でデ
ータbの無効データを捨てて12.15 [M}Iz]
の2値2ビットの3値NRZ符号データd(以下、「デ
ータd」という)に変換するりサンプル部(10)を構
成する. (11)は直並列変換器で、人力されたスイ
ッチ(8)から出力されるデータdを、音声データを構
戒する1組のデータごとに2並列データdi,d2にし
て出力する, (12)は例えばROMで構成されてい
る3値/2値変換器で、直並列変換器(11)から入力
される2並列データdi,d2を、12.15 [MH
z]  3ビットの2値NRZ符号音声/独立データe
に変換する。この直並列変換器(l1)および3値/2
値変換器(12)で3値/2値変換部(13)を構成す
る, (14)は3値/2値変換器(l2)の3m!F
l+出力端子である.?に動作について説明する。人力
端子(1)に入力されるデータaのデータレートは、第
7図に示すように、16.2[MHzlのクロツクレー
トで、4クロツクに1回無効データがある.入力データ
aの値と3値レベルr2」,r1」,r■Jの区分およ
び第1ならびに第2の判定値p,qとは、第8図に示す
ような関係である。入力されたデータaは、比較器(2
)および(3)において、それぞれ判定値pおよびqと
比較され、比較器(3) , (4)は、p≦aのとき
はそれぞれ「1」を出力して3値レベル「2」を示す「
11」の2ビットのデータに変換し、p>a>qのとき
はrQ」,rIJを出力して3値レベル「1]を示す「
01」の2ビットのデータに変換し、a≦qのときはr
QJ,rQJを出力して3値レベル「0」を示す「00
」の2ビットのデータbに変換する.このデータbは、
16.2[M}IZIのクロツクで動作するシフトレジ
スタ(5)によって連続する4つのデータごとに区分さ
れ、無効データが除かれて、3つのデータがラッチ(6
)に入力される.ラッチ(6)は、3つのデータを同時
にラッチし、3並列データにして次のスイッチ(8)に
出力する。スイッチ(8)は12.15 [MHz]の
クロツクで切り換えられ、3並列データを12.15 
[MHzlの直列データに変換する.このデータdは、
直並列変換器(11)によって音声データを構成する1
組のデータごとに2並列データdi,d2となり、3値
/2値変換器(l2)で、例えば表1に示す3値/2値
変換フォーマットにしたがって12.15 [MHz]
 2値3ビットの3並列データeに変表 1 この表1に示す変換フォーマットにおいて、3値2ボー
のデータは、「22」〜「00」までの9レベルの情報
を表わすことができ、2値3ビットのデータは、rl 
1 1J〜r000Jまでの8レベルの情報を表わすこ
とができる。したがって、3値2ボーのデータから、2
値3ビットのデータに変換するとき、使用しない3値2
ボーの1つのレベルが存在する.これのレベルを「消失
レベル」といい、振幅弁別部(4)で「消失レベル」が
復調されたことにより生じる2値データへの変換誤りを
「消失エラー」という。表1において「消失レベル」は
「11」である。
Detailed Description of the Invention [Field of Application in Business A] The present invention is directed to a 3-bit system that is used to convert ternary 2-baud data into binary 3-bit data, for example, in a MUSE audio demodulation circuit. Regarding value/binary conversion devices. [Prior Art] NH is a method for multiplexing audio and other independent data (hereinafter referred to as "audio data") transmitted by audio channels of the MUSE system, which is a high-definition transmission system.
``Speech/independent data multiplexing system'' mentioned in the document titled ``Development of rMUSE system'' in K Technical Research Vol. 39, No. 2 (pages 90-92) and JP-A-62-
There is an ``audio baseband multiplexing method'' described in Publication No. 172874. In this method, the bit rate is 1 in the modulation circuit on the transmitting side.
.. 35 [M bit/S] binary NRZ encoded audio/independent data is transferred to Hl.35 [M bit/S]. 225 (time axis compressed to M bit/sj data, then binary NRZ code to ternary NR
By converting to Z code, the baud rate becomes 12.15 [M
Baud/sl (sampling frequency 12.15
[MHz] ) into 3-value NRZ code data, and then convert this 3-value NRZ code data into data with a sampling frequency of 16.2 [MHz], which is the same as the video signal of the MUSE method, and convert the video signal into It is time-base compressed multiplexed and transmitted during the vertical planking period. In addition, the demodulation circuit on the reception side receives this data, resamples it using a digital filter, converts it to data of 12.15 [MHI], and then converts it to data with a baud rate of 12.15 [MHI] using an amplitude discriminator.
Baud/s] into ternary NRZ code data,
Next, the data of this ternary NRZ code is converted to a bit rate of 1.
The data of the binary NRZ code of 8.225 [M b1t/s] is converted, and then the time axis is expanded to 1.35 [M b1t/s].
It is a method for demodulating into binary NRZ code voice/independent data of [it/s]. FIG. 6 shows the vibration #Nm division of the audio demodulation circuit described in Japanese Patent Application Laid-Open No. 62-172874. FIG. 2 is a block circuit diagram showing the configuration of a resample section and a ternary/binary conversion section. In the figure, (1) is a manual terminal, 16.2 [MHz]
Binary 8-bit ternary NRZ code audio/independent data a (
(hereinafter referred to as "data a") is input. (2) is a first comparator that compares the value of input data a and the first judgment value p set to a predetermined value (178 in this example). It compares the size with that and outputs a signal of ``1'' or ``O'' based on the comparison result. (3) is a second comparator that compares the value of the manually input data a with the second judgment value q (78 in this example), and based on the comparison result, determines whether
Comparators (2) and (3) demodulate binary 8-bit data a into binary 2-bit ternary NRZ code data b (hereinafter referred to as "data b"). An amplitude discriminator (4) is configured. (5) is a shift register in which data b is input manually and driven by a clock of 18.2 [MHZ]. (6) is a latch, and the shift register (5
) is input, and is driven by the output clock of a quaternary counter (7) which receives the clock of 16.2[M}IZ]. (8) is a switch to which the output signal of the latch (6) is input, and is driven by the output clock of the ternary counter (9) which uses the clock of 12.15 [MHZ] manually, and the switch registers (5) to 3 Discard the invalid data of data b using the decimal counter (9) and get 12.15 [M}Iz]
The sample section (10) is configured to convert the data into binary 2-bit ternary NRZ code data d (hereinafter referred to as "data d"). (11) is a serial-to-parallel converter, which converts the data d output from the manually operated switch (8) into two parallel data di, d2 for each set of data containing audio data, and outputs it. ) is a three-value/binary converter configured with a ROM, for example, and converts the two parallel data di, d2 input from the serial-parallel converter (11) into 12.15 [MH
z] 3-bit binary NRZ code audio/independent data e
Convert to This serial-parallel converter (l1) and ternary/2
The value converter (12) constitutes the ternary/binary converter (13). (14) is the 3m! of the ternary/binary converter (l2). F
This is the l+ output terminal. ? The operation will be explained below. As shown in FIG. 7, the data rate of data a input to the human input terminal (1) is a clock rate of 16.2 MHz, and there is invalid data once every four clocks. The relationship between the value of the input data a, the classification of the ternary levels r2'', r1'', and rJ, and the first and second determination values p and q is as shown in FIG. The input data a is passed through the comparator (2
) and (3), the comparators (3) and (4) respectively output "1" when p≦a, indicating the ternary level "2". "
11'', and when p>a>q, outputs rQ'' and rIJ to indicate the ternary level ``1''.
01'' into 2-bit data, and when a≦q, r
QJ, rQJ are output and "00" indicating the ternary level "0" is output.
” into 2-bit data b. This data b is
16.2 [M} The shift register (5) operated by the IZI clock divides the data into four consecutive pieces of data, removes invalid data, and latches the three data (6).
) is input. The latch (6) latches three data at the same time, converts them into three parallel data, and outputs them to the next switch (8). The switch (8) is switched by a 12.15 [MHz] clock, and the three parallel data are
[Convert to MHzl serial data. This data d is
1 configuring audio data with a serial-parallel converter (11)
There are two parallel data di and d2 for each set of data, and a ternary/binary converter (l2) converts the data at 12.15 [MHz] according to the ternary/binary conversion format shown in Table 1, for example.
Conversion to binary 3-bit 3-parallel data e Table 1 In the conversion format shown in Table 1, ternary 2-baud data can represent 9 levels of information from "22" to "00", The data with a value of 3 bits is rl
Eight levels of information from 11J to r000J can be expressed. Therefore, from ternary 2 baud data, 2
3-value 2 not used when converting to 3-bit data
There is one level of Beau. This level is called the "erasure level", and the conversion error to binary data that occurs when the "erasure level" is demodulated by the amplitude discriminator (4) is called the "erasure error". In Table 1, the "disappearance level" is "11".

なお、伝送系におけるノイズ、VTR等におけるジツタ
等によって「消失レベル」が検出された場合、r消失レ
ベル」に対応する2値3ビットのデータをどのように設
定しても、1ビット以上の変換誤りが発生する確率は高
くなる。
Note that if a "vanishing level" is detected due to noise in the transmission system, jitter in a VTR, etc., no matter how you set the binary 3-bit data corresponding to the r-vanishing level, conversion of 1 bit or more will not be possible. The probability that an error will occur increases.

[発明が解決しようとする課題] 従来の3値/2値変換装置は以上のように構成されてい
るので、「消失レベル」が復調された場合には1ビット
以上の変換誤りが発生し、エラーレートが大きくなると
音声が忠実に再生できなくなるという問題点があった。
[Problems to be Solved by the Invention] Since the conventional ternary/binary conversion device is configured as described above, when the "erasure level" is demodulated, a conversion error of 1 bit or more occurs, There is a problem in that when the error rate increases, the audio cannot be reproduced faithfully.

この発明は上記のような問題点を解消するためになされ
たもので、「消失レベル」が復調された場合には、元の
正しいデータを推定して変換誤りを低く抑えることがで
きる3値/2値変換装置を得ることを目的とする. [課題を解決するための手段] この発明に係る3値/2値変換装置は、2値Nビットの
人力データの値を弁別して3値レベルのr2」,r2<
1b<1」,rl<la<0」,「O」の4つの区分の
いずれに属するかを示す2値2ビットのデータに変換す
る手段と、この変換データを3値2ボーの上位データと
下位データとを組成する1組のデータごとに2並列デー
タにして出力する直並列変換手段と、当該2並列データ
の変換前のそれぞれの上記3値レベル「1」に対応する
中間値からの離れている値の差を検出してその差の値の
正負を示す2値符号の判定データを出力する第.1の判
定手段と、当該差の値の絶対値とあらかじめ定めたしき
い値との大小を比較してその結果を示す2値符号の判定
データを出力する第2の判定手段と、上記2並列データ
および当該2並列データについての上記第1ならびに第
2の判定データにもとづいて2値3ビットのデータに変
換する3値/2値変換手段とを備えた点を特徴とする. [作用] この発明における変換手段は、2値Nビットの人力デー
タの最上位ビット(MSB)の符号と、この入力データ
の値が、3値レベルの「2」.「1」.「0』の3つの
区分のいずれに属するかを弁別して2値2ビットで表わ
したデータの排他的論理和をとった符号とを組み合せた
2値2ビットのデータに変換する.この変換データは、
入力データの値が、3値レベルを’2J.r2>1b>
IJ,rl>la>0」,r0」の4つに分けた区分の
いずれに属する値であるかを示すシのとなる.直並列変
換手段は、この変換データを、3値2ボーのデータを組
成する1組のデータごとに2並列データにして出力する
。第1の判定手段は、当該2並列データの上位データと
下位データのうち、どちらの方が3値レベルの「1」に
対応する中間値から離たっているかの差を検出して、そ
の差の値の正負を示す2値の符号の判定データを出力す
る。第2の判定手段は、その差の値の絶対値とあらかじ
め定めたしきい値との大小を比較し、その結果を示す2
値符号の判定データを出力する.3値/2値変換手段は
、2並列データおよび当該2並列データについての第1
および第2の判定データにもとづいて、あらかじめ定め
た変換フォーマットにしたがって2値3ビットのデータ
に変換する。この結果、消失レベルが復調された場合、
上位データと下位データのうち、いずれの方が誤って復
調されたかが明瞭に判定できる場合には修正した3値2
ボーのデータに対応する2値3ビットのデータに変換し
、明瞭に判定できない場合には修正を施さないで消失レ
ベルについて定めたデータに変換するので、消失エラー
を小さくすることができる. [発明の実施例] 以下、この発明の一実施例を説明する.第1図はこの実
施例のブロック回路図で、第6図と同一符号はそれぞれ
同一 または相当部分を示しているので説明を省略する
. 図において、(20)は排他的OR回路で、振幅弁別部
(4)の出力データdが入力され、直並列変換器(11
)に論理信号gを出力する.他方、この直並列変換器(
11)には、スイッチ(8)から出力される直列データ
CのMSBが入力される. (21)は排他的OR回路
で、第3図のように7個の排他的OR素子で構成されて
おり、各素子の一方の入力には、スイッチ(8)から出
力された8ビットの直列データCのMSBが入力され、
他方の入力は、2SBからLSBまでの信号がそれぞれ
入力され、7ビットのデータκが出力される, (tS
)は直並列変換器で、音声データを組成する1組のデー
タを、それぞれ7ビットの並列データK1およびK2に
して出力する, (23)は減算器で、KIK2の減算
値データmを出力する, (24)は絶対値回路で、減
算値データmの絶対値1mlを出力する, (25)は
比較器で、入力された絶対値1mlと、所定の比較値r
との比較を行い、比較結果が、 lml≧rのときは「1」 Inferのときは「O」 の判定データnを出力する。この排他的OR回路(21
)、直並列変換器(15)、減算器(23)で第1の判
定手段を構成し、絶対値回路(24)および比較器(2
5)で、第2の判定手段を構成し、この第1および第2
の判定手段で消失レベル判定部(26)を構成している
。(19)は3値/2値変換器で、直並列変換器(11
)から入力される2並列データh1h2、消失レベル判
定部(26)から入力される第1の判定データmおよび
第2の判定データnの組合せに応じて後述する表7およ
び表8の3値/2値変換フォーマットにしたがって2値
3ビットのデータへの変換を行なう. 次に動作について説明する.人力端子(1)に入力され
た8ビットのデータaは、16.2[MHzlで動作す
るシフトレジスタ(5)によって連続する4つのデータ
ao,al,a2および無効データが同時に取り出され
、無効データ以外の3つのデータaO,al,a2をラ
ッチ(6)に出力する.ラッチ(6)は、3つのデータ
ao,at,a2を同時にラッチすることで3並列デー
タにしてスイッチ(8)に出力する。スイッチ(8)は
12.15 [MHz]で切換えられ、ラッチ(6)か
ら入力された3並列データao,al,a2を12.1
5 [MHz]の直列データCに変換して比較器(2)
 . (3)および排他的OR回路(21)に出力する
とともに、その最上位ビット(以下、rMSBJという
)を直並列変換器(11)に出力する。この直列データ
CのMSBは、下記の表2に示すように、この直列デー
タCが、中間値(127.5>以上か以下かの情報、す
なわち、MSBが「1」のときは中間値以上の値であり
、「O」のときは中間値以下の値であることを示表 2 他方、振幅弁別部(4)に入力された2値8ビットの直
列データCは、比較器(2)で判定レベルpと、また比
較器(3)で判定レベルqと比較され、2値2ビットの
3値データd(以下、「データd」という)に復調され
る.この2ビットのデータdは、排他的OR回路(20
)に入力され、データdの元の直列データCの値Dnが
、Dn≧PまたはDn <qのときは「0ノP>Dn≧
9     のときは「1」のデータgが出力される。
This invention was made to solve the above problems, and when the "erasure level" is demodulated, the original correct data can be estimated and conversion errors can be kept low. The purpose is to obtain a binary conversion device. [Means for Solving the Problems] A ternary/binary conversion device according to the present invention discriminates the value of binary N-bit manual data to obtain ternary levels r2', r2<
1b <1'', rl < la <0'', and ``O''; A serial/parallel conversion means for converting and outputting two parallel data for each set of data composing the lower order data, and a distance from the intermediate value corresponding to each of the above three-value level "1" before conversion of the two parallel data. The second section detects the difference between the values and outputs binary code judgment data indicating whether the difference value is positive or negative. a second determining means that compares the absolute value of the difference value with a predetermined threshold value and outputs determination data in a binary code indicating the result; The present invention is characterized by comprising a ternary/binary conversion means for converting data into binary 3-bit data based on the data and the first and second judgment data regarding the two parallel data. [Operation] The conversion means in the present invention converts the sign of the most significant bit (MSB) of binary N-bit human input data and the value of this input data into a ternary level "2". "1". It distinguishes which of the three categories of "0" it belongs to and converts it into binary 2-bit data by combining it with a code obtained by taking the exclusive OR of the data expressed in binary 2-bits.This converted data is ,
The value of the input data is the ternary level '2J. r2>1b>
IJ, rl>la>0'', r0'' indicates which of the four categories the value belongs to. The serial-to-parallel conversion means outputs the converted data by converting it into two parallel data for each set of data that composes ternary and two-baud data. The first determination means detects the difference in which of the upper data and lower data of the two parallel data is farther from the intermediate value corresponding to the ternary level "1", and Binary sign determination data indicating whether the value is positive or negative is output. The second determination means compares the absolute value of the difference value with a predetermined threshold value and displays the result.
Outputs the value sign judgment data. The ternary/binary conversion means includes two parallel data and a first
Based on the second determination data, the data is converted into binary 3-bit data according to a predetermined conversion format. As a result, if the erasure level is demodulated,
If it can be clearly determined which of the upper data and lower data was demodulated incorrectly, the corrected ternary value 2
The data is converted into binary 3-bit data corresponding to the baud data, and if it cannot be clearly determined, it is converted to data that specifies the erasure level without making any corrections, so erasure errors can be reduced. [Embodiment of the Invention] An embodiment of the invention will be described below. Figure 1 is a block circuit diagram of this embodiment, and the same reference numerals as in Figure 6 indicate the same or corresponding parts, so their explanation will be omitted. In the figure, (20) is an exclusive OR circuit to which the output data d of the amplitude discriminator (4) is input, and the serial/parallel converter (11
) outputs the logic signal g. On the other hand, this serial-parallel converter (
11), the MSB of the serial data C output from the switch (8) is input. (21) is an exclusive OR circuit, which is composed of seven exclusive OR elements as shown in Figure 3, and one input of each element is connected to the 8-bit series output from switch (8). The MSB of data C is input,
The other input receives signals from 2SB to LSB, and outputs 7-bit data κ, (tS
) is a serial-to-parallel converter, which converts a set of data forming the audio data into 7-bit parallel data K1 and K2, respectively, and outputs it. (23) is a subtracter, which outputs the subtracted value data m of KIK2. , (24) is an absolute value circuit that outputs 1 ml of the absolute value of the subtraction value data m, (25) is a comparator that outputs the input absolute value 1 ml and a predetermined comparison value r
When the comparison result is lml≧r, the judgment data n is “1” and when the comparison result is Infer, it is “O”. This exclusive OR circuit (21
), a serial-to-parallel converter (15), and a subtracter (23) constitute the first determination means, and an absolute value circuit (24) and a comparator (2
5) constitutes a second determination means, and the first and second
The determination means constitutes the erasure level determination section (26). (19) is a ternary/binary converter, and a serial/parallel converter (11
) and the combination of the first judgment data m and the second judgment data n input from the erasure level judgment unit (26), the ternary value / of Table 7 and Table 8, which will be described later, is determined. Conversion to binary 3-bit data is performed according to the binary conversion format. Next, we will explain the operation. From the 8-bit data a input to the human input terminal (1), four consecutive data ao, al, a2 and invalid data are taken out simultaneously by a shift register (5) operating at 16.2 MHz, and the invalid data is The other three data aO, al, a2 are output to the latch (6). The latch (6) simultaneously latches the three data ao, at, and a2, thereby converting them into three parallel data and outputting them to the switch (8). The switch (8) is switched at 12.15 [MHz], and the three parallel data ao, al, a2 input from the latch (6) are switched at 12.15 [MHz].
5 Convert to [MHz] serial data C and send to comparator (2)
.. (3) and the exclusive OR circuit (21), and its most significant bit (hereinafter referred to as rMSBJ) is output to the serial/parallel converter (11). As shown in Table 2 below, the MSB of this serial data C is information on whether this serial data C is greater than or less than the intermediate value (127.5>), that is, when the MSB is "1", it is greater than or equal to the intermediate value. Table 2 indicates that the value is below the intermediate value when it is "O".On the other hand, the binary 8-bit serial data C input to the amplitude discriminator (4) is It is compared with the judgment level p in the comparator (3) and with the judgment level q in the comparator (3), and demodulated into binary 2-bit ternary data d (hereinafter referred to as "data d").This 2-bit data d is , exclusive OR circuit (20
), and when the value Dn of the original serial data C of the data d is Dn≧P or Dn<q, “0 no P>Dn≧
9, data g of "1" is output.

このデータgと、スイッチ(8)から入力される直列デ
ータCのMSBとを紐合せたデータhは、下記の表3お
よび第4図に示すように、データdに変換される前の直
列データCの値が、第8図に示した3値レベルr2」,
rl』,rQ」の区分のうち、「1」の区分を、中間値
で2つに区切った4つの区分、r2J ,  ribJ
 .  ’1a」.  ’0」のいずれに属する値であ
ったかを示す情報をもっている。
Data h, which is a combination of this data g and the MSB of serial data C input from switch (8), is serial data before being converted to data d, as shown in Table 3 and Figure 4 below. The value of C is the ternary level r2 shown in FIG.
rl'', rQ'', the ``1'' category is divided into two by the intermediate value, r2J, ribJ
.. '1a'. It has information indicating which of '0' the value belongs to.

表  3 この表中、中間値は、(127.5)で3値レベルの「
1」に対応している。これらのデータMSBとgは、直
並列変換器(l1)で音声データを構成する1組のデー
タごとに2並列データhl .h2となって3値/2値
変換器(19)に入力される.他方、排他的OR回路(
21)に出力された8ビットの直列データCは、第6図
に示すように、入力データCのMSBに制御されて、下
記の表4に示表 4 第5図はこの排他的OR回路(21)の入出力特性図で
ある. この排他的OR回路(21)から出力された7ビットの
データKは、人力データCの値が中間値(127.5)
からどれだけ離れているかの情報をもつている.すなわ
ち、データKの値が127のとき中間値に最も近く、デ
ータKの値が小さいほど中間値から離れていることを示
すデータとなる.次に、データKは直並列交換器(l5
)で音声データを構成する1組のデータごとに2並列デ
ータKl ,K2になって比較器(23)に入力され、
上位桁のデータ(以下、「上位データ」という)Klか
ら、下位桁のデータ(以下、「下位データ」という)K
2の減算が行なわれる.この減算器(23)の出力デー
タmは、表5のようになる.表5 すなわち、 減算データmのMSBは、 減算結果 が正か負かの情報をもっており、 K1≧K2のときには『O」 Kl <K2のときには「1」 となる.この第1の判定データであるMSBが「Ojの
ときは、下位データK2の方が、上位データKlより中
間値から離れているか、または同じであることを示して
おり、r.1』のときは、上位データKlの方が中間値
より離れていることを示している. つぎに、減算値データmは絶対値回路(24)で絶対値
1mlがとられ、比較器(25)に人力されて予め定め
た基準値rと比較され、 1m1≧rのときにはr1』 ml<rのときには「0」 の第2の判定データnが出力される。
Table 3 In this table, the intermediate value is (127.5), which is the ternary level “
1". These data MSB and g are converted into two parallel data hl . h2 and is input to the ternary/binary converter (19). On the other hand, exclusive OR circuit (
21) is controlled by the MSB of input data C, as shown in Figure 6, and is shown in Table 4 below. 21) is an input/output characteristic diagram. The 7-bit data K output from this exclusive OR circuit (21) has an intermediate value (127.5) of the human data C.
It has information on how far away it is from. That is, when the value of data K is 127, it is closest to the intermediate value, and the smaller the value of data K, the further away from the intermediate value. Next, the data K is transferred to the serial-parallel exchanger (l5
), each set of data constituting the audio data becomes two parallel data Kl, K2 and is input to the comparator (23),
From the upper digit data (hereinafter referred to as "upper data") Kl to the lower digit data (hereinafter referred to as "lower data") K
A subtraction of 2 is performed. The output data m of this subtracter (23) is as shown in Table 5. Table 5 In other words, the MSB of the subtraction data m has information whether the subtraction result is positive or negative, and is ``O'' when K1≧K2 and ``1'' when Kl <K2. When the MSB, which is the first judgment data, is "Oj, it indicates that the lower data K2 is farther from the intermediate value than the upper data Kl, or is the same, r.1" indicates that the upper data Kl is further away from the intermediate value.Next, the absolute value 1ml of the subtracted value data m is taken in the absolute value circuit (24), and the absolute value 1ml is taken manually by the comparator (25). and a predetermined reference value r, and when 1ml≧r, r1 is output, and when ml<r, the second determination data n is output as “0”.

この第2の判定データnが「O』のときは、IKI−K
21の差が小さく、どちらのデータも中間値から同じ程
度離れた値であって、どちらのデータが誤って3値レベ
ルの「1」に復調されたかが判定ない場合、および両方
のデータとも誤つて3値レベルの「1」に復調された場
合であることを示している.また、判定データnが「1
」のときは、KlおよびK2のうち、いずれか一方が中
間値から大きく離れており、第1の判定データMSBと
組み合せると、誤って3値レベル「1」に復調されたデ
ータが上位データと下位データのうち、いずれのデータ
であるかを判定することができる.表6にこの第1およ
び第2の判定データの組み合せと、その判定結果を示す
. 表  6 3値/2値変換器(19)は、この判定結果と、2並列
入力データKl ,K2との組み合せにもとづいて誤っ
て復調された方のデータを修正した2値3ビットのデー
タに変換し、第2の判定データnが「O」の場合には修
正を行なわないで、誤った修正を施すことによる2ビッ
ト以上の誤りの発生を防止している. 次に、消失レベル「11J以外のデータが復調された場
合の3値/2値変換器(l9)の変換フォー表 7 消失レベル『l1」が復調された場合は、上位のデータ
K1と下位データK2のうち、いずれか一方が誤って「
l』に復調された確率が高く、上位データK1が誤って
復調された場合は、「21」が「11」に復調された場
合、および「01」が「l1』に復調された場合である
.また、下位データK2が誤って復調された場合は、「
12」が「1l」と、また、「10」が「11」と誤っ
て復調された場合である.元の2値2ボーのデータ「2
1」が振幅弁別部(4)において、rib  1bJと
誤って復調された第2図(a)の場合は、3値レベル「
1』からの距離は・、上位データK1の方が大きいので
、Kl <K2となり、減算器(23)の判定出力mの
MSBは「1」となる. また、l Kl −K2  l>rであるので、比較器
(25)の判定出力nは「1」となる。この2つの判定
データmのMSBおよびnを組み合せると、上位データ
h1の復調前のデータの値は3値レベルの「2」の区分
に属していたと判断されるので、3値/2値゜変換器(
l9)は、この第1および′!J2の判定データmのM
SB,nをうけて上位データh1を3値レベル「2」に
訂正した3値2ボーのデータ「21」に対応する表7の
2値3ビットのデータr0 1 0Jを出力する. また、r10」がrla la 」と誤って復調された
第2図(b)の場合は、K1〜K2であるのでIKl 
−K2 1<rとなり、判定データnはrO」となる.
3値/2値変換器(l9)は、この判定データnが「0
」の場合は、いずれの方のデータが誤って復調されたか
判定できないので、消失レベル「11』についてあらか
じめ定めた2値3ビットのデータrooOJに変換する
.この場合の消失エラーは、「10』の変換データr0
01Jであるので、1ビット誤りとなる.下記の表8に
、消失レベル「11」が復調された場合の、変換フオ表 8 なお、上記実施例では、3値/2値変換フォーマットが
表1と同じに構成した場合を示したが、この変換フォー
マットに限られるものではなく、下記の表9のように構
成し、消失レベル「11」に対応する2並列データを、
3値レベルの区分rtbJ ,  rla」を用いて、
下記の表10に示すよ表 9 表 1 O ?発明の効果] 以上のように、この発明による3値/2値変換装置は、
2値Nビットの入力データを、当該入力データの値が3
値レベルのr2』,r中間以上の1」.「中間値以下の
IJ,r■』の4つの区分のいずれに属するかを表わす
2値2ビットのデータに変換するとともに、3値2ボー
のデータを組成する上位データと、下位データにそれぞ
れ復調される元の入力データの値の中間値ら離れている
値の差を検出してその差の値の正負を2値符号で表わす
第1゛の判定データと、当該差の値の絶対値があらかじ
め定めたしきい値より大きいか否かを2値符号で表わす
第2の判定データとを得、これらの判定データにもとづ
いて、消失レベルが復調された場合に、上位データと下
位データのうち、どちらが誤って復調されたかを判定し
て修正するとともに、′s2の判定データが有意でない
場合には、消失レベルに対してあらかじめ定めた2値3
ビットのデータに変換するように構成したので、消失エ
ラーを低く抑えることができる3値/2値変換装置が得
られる効果がある.
When this second judgment data n is “O”, IKI-K
If the difference between 21 and 21 is small, and both data are the same distance from the intermediate value, and it is not possible to determine which data was erroneously demodulated to the ternary level "1", and both data are erroneously demodulated to 1 This indicates that the signal has been demodulated to a ternary level "1". Also, the judgment data n is “1”.
”, one of Kl and K2 is far away from the intermediate value, and when combined with the first determination data MSB, the data that was erroneously demodulated to the ternary level “1” becomes the upper data. It is possible to determine which data is the lower-level data. Table 6 shows the combinations of the first and second judgment data and the judgment results. Table 6 The ternary/binary converter (19) converts the erroneously demodulated data into binary 3-bit data based on the combination of this determination result and the two parallel input data Kl and K2. If the second judgment data n is "O", no correction is performed to prevent errors of two or more bits from occurring due to incorrect correction. Next, Table 7 shows the conversion formula of the ternary/binary converter (l9) when data other than erasure level "11J" is demodulated. When erasure level "l1" is demodulated, upper data K1 and lower data One of K2 accidentally
There is a high probability that the higher-order data K1 is demodulated by mistake, such as when "21" is demodulated into "11" and when "01" is demodulated into "l1". .In addition, if the lower data K2 is demodulated by mistake,
This is a case where "12" is erroneously demodulated as "1l" and "10" is erroneously demodulated as "11". The original binary 2-baud data “2
In the case of FIG. 2(a), in which ``1'' is erroneously demodulated as rib 1bJ in the amplitude discriminator (4), the ternary level ``
Since the upper data K1 is larger, Kl < K2, and the MSB of the judgment output m of the subtracter (23) is "1". Furthermore, since l Kl −K2 l>r, the judgment output n of the comparator (25) becomes “1”. By combining the MSB and n of these two determination data m, it is determined that the value of the data before demodulation of the higher-order data h1 belongs to the ternary level "2" category, so ternary/binary ゜converter(
l9) is this first and '! M of judgment data m of J2
In response to SB,n, the upper data h1 is corrected to the ternary level ``2'' and the binary 3-bit data r0 1 0J of Table 7 corresponding to the ternary 2-baud data ``21'' is output. In addition, in the case of Fig. 2(b) in which r10'' is erroneously demodulated as rla la'', IKl is K1 to K2.
-K2 1<r, and the judgment data n becomes rO.
The ternary/binary converter (l9) determines that this judgment data n is "0".
'', it is not possible to determine which data was demodulated in error, so it is converted to binary 3-bit data rooOJ, which is predetermined for the erasure level ``11''.In this case, the erasure error is ``10''. Conversion data r0
Since it is 01J, there is a 1-bit error. Table 8 below shows the conversion format table 8 when erasure level "11" is demodulated. Note that in the above embodiment, the case where the ternary/binary conversion format is the same as Table 1 is shown. The conversion format is not limited to this one, but can be configured as shown in Table 9 below to convert two parallel data corresponding to erasure level "11" into
Using the three-level classification rtbJ, rla,
As shown in Table 10 below, Table 9 Table 1 O? Effects of the invention] As described above, the ternary/binary conversion device according to the present invention has the following effects:
If you input binary N-bit input data, the value of the input data is 3.
value level r2'', r intermediate or higher 1''. Converts to binary 2-bit data indicating which of the four categories "IJ, r below the intermediate value" it belongs to, and demodulates each into upper data and lower data that make up 3-value 2 baud data. first judgment data that detects the difference between values that are far from the intermediate value of the original input data values and expresses the sign of the difference value with a binary code, and the absolute value of the difference value. and second judgment data that expresses whether or not it is larger than a predetermined threshold using a binary code, and based on these judgment data, when the erasure level is demodulated, the upper data and the lower data are determined. , determine which one was demodulated incorrectly and correct it, and if the determination data of 's2 is not significant, a predetermined binary value of 3 is determined for the erasure level.
Since it is configured to convert into bit data, it is possible to obtain a ternary/binary conversion device that can suppress erasure errors.

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

第1図はこの発明の一実施例のブロック回路図、第2図
は消失レベルが復調された場合のデータの組み合せ例を
示す図、第3図は従来の3値/2値変換装置のブロック
回路図、第4図はりサンプル部に入力されるデータ列を
示す図、第5図は振幅弁別部における入力データの10
進数と3値レベルおよび判別値p.qとの関係を示す図
、第6図は第1図の実施例の排他的OR回路(21〉の
ー構成例のブロック回路図、第7図は3値レベル「1」
に復調される直列データCの値の区分INa」,  r
xbJを示す図、第8図はこの実施例の排他的OR回路
(21)の入出力特性図である.(2) . (3) 
, (16)・・・比較器、(4)・・・振幅弁別部、
(5)・・・シフトレジスタ、(6)・・・ラッチ、(
8)・・・スイッチ、(lO)・・・リサンプル部、(
11) . (is)・・・直並列変換器、(l3)・
・・3値/2値変換部、(l9)・・・3値/2値変換
器、(20) . (21)・・・排他的論理和回路、
(23)・・・減算器、(24)・・・絶対値回路、(
25)・・・比較器、(26)・・・消失レベル判定部
.なお、各図中、同一符号はそれぞれ同一、または相当
部分を示す.
Fig. 1 is a block circuit diagram of an embodiment of the present invention, Fig. 2 is a diagram showing an example of data combination when the erasure level is demodulated, and Fig. 3 is a block diagram of a conventional ternary/binary conversion device. Circuit diagram, Fig. 4 shows the data string input to the beam sample section, Fig. 5 shows 10 of the input data to the amplitude discriminator section.
Base number, ternary level, and discriminant value p. FIG. 6 is a block circuit diagram of a configuration example of the exclusive OR circuit (21) of the embodiment of FIG. 1, and FIG. 7 is a diagram showing the relationship between
The division INa of the value of the serial data C demodulated into
FIG. 8, which is a diagram showing xbJ, is an input/output characteristic diagram of the exclusive OR circuit (21) of this embodiment. (2). (3)
, (16)...Comparator, (4)...Amplitude discriminator,
(5)...Shift register, (6)...Latch, (
8)...Switch, (lO)...Resample section, (
11). (is)...Serial-to-parallel converter, (l3)
... Ternary/binary converter, (l9)... Ternary/binary converter, (20) . (21)...exclusive OR circuit,
(23)...Subtractor, (24)...Absolute value circuit, (
25)...Comparator, (26)...Elimination level determination unit. In each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)3値符号のデータが2値Nビットのデータに変換
されている入力データの値を弁別して3値レベルの「2
」、「2<1b<1」、「1<1a<0」、「0」の区
分のいずれに属するかを示す2値2ビットのデータに変
換する手段と、この変換されたデータを3値2ボーの上
位データと下位データとを組成する1組のデータごとに
2並列データにして出力する直並列変換手段と、当該2
並列データの変換前の各値の上記3値レベルの「1」に
対応する中間値からの離たりの差を検出してその差の値
の正負を示す2値符号の判定データを出力する第1の判
定手段と、当該差の値の絶対値とあらかじめ定めたしき
い値との大小を比較してその結果を2値符号の判定デー
タとして出力する第2の判定手段と、上記2並列データ
および当該2並列データについての上記第1ならびに第
2の判定データにもとづいて2値3ビットのデータに変
換する3値/2値変換手段とを備えた3値/2値変換装
置。
(1) The ternary code data is converted into binary N-bit data.The value of the input data is discriminated and the ternary level "2"
”, “2<1b<1”, “1<1a<0”, and “0”. a serial-to-parallel conversion means for converting and outputting two parallel data for each set of data comprising upper and lower data of 2 baud;
Detecting the difference in distance from the intermediate value corresponding to the ternary level "1" of each value before conversion of the parallel data, and outputting judgment data of a binary code indicating the sign or negative of the value of the difference. a second determining means that compares the magnitude of the absolute value of the difference value with a predetermined threshold value and outputs the result as binary code determination data; and the two parallel data. and a ternary/binary conversion device that converts the two parallel data into binary 3-bit data based on the first and second determination data.
JP1311282A 1989-11-29 1989-11-29 Three-value / two-value converter Expired - Fee Related JP2681401B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1311282A JP2681401B2 (en) 1989-11-29 1989-11-29 Three-value / two-value converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1311282A JP2681401B2 (en) 1989-11-29 1989-11-29 Three-value / two-value converter

Publications (2)

Publication Number Publication Date
JPH03171825A true JPH03171825A (en) 1991-07-25
JP2681401B2 JP2681401B2 (en) 1997-11-26

Family

ID=18015259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1311282A Expired - Fee Related JP2681401B2 (en) 1989-11-29 1989-11-29 Three-value / two-value converter

Country Status (1)

Country Link
JP (1) JP2681401B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011000153A (en) * 2009-06-16 2011-01-06 Fujishoji Co Ltd Game machine
JP2011000154A (en) * 2009-06-16 2011-01-06 Fujishoji Co Ltd Game machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0246024A (en) * 1988-08-06 1990-02-15 Mitsubishi Electric Corp Ternary/binary converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0246024A (en) * 1988-08-06 1990-02-15 Mitsubishi Electric Corp Ternary/binary converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011000153A (en) * 2009-06-16 2011-01-06 Fujishoji Co Ltd Game machine
JP2011000154A (en) * 2009-06-16 2011-01-06 Fujishoji Co Ltd Game machine

Also Published As

Publication number Publication date
JP2681401B2 (en) 1997-11-26

Similar Documents

Publication Publication Date Title
US5502744A (en) Data coding system
JPH0548658A (en) Digital signal modulation/demodulation system
JP2818534B2 (en) Coded modulation method
JPH0325971B2 (en)
JPS58138153A (en) Binary data transmitting code processor
JPH03171825A (en) Ternary/binary converter
JP3244428B2 (en) Data demodulator
JPS59126342A (en) Digital sound signal transmitting system
US4888792A (en) Multi-level quadrature amplitude modulation and demodulation system
JPS60134545A (en) Data communication signal structure
JPH03171824A (en) Ternary/binary converter
JP2681399B2 (en) Three-value / two-value converter
JPH0246024A (en) Ternary/binary converter
CA1178665A (en) Method and apparatus for converting binary information into a high density single-side band signal
JPS6222293B2 (en)
US6839006B1 (en) Communication device
JPH02312338A (en) Multivalue demodulation system
JP3998637B2 (en) Noise rejection information transmission method
JPS63219252A (en) Multilevel qam communication system
JPH0145788B2 (en)
JP4195759B2 (en) Intercom transmission system
US20060034388A1 (en) Data sending device, data receiving device, transmission path encoding method, and decoding method
JP2853716B2 (en) Variable bit type ADPCM transcoder
JPH0136294B2 (en)
JPS60154754A (en) Transmitter-receiver of digital signal

Legal Events

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