KR20080060526A - Method for clock synchronization of wireless home theater system - Google Patents

Method for clock synchronization of wireless home theater system Download PDF

Info

Publication number
KR20080060526A
KR20080060526A KR1020060134722A KR20060134722A KR20080060526A KR 20080060526 A KR20080060526 A KR 20080060526A KR 1020060134722 A KR1020060134722 A KR 1020060134722A KR 20060134722 A KR20060134722 A KR 20060134722A KR 20080060526 A KR20080060526 A KR 20080060526A
Authority
KR
South Korea
Prior art keywords
sink device
clock error
clock
wireless sink
wireless
Prior art date
Application number
KR1020060134722A
Other languages
Korean (ko)
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 KR1020060134722A priority Critical patent/KR20080060526A/en
Publication of KR20080060526A publication Critical patent/KR20080060526A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Abstract

A clock synchronization method of a wireless home theater system is provided to accurately compensate for a clock mismatch between a CP(Control Point) and a WS(Wireless Sink-device) by accurately calculating the clock error even when a communication conditions are poor. A signal transmission delay time(deltat) and a clock error(thetat) of a WS are calculated by a CP in a wireless home theater system for every predetermined period(S408). When predetermined numbers of the delay times and the clock errors are calculated, a clock error compensation value(sigmat) for the WS is calculated by using the delay times and the clock errors(S416). The calculated clock error compensation value is transmitted to the WS. The WS compensates for the clock error between the WS and the CP by using the clock error compensation value, which is transmitted from the CP.

Description

무선 홈시어터 시스템의 클록 동기화 방법{METHOD FOR CLOCK SYNCHRONIZATION OF WIRELESS HOME THEATER SYSTEM}How to Synchronize Clocks in a Wireless Home Theater System {METHOD FOR CLOCK SYNCHRONIZATION OF WIRELESS HOME THEATER SYSTEM}

도 1은 무선 홈시어터 시스템의 구성을 도시한 도면,1 is a diagram illustrating a configuration of a wireless home theater system;

도 2는 도 1에 도시된 CP와 WS 간에 송수신하는 데이터 프레임 형태의 일실시 예를 도시한 도면,FIG. 2 is a diagram illustrating an embodiment of a data frame type that transmits and receives between a CP and a WS illustrated in FIG. 1;

도 3은 CP와 WS 간에 REQ 프레임 및 RES 프레임 송수신을 도시한 도면, 및3 is a diagram illustrating transmission and reception of a REQ frame and an RES frame between a CP and a WS; and

도 4는 본 발명에 따른 무선 홈시어터 시스템의 클록 동기화 방법을 도시한 흐름도이다.4 is a flowchart illustrating a clock synchronization method of a wireless home theater system according to the present invention.

본 발명은 무선 홈시어터 시스템의 클록 동기화 방법에 관한 것으로, 보다 상세하게는 무선 홈시어터 시스템에서 발생하는 무선 통신 환경 열화를 고려한 무선 신호 소스(Source)장치와 싱크(Sink)장치 간에 클록을 동기화하는 방법에 관한 것이다. The present invention relates to a clock synchronization method of a wireless home theater system, and more particularly, to synchronize a clock between a wireless signal source device and a sink device in consideration of degradation of a wireless communication environment occurring in a wireless home theater system. It is about a method.

DVD로 대표되는 가정에서 접할 수 있는 A/V 미디어와 콘텐츠의 발달로 인해 스피커 제품군은 스테레오(Stereo)에서 서라운드(Surround)로, 서라운드에서 5.1 채널, 6.1 채널, 7.1 채널 등의 형태로 점진적으로 진화하고 있다. Due to the development of A / V media and contents that can be found in the home represented by DVD, the speaker family is gradually evolving from stereo to surround and from surround to 5.1 channel, 6.1 channel, and 7.1 channel. Doing.

우퍼(Woofer)를 포함하는 5.1 채널의 경우를 살펴보면, 프론트라이트(Front Right), 프론트레프트(Front Left), 센터(Center) , 우퍼(Woofer), 리어라이트(Rear Right), 및 리어레프트(Rear Left)의 6 개 스피커를 통해 최대의 음향효과를 제공하도록 구성되고 있다.For 5.1 channels, including Woofers, look at Front Right, Front Left, Center, Woofer, Rear Right, and Rear. Left) is configured to provide maximum sound effect through six speakers.

따라서, 스피커 제품군의 점진적이 진화와 더불어 가정 내에 구비되는 스피커의 개수는 많아지고 있다. Therefore, with the gradual evolution of the speaker family, the number of speakers provided in the home is increasing.

또한, 블루투스(BLUETOOTH), 무선랜(WLAN), 초광대역(UWB) 통신으로 이어지는 무선 전송 기술의 대역폭 증가로 인해 고품질의 A/V 신호 무선 전송이 가능하게 되었다. In addition, due to the increased bandwidth of the wireless transmission technology leading to Bluetooth, WLAN, and ultra-wideband (UWB) communication, high quality A / V signal wireless transmission is enabled.

그래서 A/V 제품에 무선 전송이 도입될 경우 복잡한 배선 및 선정리 등이 자연히 해결될 수 있으므로, 무선 A/V 제품에 대한 시장의 기대 심리도 상당 수준 있는 상태이다. 또한 몇몇 주 오디오 제조사 혹은 스피커 제조사에서 실험적인 상용제품들이 출시되어 있는 상태이다.Therefore, when wireless transmission is introduced into A / V products, complicated wiring and selection may naturally be solved, and thus the market expectation for wireless A / V products is also considerable. There are also experimental commercial products available from several major audio and speaker manufacturers.

그러나 출시된 무선 A/V 제품들은 초기에 상당한 관심을 받았지만 보통 대량 판매로 이어지지 않았다. 이는 기대하였던 만큼의 음질을 제공하지 못하는 단점이 존재하기 때문이다. However, the wireless A / V products on the market received considerable attention initially but did not usually lead to mass sales. This is because there is a disadvantage that does not provide the sound quality as expected.

무선 A/V 제품들의 사용 주파수에 따라 무선 전화기나 전자레인지, WLAN 장비 등에 의한 잡음이 발생하는 등의 문제가 있으며, 또한 무엇보다도 무선 전송 과정이 추가됨으로써 A/V 신호 전송 상에 지연이 발생하여 비디오 출력과 오디오 출 력 간에 시간 차이 또는 유선으로 연결된 스피커 오디오 출력과 무선으로 연결된 스피커 오디오 출력 간에 미묘한 시간 차이가 발생하고 있다.Depending on the frequency of use of wireless A / V products, there is a problem such as noise generated by a cordless phone, a microwave oven, WLAN equipment, and the like, and above all, a delay occurs in A / V signal transmission by adding a wireless transmission process. There is a subtle time difference between the video output and the audio output, or between the wired speaker audio output and the wirelessly connected speaker audio output.

