JPH07212247A - Majority decision processing circuit - Google Patents

Majority decision processing circuit

Info

Publication number
JPH07212247A
JPH07212247A JP481294A JP481294A JPH07212247A JP H07212247 A JPH07212247 A JP H07212247A JP 481294 A JP481294 A JP 481294A JP 481294 A JP481294 A JP 481294A JP H07212247 A JPH07212247 A JP H07212247A
Authority
JP
Japan
Prior art keywords
majority decision
bit
code
decision processing
processing circuit
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
JP481294A
Other languages
Japanese (ja)
Inventor
Norihisa Takayama
憲久 高山
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP481294A priority Critical patent/JPH07212247A/en
Publication of JPH07212247A publication Critical patent/JPH07212247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Error Detection And Correction (AREA)
  • Television Receiver Circuits (AREA)

Abstract

PURPOSE:To perform suitable majority decision processing corresponding to the exactness of input data. CONSTITUTION:Respective comparators 1 and 2 compare respective threshold values L1 and L2 with the count number of a code counter 63 and when the count number exceeds the respective threshold values L1 and L2, '1' is outputted. The output of a selector 3 is switched according to the output of the respective comparators 1 and 2. When the count number of the code counter 63 is less than L1, a bit bl of a completely majority decision processed control code outputted from an output terminal 68 is turned to '0'. When the count value of the code counter 63 exceeds L2, the bit b1 of the completely majority decision processed control code is turned to '1'. When the count value of the code counter 63 is more than L1 but less than L2, the bit b1 of the completely majority decision processed control code is the same as the last majority decided result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は多数決判定処理回路に係
り、詳しくは、ディジタル伝送において繰り返し送りだ
される符号、例えば、MUSE方式やNTSC−BS方
式などのPCM音声放送における制御符号などの多数決
判定処理回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a majority decision processing circuit, more specifically, a majority decision for a code repeatedly sent out in digital transmission, for example, a control code in PCM audio broadcasting such as MUSE or NTSC-BS. The present invention relates to a determination processing circuit.

【0002】[0002]

【従来の技術】一般に、ディジタル伝送において繰り返
し送りだされる符号については、多数決判定処理により
符号誤りに対する保護がなされている。例えば、MUS
E方式やNTSC−BS方式などのPCM音声放送で
は、ディジタル伝送される複数の音声フレーム中に同じ
制御符号が含まれている。つまり、複数の音声フレーム
について同じ制御符号が繰り返し送りだされている。そ
して、音声デコーダ内に設けられた多数決判定処理回路
により、制御符号の多数決判定処理が行われている。
2. Description of the Related Art Generally, a code sent repeatedly in digital transmission is protected against a code error by a majority decision process. For example, MUS
In PCM audio broadcasting such as E system and NTSC-BS system, the same control code is included in a plurality of digitally transmitted audio frames. That is, the same control code is repeatedly sent for a plurality of audio frames. Then, the majority decision processing circuit of the audio decoder performs the majority decision processing of the control code.

【0003】以下、MUSE方式を例にとり、従来の多
数決判定処理回路について説明する。尚、MUSE方式
については、「MUSE−ハイビジョン伝送方式」(電
子情報通信学会発行)に詳説されている。
A conventional majority decision processing circuit will be described below by taking the MUSE method as an example. The MUSE system is described in detail in "MUSE-Hi-Vision transmission system" (published by The Institute of Electronics, Information and Communication Engineers).

【0004】図3に、MUSE方式における音声フレー
ム構造を示す。この音声フレーム構造については、上記
文献のp.174,16行目からp.184, 6行目に記載されてい
る。MUSE方式ではNTSC−BS方式と同様にA,
Bの2つの音声モードが設定されており、それぞれ音声
フレーム構造が異なっている。例えば、Aモードには4
つの音声チャネルがあり、それぞれのデータビット数が
8×32ビットであるのに対し、Bモードには2つの音
声チャネルしかなく、それぞれのデータビット数は11
×48ビットである。但し、1フレームのビット数(=
1350ビット)と、先頭から54ビットまでの構成につい
ては、両音声モード共同じである。すなわち、1フレー
ムの先頭部には16ビットのフレーム同期信号と、それ
に続いて22ビットの制御符号が設けられている。フレ
ーム同期信号はNTSC−BS方式と同様の16ビット
のPN符号で、(0001001101011110)のビットパターン
である。
FIG. 3 shows a voice frame structure in the MUSE system. This audio frame structure is described from the p.174, line 16 to the p.184, line 6 of the above document. In the MUSE system, A, A as in the NTSC-BS system
Two audio modes B are set, and the audio frame structures are different from each other. For example, 4 for A mode
There are two audio channels, each of which has 8 × 32 data bits, whereas the B mode has only two audio channels and each has 11 data bits.
× 48 bits. However, the number of bits in one frame (=
1350 bits) and the structure from the beginning to 54 bits are the same in both audio modes. That is, a 16-bit frame sync signal and a 22-bit control code are provided at the beginning of one frame. The frame synchronization signal is a 16-bit PN code similar to the NTSC-BS system, and has a bit pattern of (0001001101011110).

【0005】一方、制御符号は、図4に示すようにビッ
ト割り付けされている。この22ビットの制御符号のう
ち、ビットb14(マスターフレーム識別)を除く各ビ
ットb1〜b13,b15〜b22は、A,Bモードの
切替時などに変化するだけであり、通常は固定されてい
る。そのため、36個のフレームのまとまりであるマス
ターフレーム単位、もしくは、18個のフレームのまと
まりであるスーパーフレーム単位で、制御符号の各ビッ
トb1〜b13,b15〜b22毎に多数決判定処理が
行われて符号誤りに対する保護がなされている。また、
音声形式を示すビットb1〜b6のうち、A,Bモード
の別はビットb1によって指定される。
On the other hand, the control code is bit-allocated as shown in FIG. Of the 22-bit control code, bits b1 to b13 and b15 to b22 other than bit b14 (master frame identification) only change when switching between A and B modes and are normally fixed. . Therefore, the majority decision processing is performed for each bit b1 to b13, b15 to b22 of the control code in a master frame unit that is a group of 36 frames or a super frame unit that is a group of 18 frames. Protection against code errors is provided. Also,
Among the bits b1 to b6 indicating the audio format, the bit b1 designates whether the mode is A or B.

