KR0128055Y1 - Error correction apparatus - Google Patents

Error correction apparatus Download PDF

Info

Publication number
KR0128055Y1
KR0128055Y1 KR2019920021173U KR920021173U KR0128055Y1 KR 0128055 Y1 KR0128055 Y1 KR 0128055Y1 KR 2019920021173 U KR2019920021173 U KR 2019920021173U KR 920021173 U KR920021173 U KR 920021173U KR 0128055 Y1 KR0128055 Y1 KR 0128055Y1
Authority
KR
South Korea
Prior art keywords
data
memory
code block
factor
error
Prior art date
Application number
KR2019920021173U
Other languages
Korean (ko)
Other versions
KR940011288U (en
Inventor
권희성
Original Assignee
윤종용
삼성전자주식회사
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 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR2019920021173U priority Critical patent/KR0128055Y1/en
Publication of KR940011288U publication Critical patent/KR940011288U/en
Application granted granted Critical
Publication of KR0128055Y1 publication Critical patent/KR0128055Y1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/005Correction of errors induced by the transmission channel, if related to the coding algorithm
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/65Purpose and implementation aspects
    • H03M13/6502Reduction of hardware complexity or efficient processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

D2 MAC패킷방식의 음향데이타에 발생한 에러를 음향데이타에서 추출한 크기인자를 이용하여 정정하는 시스템에 있어서, 에러정정의 기준이 되는 부호블록단위로 음향데이타를 저장하며, 소정부호블록의 음향데이타에 대응하는 크기인자의 추출이 완료될 때 까지 부호블록의 음향데이타를 지연출력하는 에러정정장치를 구성하면, 데이타의 입출력을 제어하는 제어수단의 회로구성을 간단히 할 수 있는 효과가 있다.A system for correcting an error occurring in D2 MAC packet type audio data by using a size factor extracted from the acoustic data, wherein the acoustic data is stored in units of code blocks that are error correction standards and correspond to the acoustic data of a predetermined code block. The configuration of an error correction device which delays the sound data of the code block until the extraction of the magnitude factor is completed, has the effect of simplifying the circuit configuration of the control means for controlling the input and output of data.

Description

디투(D2) 맥(MAC)패킷 시스템에서의 음향데이타 에러정정장치Acoustic Data Error Correction Device in D2 MAC Packet System

제1도는 15비트 길이의 음향신호샘플.1 is a 15-bit long acoustic signal sample.

제2도는 선형부호의 부호범위(CR)와 보호범위(PR) 및 크기인자(SF)의 상호관계를 나타낸 개념도.2 is a conceptual diagram showing a correlation between a code range CR of a linear code, a protection range PR, and a magnitude factor SF.

제3도는 D2 MAC패킷방식의 음향신호에서 크기인자추출 및 에러정정하는 종래의 에러정정장치를 나타낸 개념블록도.3 is a conceptual block diagram illustrating a conventional error correction apparatus for extracting magnitude and correcting an error in a D2 MAC packet type acoustic signal.

제4도는 본 고안의 바람직한 일 실시예에 따른 음향데이타 에러정정장치를 나타낸 회로도.Figure 4 is a circuit diagram showing an acoustic data error correction apparatus according to an embodiment of the present invention.

제5도는 메모리 제어부의 타이밍도.5 is a timing diagram of a memory controller.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

41 : 크기인자추출부 42, 43 : 램(RAM)41: size factor extraction unit 42, 43: RAM

44 : 마이콤 45 : 번지발생기44: micom 45: address generator

46 : 레지스터 47 : 논리합회로46: register 47: logic sum circuit

48 : 논리곱회로 49 : 에러조절부48: logical multiplication circuit 49: error control unit

본 고안은 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치에 관한 것으로서, 특히 수신측에서 음향데이타로부터 크기 인자(scale factor)를 추출하며, 추출된 크기인자를 이용하여 음향데이타의 에러를 정정하는 과정에서 크기인자와 음향데이타를 동기시키는 기능을 구비한 음향데이타 에러정정장치에 관한 것이다.The present invention relates to a sound data error correcting apparatus in a D2 MAC packet system, and more particularly, a process of extracting a scale factor from sound data at a receiver and correcting an error of the sound data using the extracted size factor. The present invention relates to an acoustic data error correcting apparatus having a function of synchronizing a magnitude factor with an acoustic data.

텔레비젼방송에 위성통신을 이용하는 D2 MAC패킷 시스템에서는 디지탈화된 음향신호를 시분할 다중화하여 패킷형태로 전송하는데, D2 MAC패킷 방식에서의 음향신호전송방식은 부호화 방법과 에러정정의 종류에 따라 대략 4가지로 나뉜다. 그러나, 이하의 설명에서는 4가지 전송방식중 14비트의 음향데이타와 1비트의 패리트검사비트로 구성되는 샘플당 15비트 길이의 선형 부호 제1보호레벨방식(Linear Code first protection level mode)만을 이용한다.In the D2 MAC packet system using satellite communication for television broadcasting, digitally divided audio signals are time-division multiplexed and transmitted in the form of packets. Divided. However, in the following description, only the linear code first protection level mode of 15 bits per sample including 14 bits of acoustic data and 1 bit of parity check bits is used.

제1도는 15비트 길이의 음향신호 샘플을 나타낸 것으로서, 선형부호 제1레벨방식의 음향데이타중 패리티비트(Pi)를 최대유효비트(Most Significant Bit;LSB)인 X0까지의 비트영역에 실리도록 구성된 하나의 음향신호 샘플을 표시한 것이다.FIG. 1 shows a 15-bit long audio signal sample, in which a parity bit Pi of a linear coded first-level audio data is loaded in a bit region up to X 0 , the most significant bit (LSB). One configured audio signal sample is shown.

이후의 설명에서는 패리티적용영역을 제1도의 X13부터 X3까지의 11비트로 정하고, 에러검사방법은 짝수패리티검사방법 즉, 패리티적용영역내의 비트값 '1'인 데이타의 갯수가 짝수가 되도록 패리티비트값을 결정하는 패리티검사방법을 이용한다.In the following description, the parity coverage area is set to 11 bits from X 13 to X 3 in FIG. 1, and the error checking method is an even parity check method, that is, parity so that the number of data having the bit value '1' in the parity application area is even. A parity check method is used to determine bit values.

제2도는 선형부호의 부호범위(Coding Range;CR)와 보호 범위(Protection Range;PR) 및 크기인자(Scale factor;SF)의 상호관계를 나타낸 개념도이다. 여기서, 'X'로 표시된 비트영역은 비트값 '1'와 '0'이 모두 가능한 비트영역이며, R2, R1, R0는 크기인자의 성분을 구분하기 위한 것이다. 그리고, 크기인자(SF)는 최대유효비트(MSB)부터 동일한 비트값을 갖는 비트의 갯수를 결정한다.FIG. 2 is a conceptual diagram illustrating a correlation between a coding range (CR), a protection range (PR), and a scale factor (SF) of a linear code. Here, the bit area indicated by 'X' is a bit area in which both bit values '1' and '0' are possible, and R 2 , R 1 , and R 0 are used to distinguish the components of the size factor. The size factor SF determines the number of bits having the same bit value from the maximum significant bit MSB.

D2 MAC패킷 시스템은, 스테레오방식의 음향신호를 전송하는 경우, 64개의 음향신호 샘플로, 하나의 '부호블록'을 형성하며, 부호블록내의 음향신호 샘플중 스테레오의 오른쪽 채널에 나머지 32개의 샘플을 할당한다. 송신측에서 두 채널 각각에 대한 크기인자들을 결정한 다음 음향신호 샘플에 삽입전송하면, 수신측에서는 전송되는 음향신호 샘플들로부터 크기인자를 추출한 다음 추출한 크기인자를 이용하여 음향신호내에 발생한 에러를 정정한다. 이와 같은 D2 MAC패킷 시스템에서 스테레오방식의 음향신호에 크기인자를 삽입하는 방법을 보다 구체적으로 설명하면 다음과 같다.In case of transmitting stereo sound signal, D2 MAC packet system forms one 'sign block' with 64 sound signal samples, and the remaining 32 samples in the right channel of stereo among the sound signal samples in the code block. Assign. When the transmitter determines the size factors for each of the two channels and inserts them into the audio signal samples, the receiver extracts the size factors from the transmitted sound signal samples and then corrects the error in the sound signal using the extracted size factors. The method of inserting the magnitude factor into the stereo sound signal in the D2 MAC packet system will be described in detail as follows.

스테레오방식에서는 왼쪽 채널과 오른쪽 채널 각각에 대해 크기인자가 결정되므로 왼쪽채널의 크기인자를 SL=(S2L, S1L, S0L)로, 오른쪽 채널의 크기인자를 S=(S2R, S1R, S0R)로 각각 정의한다. 소정의 방법에 의해 부호범위(CR)와 보호범위(PR)가 결정되면, 제2도에서 보는 바와 같이, 결정된 보호범위(PR)와 동일한 행에 놓이는 크기인자(SL또는 SR)를 그 샘플 또는 채널의 크기인자로 결정한다. 예를 들면, 부호화범위(CR)가 '2'이며, 보호범위(PR) 역시 '2'인 경우 그 때의 크기인자는 '110' 즉, R2=1, R1=1, R0=0이 된다. 보호범위와 크기인자와의 관계는 아래 표 1에서 잘 보여지고 있다.In the stereo method, the size factor is determined for each of the left and right channels, so the size factor of the left channel is S L = (S 2L , S 1L , S 0L ), and the size factor of the right channel is S = (S 2R , S 1R , S 0R ). When the code range CR and the protection range PR are determined by a predetermined method, as shown in FIG. 2, the magnitude factor S L or S R placed in the same row as the determined protection range PR is determined. Determined by the size factor of the sample or channel. For example, when the coding range CR is '2' and the protection range PR is also '2', the magnitude factor at that time is '110', that is, R 2 = 1, R 1 = 1, R 0 = It becomes zero. The relationship between the protection range and the size factor is shown in Table 1 below.

왼쪽 채널의 크기인자(S) 및 오른쪽 채널의 크기인자(S)가 각 채널에 대응하는 보호범위에 의하여 결정되면, 전반부 54개의 샘플에만 크기인자를 삽입하는 스테레오방식에서는 각 음향신호 샘플들이 갖는 패리티비트(Pi)와 크기인자의 구성 성분을 배타적 논리합하여 새로운 패리티비트(Pi′)를 생성한다. 새로운 패리티비트(Pi′)를 생성하는 방법은 다음과 같다.If the size factor (S) of the left channel and the size factor (S) of the right channel are determined by the protection range corresponding to each channel, the parity of each acoustic signal sample in the stereo system inserts the size factor into only the first 54 samples. A new parity bit Pi 'is generated by performing an exclusive OR of the bits Pi and the components of the magnitude factor. A method of generating a new parity bit Pi 'is as follows.

Pi′= Pi 1s S, 여기서 i = 1,7,13,19,25,31,37,43,49Pi ′ = Pi 1s S, where i = 1,7,13,19,25,31,37,43,49

Pi′= Pi 1s S, 여기서 i = 3,9,15,21,27,33,39,45,51Pi ′ = Pi 1s S, where i = 3,9,15,21,27,33,39,45,51

Pi′= Pi 1s S, 여기서 i = 5,11,17,23,29,35,41,47,53Pi ′ = Pi 1s S, where i = 5,11,17,23,29,35,41,47,53

Pi′= Pi 1s S, 여기서 i = 2,8,14,20,26,32,38,44,50Pi ′ = Pi 1s S, where i = 2,8,14,20,26,32,38,44,50

Pi′= Pi 1s S, 여기서 i = 4,10,16,22,28,34,40,46,52Pi ′ = Pi 1s S, where i = 4,10,16,22,28,34,40,46,52

Pi′= Pi 1s S, 여기서 i = 6,12,18,24,30,36,42,48,54Pi ′ = Pi 1s S, where i = 6,12,18,24,30,36,42,48,54

상술의 식에서 'i'에 대응하는 수자들은 음향신호들의 식별번호이며, S또는 S은 왼쪽 채널 또는 오른쪽 채널 크기 인자들의 구성성분을 표시한 것이다. 새로운 패리티(Pi′)로 음향신호 샘플의 패리티(Pi)를 대체하는 방법으로 스테레오음향신호의 15비트 선형부호들에 크기인자(S, S)들이 실려 전송되면, 수신측의 에러정정장치는 입력하는 음향신호로부터 크기인자(S, S)를 추출한 다음 에러를 정정한다.In the above formula, the numbers corresponding to 'i' are the identification numbers of the acoustic signals, and S or S represents the components of the left channel or right channel size factors. When the size factors S and S are transmitted on the 15-bit linear codes of the stereo sound signal in a manner of replacing the parity Pi of the acoustic signal sample with the new parity Pi ', the error correction apparatus of the receiving side is inputted. The magnitude factors S and S are extracted from the sound signal, and the error is corrected.

제3도는 D2 MAC패킷방식의 음향신호에서 크기인자추출 및 에러정정하는 종래의 에러정정장치를 나타낸 개념블록도이다. 크기인자추출부(31)는 패킷단위, 즉 48개의 샘플단위로 입력하는 음향데이타로부터 크기인자(S, S)를 추출한다. 추출된 크기인자(S, S)와 상술의 음향데이타가 크기인자삽입부(32)로 입력되면, 크기인자삽입부(32)는 64개의 음향신호 샘플 즉, 하나의 부호블록에 속하는 음향데이타들이 메모리(33)에 저장될 때 까지 상술의 추출된 크기인자들을 저장하고 있다가 하나의 부호블록에 속하는 음향데이타가 메모리(33)에 완전히 저장된 다음 그 부호블록에 대응하는 상술의 크기인자들을 메모리(33)에 저장한다. 메모리제어부(34)는 메모리(33)에 저장되어 있는 음향데이타와 대응하는 크기인자들을 데이타의 연속성을 유지하면서 출력한다. 즉, 에러조절부(35)에서 에러정정을 용이하게 실행할 수 있도록 소정의 부호블록과 대응 크기인자중에서 크기인자를 먼저 에러조절부(35)로 출력한 다음, 부호블록의 음향데이타를 에러조절부(35)로 출력한다.3 is a conceptual block diagram illustrating a conventional error correction apparatus for extracting magnitude and correcting an error in a D2 MAC packet type acoustic signal. The size factor extracting unit 31 extracts size factors S and S from sound data input in packet units, that is, in 48 sample units. When the extracted magnitude factors S and S and the above-described sound data are input to the magnitude factor inserting unit 32, the magnitude factor inserting unit 32 may include 64 sound signal samples, that is, sound data belonging to one code block. The above-described extracted size factors are stored until they are stored in the memory 33, and the acoustic data belonging to one code block is completely stored in the memory 33, and the above-described size factors corresponding to the code block are stored in the memory ( 33). The memory controller 34 outputs the magnitude factors corresponding to the acoustic data stored in the memory 33 while maintaining the continuity of the data. That is, the error adjusting unit 35 outputs the magnitude factor among the predetermined code blocks and the corresponding size factors to the error adjusting unit 35 so that the error correction unit 35 can easily perform error correction, and then outputs the acoustic data of the code block to the error adjusting unit. Output to (35).

상기와 같은 종래의 에러정정장치에서는 D2 MAC패킷 방식의 음향데이타들을 동일한 메모리에 저장한 다음 메모리제어부를 이용하여 서로 관련된 크기인자와 음향데이타중에서 크기인자를 먼저 출력시키고 음향데이타를 나중에 출력함으로써 음향데이타와 크기인자의 동기출력을 제어하는 메모리제어부의 하드웨어가 매위 복잡해지는 문제점이 있다.In the conventional error correction device as described above, the acoustic data of the D2 MAC packet type is stored in the same memory, and then the magnitude factor is first outputted among the magnitude factors and the acoustic data associated with each other using a memory controller, and the acoustic data is output later. There is a problem in that the hardware of the memory controller for controlling the synchronous output of the size factor and the size is complicated.

상기의 문제점을 해결하기 위한 본 고안의 목적은, 부호블록단위로 음향데이타를 메모리에 저장하며 메모리에 저장된 음향데이타의 에러를 정정하는 크기인자의 추출이 완료될 때 까지 상기 메모리에 저장된 음향데이타의 출력을 지연시킴으로써 간략한 회로구성으로서 소정의 음향데이타 및 그 에러정정을 위한 크기인자를 동기시킬 수 있는 D2 MAC패킷 시스템에서의 음향 데이타 에러정정장치를 제공함에 있다.An object of the present invention for solving the above problems is to store the acoustic data in a code block unit and to store the acoustic data stored in the memory until the extraction of the size factor corrects an error of the acoustic data stored in the memory. The present invention provides a sound data error correcting device in a D2 MAC packet system that can synchronize predetermined sound data and a magnitude factor for its error correction by delaying an output.

이와 같은 본 고안의 목적은, D2, MAC패킷 방식의 음향데이타에서 발생한 에러를 정정하는 장치에 있어서, 음향데이타를 입력받아 소정 부호블록의 음향데이타로부터 크기인자를 추출한 다음, 상기 추출된 크기인자와 음향데이타를 출력하는 크기인자 추출부와, 상기 크기인자추출부에서 출력하는 음향데이타를 상기 부호블록단위로 저장하는 제1저장부와, 상기 추출된 크기인자를 저장하는 제2저장부와, 상기 제1저장부에 저장된 음향데이타를 지연시킴으로써 소정의 부호블록에 속한 음향데이타와 상기 제2저장부에 저장되며 상기 소정의 부호블록에 속한 음향데이타의 에러정정에 이용되는 크기인자를 동기시켜 출력하는 제어부, 및 상기 제1저장부 및 제2저장부의 출력데이타를 입력받아 음향데이타의 에러를 정정하는 에러조절부를 포함하는 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치에 의해 달성된다.The object of the present invention as described above, in the device for correcting the error occurred in the D2, MAC packet type acoustic data, receiving the acoustic data and extracting the magnitude factor from the acoustic data of the predetermined code block, and then the A magnitude factor extraction unit for outputting acoustic data, a first storage unit for storing the acoustic data output from the magnitude factor extraction unit in the code block unit, a second storage unit for storing the extracted magnitude factor, and Delaying the acoustic data stored in the first storage unit to synchronize the acoustic data belonging to the predetermined code block with the magnitude factor stored in the second storage unit and used for error correction of the acoustic data belonging to the predetermined code block. D2 MAC including a control unit and an error control unit for receiving the output data of the first storage unit and the second storage unit to correct the error of the sound data It is achieved by the sound data error correcting apparatus in a kit system.

이하, 본 고안의 바람직한 일 실시예에 따른 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a sound data error correcting apparatus in a D2 MAC packet system according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제4도는 본 고안의 바람직한 일 실시예에 따른 음향데이타 에러정정장치를 나타낸 회로도로서, 음향데이타를 64개의 음향신호샘플단위로 두개의 램(RAM)에 저장하는 음향데이타 에러정정장치를 표시한 것이다.4 is a circuit diagram illustrating an acoustic data error correcting apparatus according to an exemplary embodiment of the present invention, and illustrates an acoustic data error correcting apparatus that stores acoustic data in two RAMs in units of 64 acoustic signal samples. .

제5도는 메모리제어부의 타이밍도로서, 음향데이타 및 크기인자의 메모리 쓰기/읽기를 제어하기 위한 타이밍도를 나타낸 것이다. 그리고, 제5도(c)와 (d)사이에 표시된 숫자는 64개의 음향신호 샘플로 구성된 부호블록중에서 48개의 샘플이 하나의 패킷(packet)을 형성함을 보인 것이다.5 is a timing diagram of a memory controller, and illustrates a timing diagram for controlling memory write / read of acoustic data and size factors. In addition, the numbers displayed between (c) and (d) of FIG. 5 show that 48 samples form one packet among a code block composed of 64 sound signal samples.

제4도의 장치는, 디지탈형태의 음향데이타를 입력받아 크기인자를 추출하는 크기인자추출부(41)와, 음향데이타를 저장하는 1킬로비트(1Kbit) 용량의 제1램(42) 및 제2램(43)과, 크기인자를 저장하는 레지스터(46)와, 램(42,43) 및 레지스터(46)의 데이타 입·출력을 제어하는 메모리제어부, 및 크기인자와 음향데이타를 입력받아 음향데이타의 에러를 정정하는 에러 조절부(49)를 포함한다. 그리고, 제1램(42) 및 제2램(43)의 출력단에는 논리합회로(47)를 연결하며, 논리합회로(47)와 에러조절부(49)사이에는 일측 입력단으로는 메모리제어부의 제어신호를 인가받고 다른 입력단으로는 논리합회로(47)의 출력데이타를 입력받는 논리곱회로(48)를 구비한다.The apparatus of FIG. 4 includes a size factor extractor 41 for receiving digital data and extracting a size factor, and a first ram 42 and a second having a capacity of 1 kilobit (1 Kbit) for storing sound data. A RAM 43, a register 46 for storing the size factor, a memory controller for controlling data input and output of the RAM 42, 43, and the register 46, and a size factor and sound data. It includes an error adjusting unit 49 for correcting the error of. A logic sum circuit 47 is connected to the output ends of the first ram 42 and the second ram 43, and a control signal of the memory controller is provided as an input terminal between the logic sum circuit 47 and the error controller 49. And a logical multiplication circuit 48 for receiving the output data of the logical sum circuit 47 as another input terminal.

상술의 메모리제어부는 레지스터(46)에 래치신호(SCF_LAT)를 인가하며 논리곱회로(48)에 읽기가능신호(R_EN)를 인가하는 마이콤(44)과, 마이콤(44)의 제어신호(CNTL)를 입력받아 상술의 램(42,43)에 읽기/쓰기 번지를 공급하는 번지발생기(45)를 구비한다. 그리고, 마이콤(44)은 번지발생기(45)에서 발생하는 번지신호에 의해 램(42,43)에 데이타를 읽고 쓸 수 있게 하는 읽기/쓰기 가능신호(RAM_EN) 출력단자를 구비한다.The above-described memory controller applies the latch signal SCF_LAT to the register 46 and the read signal R_EN to the AND circuit 48, and the control signal CNTL of the microcom 44. It is provided with a address generator 45 for receiving the input to supply the read / write address to the above-described RAM (42, 43). The microcomputer 44 has a read / write enable signal RAM_EN output terminal for reading and writing data to and from the RAMs 42 and 43 by the address signal generated by the address generator 45.

크기인자추출부(41)는 패킷단위로 입력하는 음향데이타의 각 샘플에 대한 패리티비트값을 계산한다. 즉, 제1도의 Pi부터 X까지의 12비트로 구성되는 음향신호 샘플의 패리티적용영역 및 패리티영역에서 비트값이 '1'인 갯수를 계수하여 비트값이 '1'인 갯수가 홀수이면 홀수(odd)패리티, 비트값이 '1'인 갯수가 짝수이면 짝수(even)패리티로 결정한다. 패리티가 결정된 음향신호 샘플은 크기인자추출부(41)에서 출력되어 램(42 또는 43) 저장된다. 그리고, 음향신호샘플에서 얻어진 패리티데이타는 크기인자추출부(41)에 내장된 메모리에 저장된다.The magnitude factor extracting unit 41 calculates a parity bit value for each sample of acoustic data input in units of packets. That is, in the parity application area and parity area of the acoustic signal sample consisting of 12 bits Pi to X in FIG. 1, the number of bit values is counted as '1', and if the number of bit values is '1', odd number (odd If the number of parity and the bit value is '1' is even, it is determined as even parity. The acoustic signal sample whose parity is determined is output from the magnitude factor extracting unit 41 and stored in the RAM 42 or 43. The parity data obtained from the acoustic signal sample is stored in a memory built in the size factor extracting unit 41.

마이콤(44)은 부호블록간격으로 반전되는 제5도(a)의 램 읽기/쓰기 가능신호(RAM_EN)를 이용하여 제1램(42) 및 제2램(43) 각각에서의 읽기/쓰기를 제어한다. 읽기/쓰기 가능신호(RAM_EN)의 '로우'신호는 쓰기가능신호, '하이'신호는 읽기가능신호인 경우, 제5도(a) 펄스에서 로우신호에 의해 제1램(42)은 쓰기가능상태가 되며 제2램(43)은 읽기가능상태가 된다. 제5도(b)의 패킷가능신호(PAC_EN)를 입력받는 마이콤(44)이 패킷가능(Packet enable)시간동안 번지로 발생 출력하도록 번지발생기(45)를 제어(CNTL)하면, 크기인자추출부(41)에서 패리티가 결정된 후 출력하는 제1패킷의 음향데이타는 패킷가능신호(PAC_EN) 및 번지발생기(45)의 번지에 맞추어 제1램(42)에 저장된다.The microcomputer 44 reads and writes each of the first RAM 42 and the second RAM 43 using the RAM read / write enable signal RAM_EN of FIG. 5A which is inverted at the code block interval. To control. When the 'low' signal of the read / write signal RAM_EN is a writeable signal and the 'high' signal is a readable signal, the first RAM 42 is writable by the low signal in the pulse of FIG. The second RAM 43 is in a readable state. When the microcomputer 44 receiving the packet enable signal PAC_EN of FIG. 5 (b) controls the address generator 45 to generate and output the address for the packet enable time (CNTL), the magnitude factor extracting unit After parity is determined at 41, the acoustic data of the first packet to be output is stored in the first RAM 42 in accordance with the packet enable signal PAC_EN and the address of the address generator 45.

크기인자추출부(41)는 계속적으로 음향신호 샘플들의 패리티를 결정하여 내부 메모리에 저장하고, 크기인자의 소정성분(S또는 S)에 대응하는 샘플군(Sample group) 예를 들면, S성분에 대해 샘플번호 1, 7, 13, 19, 25, 31, 37, 43, 49로 구성된 샘플군에서 상술의 결정된 패리티값이 홀수패리티인 갯수 및 짝수패리티인 갯수를 세어서 갯수가 많은 패리티를 그 구성성분(상술의 경우 S)의 성분값으로 결정한다. 즉, 홀수패리티의 갯수가 많으면 크기인자의 구성성분값은 '1'이 되며, 짝수패리티의 갯수가 많으면 그 구성성분값은 '0'으로 결정된다. 동일한 방식으로 한 부호블록의 54개 음향신호 샘플로부터 샘플군에 대응하는 6개의 크기인자구성성분들을 모두 구한다.The magnitude factor extracting unit 41 continuously determines the parity of acoustic signal samples and stores the parity of the acoustic signal samples in an internal memory, and stores a sample group corresponding to a predetermined component (S or S) of the magnitude factor, for example, S component. In the sample group consisting of sample numbers 1, 7, 13, 19, 25, 31, 37, 43, and 49, the parity value determined above is an odd parity number and an even parity number. Determined by the component value of the component (S in the above). That is, if the number of odd parity is large, the component value of the size factor is '1', and if the number of even parity is large, the component value is determined as '0'. In the same manner, all six magnitude factor components corresponding to the sample group are obtained from the 54 acoustic signal samples of one code block.

추출된 크기인자(S, S)들은 레지스터(46)에 저장된다. 그러나, 54개의 음향신호 샘플만으로 스테레오 음향신호의 좌우 채널에 대한 크기인자(S, S)가 추출가능하지만 64개의 음향신호 샘플이 에러정정범위가 되는 부호블록을 형성한다. 따라서, 추출된 크기인자(S, S)들은 마이콤(44)에서 발생하며 로우레벨을 갖는 크기인자래치신호(SCF_LAT)에 의해 레지스터(46)에서 출력되지 않는다. 64개의 음향신호 샘플이 제1램(42)에 저장되면, 마이콤(44)은 제1램(42)을 읽기가능상태로 전환하며, 제2램(43)은 쓰기가능상태로 전환하고, 제5도(d)의 크기인자래치신호(SCF_LAT)를 레지스터(46)로 출력하며, 제5도(e)의 읽기가능신호(R_EN)를 논리합회로(47)로 인가한다. 또한, 마이콤(44)은 번지발생기(45)가 번지신호를 발생하도록 제어한다. 제1램(42)에 저장된 데이타는 읽기/쓰기가능신호(RAM_EN) '하이'에 의해 논리합회로(47)를 출력하며 크기인자추출부(41)에서 출력하는 차순의 부호블록에 속한 음향데이타는 제2램(43)에 저장된다. 상술의 논리합회로(47)에서 출력하는 음향데이타는 논리곱회로(48)에 인가되는 하이레벨의 읽기가능신호(R_EN)에 의해 에러조절부(49)로 출력한다. 또한, 상술의 크기인자래치신호(SCF_LAT)에 의해 레지스터(46)에서 출력하는 크기인자(S, S) 역시 에러조절부(49)로 입력된다.The extracted size factors S and S are stored in the register 46. However, the amplitude factors S and S for the left and right channels of the stereo sound signal can be extracted using only 54 sound signal samples, but 64 sound signal samples form a code block that becomes an error correction range. Accordingly, the extracted magnitude factors S and S are generated in the microcomputer 44 and are not output from the register 46 by the magnitude factor latch signal SCF_LAT having a low level. When 64 sound signal samples are stored in the first RAM 42, the microcomputer 44 switches the first RAM 42 into a readable state, and the second RAM 43 switches into a writable state. The latch signal SCF_LAT having a magnitude of 5 degrees (d) is output to the register 46, and the readable signal R_EN of FIG. 5 (e) is applied to the logic sum circuit 47. In addition, the microcomputer 44 controls the address generator 45 to generate the address signal. The data stored in the first RAM 42 outputs the logic sum circuit 47 by the read / write enable signal RAM_EN 'high', and the acoustic data belonging to the code blocks in the order output from the size factor extractor 41 is It is stored in the second ram 43. The sound data output from the logical sum circuit 47 is output to the error control unit 49 by the high level readable signal R_EN applied to the logical multiplication circuit 48. In addition, the magnitude factors S and S output from the register 46 are also input to the error control unit 49 by the magnitude factor latch signal SCF_LAT.

54개의 샘플을 이용해 얻어진 상술의 크기인자(S, S)는 제2도에서 보인 바와 같이 대응하는 보호범위를 갖는다. 따라서, 에러조절부(49)는 크기인자(S, S)에 의해 결정된 보호범위를 제1도에 표시된 스테레오 음향신호의 각 샘플들 내부에서 X비트부터 적용하여 보호범위내에 있는 비트값을 동일한 이진값으로 변경한다. 예를 들어, 보호범위가 4이면 X부터 X까지를 동일한 비트값으로 일치시킨다. 따라서, 데이타 전송에서 발생한 에러중에서 보호범위내에 발생한 에러는 정정된다.The above-described size factors S and S obtained using 54 samples have corresponding protection ranges as shown in FIG. Accordingly, the error control unit 49 applies the protection range determined by the magnitude factors S and S to the same binary value of the bit value within the protection range by applying the X bit from each sample of the stereo sound signal shown in FIG. Change it to a value. For example, if the protection range is 4, X to X are matched with the same bit value. Therefore, an error occurring within the protection range among the errors occurring in the data transmission is corrected.

상기와 같은 본 고안의 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치에 의하면, 에러정정의 단위가 되는 부호블록 별로 음향데이타를 저장하면 소정 부호블록의 음향데이타에서 발생한 에러를 정정하는 크기인자의 추출이 완료될 때 까지 부호블록의 음향데이타를 지연시킴으로써, 음향데이타와 크기인자를 동기시켜 출력하는 제어부의 회로구성을 간략히 할 수 있는 효과가 있다.According to the acoustic data error correcting apparatus of the D2 MAC packet system of the present invention as described above, when the acoustic data is stored for each code block that is the unit of error correction, the extraction of the magnitude factor that corrects the error occurring in the acoustic data of the predetermined code block By delaying the sound data of the code block until this is completed, there is an effect that the circuit configuration of the controller for synchronizing the sound data with the magnitude factor and outputting them can be simplified.

Claims (3)

D2 MAC패킷 방식의 음향데이타에서 발생한 에러를 정정하는 장치에 있어서, 음향데이타를 입력받아 소정 부호블록의 음향데이타로부터 크기인자를 추출한 다음, 상기 추출된 크기인자와 음향데이타를 출력하는 크기인자추출부와; 상기 크기인자추출부에서 출력하는 음향데이타를 상기 부호블록단위로 저장하는 제1저장부와; 상기 추출된 크기인자를 저장하는 제2저장부와; 상기 제1저장부에 저장된 음향데이타를 지연시킴으로써 소정의 부호블록에 속한 음향데이타와 상기 제2저장부에 저장되며 상기 소정의 부호블록에 속한 음향데이타의 에러정정에 이용되는 크기인자를 동기시켜 출력하는 제어부; 및 상기 제1저장부 및 제2저장부의 출력데이타를 입력받아 음향데이타의 에러를 정정하는 에러조절부를 포함하는 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치.An apparatus for correcting an error occurring in D2 MAC packet type audio data, comprising: receiving acoustic data, extracting a magnitude factor from acoustic data of a predetermined code block, and then outputting the extracted magnitude factor and acoustic data; Wow; A first storage unit for storing the acoustic data output from the magnitude factor extracting unit in the code block unit; A second storage unit for storing the extracted size factor; By delaying the sound data stored in the first storage unit, the data is stored in synchronization with the magnitude factor used in the error correction of the sound data stored in the second storage unit and the sound data belonging to the predetermined code block. A control unit; And an error control unit which receives the output data of the first storage unit and the second storage unit and corrects an error of the acoustic data. 2. 제1항에 있어서, 제1저장부는 소정의 부호블록에 속하는 음향데이타를 저장하는 제1메모리와, 상기 소정 부호블록의 차순에 해당하는 부호블록에 속하는 음향데이타를 저장하는 제2메모리를 구비함을 특징으로 하는 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치.The memory device of claim 1, wherein the first storage unit comprises a first memory for storing sound data belonging to a predetermined code block, and a second memory for storing sound data belonging to a code block corresponding to the order of the predetermined code block. Audio data error correction device in the D2 MAC packet system characterized in that. 제2항에 있어서, 제어부는 제1메모리가 읽기가능상태이면 제2메모리는 쓰기가능상태가 되며, 제1메모리가 쓰기가능상태이면 제2메모리는 읽기가능상태가 되도록 상기 제1메모리 및 제2메모리를 제어하는 마이콤과, 상기 마이콤의 제어신호에 따라 상기 메모리들의 읽기/쓰기 번지를 발생하는 번지 발생기를 구비함을 특징으로 하는 D2 MAC패킷 시스템에서의 음향데이타 에러정정장치.The memory device of claim 2, wherein the controller is further configured to make the second memory writable when the first memory is in a readable state, and to make the second memory readable when the first memory is in a writable state. And a address generator for generating a read / write address of the memories according to a control signal of the microcomputer and a microcomputer for controlling a memory.
KR2019920021173U 1992-10-30 1992-10-30 Error correction apparatus KR0128055Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019920021173U KR0128055Y1 (en) 1992-10-30 1992-10-30 Error correction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019920021173U KR0128055Y1 (en) 1992-10-30 1992-10-30 Error correction apparatus

Publications (2)

Publication Number Publication Date
KR940011288U KR940011288U (en) 1994-05-27
KR0128055Y1 true KR0128055Y1 (en) 1999-03-20

Family

ID=19342947

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019920021173U KR0128055Y1 (en) 1992-10-30 1992-10-30 Error correction apparatus

Country Status (1)

Country Link
KR (1) KR0128055Y1 (en)

Also Published As

Publication number Publication date
KR940011288U (en) 1994-05-27

Similar Documents

Publication Publication Date Title
US4387371A (en) Data transmission systems
US4851909A (en) Method and apparatus for maintaining audio/ video synchronism in a television signal read-out from a digital buffer memory by a reference signal
US5991857A (en) Interleaving and de-interleaving of data in telecommunications
US4306305A (en) PCM Signal transmitting system with error detecting and correcting capability
US4188616A (en) Method and system for transmitting and receiving blocks of encoded data words to minimize error distortion in the recovery of said data words
US4542498A (en) High bit-rate coupler between a PCM channel multiplex and a packet switching unit
US4654853A (en) Data transmission method
EP0343740B1 (en) Teletext decoders
CA2031055A1 (en) Programmable multiplexing techniques for mapping a capacity domain into a time domain within a frame
US4215335A (en) Digital signal transmission method
JP3009038B2 (en) Header error check device
KR930001587B1 (en) Data processing system
CA1169937A (en) Process and apparatus for digital data communication using packet switching
US4166271A (en) Digital recognition circuits
US4320511A (en) Method and device for conversion between a cyclic and a general code sequence by the use of dummy zero bit series
US4135060A (en) Circuit arrangement for a time division multiplex communication system for the channel by channel combination at the receiving end of information transmitted in the form of multiframes
US4893308A (en) Method and apparatus for time companding a digital voice signal
US4179659A (en) Signal transmission system
US4450558A (en) Method and apparatus for establishing frame synchronization
KR0128055Y1 (en) Error correction apparatus
US5408476A (en) One bit error correction method having actual data reproduction function
EP0818900A2 (en) Digital signal multiplexing apparatus
US5146462A (en) System and devices for transmitting signals consisting of data blocks
GB1477614A (en) Transmitting station and receiving station for operating with a systematic recurrent code
US5148434A (en) Digital data generator

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20070628

Year of fee payment: 10

EXPY Expiration of term