따라서, 사용자가 원하는 유선 연결 그대로의 충실도(Fidelity) 높은 음질을 제공하면서 무선 연결의 편리함을 제공해 줄 수 있는 방안을 모색할 필요가 있다.Therefore, there is a need to find a way to provide convenience of wireless connection while providing fidelity high sound quality as a wired connection desired by a user.

그러므로 본 발명의 목적은 무선 홈시어터 시스템에서 사용자가 원하는 유선 연결 그대로의 충실도(Fidelity) 높은 음질을 제공할 수 있도록 무선 신호 소스(Source)장치와 싱크(Sink)장치 간에 보다 정밀하게 클록을 동기화할 수 있는 클록 동기화 방법을 제공하는데 있다. Therefore, an object of the present invention is to more precisely synchronize clocks between a wireless signal source device and a sink device in order to provide high fidelity sound quality of a wired connection desired by a user in a wireless home theater system. To provide a clock synchronization method that can be.

상기와 같은 목적을 달성하기 위해서, 본 발명에 따른 클록 동기화 방법은 무선 홈시어터 시스템에서 제어 포인트(CP:Control Point)가 기 설정된 주기마다 무선 싱크장치(WS:Wireless Sink-device)에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 단계; 상기 제어 포인트가 기 설정해 놓은 개수만큼 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 경우, 상기 계산한 신호 전송 지연 시간(δt) 및 상기 클록 오차(θt)를 이용하여 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 단계; 상기 제어 포인트가 상기 계산한 클록 오차 보정값(σt)을 상기 무선 싱크장치로 송신하는 단계; 및 상기 무 선 싱크장치가 상기 제어 포인트에서 송신된 클록 오차 보정값(σt)을 통해 상기 제어 포인트와의 클록 오차를 보정하는 단계;를 포함하여 이루어진다. In order to achieve the above object, the clock synchronization method according to the present invention transmits a signal to a wireless sink device (WS) at a predetermined period in a control point (CP) in a wireless home theater system. Calculating a delay time δ t and a clock error θ t ; For calculating the signal transmission delay time (δ t) and a clock error (θ t) with respect to the wireless sink device by the number it puts the control point is set group, the calculated signal transmission delay time (δ t) and the clock error calculating a clock error correction value (σ t ) of the wireless sink device using (θ t ); Transmitting, by the control point, the calculated clock error correction value (σ t ) to the wireless sink device; And correcting, by the wireless sink device, the clock error with the control point through the clock error correction value σ t transmitted from the control point.

여기서, 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 것은, 상기 제어 포인트가 기 설정해 놓은 개수(W)만큼 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 경우, 상기 계산한 각 클록 오차(θt)에 대한 가중치 값(ωt)을 하기 <수학식 1>을 통해 계산하는 단계; 및 상기 계산한 각 클록 오차에 대한 가중치 값(ωt) 및 상기 클록 오차(θt)를 하기 <수학식 2>에 적용하여 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 단계;로 구성되는 것을 특징으로 한다.Here, the calculation of the clock error correction value σ t of the wireless sink device may include a signal transmission delay time δ t and a clock error (? T ) for the wireless sink device by a predetermined number W of the control point. when calculating θ t ), calculating a weight value ω t for each of the calculated clock errors θ t through Equation 1 below; Calculating a clock error correction value σ t of the wireless sink device by applying the calculated weight value ω t and the clock error θ t to the following Equation 2: It is characterized by consisting of;

수학식Equation 1 One

Figure 112006096866432-PAT00001
Figure 112006096866432-PAT00001

수학식Equation 2 2

Figure 112006096866432-PAT00002
Figure 112006096866432-PAT00002

t는 순번을 나타내는 0부터 시작하는 양의 상수 값이고, A는 임의의 양의 상수 값이다.t is a positive constant value starting from 0 representing the sequence number, and A is a positive constant value of any quantity.

그리고 상기 제어 포인트가 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 것은, 상기 제어 포인트가 기 설정된 주기마다 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하기 위해 상기 무선 싱크장치로 REQ 프레임을 송신한 시각 정보(T0), 상기 무선 싱크장치가 상기 REQ 프레임을 수신한 시각 정보(T1), 상기 무선 싱크장치가 RES 프레임을 송신한 시각 정보(T2), 및 상기 무선 싱크장치로부터 상기 RES 프레임을 수신한 시각 정보(T3)를 확인하는 단계; 및 상기 확인한 시각 정보들(T0 ,T1 ,T2 ,T3)을 하기 <수학식 3> 및 <수학식 4>에 적용하여 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 각각 계산하는 단계;로 구성되는 것을 특징으로 한다.The control point calculating the signal transmission delay time δ t and the clock error θ t for the wireless sink device may include the signal transmission delay time for the wireless sink device every predetermined period. δ t ) and time information T 0 when a REQ frame is transmitted to the wireless sink device to calculate a clock error θ t , time information T 1 when the wireless sink device receives the REQ frame, and Confirming, by the wireless sink device, time information (T 2 ) of transmitting the RES frame, and time information (T 3 ) of receiving the RES frame from the wireless sink device; And applying the checked time information (T 0 , T 1 , T 2 , T 3 ) to the following Equations 3 and 4, and a signal transmission delay time δ t for the wireless sink device. Computing the clock error (θ t ), respectively.

수학식Equation 3 3

Figure 112006096866432-PAT00003
Figure 112006096866432-PAT00003

수학식Equation 4 4

Figure 112006096866432-PAT00004
Figure 112006096866432-PAT00004

본 발명에 따른 클록 동기화 방법은 상기 제어 포인트가 기 설정된 주기마다 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 단계 이전에, 상기 제어 포인트가 상기 무선 싱크장치의 내부 클록 카운터 값을 0으로 초기화시키는 INIT 프레임을 상기 무선 싱크장치로 전송하는 단계;를 더 포함하여 이루어진다.In the clock synchronization method according to the present invention, before the control point calculates a signal transmission delay time (δ t ) and a clock error (θ t ) for the wireless sink device at predetermined periods, And transmitting the INIT frame to the wireless sink device to initialize the internal clock counter value of the sink device to zero.

그리고 상기 제어 포인트가 상기 계산한 클록 오차 보정값(σt)을 상기 무선 싱크장치로 송신하는 것은, 상기 제어 포인트가 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하기 위해 기 설정된 주기마다 상기 무선 싱크장치로 송신하는 상기 REQ 프레임 내에 상기 계산한 클록 오차 보정값(σt)을 포함시켜 상기 무선 싱크장치로 송신할 수 있다.The control point transmits the calculated clock error correction value σ t to the wireless sink device, wherein the control point transmits a signal transmission delay time δ t and a clock error θ t for the wireless sink device. ), The calculated clock error correction value (σ t ) may be included in the REQ frame transmitted to the wireless sink device at predetermined intervals, and then transmitted to the wireless sink device.