【0006】図5に、MUSE方式で用いられる音声デ
コーダのブロック構成を示す。音声デコーダは、同期検
出処理部51と制御符号検出処理部52とPCMデコー
ド処理部53とD/A変換部54と入力端子55および
出力端子56から構成されている。
FIG. 5 shows a block configuration of an audio decoder used in the MUSE system. The audio decoder comprises a synchronization detection processing unit 51, a control code detection processing unit 52, a PCM decoding processing unit 53, a D / A conversion unit 54, an input terminal 55 and an output terminal 56.

【0007】映像信号から分離され、時間軸伸長処理や
フレームデインターリーブ処理などを施された音声ビッ
トストリーム信号は、入力端子55に入力される。音声
ビットストリーム信号は図3に示すフレーム構造になっ
ているが、図3は一種の構成図であって、このままの時
系列信号になっているわけではない。これについては、
上記文献のp.181,8 行目からp.184, 6行目に詳説されて
いる。
The audio bit stream signal separated from the video signal and subjected to the time axis expansion processing and the frame deinterleaving processing is input to the input terminal 55. The audio bit stream signal has the frame structure shown in FIG. 3, but FIG. 3 is a kind of configuration diagram and does not mean a time series signal as it is. For this,
It is described in detail on lines 181, 8 to 184, 6 of the above document.

【0008】音声ビットストリーム信号は入力端子55
から各処理部51〜53へ送られる。同期検出処理部5
1では、フレーム同期信号が検出され、それに基づいて
同期検出パルスが出力される。制御符号検出処理部52
では、同期検出パルスに基づいて、制御符号の各ビット
b1〜b13,b15〜b22に対する多数決判定処理
が行われる。PCMデコード処理部53では、多数決判
定処理済の制御符号と同期検出パルスとに基づいて、音
声ビットストリーム信号のPCMデコード処理が行われ
る。すなわち、PCMデコード処理部53内部では、制
御符号のビットb1に従ってA,Bモードの別が判定さ
れてデコード処理が切り替えられ、各ビットb2〜b2
2に従って音声チャネルや独立データのデコード処理が
行われる。D/A変換部54では、PCMデコード処理
済の音声ビットストリーム信号がD/A変換されて音声
アナログ信号が生成される。その音声アナログ信号は出
力端子56から出力される。
The audio bit stream signal is input to the input terminal 55.
From each of the processing units 51 to 53. Synchronization detection processing unit 5
In 1, the frame sync signal is detected, and the sync detection pulse is output based on the detected frame sync signal. Control code detection processing unit 52
Then, the majority decision processing is performed on each of the bits b1 to b13 and b15 to b22 of the control code based on the synchronization detection pulse. In the PCM decoding processing unit 53, the PCM decoding processing of the audio bit stream signal is performed based on the control code and the synchronization detection pulse which have undergone the majority decision processing. That is, in the PCM decoding processing unit 53, it is determined whether the mode is the A mode or the B mode according to the bit b1 of the control code, and the decoding process is switched to each bit b2 to b2.
According to 2, the decoding processing of the audio channel and the independent data is performed. The D / A converter 54 D / A converts the PCM-decoded audio bitstream signal to generate an audio analog signal. The audio analog signal is output from the output terminal 56.