이하에서는 첨부된 도면들을 참조하여 본 발명을 보다 상세히 설명한다. 다만, 본 발명을 설명함에 있어 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설 명은 생략한다.Hereinafter, with reference to the accompanying drawings will be described the present invention in more detail. However, in the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, detailed description thereof will be omitted.

도 1은 무선 홈시어터 시스템의 구성을 도시한 도면으로, 도 1은 하나의 영상표시장치와 5.1 채널 스피커 구성을 가지며 후면 2개의 스피커가 무선 스피커로 구성된 무선 홈시어터 시스템을 도시하고 있다.1 is a diagram illustrating a configuration of a wireless home theater system, and FIG. 1 illustrates a wireless home theater system having a video display device and a 5.1-channel speaker configuration, and two rear speakers consisting of wireless speakers.

즉, 5.1 채널 스피커 구성인 프론트라이트(Front Right, FR), 프론트레프트(Front Left, FL), 센터 스피커(Center Speaker, CS) , 우퍼(Woofer, W), 리어라이트(Rear Right, RR), 및 리어레프트(Rear Left, RL)의 6 개 스피커를 가지며, RR과 RL 스피커는 무선 통신을 통해 오디오신호를 수신하는 무선 스피커이다.That is, 5.1-channel speaker configuration Front Right (Front Right, FR), Front Left (Front Left, FL), Center Speaker (CS), Woofer (W), Rear Light (Rear Right, RR), And six left rear speakers (RL), and the RR and RL speakers are wireless speakers that receive audio signals through wireless communication.

무선 홈시어터 시스템에는 하나의 제어 포인트(Control Point, 이하 'CP'라 함)가 존재한다. CP라 함은, A/V 신호를 입력받아 무선 혹은 유선으로 연결된 영상표시장치와 스피커에 전송하는 역할을 수행하는 무선 소스(Source)장치로 외부 영상표시장치 및 스피커와 유무선 통신을 수행하며 A/V 신호를 전송한다.In the wireless home theater system, one control point (hereinafter, referred to as 'CP') exists. CP is a wireless source device that receives A / V signals and transmits them to a video display device and a speaker connected wirelessly or wired, and performs wired / wireless communication with an external video display device and a speaker. Transmit the V signal.

그래서 CP는 무선 홈시어터 시스템 내에 존재하는 무선 영상표시장치 혹은 무선 스피커인 무선 싱크장치(Wireless Sink-device, 이하 'WS'라 함) 하나 이상과 연결되고, WS과 무선 통신을 수행하며 WS측으로 오디오 혹은 비디오 신호를 전송해 준다. Thus, the CP is connected to one or more wireless sink devices (hereinafter referred to as WSs), which are wireless video display devices or wireless speakers existing in a wireless home theater system, perform wireless communication with the WS, and transmit audio to the WS side. Or transmits a video signal.

본 발명은 Hi-Fi 무선 홈시어터 시스템을 구현하기 위해서 CP와 WS 간에 클록 동기화 작업이 이루어지도록 한다.The present invention allows the clock synchronization operation between the CP and the WS to implement the Hi-Fi wireless home theater system.

본 발명은 CP와 WS 간에 클록 동기화 작업을 수행하기 위해서 우선, CP와 WS 간에 주기적으로 특정 형식의 데이터 프레임을 주고 받는 작업을 수행하도록 구성 되며, CP와 WS 간에 클록 동기화 작업을 위해 주고 받는 특정 형식의 데이터 프레임은 도 2에 도시된 바와 같은 형태를 가진다.In order to perform a clock synchronization operation between the CP and the WS, the present invention is first configured to periodically send and receive a specific type of data frame between the CP and the WS, and to perform a clock synchronization operation between the CP and the WS. The data frame has a form as shown in FIG.

도 2는 도 1에 도시된 CP와 WS 간에 송수신하는 데이터 프레임 형태의 일실시 예를 도시한 도면이다.FIG. 2 is a diagram illustrating an embodiment of a data frame type that transmits and receives between a CP and a WS illustrated in FIG. 1.

살펴보면, CP와 WS 간에 클록 동기화 작업을 위해 송수신하는 데이터 프레임은 헤더(Header)구간과 데이터(Data)구간으로 구성되고, 헤더구간에는 프리앰블(Preamble) 정보, 목적지(Destination) 정보, 소스(Source) 정보, 및 프레임 타입(Type)정보를 포함한 헤더정보를 가진다. 그리고 데이터구간은 데이터 프레임이 송신 또는 수신되는 시각 정보인 타임스탬프 정보(Timestamp #0, Timestamp #1, 및 Timestamp #2)를 전송할 수 있는 세 개의 타임스탬프 정보 구간으로 이루어진다.As shown, the data frame transmitted and received for clock synchronization between the CP and WS is composed of a header section and a data section, and the header section includes preamble information, destination information, and source. Header information including information and frame type information. The data section includes three time stamp information sections capable of transmitting time stamp information (Timestamp # 0, Timestamp # 1, and Timestamp # 2), which are time information at which the data frame is transmitted or received.

여기서, 헤더정보 내에 프리앰블 정보는 다른 종류의 데이터와 구별되기 위한 16 비트 길이의 비트 스트링(Bit String) 데이터이다. Here, the preamble information in the header information is bit string data having a length of 16 bits to be distinguished from other types of data.

그리고 목적지 정보는 데이터 프레임을 수신할 CP 혹은 WS의 식별 주소값을, 소오스 정보는 데이터 프레임을 전송하는 CP 혹은 WS의 식별 주소값을 의미한다.The destination information means an identification address value of a CP or WS that will receive a data frame, and the source information means an identification address value of a CP or WS that transmits a data frame.

AddressAddress MeaningMeaning Misc.Misc. 0x000x00 Control Point(CP)Control Point (CP) 0x01 - 0x3e0x01-0x3e Wireless Subsystem(WS)Wireless Subsystem (WS) 0x3f0x3f Broadcast AddressBroadcast Address Destination OnlyDestination only

[표 1]은 목적지 정보 및 소오스 정보의 필드 길이가 6 비트로, 6 비트의 비트 값으로 표현되는 각 어드레스 값들을 CP 및 WS에 지정해 놓은 예이다. [Table 1] is an example in which the field lengths of the destination information and the source information are 6 bits, and each address value represented by the 6-bit bit value is assigned to the CP and the WS.

그래서 0x00 주소값은 CP의 주소값으로 지정해 놓고, 6 비트 값이 모두 1인 0x3f는 브로드케스트 주소값(Broadcast Address)으로 지정해 놓은 경우, 실제 WS에 지정되는 주소값 개수는 0x01 부터 0x3e 까지 62개가 된다. 결국, CP가 제어 가능한 WS의 개수는 62 개로 제한된다.So, if 0x00 address value is designated as CP address value and 0x3f with 6 bit value is all 1 as broadcast address value, the actual number of addresses assigned to WS is 62 from 0x01 to 0x3e. do. As a result, the number of WSs that the CP can control is limited to 62.

그리고, 소오스 정보로는 브로드케스트 주소값(Broadcast Address)인 0x3f 값을 사용할 수 없다. The source information may not use a 0x3f value that is a broadcast address.

ValueValue Frame TypeFrame type 00 INITINIT 1One REQREQ 22 RESRES ~15To 15 ReservedReserved

[표 2]는 필드 길이가 4 비트인 프레임 타입(Type)정보의 각 값이 의미하는 데이터 프레임 타입(Frame Type)을 나타낸 일 예이다.Table 2 shows an example of a data frame type represented by each value of frame type information having a 4-bit field length.

살펴보면, 프레임 타입 정보의 값 '0'은 INIT 프레임을 의미한다.Looking at the value '0' of the frame type information means an INIT frame.

INIT 프레임은 CP의 전원이 온될 시에 CP가 WS로 전송하는 데이터 프레임으로, INIT 프레임을 수신받은 WS는 자신의 클록 카운터 값을 0으로 초기화시킨다.The INIT frame is a data frame transmitted by the CP to the WS when the CP is powered on. The WS receiving the INIT frame initializes its clock counter value to zero.

프레임 타입 정보의 값 '1'은 REQ 프레임을 의미한다.The value '1' of the frame type information means a REQ frame.

REQ 프레임은 CP가 WS에게 전송하는 데이터 프레임으로, CP가 WS로의 신호 전송 지연 시간 및 WS와의 클록 오차 값을 계산하고 WS에서 발생한 클록 오차를 보정하기 위해 이용되는 데이터 프레임이다.The REQ frame is a data frame transmitted by the CP to the WS, and is a data frame used by the CP to calculate a signal transmission delay time and a clock error value with the WS and to correct a clock error occurring in the WS.

프레임 타입 정보의 값 '2'는 RES 프레임을 의미한다.The value '2' of the frame type information means the RES frame.

RES 프레임은 WS가 CP에게 전송하는 데이터 프레임으로, REQ 프레임과 함께 CP가 WS로의 신호 전송 지연 시간 및 WS와의 클록 오차 값을 계산하는데 이용되는 데이터 프레임이다.The RES frame is a data frame transmitted by the WS to the CP. The RES frame is a data frame used by the CP together with the REQ frame to calculate a signal transmission delay time to the WS and a clock error value with the WS.

그리고, 도 2에 도시된 데이터 프레임의 데이터구간에 전송되는 타임스탬프 정보는 초 단위 시간을 표현하는 32 비트 값이다.The timestamp information transmitted in the data section of the data frame shown in FIG. 2 is a 32-bit value representing time in seconds.

데이터 프레임의 데이터구간에 전송되는 타임스탬프 정보에 대해서는 도 3을 통해 설명하도록 한다.Time stamp information transmitted in the data section of the data frame will be described with reference to FIG. 3.

도 3은 CP와 WS 간에 REQ 프레임 및 RES 프레임 송수신을 도시한 도면이다. 3 is a diagram illustrating transmission and reception of a REQ frame and an RES frame between a CP and a WS.

CP는 WS로 REQ 프레임을 전송하는 경우, REQ 프레임의 데이터구간에 REQ 프레임을 전송하는 시각 정보인 타임스탬프 #0(T0) 값을 기록하여 전송한다. 그러면 CP로부터 REQ 프레임을 수신한 WS는 그 수신한 REQ 프레임의 데이터구간에 REQ 프레임을 수신한 시각 정보인 타임스탬프 #1(T1) 값을 추가하여 기록해 놓는다. When the CP transmits a REQ frame to the WS, the CP records a timestamp # 0 (T 0 ) value, which is time information for transmitting the REQ frame, in the data section of the REQ frame and transmits it. Then, the WS receiving the REQ frame from the CP adds and records a time stamp # 1 (T 1 ) value, which is time information of receiving the REQ frame, to the data section of the received REQ frame.

WS는 상기 CP로부터 수신한 REQ 프레임의 프레임 타입 정보를 RES 프레임 타입 정보로 변경하여 상기 수신한 REQ 프레임을 RES 프레임으로 변경시킨 후, 그 RES 프레임의 데이터구간에 RES 프레임을 전송하는 시각 정보인 타임스탬프 #2(T2) 값을 추가하여 기록하고 RES 프레임을 CP로 전송한다.WS converts the frame type information of the REQ frame received from the CP into RES frame type information to change the received REQ frame into an RES frame, and then is time information for transmitting RES frames in the data section of the RES frame. Add stamp # 2 (T 2 ) value to record and send RES frame to CP.

CP는 WS로부터 RES 프레임을 수신하며, RES 프레임을 수신한 시각 정보인 타임스탬프 #3(T3) 값을 확인하고, 이와 더불어 RES 프레임 내에 기록되어 있는 TO, T1,및 T2 값을 모두 확인한다.The CP receives the RES frame from the WS, checks the value of time stamp # 3 (T 3 ), which is the time information when the RES frame was received, and in addition, T O , T 1 , and T 2 recorded in the RES frame. Check all the values.

여기서, CP가 REQ 프레임을 전송한 시각 정보인 타임스탬프 #0(T0) 값 및 RES 프레임을 수신한 시각 정보인 타임스탬프 #3(T3) 값은 각각 해당 시점에 CP에 구비된 클록 카운터의 카운팅 값을 의미한다. 그리고 WS가 REQ 프레임을 수신한 시각 정보인 타임스탬프 #1(T1) 값 및 RES 프레임을 전송한 시각 정보인 타임스탬프 #2(T2) 값은 각각 해당 시점에 WS에 구비된 클록 카운터의 카운팅 값을 의미한다.Here, the time stamp # 0 (T 0 ) value, which is the time information when the CP transmits the REQ frame, and the time stamp # 3 (T 3 ) value, which is the time information when the RES frame is received, are clock counters provided in the CP at the corresponding time. The counting value of. The value of time stamp # 1 (T 1 ), which is the time information when the WS receives the REQ frame, and the value of time stamp # 2 (T 2 ), which is the time information when the RES frame is transmitted, are respectively determined by the clock counters provided in the WS at that time. It means counting value.

각 CP 및 WS는 서로 간에 동기화 작업을 수행하기 위해서 동일한 주파수의 클록을 발생시키는 클록 발진소자와 그 클록 발진소자가 발생시키는 클록을 카운팅하는 클록 카운터를 구비하고 있다. 그리고 CP는 클록 카운터가 카운팅하는 값을 기준으로 WS의 동작을 제어하여 WS가 CP에서 지정한 시점에 동기화되어 전송받은 신호를 출력하게 한다.Each CP and WS has a clock oscillator for generating a clock of the same frequency and a clock counter for counting clocks generated by the clock oscillator in order to perform synchronization work with each other. The CP controls the operation of the WS based on the value counted by the clock counter so that the WS outputs a signal that is synchronized and transmitted at the time designated by the CP.

하지만, 각 CP 및 WS가 구비하고 있는 클록 발진소자는 동일한 주파수의 클록을 발생시키는 클록 발진소자일지라도 외부 환경의 영향으로 인해 클록 발진소자가 정상적으로 동작하지 않아 서로 다른 주파수로 클록을 발생시킬 수 있다. 그러므로 각 CP 및 WS에 구비된 클록 카운터가 카운팅하는 값은 서로 오차를 가지게 되어, CP가 클록 카운터가 카운팅하는 값을 기준으로 WS에서의 신호 출력을 소정 시점에 동기화시키고자 하지만 WS는 자신에 구비된 클록 카운터가 카운팅하는 값에 맞추어 CP에서 지정한 시점을 판단함에 따라 신호를 출력하는데 있어서 CP와 WS 간에 동기가 이루어지지 않는다. However, even if the clock oscillation element included in each CP and WS is a clock oscillation element generating a clock of the same frequency, the clock oscillation element may not operate normally due to the influence of an external environment, and thus may generate clocks at different frequencies. Therefore, the values counted by the clock counters included in each CP and WS have errors with each other, and the CP tries to synchronize the signal output from the WS at a predetermined time point based on the value counted by the clock counter, but the WS has its own. When the time specified by the CP is determined according to the counted clock counter, the CP and the WS are not synchronized in outputting the signal.

이에 따라, 본 발명에서 CP는 WS와의 클록 오차를 보정하기 위해서 WS로 REQ 프레임을 전송하고 WS로부터 RES 프레임을 수신받으며 T0,T1,T2 및 T3 값을 확인한다. 그리고 CP는 상기 확인한 T0,T1,T2 및 T3 값을 하기 <수학식 1> 과 <수학식 2>에 적용시켜 WS로의 신호 전송 지연 시간(δt) 및 WS와의 클록 카운터 카운팅 값의 오차 즉, 클록 오차(θt)를 계산한다. Accordingly, in the present invention, the CP transmits a REQ frame to the WS, receives a RES frame from the WS, and checks values of T 0 , T 1 , T 2, and T 3 to correct a clock error with the WS. CP applies the values of T 0 , T 1 , T 2, and T 3 to Equation 1 and Equation 2 below, and transmits a delay time (δ t ) to the WS and a clock counter counting value to the WS. Is calculated, that is, clock error θ t .

Figure 112006096866432-PAT00005
Figure 112006096866432-PAT00005

Figure 112006096866432-PAT00006
Figure 112006096866432-PAT00006

여기서, t는 순번을 나타내는 0부터 시작하는 양의 상수 값이다.Where t is a positive constant value starting from 0 representing the sequence number.

도 4는 본 발명에 따른 무선 홈시어터 시스템의 클록 동기화 방법을 도시한 흐름도로, 도 4를 참조하여 무선 홈시어터 시스템에서 CP와 WS 간의 클록 동기화 방법을 좀 더 상세히 설명하도록 한다.4 is a flowchart illustrating a clock synchronization method of a wireless home theater system according to the present invention. Referring to FIG. 4, a clock synchronization method between a CP and a WS in a wireless home theater system will be described in more detail.

CP는 전원이 온 되면, 자신의 클록 카운터 값을 0으로 초기화하면서, t 값을 0으로 지정하고 또한 WS의 클록 오차 보정값(σt)을 0으로 지정한다(S400).When the power is turned on, the CP initializes its clock counter value to 0, and designates the t value as 0 and the clock error correction value σ t of the WS as 0 (S400).

CP는 상기와 같은 초기화 과정을 수행한 이후에, WS의 클록 카운터 값을 0으로 초기화시키는 INIT 프레임을 WS로 전송한다(S402).After performing the initialization process as described above, the CP transmits an INIT frame for initializing the clock counter value of the WS to 0 (S402).

CP는 WS로 INIT 프레임을 전송한 이후에, WS로의 신호 전송 지연 시간(δt) 및 WS와의 클록 오차(θt)를 계산하기 위해서 REQ 프레임을 WS로 전송한다(S404). 이때 CP는 REQ 프레임의 데이터구간 내 첫 번째 타임스탬프 정보(T0) 구간에 REQ 프레임을 전송하는 시각 정보를 기록한다. 그리고 CP는 아직 정보가 기록되지 않은 두 번째 타임스탬프 정보(T1) 구간에 클록 오차 보정값(σt)을 기록하여 REQ 프레임을 전송한다.After transmitting the INIT frame to the WS, the CP transmits a REQ frame to the WS to calculate a signal transmission delay time δ t and a clock error θ t with the WS (S404). At this time, the CP records time information for transmitting the REQ frame in the first time stamp information (T0) section in the data section of the REQ frame. The CP transmits a REQ frame by recording a clock error correction value σ t in the second timestamp information T1 section in which information is not yet recorded.

CP로부터 REQ 프레임을 전송받은 WS는 REQ 프레임의 두 번째 타임스탬프 정보(T1) 구간에 기록되어 있는 클록 오차 보정값(σt)을 확인하고, REQ 프레임 내 두 번째 타임스탬프 정보(T1) 구간에 CP가 기록해 놓은 클록 오차 보정값(σt) 대신 REQ 프레임을 수신한 시각 정보를 기록해 놓는다.The WS receiving the REQ frame from the CP checks the clock error correction value (σ t ) recorded in the second timestamp information (T1) section of the REQ frame, and checks the second timestamp information (T1) section of the REQ frame. Instead of the clock error correction value? T recorded by the CP, the time information on which the REQ frame is received is recorded.

WS는 상기 확인한 클록 오차 보정값(σt)을 통해 자신의 클록 카운터 값에 더해서 CP와의 클록 오차를 보정시키는 동작을 수행하는데, 이때는 클록 오차 보정값(σt)이 0이므로 WS의 클록 카운터 값 보정이 이루어지지는 않는다.The WS performs an operation of correcting a clock error with the CP in addition to its clock counter value through the checked clock error correction value σ t . In this case, since the clock error correction value σ t is 0, the WS clock counter value No correction is made.

그리고 WS는 REQ 프레임 내 프레임 타입 정보를 RES 프레임 타입 정보로 변경시킨 후, 세 번째 타임스탬프 정보(T2) 구간에 RES 프레임을 전송하는 시각 정보를 기록하여 RES 프레임을 CP로 전송시킨다.The WS changes the frame type information in the REQ frame to the RES frame type information, and then records the time information for transmitting the RES frame in the third timestamp information (T2) section and transmits the RES frame to the CP.

CP는 WS로부터 전송된 RES 프레임을 수신하며(S406), RES 프레임을 수신한 시각 정보인 T3 값을 기록해 둔다. 그리고 CP는 RES 프레임의 첫 번째, 두 번째, 및 세 번째 타임스탬프 정보 구간에 기록되어 있는 타임스탬프 정보 T0, T1, 및 T2 값을 확인하여 상기 <수학식 1> 과 <수학식 2>를 통해 WS로의 신호 전송 지연 시간(δt) 및 WS와의 클록 오차(θt)를 계산한다(S408).The CP receives the RES frame transmitted from the WS (S406), and records the T3 value which is time information when the RES frame is received. The CP checks the time stamp information T 0 , T 1 , and T 2 recorded in the first, second, and third time stamp information intervals of the RES frame. The signal transmission delay time δ t and the clock error θ t with the WS are calculated through S (S408).

CP는 t 값을 1씩 증가시키며(S410), t 값이 기 설정해 놓은 기준 값(W)보다 작은 경우에는 계속 WS에 대한 클록 오차 보정값(σt)을 0으로 지정하며 상기와 같은 과정을 반복 수행한다(S412,S414). 그럼으로써 CP는 t가 0부터 W-1 값이 되는 시점까지 계산한 총 W 개의 WS로의 신호 전송 지연 시간(δt) 및 WS와의 클록 오차(θt)를 수집해 놓고, 그 수집된 W 개의 신호 전송 지연 시간(δt) 및 클록 오차(θt)을 이용하여 WS의 클록 오차를 보정할 클록 오차 보정값(σt)을 계산한다(S416). CP increases the value of t by 1 (S410), and if the value of t is smaller than the preset reference value (W), the clock error correction value (σ t ) for WS is continuously set to 0 and the above process is performed. Repeatedly performed (S412, S414). The CP then collects the signal transmission delay time (δ t ) and the clock error (θ t ) with the WS, calculated from the point t from 0 to the value W-1, and the collected W The clock error correction value σ t for correcting the clock error of the WS is calculated using the signal transmission delay time δ t and the clock error θ t (S416).

일반적으로 각 t번째마다 계산되는 클록 오차(θt)는 CP와 WS 간의 무선 통신 상태에 따른 오차를 포함할 수 있다. 그래서 외부의 일시적인 영향에 의해 무선 환경의 상태가 좋지 않은 경우가 발생되면 실제 CP와 WS 간에 발생한 클록 오차보다 크거나 작게 클록 오차가 발생한 것으로 클록 오차(θt)가 계산될 수 있다. In general, the clock error θ t calculated for each t-th may include an error according to a wireless communication state between the CP and the WS. Therefore, when a situation in which the wireless environment is not good due to a temporary external influence occurs, the clock error θ t may be calculated as a clock error larger or smaller than the clock error generated between the actual CP and the WS.

이와 같이 CP와 WS 간의 일시적인 무선 환경의 상태 열화는 상기와 같이 CP와 WS 간에 발생한 클록 오차를 정확하게 계산하지 못하게 하며, 또한 CP와 WS 간에 전송 지연 시간(δt) 또한 크게 나타나게 하는 성향을 지닌다.As described above, the temporary deterioration of the state of the wireless environment between the CP and the WS does not accurately calculate the clock error generated between the CP and the WS, and also tends to cause a large transmission delay time δ t between the CP and the WS.

그래서 본 발명에서는 CP에서 계산된 클록 오차(θt)의 정확도가 CP와 WS 간의 신호 전송 지연 시간(δt)에 반비례하는 성향인 것을 고려하여 각 t번째마다 CP 와 WS 간에 전송 지연 시간(δt)도 함께 계산하고, 그 계산한 전송 지연 시간(δt)에 따라 각 클록 오차(θt)의 정확성을 고려한 가중치 값(ωt )을 계산한다.Therefore, in the present invention, considering that the accuracy of the clock error θ t calculated in CP is inversely proportional to the signal transmission delay time δ t between CP and WS, the transmission delay time δ between CP and WS for each t-th t ) is also calculated, and a weight value ω t is calculated in consideration of the accuracy of each clock error θ t according to the calculated transmission delay time δ t .