【0009】制御符号検出処理部52内には、制御符号
の各ビットb1〜b13、b15〜b22毎にそれぞれ
多数決判定処理を行う多数決判定処理部が設けられてい
る。つまり、制御符号検出処理部52は複数(21個)
の多数決判定処理部によって構成されている。また、前
記したように、多数決判定処理はマスターフレーム(3
6フレーム)単位もしくはスーパーフレーム(18フレ
ーム)単位で行われる。ここでは、マスターフレーム単
位の多数決判定処理を行う場合について、制御符号のビ
ットb1の多数決判定処理部を例にとって説明する。
The control code detection processing section 52 is provided with a majority decision processing section for carrying out a majority decision processing for each of the bits b1 to b13 and b15 to b22 of the control code. That is, the control code detection processing units 52 are plural (21).
It is constituted by the majority decision processing unit. Further, as described above, the majority decision processing is performed in the master frame (3
It is performed in units of 6 frames or in units of superframes (18 frames). Here, the case of performing the majority decision processing in units of master frames will be described by taking the majority decision processing unit of bit b1 of the control code as an example.

【0010】図6に、その制御符号のビットb1の多数
決判定処理部60を示す。多数決判定処理部60は、ビ
ットカウンタ61とフレームカウンタ62と符号カウン
タ63とコンパレータ64とD(データ)フリップフロ
ップ65と入力端子66,67および出力端子68から
構成されている。尚、ビットカウンタ61およびフレー
ムカウンタ62は、制御符号の各ビットb1〜b13、
b15〜b22の多数決判定処理部にて共用されてい
る。
FIG. 6 shows a majority decision processing unit 60 for the bit b1 of the control code. The majority decision processing unit 60 includes a bit counter 61, a frame counter 62, a code counter 63, a comparator 64, a D (data) flip-flop 65, input terminals 66 and 67, and an output terminal 68. In addition, the bit counter 61 and the frame counter 62 have the bits b1 to b13 of the control code,
It is shared by the majority decision processing units b15 to b22.

【0011】同期検出処理部51からの同期検出パルス
は入力端子66から各カウンタ61,62へ送られる。
一方、音声ビットストリーム信号は入力端子67から各
カウンタ61,63へ送られる。
The synchronization detection pulse from the synchronization detection processing section 51 is sent from the input terminal 66 to the counters 61 and 62.
On the other hand, the audio bit stream signal is sent from the input terminal 67 to the counters 61 and 63.

【0012】フレームカウンタ62は、同期検出パルス
の1パルス毎にカウントアップされ、36カウント目で
キャリーアウトを出力して、37カウント目でリセット
される。すなわち、フレームカウンタ62のカウント数
は、入力端子67に入力された音声ビットストリーム信
号がマスターフレームの36フレーム中で何番目のフレ
ームに相当しているかを示している。
The frame counter 62 is counted up for each pulse of the sync detection pulse, outputs a carry out at the 36th count, and is reset at the 37th count. That is, the count number of the frame counter 62 indicates which frame of the 36 master frames the audio bitstream signal input to the input terminal 67 corresponds to.

【0013】ビットカウンタ61は、音声ビットストリ
ーム信号の1ビット毎にカウントアップされ、同期検出
パルスによってリセットされる。すなわち、ビットカウ
ンタ61のカウント数は、入力端子67に入力された音
声ビットストリーム信号が1フレームの1350ビット中で
何ビット目の信号であるかを示している。
The bit counter 61 is counted up for each bit of the audio bit stream signal and reset by a sync detection pulse. That is, the count number of the bit counter 61 indicates which bit of the 1350 bits of one frame the audio bit stream signal input to the input terminal 67 is.

【0014】符号カウンタ63は、ビットカウンタ61
のカウント数が17のときの音声ビットストリーム信号
が「1」であればカウントアップされ(「0」であれば
カウントアップされない)、フレームカウンタ62から
のキャリーアウトによってリセットされる。図3および
図4に示すように、制御符号のビットb1は1フレーム
中で17ビット目の信号であるため、ビットカウンタ6
1のカウント数が17のときの音声ビットストリーム信
号は、制御符号のビットb1である。すなわち、符号カ
ウンタ63のカウント数は、制御符号のビットb1がマ
スターフレーム中で何個「1」になっているかを示して
いる。
The sign counter 63 is a bit counter 61.
When the audio bit stream signal when the count number of is 17 is "1", it is counted up (when it is "0", it is not counted up), and it is reset by carry out from the frame counter 62. As shown in FIGS. 3 and 4, since the bit b1 of the control code is the 17th bit signal in one frame, the bit counter 6
The audio bit stream signal when the count number of 1 is 17 is the bit b1 of the control code. That is, the count number of the code counter 63 indicates how many bits “b1” of the control code are “1” in the master frame.

【0015】コンパレータ64は、予め定められた閾値
L0と符号カウンタ63のカウント数とを比較し、カウ
ント数が閾値L0を越えたときに「1」を出力する。そ
のコンパレータ64の出力は、Dフリップフロップ65
の入力端子Dに入力される。一方、フレームカウンタ6
2からキャリーアウトは、Dフリップフロップ65のク
ロック端子Cに入力される。従って、Dフリップフロッ
プ65は、クロック端子Cにキャリーアウトが入力され
る度に入力端子Dの入力をラッチする。そして、Dフリ
ップフロップ65は、次のキャリーアウトが入力される
までの間、その入力端子Dの入力を多数決判定処理済の
制御符号のビットb1として出力端子Qから出力し続け
る。
The comparator 64 compares a predetermined threshold value L0 with the count number of the code counter 63, and outputs "1" when the count number exceeds the threshold value L0. The output of the comparator 64 is the D flip-flop 65.
Is input to the input terminal D of. On the other hand, the frame counter 6
The carry-out from 2 is input to the clock terminal C of the D flip-flop 65. Therefore, the D flip-flop 65 latches the input of the input terminal D every time the carry-out is input to the clock terminal C. Then, the D flip-flop 65 continues to output the input of the input terminal D from the output terminal Q as the bit b1 of the control code that has undergone the majority decision processing until the next carry-out is input.

【0016】通常、閾値L0はマスターフレームのフレ
ーム数の1/2、つまり18に設定されている。従っ
て、符号カウンタ63のカウント数が18以下のとき
(すなわち、マスターフレームにおいて制御符号のビッ
トb1が「1」のフレーム数が18以下のとき)、多数
決判定処理済の制御符号のビットb1は「0」となる。
一方、符号カウンタ63のカウント数が19以上のとき
(すなわち、マスターフレームにおいて制御符号のビッ
トb1が「1」のフレーム数が19以上のとき)、多数
決判定処理済の制御符号のビットb1は「1」となる。
すなわち、マスターフレームにおける36個の制御符号
のビットb1のうち、18個以下が「1」であれば制御
符号のビットb1の正しい値(実際に送信された符号の
値)は「0」であると判定され、19個以上が「1」で
あれば制御符号のビットb1の正しい値は「1」である
と判定される。
Usually, the threshold value L0 is set to 1/2 of the number of master frames, that is, 18. Therefore, when the count number of the code counter 63 is 18 or less (that is, when the number of frames in which the bit b1 of the control code is "1" in the master frame is 18 or less), the bit b1 of the control code subjected to the majority decision processing is " It becomes "0".
On the other hand, when the count number of the code counter 63 is 19 or more (that is, when the number of frames in which the bit b1 of the control code is "1" in the master frame is 19 or more), the bit b1 of the control code that has undergone the majority decision processing is " 1 ”.
That is, if 18 or less of 36 bits b1 of the control code in the master frame are "1", the correct value of the bit b1 of the control code (the value of the actually transmitted code) is "0". If 19 or more are “1”, it is determined that the correct value of the bit b1 of the control code is “1”.

【0017】このように構成された多数決判定処理部6
0と同様に、制御符号の他のビットb2〜b13、b1
5〜b22の多数決判定処理部においても、符号カウン
タ63とコンパレータ64およびDフリップフロップ6
5に相当する回路が備えられている。そして、制御符号
の各ビットb2〜b13、b15〜b22について同様
に多数決判定処理が行われる。
The majority decision processing unit 6 configured as described above
Similar to 0, other bits b2 to b13, b1 of the control code
Also in the majority decision processing units 5 to b22, the code counter 63, the comparator 64, and the D flip-flop 6
A circuit corresponding to 5 is provided. Then, the majority decision processing is similarly performed for each of the bits b2 to b13 and b15 to b22 of the control code.

【0018】ところで、スーパーフレーム単位の多数決
判定処理を行う場合には、フレームカウンタ62が18
カウント目でキャリーアウトを出力し、19カウント目
でリセットされる。この場合、フレームカウンタ62の
カウント数は、入力端子67に入力された音声ビットス
トリーム信号がスーパーフレームの18フレーム中で何
番目のフレームに相当しているかを示している。その他
の構成については、上記したマスターフレーム単位の多
数決判定処理と同じである。
By the way, when performing the majority decision processing in units of superframes, the frame counter 62 is set to 18
Carry out is output at the count and reset at the 19th count. In this case, the count number of the frame counter 62 indicates which frame of the 18 superframes the audio bitstream signal input to the input terminal 67 corresponds to. The other configuration is the same as the majority decision processing in master frame units described above.

【0019】[0019]

【発明が解決しようとする課題】PCM音声信号伝送時
のノイズの影響や受信電界強度の低下などにより、数フ
レーム以上に渡って符号誤りが生じた場合には、多数決
判定処理の結果(Dフリップフロップ65の出力)が実
際に送信された符号と異なることがある。例えば、ラン
ダムノイズの影響を多数決判定処理を行うフレーム数
(マスターフレーム単位の多数決判定処理の場合は36
フレーム、スーパーフレーム単位の多数決判定処理の場
合は18フレーム)以上に渡って受けた場合、符号カウ
ンタ63のカウント数は閾値L0付近になる可能性が高
くなる。この場合には、符号カウンタ63のカウント数
が閾値L0より若干大きいか又は小さいかによって、多
数決判定結果に誤りが生じる。
When a code error occurs over several frames due to the influence of noise during the transmission of the PCM audio signal or the reduction of the received electric field strength, the result of the majority decision processing (D flip-flop). Output of the packet 65) may be different from the code actually transmitted. For example, the number of frames for which the majority decision processing is performed by the influence of random noise (36 in the case of the majority decision processing for each master frame).
When the majority decision processing in units of frames or superframes is received for 18 frames or more), the count number of the code counter 63 is likely to be near the threshold L0. In this case, an error occurs in the majority decision result depending on whether the count number of the code counter 63 is slightly larger or smaller than the threshold value L0.