<수학식 3>은 각 t번째마다 클록 오차에 대한 가중치 값(ωt)을 계산하는 식이다. Equation 3 calculates a weight value ω t for a clock error for each t-th.

Figure 112006096866432-PAT00007
Figure 112006096866432-PAT00007

여기서 A는 양의 상수 값이고, 각 t번째 클록 오차에 대한 가중치 값(ωt)은 t가 0인 경우와 t가 0보다 큰 경우를 구분하여 계산된다.Where A is a positive constant value and the weight value ω t for each t th clock error is calculated by dividing the case where t is zero and the case where t is greater than zero.

<수학식 3>을 통해 살펴볼 수 있듯이, 각 t번째의 클록 오차에 대한 가중치 값(ωt)은 전송 지연 시간(δt)에 반비례하는 값이다. 그리고 t가 0보다 큰 경우에는 t-1번째 전송 지연 시간(δt-1)과 t번째 전송 지연 시간의 지연 시간(δt) 간의 지연 시간 변화량도 고려한 클록 오차에 대한 가중치 값(ωt)을 계산한다.As can be seen from Equation 3, the weight value ω t for each t-th clock error is inversely proportional to the transmission delay time δ t . If t is greater than 0, the weight value ω t for the clock error considering the variation in delay time between t-1 th transmission delay time δ t-1 and t time delay time δ t . Calculate