【0020】このように、多数決判定結果である制御符
号に一度誤りが生じると、次の多数決判定結果が出るま
での間、PCMデコード処理部53では誤った制御符号
によってPCMデコード処理が行われる。その結果、音
声再生状態に悪影響が生じる。例えば、制御符号のビッ
トb1を誤った場合には、PCMデコード処理部53に
おいてA,Bモードの別が誤って判定されてしまうた
め、再生信号に大きなノイズが混入してしまう。同様
に、制御符号の他のビットb2〜b13、b15〜b2
2を誤った場合にも、再生信号にはノイズなどの何らか
の悪影響が生じる。
As described above, once an error occurs in the control code which is the majority decision result, the PCM decoding processing unit 53 performs the PCM decoding process with the erroneous control code until the next majority decision result is output. As a result, the sound reproduction state is adversely affected. For example, when the bit b1 of the control code is incorrect, the PCM decoding processing unit 53 incorrectly determines whether the mode is A or B, and thus a large amount of noise is mixed in the reproduced signal. Similarly, the other bits b2 to b13 and b15 to b2 of the control code
Even if 2 is mistaken, some adverse effects such as noise occur in the reproduced signal.

【0021】本発明は上記問題点を解決するためになさ
れたものであって、その目的は、多数決判定を行う二値
符号の正確さに応じて適切な多数決判定処理を行うこと
が可能な多数決判定処理回路を提供することにある。
The present invention has been made in order to solve the above problems, and an object thereof is to make a majority decision capable of performing an appropriate majority decision process in accordance with the accuracy of a binary code for making a majority decision. It is to provide a determination processing circuit.

【0022】[0022]

【課題を解決するための手段】請求項1に記載の発明
は、所定の数の二値符号について多数決判定を行う際
に、任意の値をとる二値符号の数が予め定められた範囲
内にある場合には、前回の多数決判定結果を今回の多数
決判定結果とすることをその要旨とする。
According to a first aspect of the present invention, when a majority decision is made for a predetermined number of binary codes, the number of binary codes having an arbitrary value is within a predetermined range. In the case of (1), the gist is to use the previous majority decision result as the current majority decision result.

【0023】請求項2に記載の発明は、所定の数の二値
符号について、任意の値をとる二値符号を計数する計数
手段と、その計数手段の計数値と所定の2つの閾値とを
比較する比較手段と、その比較手段の比較結果に基づい
て、前記計数手段の計数値が2つの閾値内にあるときに
は、前回の多数決判定結果を今回の多数決判定結果とし
て出力する選択出力手段とを備えたことをその要旨とす
る。
According to a second aspect of the present invention, with respect to a predetermined number of binary codes, a counting means for counting binary codes having an arbitrary value, a count value of the counting means and two predetermined threshold values are provided. Comparing means for comparing, and based on the comparison result of the comparing means, when the count value of the counting means is within two thresholds, a selecting output means for outputting the previous majority decision result as the current majority decision result. What is prepared is the gist.

【0024】請求項3に記載の発明は、所定の数の二値
符号について、任意の値をとる二値符号を計数する計数
手段と、その計数手段の計数値と所定の2つの閾値とを
比較する比較手段と、今回の多数決判定結果が出るまで
の間、前回の多数決判定結果を記憶して出力し続ける記
憶出力手段と、前記比較手段の比較結果に基づいて、前
記計数手段の計数値が2つの閾値内にあるときには、前
記記憶出力手段に記憶されている前回の多数決判定結果
を今回の多数決判定結果として当該記憶出力手段に記憶
させる選択手段とを備えたことをその要旨とする。
According to a third aspect of the present invention, with respect to a predetermined number of binary codes, a counting means for counting binary codes having an arbitrary value, a count value of the counting means and two predetermined threshold values are provided. Based on the comparison result of the comparison means for comparing and the comparison result of the comparison means and the storage output means for continuously storing and outputting the previous majority judgment result until the result of the majority decision of this time, the count value of the counting means When is within two thresholds, the gist is to provide a selecting means for storing the previous majority decision result stored in the memory output means as the current majority decision result in the memory output means.

【0025】請求項4に記載の発明は、請求項2または
請求項3に記載の発明において、前記比較手段は、2つ
のコンパレータから成るウィンドウコンパレータによっ
て構成されることをその要旨とする。
The invention according to claim 4 is, in the invention according to claim 2 or claim 3, characterized in that the comparing means comprises a window comparator composed of two comparators.

【0026】請求項5に記載の発明は、請求項2または
請求項3に記載の発明において、前記計数手段は、MU
SE方式またはNTSC−BS方式によるPCM音声放
送における制御符号の任意のビットの「1」または
「0」の個数を計数することをその要旨とする。
According to a fifth aspect of the invention, in the invention of the second or third aspect, the counting means is an MU.
The gist is to count the number of "1" or "0" of an arbitrary bit of a control code in PCM audio broadcasting by the SE system or the NTSC-BS system.

【0027】請求項6に記載の発明は、請求項5に記載
の発明において、前記計数手段は、マスターフレーム単
位またはスーパーフレーム単位で各フレームを計数する
フレームカウンタと、1つのフレームにおける各ビット
を計数するビットカウンタと、フレームカウンタおよび
ビットカウンタの計数に基づいて制御符号の任意のビッ
トの「1」または「0」の個数を計数する符号カウンタ
とから成ることをその要旨とする。
According to a sixth aspect of the present invention, in the fifth aspect of the present invention, the counting means counts each frame in a master frame unit or a superframe unit and each bit in one frame. The gist is that it comprises a bit counter for counting and a code counter for counting the number of "1" or "0" of any bit of the control code based on the count of the frame counter and the bit counter.

【0028】[0028]

【作用】請求項1〜3のいずれか1項に記載の発明にお
いて、何らかの影響により多数決判定を行う二値符号の
正確さが損なわれている場合には、任意の値をとる二値
符号の数が前記所定の数の1/2付近になる可能性が高
い。
In the invention described in any one of claims 1 to 3, when the accuracy of the binary code for making the majority decision is impaired due to some influence, the binary code of any value is used. There is a high possibility that the number will be around ½ of the predetermined number.

【0029】従って、請求項1に記載の発明では、前記
予め定められた範囲を適切に設定することにより、二値
符号の正確さが損なわれている可能性がある場合、二値
符号の正確さに応じて適切な多数決判定処理を行うこと
ができる。
Therefore, in the invention described in claim 1, when the accuracy of the binary code may be impaired by appropriately setting the predetermined range, the accuracy of the binary code may be reduced. Appropriate majority decision processing can be performed according to the degree.

【0030】また、請求項2または請求項3に記載の発
明では、所定の2つの閾値を適切に設定することによ
り、二値符号の正確さが損なわれている可能性がある場
合、二値符号の正確さに応じて適切な多数決判定処理を
行うことができる。
Further, in the invention described in claim 2 or claim 3, when the accuracy of the binary code may be impaired by appropriately setting the two predetermined threshold values, the binary code Appropriate majority decision processing can be performed according to the accuracy of the code.

【0031】請求項3に記載の発明によれば、記憶出力
手段により、今回の多数決判定結果が出るまでの間、前
回の多数決判定結果を確実に記憶して出力し続けること
ができる。
According to the third aspect of the present invention, the storage output means can reliably store and output the previous majority decision result until the present majority decision result is obtained.

【0032】請求項4に記載の発明によれば、ウィンド
ウコンパレータを用いることにより、比較手段を簡単か
つ容易に実現することができる。請求項5に記載の発明
によれば、MUSE方式またはNTSC−BS方式によ
るPCM音声放送における制御符号の多数決判定をより
適切に行うことができる。その結果、良好な音声再生状
態が維持できる。
According to the fourth aspect of the present invention, the comparison means can be easily and easily realized by using the window comparator. According to the invention described in claim 5, it is possible to more appropriately determine the majority decision of the control code in the PCM audio broadcasting by the MUSE system or the NTSC-BS system. As a result, a good audio reproduction state can be maintained.

【0033】請求項6に記載の発明によれば、計数手段
を簡単な構成で容易に実現することができる。
According to the sixth aspect of the invention, the counting means can be easily realized with a simple structure.

【0034】[0034]