그리고 CP는 각 t번째의 클록 오차에 대한 가중치 값(ωt)을 계산한 후, 하기 <수학식 4>를 통해 WS의 클록 오차를 보정하는 클록 오차 보정값(σt)을 계산한다.The CP calculates a weight value ω t for each t-th clock error, and then calculates a clock error correction value σ t for correcting the clock error of the WS through Equation 4 below.

Figure 112006096866432-PAT00008
Figure 112006096866432-PAT00008

본 발명에 따른 WS의 클록 오차를 보정하는 클록 오차 보정값(σt)은 <수학식 4>에 도시된 바와 같이 앞서 계산한 클록 오차들 W 개씩 각 클록 오차(θt)에 가중치 값(ωt)을 부여하고 평균을 낸 값이다.The clock error correction value σ t for correcting the clock error of the WS according to the present invention is a weight value ω for each clock error θ t for each of the W clock errors calculated previously as shown in Equation 4. t ) is given and averaged.

CP는 이와 같이 <수학식 4>를 통해 계산된 클록 오차 보정값(σt)을 REQ 프레임 내에 두 번째 타임스탬프 정보 구간에 기록하여 WS로 전송시키고, WS는 CP가 전송한 REQ 프레임에 기록된 클록 오차 보정값(σt)을 자신의 클록 카운터가 카운팅한 값에 더하여 카운팅 값을 보정한다.The CP records the clock error correction value (σ t ) calculated through Equation 4 in the second timestamp information interval in the REQ frame and transmits the same to the WS, and the WS is recorded in the REQ frame transmitted by the CP. The counting value is corrected by adding the clock error correction value? T to the value counted by the own clock counter.

CP의 전원이 오프되기 전까지 상기와 같은 작업을 통해 WS는 CP와 발생한 클록 오차를 줄여갈 수 있으며, 이로써 CP와 WS 간에 클록 오차를 최소화하며 서로 간의 클록 동기화가 이루어지게 한다(S418).Through the above operation until the power of the CP is turned off, the WS can reduce the clock error occurring with the CP, thereby minimizing the clock error between the CP and the WS and allowing clock synchronization with each other (S418).

한편, 본 발명에서는 CP의 전원이 온 되어 WS와의 동기화 기간(SYNC PERIOD)에 진입하면 그 동기화 기간 동안에는 비교적 짧은 시간 간격마다 각각의 WS들에게 REQ 프레임을 전송한다. 그리고 동기화 기간이 종료되면 비교적 긴 시간 간격마다 각각의 WS들에게 REQ 프레임을 전송하도록 REQ 프레임 전송 주기를 달리 설정해 놓 는다.Meanwhile, in the present invention, when the power of the CP is turned on and enters a synchronization period (SYNC PERIOD) with the WS, a REQ frame is transmitted to each WS at a relatively short time interval during the synchronization period. When the synchronization period ends, the REQ frame transmission period is differently set to transmit the REQ frame to each WS at a relatively long time interval.

이와 같이 동기화 기간 동안 짧은 시간 간격마다 각각의 WS들에게 REQ 프레임을 전송하는 것은 초기 CP와 WS 간의 클록 오차를 보다 신속하게 보정하기 위한 것이며, 동기화 기간이 종료되면 비교적 긴 시간 간격마다 각각의 WS들에게 REQ 프레임을 전송하는 것은 CP와 WS 간에 신호 트래픽에 영향을 최소화하면서 주기적으로 클록 오차를 보정하여 WS에서 사용자가 원하는 유선 연결 그대로의 충실도(Fidelity) 높은 음질을 제공해 줄 수 있게 하기 위함이다.As such, transmitting a REQ frame to each of the WSs at short time intervals during the synchronization period is intended to more quickly correct a clock error between the initial CP and the WS. The transmission of REQ frames is designed to periodically compensate for clock errors while minimizing the impact on signal traffic between the CP and the WS so that the WS can provide high fidelity sound quality over the wired connection desired by the user.

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다. Although the present invention has been described in detail with reference to exemplary embodiments above, those skilled in the art to which the present invention pertains can make various modifications to the above-described embodiments without departing from the scope of the present invention. I will understand. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

본 발명은 무선 홈시어터 시스템에서 CP(Control Point)와 WS(Wireless Sink_device) 간에 클록 동기화가 이루어지지 않아 영상표시장치나 유선으로 연결된 스피커와 신호 출력 상에 동기가 맞추어지지 않는 점을 해결하고자 CP와 WS 간에는 발생하는 클록 오차를 주기적으로 계산하고 이를 보정할 수 있도록 해 준다.The present invention is to solve the problem that the clock synchronization between the CP (Control Point) and WS (Wireless Sink_device) in the wireless home theater system is not synchronized with the video display device or wired speaker and signal output is not synchronized It allows you to periodically calculate and compensate for clock errors that occur between WSs.

본 발명은 무선 통신상의 환경 열화가 발생할 경우에도 CP와 WS 간에 발생된 클록 오차를 비교적 정확하게 계산해 냄으로써 CP와 WS 간에 발생하는 클록 오차가 보다 정확하게 보정될 수 있도록 해 준다. According to the present invention, even when environmental degradation occurs in a wireless communication, the clock error generated between the CP and the WS is calculated relatively accurately, thereby allowing the clock error occurring between the CP and the WS to be more accurately corrected.

그러므로, 본 발명은 무선 홈시어터 시스템에서 CP와 WS 간에 클록 동기화가 보다 정확하게 이루어지도록 해 주어 사용자가 원하는 유선 연결 그대로의 충실도(Fidelity) 높은 음질을 제공한다.Therefore, the present invention enables more accurate clock synchronization between the CP and the WS in the wireless home theater system, thereby providing a high fidelity sound quality as the wired connection desired by the user.

Claims (6)