【実施例】以下、本発明を具体化した一実施例を図1お
よび図2に従って説明する。尚、本実施例において、図
3〜図6に示した従来例と同じ構成部材については符号
を等しくしてその詳細な説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. In this embodiment, the same components as those in the conventional example shown in FIGS. 3 to 6 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0035】図1に、従来例の図6に対応する本実施例
の多数決判定処理部を示す。つまり、本実施例は、MU
SE方式のデコーダにおいてマスターフレーム単位の多
数決判定処理を行う場合の制御符号のビットb1の多数
決判定処理部である。本実施例において従来例と異なる
のは、以下の点だけである。
FIG. 1 shows a majority decision processing unit of this embodiment corresponding to FIG. 6 of the conventional example. In other words, this embodiment uses the MU
This is a majority decision processing unit of the bit b1 of the control code in the case of performing the majority decision process in master frame units in the SE decoder. The present example differs from the conventional example only in the following points.

【0036】コンパレータ64が2つのコンパレータ
1,2から成るウィンドウコンパレータに置き代えられ
ている。各コンパレータ1,2はそれぞれ、予め定めら
れた各閾値L1,L2と符号カウンタ63のカウント数
とを比較し、カウント数が各閾値L1,L2を越えたと
きに「1」を出力する。各閾値L1,L2の関係は式
(1)に示すようになっている。
The comparator 64 is replaced by a window comparator consisting of two comparators 1 and 2. Each of the comparators 1 and 2 compares the respective predetermined threshold values L1 and L2 with the count number of the code counter 63, and outputs "1" when the count number exceeds the threshold values L1 and L2. The relationship between the thresholds L1 and L2 is as shown in equation (1).

【0037】0<L1<L2<N …(1) 尚、Nは多数決判定処理を行うフレーム数であり、本実
施例ではマスターフレーム単位で多数決判定処理を行う
ため、N=36である。また、閾値L1はNの1/3
(L1=12)、閾値L2はNの2/3(L2=24)
に定められている。
0 <L1 <L2 <N (1) Note that N is the number of frames for which the majority decision processing is performed. In this embodiment, the majority decision processing is performed for each master frame, so N = 36. The threshold value L1 is 1/3 of N.
(L1 = 12), the threshold L2 is 2/3 of N (L2 = 24)
Stipulated in.

【0038】各コンパレータ1,2とDフリップフロ
ップ65との間にセレクタ3が設けられている。セレク
タ3の出力は、図2に示すように、各コンパレータ1,
2の出力(すなわち、符号カウンタ63のカウント数)
に従って切り替えられる。
A selector 3 is provided between each of the comparators 1 and 2 and the D flip-flop 65. The output of the selector 3, as shown in FIG.
2 output (that is, the count number of the code counter 63)
It is switched according to.

【0039】このように構成された本実施例において
は、符号カウンタ63のカウント数が11以下(閾値L
1未満)のとき、出力端子68から出力される多数決判
定処理済の制御符号のビットb1は「0」となる。ま
た、符号カウンタ63のカウント数が25以上のとき
(閾値L2を越えるとき)、出力端子68から出力され
る多数決判定処理済の制御符号のビットb1は「1」と
なる。そして、符号カウンタ63のカウント数が12以
上24以下(L1以上L2以下)のとき、出力端子68
から出力される多数決判定処理済の制御符号のビットb
1は前回の多数決判定結果と同じになる(すなわち、前
値保持となる)。
In the present embodiment thus constructed, the number of counts of the code counter 63 is 11 or less (threshold L
(Less than 1), the bit b1 of the control code output from the output terminal 68 and having undergone the majority decision processing is "0". Further, when the count number of the code counter 63 is 25 or more (when it exceeds the threshold value L2), the bit b1 of the control code which is output from the output terminal 68 and which has undergone the majority decision processing is "1". When the count number of the code counter 63 is 12 or more and 24 or less (L1 or more and L2 or less), the output terminal 68
Bit b of the control code that has been processed by the majority decision output from
1 becomes the same as the previous majority decision result (that is, the previous value is held).

【0040】前記したように、ランダムノイズの影響を
36フレーム以上に渡って受けた場合、符号カウンタ6
3のカウント数はNの1/2(=18)付近になる可能
性が高くなる。このような場合、本実施例では、前回の
多数決判定結果が今回の結果として出力される。つま
り、符号カウンタ63のカウント数が12以上24以下
と18付近の場合、今回の多数決判定結果は何らかの影
響(PCM音声信号伝送時のノイズや受信電界強度の低
下など)を受けて誤っている可能性が高いとして、前回
の多数決判定結果がそのまま保持される。従って、一時
的な制御符号の判定誤りに起因するノイズ発生を軽減す
ることができ、良好な音声再生状態が維持できる。
As described above, when the influence of random noise is received for 36 frames or more, the code counter 6
There is a high possibility that the count number of 3 will be near 1/2 (= 18) of N. In such a case, in the present embodiment, the previous majority decision result is output as the present result. In other words, when the count number of the code counter 63 is 12 or more and 24 or less and around 18, it is possible that the majority decision result of this time is erroneous due to some influence (noise during transmission of the PCM audio signal, reduction of received electric field strength, etc.) As a result, the previous majority decision result is retained as it is. Therefore, it is possible to reduce noise generation due to a temporary control code determination error, and it is possible to maintain a good audio reproduction state.

【0041】以上、制御符号のビットb1の多数決判定
処理部だけを示したが、他のビットb2〜b13、b1
5〜b22の多数決判定処理部についても同様の構成に
より同様の処理が行われる。
Although only the majority decision processing unit for the bit b1 of the control code has been shown above, the other bits b2 to b13, b1.
The same processing is performed for the majority decision processing units 5 to b22 with the same configuration.

【0042】尚、上記実施例は以下のように変更しても
よい。 1)スーパーフレーム単位の多数決判定処理を行う場合
には、フレームカウンタ62が18カウント目でキャリ
ーアウトを出力し、19カウント目でリセットされるよ
うにする。この場合、フレームカウンタ62のカウント
数は、入力端子67に入力された音声ビットストリーム
信号がスーパーフレームの18フレーム中で何番目のフ
レームに相当しているかを示している。
The above embodiment may be modified as follows. 1) When performing the majority decision processing in units of superframes, the frame counter 62 outputs a carry-out at the 18th count and is reset at the 19th count. In this case, the count number of the frame counter 62 indicates which frame of the 18 superframes the audio bitstream signal input to the input terminal 67 corresponds to.

【0043】2)制御符号の各ビットb1〜b13、b
15〜b22毎にそれぞれ多数決判定処理部を設けるの
ではなく、1つの多数決判定処理部によって当該各ビッ
トをシリアルに処理する。この場合、回路規模を小さく
することができる。
2) Each bit b1 to b13, b of the control code
Rather than providing a majority decision processing unit for each of 15 to b22, each bit is serially processed by one majority decision processing unit. In this case, the circuit scale can be reduced.

【0044】3)閾値L1,L2を適宜に設定する。例
えば、PCM音声信号伝送時のノイズや受信電界強度の
低下などの影響が少ない場合には、閾値L1を大きく閾
値L2を小さく設定する(例えば、L1=15,L2=
20)。反対に、それらの影響が大きい場合には、閾値
L1を小さく閾値L2を大きく設定する(例えば、L1
=5,L2=30)。この閾値L1,L2の設定は、ユ
ーザ自身が行ってもよくメーカー側が出荷時に行っても
よい。さらに、前記ノイズの検出回路および受信電界強
度の検出回路を設け、それらの検出結果に応じて最適な
閾値L1,L2が自動的に設定されるようにしてもよ
い。
3) Thresholds L1 and L2 are set appropriately. For example, when the influence of noise during the transmission of the PCM audio signal or the decrease of the received electric field strength is small, the threshold L1 is set large and the threshold L2 is set small (for example, L1 = 15, L2 =
20). On the other hand, when those influences are large, the threshold L1 is set small and the threshold L2 is set large (for example, L1
= 5, L2 = 30). The thresholds L1 and L2 may be set by the user himself or may be set by the manufacturer at the time of shipping. Further, the noise detection circuit and the received electric field strength detection circuit may be provided so that the optimum threshold values L1 and L2 are automatically set according to the detection results.

【0045】4)NTSC−BS方式において同様に実
施する。この場合、NTSC−BS方式の音声フレーム
構造および制御符号のビット割り付けはMUSE方式と
異なっているため、それに合わせて各カウンタ61〜6
3の設定を変える必要がある。
4) The same operation is performed in the NTSC-BS system. In this case, since the voice frame structure of the NTSC-BS system and the bit allocation of the control code are different from those of the MUSE system, the counters 61 to 6 are adjusted accordingly.
It is necessary to change the setting of 3.

【0046】5)MUSE方式やNTSC−BS方式な
どのPCM音声放送における制御符号の多数決判定処理
回路だけでなく、適宜な符号の多数決判定処理回路に適
用する。
5) It is applied not only to the majority decision processing circuit for control codes in PCM audio broadcasting such as the MUSE system and NTSC-BS system, but also to the majority decision processing circuit for appropriate codes.

【0047】[0047]

【発明の効果】以上詳述したように本発明によれば、多
数決判定を行う二値符号の正確さに応じて適切な多数決
判定処理を行うことが可能な多数決判定処理回路を提供
することができるという優れた効果がある。
As described above in detail, according to the present invention, it is possible to provide a majority decision processing circuit capable of performing appropriate majority decision processing according to the accuracy of a binary code for making a majority decision. It has an excellent effect that it can be done.

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

【図1】本発明を具体化した一実施例の回路図である。FIG. 1 is a circuit diagram of an embodiment embodying the present invention.

【図2】一実施例の動作を説明するための説明図であ
る。
FIG. 2 is an explanatory diagram for explaining the operation of one embodiment.

【図3】MUSE方式における音声フレーム構造を示す
構造図である。
FIG. 3 is a structural diagram showing a voice frame structure in the MUSE method.

【図4】MUSE方式における制御符号のビット割り付
けを示す構造図である。
FIG. 4 is a structural diagram showing bit allocation of control codes in the MUSE method.

【図5】MUSE方式で用いられる音声デコーダの回路
図である。
FIG. 5 is a circuit diagram of an audio decoder used in the MUSE method.

【図6】従来の多数決判定処理部を示す回路図である。FIG. 6 is a circuit diagram showing a conventional majority decision processing unit.

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

1,2 コンパレータ 3 選択手段および選択出力手段としてのセレクタ 65 記憶出力手段および選択出力手段としてのDフリ
ップフロップ 61 ビットカウンタ 62 フレームカウンタ 63 符号カウンタ L1,L2 閾値
1, 2 Comparator 3 Selector as selection means and selection output means 65 D flip-flop as storage output means and selection output means 61 bit counter 62 frame counter 63 code counter L1, L2 threshold value

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/015 7/08 7/081 7/24 H04N 7/08 101 7/13 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location H04N 7/015 7/08 7/081 7/24 H04N 7/08 101 7/13 Z

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所定の数の二値符号について多数決判定
を行う際に、任意の値をとる二値符号の数が予め定めら
れた範囲内にある場合には、前回の多数決判定結果を今
回の多数決判定結果とすることを特徴とする多数決判定
処理回路。
1. When a majority decision is made for a predetermined number of binary codes, if the number of binary codes that take an arbitrary value is within a predetermined range, the previous majority decision result is given this time. A majority decision processing circuit, which is the majority decision result.
【請求項2】 所定の数の二値符号について、任意の値
をとる二値符号を計数する計数手段(61〜63)と、 その計数手段の計数値と所定の2つの閾値(L1,L
2)とを比較する比較手段(1,2)と、 その比較手段の比較結果に基づいて、前記計数手段の計
数値が2つの閾値内にあるときには、前回の多数決判定
結果を今回の多数決判定結果として出力する選択出力手
段(3,65)とを備えたことを特徴とする多数決判定
処理回路。
2. A counting means (61 to 63) for counting a binary code having an arbitrary value for a predetermined number of binary codes, a count value of the counting means and two predetermined thresholds (L1, L).
2) and comparing means (1, 2) for comparing with each other, and based on the comparison result of the comparing means, when the count value of the counting means is within two thresholds, the previous majority decision result is the majority decision of this time. A majority decision processing circuit comprising a selection output means (3, 65) for outputting as a result.
【請求項3】 所定の数の二値符号について、任意の値
をとる二値符号を計数する計数手段(61〜63)と、 その計数手段の計数値と所定の2つの閾値(L1,L
2)とを比較する比較手段(1,2)と、 今回の多数決判定結果が出るまでの間、前回の多数決判
定結果を記憶して出力し続ける記憶出力手段(65)
と、 前記比較手段の比較結果に基づいて、前記計数手段の計
数値が2つの閾値内にあるときには、前記記憶出力手段
に記憶されている前回の多数決判定結果を今回の多数決
判定結果として当該記憶出力手段に記憶させる選択手段
(3)とを備えたことを特徴とする多数決判定処理回
路。
3. A counting means (61 to 63) for counting a binary code having an arbitrary value for a predetermined number of binary codes, a count value of the counting means and two predetermined threshold values (L1, L).
Comparing means (1, 2) for comparing with 2), and storage output means (65) for storing and outputting the previous majority decision result until the present majority decision result is output.
And based on the comparison result of the comparison means, when the count value of the counting means is within two thresholds, the previous majority decision result stored in the storage output means is stored as the current majority decision result. A majority decision processing circuit, comprising: a selection means (3) to be stored in the output means.
【請求項4】 請求項2または請求項3に記載の多数決
判定処理回路において、前記比較手段は、2つのコンパ
レータ(1,2)から成るウィンドウコンパレータによ
って構成されることを特徴とする多数決判定処理回路。
4. The majority decision processing circuit according to claim 2 or 3, wherein the comparison means is constituted by a window comparator composed of two comparators (1, 2). circuit.
【請求項5】 請求項2または請求項3に記載の多数決
判定処理回路において、前記計数手段(61〜63)
は、MUSE方式またはNTSC−BS方式によるPC
M音声放送における制御符号の任意のビットの「1」ま
たは「0」の個数を計数することを特徴とする多数決判
定処理回路。
5. The majority decision processing circuit according to claim 2 or 3, wherein the counting means (61 to 63).
Is a PC based on MUSE or NTSC-BS
A majority decision processing circuit which counts the number of "1" or "0" of an arbitrary bit of a control code in M audio broadcasting.
【請求項6】 請求項5に記載の多数決判定処理回路に
おいて、前記計数手段(61〜63)は、マスターフレ
ーム単位またはスーパーフレーム単位で各フレームを計
数するフレームカウンタ(62)と、1つのフレームに
おける各ビットを計数するビットカウンタ(61)と、
フレームカウンタおよびビットカウンタの計数に基づい
て制御符号の任意のビットの「1」または「0」の個数
を計数する符号カウンタ(63)とから成ることを特徴
とする多数決判定処理回路。
6. The majority decision processing circuit according to claim 5, wherein the counting means (61 to 63) counts each frame in master frame units or superframe units, and one frame. A bit counter (61) for counting each bit in
A majority decision processing circuit comprising a frame counter and a code counter (63) for counting the number of "1" or "0" of an arbitrary bit of a control code based on the count of a frame counter.
JP481294A 1994-01-20 1994-01-20 Majority decision processing circuit Pending JPH07212247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP481294A JPH07212247A (en) 1994-01-20 1994-01-20 Majority decision processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP481294A JPH07212247A (en) 1994-01-20 1994-01-20 Majority decision processing circuit

Publications (1)

Publication Number Publication Date
JPH07212247A true JPH07212247A (en) 1995-08-11

Family

ID=11594163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP481294A Pending JPH07212247A (en) 1994-01-20 1994-01-20 Majority decision processing circuit

Country Status (1)

Country Link
JP (1) JPH07212247A (en)

Similar Documents

Publication Publication Date Title
US4577319A (en) Error flag processor
JPH10215189A (en) Non-equalized digital receiver using block decoding with erasure and error correction
JPH07212247A (en) Majority decision processing circuit
US5163053A (en) Audio signal demodulation circuit
US6915479B2 (en) Apparatus and method for error correction
JPH0664862B2 (en) Digital image recording / reproducing device
US5422916A (en) Partial frame detector
JP3436940B2 (en) Wireless communication device
US5892465A (en) Decoding apparatus and decoding method
JP2762941B2 (en) Background noise generator
JPH0546131B2 (en)
EP0579039B1 (en) Synchronous detecting apparatus and synchronous detecting and protecting method
JPH06350540A (en) Error compensating method for digital audio signal
JP3152667B2 (en) Data channel receiver
JP2702776B2 (en) Error checking method
JP3110394B2 (en) FM multiplex decoder
JPH1098458A (en) Sync word detection circuit
JP2907165B2 (en) Logic synthesis system
KR0166755B1 (en) Device and method for generating control signal to correct errors of digital recording/reproducing system
JP2003348023A (en) Method and device for reducing noise in packet communication
JP3067309B2 (en) Noise removal device
JP2576682B2 (en) Control code judgment circuit
JP3317147B2 (en) Malfunction prevention method, malfunction prevention circuit, and audio processing device
JP3323139B2 (en) FM multiplex decoding circuit
JP2816044B2 (en) Digital audio processing circuit