무선 홈시어터 시스템에서 제어 포인트(CP:Control Point)가 기 설정된 주기마다 무선 싱크장치(WS:Wireless Sink-device)에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 단계;Computing a signal transmission delay time (δ t ) and a clock error (θ t ) for a wireless sink device (WS) at a predetermined period of a control point (CP) in a wireless home theater system ; 상기 제어 포인트가 기 설정해 놓은 개수만큼 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 경우, 상기 계산한 신호 전송 지연 시간(δt) 및 상기 클록 오차(θt)를 이용하여 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 단계;For calculating the signal transmission delay time (δ t) and a clock error (θ t) with respect to the wireless sink device by the number it puts the control point is set group, the calculated signal transmission delay time (δ t) and the clock error calculating a clock error correction value (σ t ) of the wireless sink device using (θ t ); 상기 제어 포인트가 상기 계산한 클록 오차 보정값(σt)을 상기 무선 싱크장치로 송신하는 단계; 및Transmitting, by the control point, the calculated clock error correction value (σ t ) to the wireless sink device; And 상기 무선 싱크장치가 상기 제어 포인트에서 송신된 클록 오차 보정값(σt)을 통해 상기 제어 포인트와의 클록 오차를 보정하는 단계;를 포함하여 이루어지는 무선 홈시어터 시스템의 클록 동기화 방법.And correcting, by the wireless sink device, a clock error with the control point through a clock error correction value (σ t ) transmitted from the control point. 제1 항에 있어서,According to claim 1, 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 것은,Calculating the clock error correction value (σ t ) of the wireless sink device, 상기 제어 포인트가 기 설정해 놓은 개수(W)만큼 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 경우, 상기 계산한 각 클록 오차(θt)에 대한 가중치 값(ωt)을 하기 <수학식 1>을 통해 계산하는 단계; 및When the signal transmission delay time δ t and the clock error θ t for the wireless sink device are calculated by the predetermined number W of the control point, the calculated clock error θ t is calculated. Calculating a weight value ω t through Equation 1 below; And 상기 계산한 각 클록 오차에 대한 가중치 값(ωt) 및 상기 클록 오차(θt)를 하기 <수학식 2>에 적용하여 상기 무선 싱크장치의 클록 오차 보정값(σt)을 계산하는 단계;로 구성되는 것을 특징으로 하는 무선 홈시어터 시스템의 클록 동기화 방법.Calculating a clock error correction value (σ t ) of the wireless sink device by applying the calculated weight value (ω t ) and the clock error (θ t ) to the following Equation 2 for each clock error; Clock synchronization method of a wireless home theater system, characterized in that consisting of. 수학식Equation 1 One
Figure 112006096866432-PAT00009
Figure 112006096866432-PAT00009
수학식Equation 2 2
Figure 112006096866432-PAT00010
Figure 112006096866432-PAT00010
여기서, t는 순번을 나타내는 0부터 시작하는 양의 상수 값이고, A는 임의의 양의 상수 값임.Where t is a positive constant value starting from 0 representing the sequence number, and A is a positive constant value of any quantity.
제1 항에 있어서,According to claim 1, 상기 제어 포인트가 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 것은,The control point calculates a signal transmission delay time δ t and a clock error θ t for the wireless sink device, 상기 제어 포인트가 기 설정된 주기마다 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하기 위해 상기 무선 싱크장치로 REQ 프레임을 송신한 시각 정보(T0), 상기 무선 싱크장치가 상기 REQ 프레임을 수신한 시각 정보(T1), 상기 무선 싱크장치가 RES 프레임을 송신한 시각 정보(T2), 및 상기 무선 싱크장치로부터 상기 RES 프레임을 수신한 시각 정보(T3)를 확인하는 단계; 및Time information T 0 at which the control point transmits a REQ frame to the wireless sink device to calculate a signal transmission delay time δ t and a clock error θ t for the wireless sink device at predetermined intervals, the wireless sink device, the time information receiving the REQ frame (T 1), the wireless sink device RES time information by transmitting the frame (T 2), and time information by receiving the RES frame from the wireless sink device ( Identifying T 3 ); And 상기 확인한 시각 정보들(T0 ,T1 ,T2 ,T3)을 하기 <수학식 3> 및 <수학식 4>에 적용하여 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 각각 계산하는 단계;로 구성되는 것을 특징으로 하는 무선 홈시어터 시스템의 클록 동기화 방법.The signal transmission delay time (δ t ) and the clock for the wireless sink apparatus are applied to the confirmed time information (T 0 , T 1 , T 2 , T 3 ) to Equations 3 and 4 below. Computing the error (θ t ) respectively; Clock synchronization method of a wireless home theater system, characterized in that consisting of. 수학식Equation 3 3
Figure 112006096866432-PAT00011
Figure 112006096866432-PAT00011
수학식Equation 4 4
Figure 112006096866432-PAT00012
Figure 112006096866432-PAT00012
제1 항에 있어서,According to claim 1, 상기 제어 포인트가 기 설정된 주기마다 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하는 단계 이전에,Before the control point calculates a signal transmission delay time δ t and a clock error θ t for the wireless sink device at predetermined periods, 상기 제어 포인트가 상기 무선 싱크장치의 내부 클록 카운터 값을 0으로 초기화시키는 INIT 프레임을 상기 무선 싱크장치로 전송하는 단계;를 더 포함하여 이루어지는 것을 특징으로 하는 무선 홈시어터 시스템의 클록 동기화 방법.And transmitting, by the control point, an INIT frame for initializing the internal clock counter value of the wireless sink device to 0 to the wireless sink device. 제3 항에 있어서,The method of claim 3, wherein 상기 제어 포인트가 상기 계산한 클록 오차 보정값(σt)을 상기 무선 싱크장치로 송신하는 것은,The control point transmits the calculated clock error correction value σ t to the wireless sink device, 상기 제어 포인트가 상기 무선 싱크장치에 대한 신호 전송 지연 시간(δt) 및 클록 오차(θt)를 계산하기 위해 기 설정된 주기마다 상기 무선 싱크장치로 송신하는 상기 REQ 프레임 내에 상기 계산한 클록 오차 보정값(σt)을 포함시켜 상기 무선 싱크장치로 송신하는 것을 특징으로 하는 무선 홈시어터 시스템의 클록 동기화 방법.The calculated clock error correction in the REQ frame that the control point transmits to the wireless sink every predetermined period to calculate the signal transmission delay time δ t and clock error θ t for the wireless sink. value by including the (σ t) how clock synchronization of wireless home theater system, characterized in that the transmission to the wireless sink device. 제3 항에 있어서,The method of claim 3, wherein 상기 제어 포인트가 상기 무선 싱크장치로 REQ 프레임을 송신하기 위해 상기 기 설정된 주기는,The predetermined period for the control point to transmit a REQ frame to the wireless sink device, 상기 무선 싱크장치와의 동기화 기간(SYNC PERIOD) 동안에 상기 REQ 프레임을 송신하기 위해 기 설정된 주기가 그 외에 상기 무선 싱크장치와의 통신 기간 동안에 상기 REQ 프레임을 송신하기 위해 기 설정된 주기보다 짧은 것을 특징으로 하는 무선 홈시어터 시스템의 클록 동기화 방법.Characterized in that the predetermined period for transmitting the REQ frame during the synchronization period (SYNC PERIOD) with the wireless sink device is shorter than the predetermined period for transmitting the REQ frame during the communication period with the wireless sink device. A clock synchronization method of a wireless home theater system.
KR1020060134722A 2006-12-27 2006-12-27 Method for clock synchronization of wireless home theater system KR20080060526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060134722A KR20080060526A (en) 2006-12-27 2006-12-27 Method for clock synchronization of wireless home theater system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060134722A KR20080060526A (en) 2006-12-27 2006-12-27 Method for clock synchronization of wireless home theater system

Publications (1)

Publication Number Publication Date
KR20080060526A true KR20080060526A (en) 2008-07-02

Family

ID=39813040

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060134722A KR20080060526A (en) 2006-12-27 2006-12-27 Method for clock synchronization of wireless home theater system

Country Status (1)

Country Link
KR (1) KR20080060526A (en)

Similar Documents

Publication Publication Date Title
US7035246B2 (en) Maintaining a global time reference among a group of networked devices
US20060067535A1 (en) Method and system for automatically equalizing multiple loudspeakers
US20060067536A1 (en) Method and system for time synchronizing multiple loudspeakers
US20210067874A1 (en) Method, device, loudspeaker equipment and wireless headset for playing audio synchronously
US20070008993A1 (en) Method for time synchronization in residential Ethernet system
KR101178252B1 (en) Synchronization of signals for multiple data sinks
CN101510983B (en) Method, device and system for synchronizing audio/video signals
AU2002258481A1 (en) Maintaining a global time reference among a group of networked devices
CN109565466B (en) Lip sound synchronization method and device among multiple devices
JP5038602B2 (en) Data transmission synchronization scheme
WO2013190602A1 (en) Clock synchronization system, clock synchronization method, and storage medium whereupon clock synchronization program is stored
US8149880B1 (en) Media streaming synchronization
JP2007020166A (en) Hdmi transmission systems
CN103828449A (en) Method and apparatus for time synchronization in wireless networks
US10602468B2 (en) Software based audio timing and synchronization
JP2004193868A (en) Wireless transmission and reception system and wireless transmission and reception method
JP2015130662A (en) Av apparatus and its control method
US10582461B2 (en) Software based audio timing and synchronization
CN107710775A (en) Signal processing apparatus and signal processing method
CN108667543B (en) Clock processing method, access network equipment and terminal equipment
KR102048685B1 (en) Method for judging the time synchronization of a media transmission device in a vehicle avb network
KR20080060526A (en) Method for clock synchronization of wireless home theater system
US11064452B2 (en) Wireless apparatus, processing method for a wireless apparatus, and program
JP3904687B2 (en) Transmission time delay compensation method and its use
US20160316302A1 (en) Method for synchronizing the replay of a digital signal transmitted from a sender to a plurality of mobile audio terminals

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination