WO2007040222A1 - Système et méthode de synchronisation d’horloge dans un système de transmission audio - Google Patents

Système et méthode de synchronisation d’horloge dans un système de transmission audio Download PDF

Info

Publication number
WO2007040222A1
WO2007040222A1 PCT/JP2006/319783 JP2006319783W WO2007040222A1 WO 2007040222 A1 WO2007040222 A1 WO 2007040222A1 JP 2006319783 W JP2006319783 W JP 2006319783W WO 2007040222 A1 WO2007040222 A1 WO 2007040222A1
Authority
WO
WIPO (PCT)
Prior art keywords
time stamp
synchronization
value
clock
packet
Prior art date
Application number
PCT/JP2006/319783
Other languages
English (en)
Japanese (ja)
Inventor
Akihiro Suzuki
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Publication of WO2007040222A1 publication Critical patent/WO2007040222A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/062Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
    • H04J3/0632Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES]

Definitions

  • the present invention relates to a clock synchronization system and method provided in an audio transmission system composed of a main device and a remote device connected via a network, and in particular, a preset one main device (clock master)
  • the present invention relates to a clock synchronization system and method for synchronizing each remote device (slave device) force S clock with reference to a synchronization packet transmitted separately from the voice packet from the device.
  • IP Internet Protocol
  • FIG. 12 is a diagram showing an example of a clock synchronization method in a conventional audio transmission system.
  • a conventional audio transmission system 50 includes a master device 51 and a slave device 52, which are connected via a network 53.
  • the master device 51 one device is set in advance in the system.
  • the master device 51 has a function of transmitting a packet containing its own clock signal information to another slave device 52 via the network 53.
  • one or more slave devices 52 exist in the system, and A function of receiving the packet via the network 53;
  • the master device 51 includes a clock source 54, a time stamp extraction unit 55, and a packet transmission unit 56. If the clock synchronization is to be started, the time stamp extraction unit 55 transmits the time stamp information obtained by counting the clock frequency from the clock source 54 to the packet transmission unit 56. The packet transmission unit 56 packetizes the received time stamp information and transmits it to the network 52.
  • There are various forms of communication protocols to be sent over the network but here we consider an example using the IP protocol. In the case of a voice transmission system composed of a large number of slave devices 52, a plurality of slave devices can easily receive packets by transmitting packets from the master device 51 by IP multicast.
  • the slave device 52 includes a packet reception unit 57, a packet transmission interval calculation unit 58, a frequency variable clock source 59, a time stamp extraction unit 60, a packet reception interval calculation unit 61, and an operation correction unit 62.
  • the packet transmission interval calculation unit 58 takes the difference between the time stamp information included in the packet and the time stamp information when the previous packet arrived, and transmits the packet. Calculate the interval Ts.
  • the packet reception interval calculation unit 61 extracts a time stamp ⁇ blueprint counting the clock frequency from its own frequency variable clock source 59 by the time stamp extraction unit 60, and obtains a difference from the previous time stamp extraction time.
  • the packet reception interval Tr is calculated.
  • the arithmetic correction unit 62 uses the packet transmission interval Tr and the packet reception interval Ts to calculate a frequency variable clock source based on a value calculated by an arithmetic expression of a * (Tr Ts) ZTr ( a is a predetermined constant). 59 to control the clock frequency of the slave device 52 to match the clock frequency of the master device 51.
  • the conventional clock synchronization system performs clock synchronization for the purpose of matching the phases of the transmission device and the reception device and preventing the audio buffer of the reception device from failing.
  • Japanese Patent Application Laid-Open No. 2004-153546 discloses a clock synchronization method for matching the clock signal frequency of one terminal device with the clock signal frequency of another terminal device.
  • the frequency variable clock source is controlled based on the calculated differential force between the packet transmission interval of the master device and the packet reception interval of the slave device.
  • the clock signal frequencies can be easily matched.
  • the above-described conventional technique is a technique for matching the phases of the transmission side and the reception side.
  • the clock frequency is controlled based on the difference between the packet interval on the transmitting side and the packet interval on the receiving side, and the clock frequencies on the transmitting side and the receiving side are matched.
  • the phases of the transmission side and the reception side can be matched.
  • the conventional clock synchronization system does not realize clock synchronization that accurately matches the audio output times between a plurality of receiving devices. For this reason, there is a problem that a difference in audio output time may occur between a plurality of receiving apparatuses. This problem will be described in more detail below.
  • the control value for the frequency variable clock source is smaller than the resolution allowed by the oscillator and cannot be set to a unit value. To do. For this reason, every time the frequency variable clock source is controlled, an error of a unit size less than the resolution occurs between the value that is originally set and the value that is actually set after truncation by the resolution.
  • the present invention has been made under the above-described background, and its object is to reduce the expansion and contraction of the delay time of the sound and to minimize the difference in the sound output time between the receiving devices. It is to provide a clock synchronization system and method.
  • the clock synchronization system of the present invention is a system that uses a synchronization packet to perform clock synchronization between a main apparatus that performs audio transmission via a network and a remote apparatus
  • the main apparatus includes a clock source
  • a time stamp generating unit that generates time stamp information and a packet transmitting unit that transmits a synchronization packet in which the time stamp information is embedded to the network
  • the remote device includes a packet receiving unit that receives the synchronization packet from the network
  • the main unit cumulative time stamp calculation unit that calculates the main unit total type stamp value To, which is the total time stamp value of the synchronization start force, from the time stamp information included in the synchronization bucket, and a clock capable of variable frequency control Source time stamp information is extracted, and the total time of remote device is the time stamp value of the synchronous start force.
  • the remote device cumulative time stamp calculation unit that calculates the time stamp value Ti and the frequency of the clock source capable of variable frequency control are corrected based on the difference between the main device cumulative time stamp value To and the remote
  • Another aspect of the present invention is a clock synchronization method that uses a synchronization packet to synchronize clocks between a main device and a remote device that perform voice transmission via a network.
  • the master unit generates the time stamp information to generate the clock source time stamp information, and transmits the synchronization packet in which the time stamp information is embedded to the network, and the remote unit receives the synchronization packet from the network and is included in the synchronization packet.
  • Calculates the main device cumulative type stamp value To which is the cumulative time stamp value of the synchronization start force from the time stamp information that is generated, extracts the clock source power time stamp information that allows variable frequency control, and accumulates from the start of synchronization.
  • the remote device cumulative time stamp value Ti which is the time stamp value of the clock, is calculated and the frequency of the clock source capable of variable frequency control is calculated.
  • Another aspect of the present invention is a remote device that is provided in a system that performs voice transmission via a network and that performs clock synchronization using a synchronization packet that has also received the main device power.
  • the packet receiving unit that receives the synchronization packet in which the time stamp information generated from the clock source of the device is embedded, and the time stamp information included in the synchronization packet are the time stamp values accumulated from the start of synchronization.
  • the main unit cumulative time stamp calculation unit that calculates the unit total type stamp value To and the clock source power capable of variable frequency control on the remote unit side Extract the time stamp information and the remote time stamp value is the cumulative time stamp value of the synchronization start power
  • Remote device cumulative time stamp calculation unit that calculates device cumulative time stamp value Ti, and a clock that can be controlled with variable frequency.
  • FIG. 1 is a block diagram showing a clock synchronization system according to an embodiment of the present invention.
  • FIG. 2 is a block diagram of an audio transmission system equipped with a clock synchronization system.
  • Figure 3A is a diagram for explaining the outline of the Haas effect.
  • Figure 3B is a diagram for explaining the outline of the Haas effect.
  • FIG. 4 is a diagram showing an example in which the audio transmission system is applied to evacuation guidance broadcasting.
  • FIG. 5 is a diagram showing an embodiment in which a Dolby Digital 5.1 channel acoustic broadcast is broadcast from a distant place to multiple points in an audio transmission system.
  • FIG. 6 is a diagram for showing the transition of the time stamp value in the clock synchronization system.
  • Fig. 7 is a diagram for showing an overview of synchronization packet transmission and reception in the clock synchronization system.
  • Fig.8 is a diagram to show the setting error of the frequency variable clock source in the clock synchronization system
  • Fig. 9A is a diagram to show the error when clock synchronization is performed.
  • Fig. 9B Fig. 9B is a diagram for showing the time stamp value transition when clock synchronization is performed.
  • Fig. 10 is a diagram for showing an outline of processing when a packet including a delay arrives.
  • Fig. 11 is a diagram for showing an overview of the processing when the timestamp value difference exceeds the threshold.
  • FIG. 12 is a diagram for showing a conventional clock synchronization system.
  • the clock synchronization system of the present invention is a system that uses a synchronization packet to perform clock synchronization between a main apparatus that performs audio transmission via a network and a remote apparatus
  • the main apparatus includes a clock source
  • a time stamp generating unit that generates time stamp information and a packet transmitting unit that transmits a synchronization packet in which the time stamp information is embedded to the network
  • the remote device includes a packet receiving unit that receives the synchronization packet from the network
  • a master unit cumulative time stamp calculation unit that calculates a master unit cumulative type stamp value To, which is a cumulative time stamp value of the synchronization start force, from the time stamp information included in the synchronization bucket; Clock source power capable of variable wave number control Time stamp information is extracted, and the remote device cumulative time stamp calculation unit for calculating the remote device cumulative time stamp value Ti, which is the time stamp value of the synchronous start power, and frequency variable control
  • a correction calculation unit that corrects the frequency of the clock source capable of being corrected based on the difference between the main
  • the correction calculation unit obtains the control value P for controlling the frequency of the clock source capable of variable frequency control as the difference between the main device cumulative time stamp value To and the remote device cumulative time stamp value Ti (To-Ti ) And the difference (To-Ti) may be determined based on the degree of continuous tilting in one direction.
  • tilt means that the difference (To-Ti) deviates from 0, that is, becomes positive or negative.
  • tilt means that Ti is larger or smaller than To.
  • the degree of tilt is typically expressed as the number of tilts (number of consecutive tilts) as follows.
  • the clock frequency is controlled based on the degree to which the time stamp difference is tilted in one direction.
  • the wiggle constant a is a fixed constant and the variability coefficient c is a value that fluctuates in proportion to the degree to which the difference (To-Ti) is continuously tilted in one direction.
  • the variation coefficient c is used, and the variation coefficient c is changed in proportion to the degree that the time stamp difference is tilted in one direction.
  • the value of constant a used at this time is a fixed constant. If the constant a is set to a large value, the time stamp difference will be controlled to vibrate up and down densely from 0 as time passes. If the constant a is set to a small value, the time stamp value difference gently swings up and down at 0.
  • the constant a is set in consideration of such a phenomenon, and suitable control according to the time stamp difference can be performed using the variation coefficient c as described above.
  • N is a predetermined number of times and k may be a predetermined constant.
  • the time difference of the time stamp ⁇ can be detected earlier, and the difference can be pulled back and reduced.
  • the value of k used here the greater the value k, the greater the control that pulls back the time stamp difference in the reverse direction, but the difference when tilted in the reverse direction also increases. .
  • the smaller the value k the difference in timestamps over time. The control works to slowly pull the minute in the reverse direction, but the difference when tilting in the reverse direction can be reduced. Considering such a phenomenon, the value k is set, and a suitable control according to the time stamp difference can be performed using the coefficient of variation C as described above.
  • the main apparatus may be configured to transmit the synchronization packet by IP multicast or IP broadcast.
  • the main device transmits the synchronization packet at regular intervals, and the remote device monitors the estimated arrival time of the synchronization packet received from the main device, and exceeds the predetermined range from the estimated packet arrival time. Remove the synchronization packets that arrived from the target of the processing that controls the frequency of the clock source that can be controlled with variable frequency.
  • exceeding the predetermined range means that the synchronization packet arrives before or after the predetermined range. To wear.
  • the remote device When the difference (To-Ti) exceeds a predetermined threshold value R, the remote device resets the accumulated cumulative time stamp value To and the accumulated remote time stamp value Ti that have been accumulated so far. The accumulation of time stamp values may be resumed.
  • the above-described reset processing may be performed when the difference (To-Ti) increases to either the positive or negative side and exceeds the threshold value.
  • This configuration provides the following advantages. If the reference time stamp value acquired immediately after the start of synchronization contains a large delay, the slave device performs synchronization control using the incorrect value, and there is a problem that normal synchronization control cannot be performed. In order to solve this problem, it is preferable to adopt the above configuration. With the above configuration, even when the reference time stamp value acquired for the first time includes a delay exceeding the threshold, if the normal time stamp value is received even once, the difference value exceeds the threshold. Then, a new accurate time stamp value can be acquired again. In this way, it becomes possible to further enhance the tolerance to delays caused by disturbance factors such as the network.
  • clock synchronization can be performed without changing the load of network traffic.
  • the clock synchronization system with high clock synchronization accuracy can be obtained by eliminating the bucket information including large fluctuations and always referring to only the accurate time stamp value. Can be provided.
  • a clock synchronization system according to an embodiment of the present invention will be described with reference to the drawings.
  • the clock synchronization system of the present embodiment is provided in an audio transmission system as shown in FIG. 2, and realizes clock synchronization between audio transmission / reception devices 33.
  • the audio transmission system in FIG. 2 includes a sound source 31, a speaker 32, an audio transmission / reception device 33, a local LAN 34, and a WAN 35.
  • the voice transmission / reception device 33 is a device capable of sending and receiving voice data via the local LAN 34 and WAN 35, and has a function of packetizing voice data in order to stream the voice data and transmit it over the network.
  • the sound source 31 is connected to the sound transmitting / receiving device 33 as a signal source
  • the speaker 32 is connected to the sound transmitting / receiving device 33 as sound emitting means.
  • multipoint broadcasting is mainly assumed.
  • voice communication is realized in buildings such as office buildings, multi-store commercial facilities, stations, and airports.
  • the sound source 31 for example, a CD player, an MD player, an IC player, a remote control microphone, etc. for broadcasting BGM and emergency broadcast sound source are connected.
  • the speaker 32 for example, various types of speakers such as a ceiling-embedded speaker and a hanging speaker are connected.
  • the configuration via the WAN 35 enables voice transmission between different LANs via a wide area network such as the Internet.
  • FIG. 3A and FIG. 3B are diagrams for explaining the phenomenon of the Haas effect.
  • the Haas effect is a phenomenon that gives a sense of direction to sound using the characteristics of human hearing.
  • humans recognize that the sound is coming in the direction of the speaker that emitted the first sound.
  • the same sound is being output from two speakers with the same receiving point power, if one speaker is delayed, humans can hear the direction force of the other speaker.
  • Fig. 3A if speakers A and B emit sound at the same time, humans recognize that the sound is being heard from nearby speaker B.
  • Figure 3B if a delay is applied so that the sound from nearby speaker B arrives later than far away speaker A, humans recognize that far away speaker A is sounding.
  • a service using sound field control can be provided by intentionally controlling the direction of sound using this phenomenon.
  • various services such as evacuation guidance broadcasting in office buildings, acoustic design in theaters and concert halls, and Dolby Digital 5.1 channel acoustic broadcasting can be realized via the network.
  • FIG. 4 is a diagram showing an embodiment using evacuation guidance broadcasting in an office building.
  • An audio transmission unit 41 is arranged on the broadcast room side, and a plurality of audio reception units 42 are arranged on the reception side.
  • the voice transmission unit 41 and the plurality of voice reception units 42 are arranged via the campus lan 34.
  • the audio transmission unit 41 includes a sound source and an audio transmission device.
  • the sound receiving unit 42 includes a sound receiving device and a speaker provided on the aisle ceiling of the building.
  • FIG. 5 is a diagram showing an embodiment in which Dolby Digital 5.1 channel sound broadcasting is broadcast to a plurality of remote locations.
  • An audio transmission unit 41 is arranged on the broadcast room side, and the audio transmission unit 41 includes a sound source and an audio transmission / reception device.
  • a plurality of Dolby Digital 5.1 channel spaces 44 are arranged via the local area LAN 34.
  • In each 5.1 channel space there are multiple speakers corresponding to 5.1 channels.
  • Each speaker is equipped with a voice receiver.
  • Dolby Digital 5.1 channel unlike evacuation-guided broadcasting, the same stream is broadcasted in the same 5.1 channel space to provide sound effects used in movies, etc. There are many opportunities to broadcast independent audio on the channel! ,.
  • the original audio output time difference is the time difference when performance of the hearth effect is not emphasized (performance value). If the original audio output time difference is not small, the Haas effect will not occur well when delay is applied. Specifically, it is said that the limit value of the audio output time difference that can make effective use of the Haas effect when the installation interval of speakers is several meters to several tens of meters is 2 milliseconds. In order to minimize the original audio output time difference, clock synchronization must be accurately realized between the transmitting and receiving devices in the audio transmission system.
  • this system is to enable the provision of the above services.
  • this system can be suitably applied to services using the Haas effect.
  • this system can be suitably applied to sound field control such as 5.1 channel broadcasting.
  • FIG. 1 is a block diagram showing a configuration of clock synchronization system 10 according to the present exemplary embodiment.
  • the clock synchronization system 10 includes a master device 11 and a slave device 12, and the master device 11 and the slave device 12 are connected via a network 13.
  • the clock synchronization system 10 in FIG. 1 is realized by the configuration of the audio transmission system in FIG.
  • the master device 11 is composed of one of the plurality of audio transmission / reception devices 33 in FIG.
  • the slave device 12 is also composed of one of the plurality of audio transmission / reception devices 33 in FIG.
  • the network 13 corresponds to the LAN 34 and the WAN 35 in FIG.
  • one slave device 12 is shown.
  • a plurality of slave devices 12 may be provided. That is, each of the plurality of voice transmitting / receiving devices 33 in FIG.
  • the plurality of slave devices 12 have the same function and realize clock synchronization by the same operation. Therefore, in the following description, the clock synchronization system 10 of the present embodiment will be described by focusing on one slave device 12.
  • the master device 11 and the slave device 12 in FIG. 1 are respectively the main device of the present invention. And respond to remote devices.
  • the master device 11 As the master device 11, one device is set in advance in the system.
  • the master device 11 has a function of transmitting a packet containing its own time stamp information to the slave device 12 via the network 13.
  • the clock synchronization system 10 is not a type that adds time stamp information for clock synchronization to an audio stream.
  • one master device 11 existing in the system transmits its own clock synchronization packet. This is because one device considers the case where there are multiple audio channels. Suppose that the slave device that owns multiple channels performs clock synchronization for each time stamp information embedded in separate audio streams. In this case, it is necessary to configure the number of audio channels for all systems including the processor, so the configuration is effective.
  • the clock of one set master device 11 is used, it can be said that a configuration in which all the slave devices 12 and all the audio channels existing in the device are synchronized is effective.
  • mounting multiple audio channels in one device can reduce the number of devices existing in the system, and can provide an effective configuration from the viewpoint of cost and system construction. From this point of view, synchronous packets are advantageously used.
  • the master device 11 is not necessarily limited to the voice transmission device. In the audio transmission system 10, all the devices other than the master device 11 become the slave device 12. Therefore, one or more slave devices 12 exist in the system and have a function of receiving a synchronization packet from the master device 11 via the network 13.
  • the network 13 for example, a LAN or WAN capable of IP protocol communication can be used.
  • the master device 11 includes a clock source 14, a time stamp extraction unit 15, and a packet transmission unit 16.
  • the clock source 14 is composed of an element capable of generating a system reference clock such as a crystal oscillator.
  • the time stamp extraction unit 15 includes an interface for extracting clocks of 14 clock sources, and a time stamp that counts the frequency power of the obtained clocks. And an interface for discharging the packet information to the packet transmission unit 16 at the subsequent stage.
  • the packet sending unit 16 includes an interface for obtaining the time stamp information from the time stamp extracting unit 15 and an interface for packetizing the information and discharging it onto the network 13.
  • a packet method for example, communication based on the IP protocol can be performed. It is also preferable to implement a protocol that can use IP multicast. IP broadcast may also be used. This makes it possible to receive packets by multiple specific slave devices while keeping the load on the network constant.
  • the slave device 12 includes a packet receiving unit 17, a master device reference time stamp storage unit 18, a master device cumulative time stamp calculation unit 19, a frequency variable clock source 20, and a slave device reference time stamp storage unit 21.
  • the slave device cumulative time stamp calculation unit 22 and the calculation correction unit 23 are provided.
  • the packet receiving unit 17 includes an interface that receives a clock synchronization packet from the network 13.
  • the packet receiving unit 17 uses, for example, an interface having a protocol capable of receiving an IP multicast packet.
  • the plurality of slave devices 12 can receive the clock synchronization packet from the master device 11 with a constant load.
  • a packet may be received by IP broadcast.
  • the master device reference time stamp storage unit 18 is configured by a memory that stores the time stamp information of the master device received at the first time when clock synchronization starts as a reference value. This time stamp value becomes reference information for calculating the accumulated time stamp value of the master device when performing clock synchronization thereafter.
  • the master device cumulative time stamp calculation unit 19 refers to the master device time stamp information received from the second time onward, and the reference time stamp information at the start of clock synchronization obtained from the master device reference time stamp storage unit 18. Then, it has an interface for calculating the difference between the two stamp information, and thereby discharging the total time stamp of the master device from the start of clock synchronization to the arithmetic correction unit 23.
  • the frequency variable clock source 20 is a clock source in the slave device 12, and is composed of an element capable of changing the clock frequency.
  • the clock source 20 is, for example, a voltage It can be composed of a crystal oscillator whose frequency can be changed by fluctuation.
  • the slave device reference time stamp storage unit 21 is configured by a memory that stores, as a reference value, time stamp information of the slave device when clock synchronization starts and a synchronization packet is received for the first time. This time stamp value is used as reference information for calculating the accumulated time stamp value of the slave device in the subsequent clock synchronization.
  • the slave device cumulative time stamp calculation unit 22 refers to the time stamp information of the slave device received after the second time and the reference time stamp information at the start of clock synchronization obtained from the slave device reference time stamp storage unit 21. Then, it has an interface for calculating the difference between the time stamp information and discharging the total time stamp of the slave device having the power at the start of clock synchronization to the arithmetic correction unit 23.
  • the calculation correction unit 23 extracts an interface for extracting the time stamp value To from the master device cumulative time stamp calculation unit 21 and a time stamp value Ti from the slave device total time stamp calculation unit 22 Has an interface.
  • the arithmetic correction unit 23 adjusts the frequency of the frequency variable clock source 20 based on the integer value. Then, the arithmetic correction unit 20 controls the frequency variable clock source 20 based on the value calculated by the difference value (To-Ti) between the two time stamp values, thereby obtaining the cumulative time stamp value of the slave device 12. To the cumulative time stamp value of master device 11.
  • the clock synchronization system can minimize the difference between the accumulated time stamp values of the master device and the slave device.
  • the audio output time difference between the two can always be minimized.
  • the cumulative time stamp value of the master device and the cumulative time stamp value of the slave device correspond to the main device cumulative time stamp value To and the remote device cumulative time stamp value Ti of the present invention, respectively.
  • Figure 6 shows how to keep the audio output time difference at a minimum.
  • it is effective to control the clock source of the slave device 12 so that the accumulated time stamp values of the master device 11 and the slave device 12 are always close to each other.
  • Such control is realized by the clock synchronization system 10 and its clock synchronization method of the present embodiment.
  • the slave device 12 When the slave device 12 receives a synchronization packet for the first time, it is stored in the master device reference time stamp storage unit 18 as a reference value for clock synchronization control performed after the time stamp information included in the packet. At the same time, the slave device 10 stores the reference time stamp value acquired from the frequency variable clock source 20 of the slave device 10 in the slave device reference time stamp storage unit 21. Thereafter, since the master device 11 transmits the synchronization packet at regular intervals, the slave device 12 also periodically receives the synchronization packet.
  • packet arrival may be delayed more than usual due to the occurrence of disturbance factors such as a network.
  • the slave device 12 monitors the estimated arrival time of the next packet as well. Then, the slave device 12 determines whether or not the corresponding next packet arrives outside the allowable range W.
  • the allowable range is determined based on the estimated arrival time of the next packet, and specifically, is set to the estimated arrival time ⁇ W. Then, the slave device 12 invalidates the packet that has arrived outside the allowable range W (this corresponds to the case where the packet has arrived beyond the predetermined range to the front side or the rear side).
  • packets arriving within the allowable range W are determined not to affect the voice output reception difference. This normal and valid packet is processed as a target of clock synchronization control.
  • the cumulative time stamp values To (master device) and Ti (slave device) for the initial packet reception are expressed as shown in Fig. 7 on the time axis.
  • the arithmetic correction unit 23 of the slave device 12 controls the oscillation frequency by performing voltage control on the frequency variable clock source 20.
  • the calculation correction unit 23 is the master
  • the oscillation frequency is controlled according to the difference between the cumulative time stamp value To of one device 11 and the cumulative time stamp value Ti of the slave device 12.
  • the correction calculation unit 23 is configured to adjust the frequency based on the integer value. By this control, the cumulative time stamp value Ti of the slave device 12 is brought close to the cumulative time stamp value To of the master device 11.
  • the calculation correction unit 23 performs voltage control from the control value P calculated by the following calculation formula.
  • a is a fixed constant (coefficient)
  • c is a coefficient of variation described later.
  • FIG. 8 shows an error when controlling the frequency variable clock source 20.
  • the frequency variable clock source 20 has a set resolution. Therefore, it must be noted that the control of the frequency clock source 20 causes an error due to the resolution.
  • This error is an error due to the difference between the value that is originally set and the value that is actually set to the frequency variable clock source. This error occurs every time each packet is processed. In the conventional technology, this error accumulates, and the accumulated stamp value greatly deviates between the master device and the slave device. Also, the accumulated error differs between slave devices, and the accumulated time stamp value also deviates between slaves. As a result, the accuracy of clock synchronization decreases, and the difference in audio output time between slave devices increases.
  • control is performed with reference to the accumulated time stamp value from the start of synchronization. Therefore, as shown in Fig. 9A, even if an error occurs, only the error for one packet that arrives at that time is included. This error has little effect on the difference in cumulative timestamp values. Accordingly, the cumulative type stamp values of the master device 11 and each slave device 12 can be brought close to each other. As a result, the time stamp values can be made closer between the plurality of slave devices 12.
  • the constant a is a fixed constant.
  • the time stamp difference is controlled to vibrate up and down densely from 0 as time passes.
  • the value of the constant a is set to a small value, the control that the vertical difference of the time stamp value gently oscillates with 0 as the boundary works. In consideration of such a phenomenon, the constant a is set, and thus it is possible to perform suitable control according to the time stamp difference.
  • the variation coefficient c is a frequency control. Used for control.
  • the coefficient of variation c is added to a * (To—Ti) (a value corresponding to the difference between the time stamp values), whereby the control value P is calculated.
  • the change factor c changes in proportion to the degree to which the time stamp difference is tilted in one direction.
  • the variation coefficient c changes in proportion to the degree to which the time stamp difference is tilted in one direction.
  • tilt means that the difference (To—Ti) deviates from 0, that is, it becomes positive or negative.
  • tilt means that the force vj, where Ti is larger than To, It is also a difference between the two.
  • the degree of tilt is typically represented by the number of tilts (number of consecutive tilts) as follows. In this case, the correction calculation unit 23 determines the variation coefficient c according to the number of times the difference (To-Ti) is continuously tilted.
  • N is a predetermined number of times
  • k is a predetermined constant.
  • N 3. If the difference in time stamps is To> Ti for three consecutive times, the value P that controls the frequency of the clock source by increasing the value of c is set to a large value, and the oscillation frequency on the slave device side is set to a large value. And Ti is controlled to get closer to To sooner. On the other hand, if the difference in time stamps becomes To and Ti for 3 consecutive times, the value P that controls the frequency of the clock source is reduced by decreasing the value of c, and the oscillation frequency on the slave device side is reduced. It is set small and Ti is controlled to get closer to To sooner. By using these methods, the spread of the time stamp difference can be detected more quickly, and the difference can be pulled back in the direction of decreasing the difference.
  • the larger the value k the faster the time stamp difference is pulled back in the reverse direction, but the difference when tilted in the reverse direction is also larger accordingly. Become.
  • the value k is smaller, control is performed so that the time stamp difference is gradually pulled back in the reverse direction over time, but the difference when tilted in the reverse direction is reduced. Is possible. Considering this phenomenon, the value k is set appropriately. As described above, it is possible to perform suitable control according to the time stamp difference using the coefficient of variation C.
  • synchronous control is performed as follows.
  • master device 11 transmits a synchronization packet
  • slave device 12 receives the synchronization packet, and performs synchronization control on the clock source. By repeating this operation, the master device 11 and the slave device 12 adjust the cumulative time stamp value.
  • the master device 11 and the slave device 12 are in a one-to-one relationship.
  • the actual configuration may be one-to-many.
  • the other slave devices 12 have the same configuration and perform the same operation. In this way, it is possible to maintain the audio output time difference between the plurality of slave devices 12 to a minimum.
  • FIG. 11 is a diagram showing a coping method when a large delay is included in the packet received by the slave device 12 for the first time.
  • the standard time stamp value acquired for the first time includes a large delay.
  • the system continues synchronization control using the incorrect reference timestamp value.
  • a predetermined threshold R is set in this embodiment.
  • the slave device 12 accumulates the accumulated time status up to that point. Initialize the amplifier value and resume accumulating a new cumulative timestamp value. More specifically, the accumulated time stamp value To of the master device 11 and the accumulated time stamp value Ti of the slave device 12 are reset, and accumulation of the new time stamp value is resumed.
  • the first time stamp value that is acquired for the first time includes a delay exceeding the threshold value R.
  • the difference value (To-Ti) exceeds the threshold value, and a new accurate time stamp value can be obtained again. In this way, it is possible to further enhance resistance to delay caused by disturbance elements such as a network.
  • the above processing may be performed when the difference value (To-Ti) exceeds the threshold value on either the positive or negative side. More specifically, a positive threshold value and a negative threshold value are set, and the above process may be performed when the difference value exceeds either threshold value. Also, a positive threshold value may be set, and the absolute value of the difference value may be compared with the threshold value.
  • the clock synchronization system and the audio transmission system including the clock synchronization system can be used for broadcasting to remote places and multi-point broadcasting systems such as multi-store commercial facilities! / Applicable to.
  • this embodiment is a service that uses sound field control via a network, such as evacuation guidance broadcasting in office buildings, acoustic design in theaters and concert halls, and Dolby Digital 5.1 channel acoustic broadcasting. Can be applied to.
  • the clock synchronization system can increase the clock synchronization accuracy, and is useful as a clock synchronization system such as an audio transmission system that performs sound field control or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Selon l'invention, dans un système de synchronisation d’horloge, un dispositif maître (11) correspond à un dispositif principal et un dispositif esclave (12) correspond à un dispositif distant. Le dispositif maître (11) transmet un paquet de synchronisation dans lequel sont intégrées des informations de tampon horaire au travers d’un réseau (13) à une pluralité de dispositifs esclave (12). Chacun des dispositifs esclave (12) reçoit un paquet de synchronisation, calcule une différence entre la valeur cumulée de tampon horaire To du dispositif maître (11) et la valeur cumulée de tampon horaire Ti du dispositif esclave (12) lui-même et ajuste la fréquence d’une source d’horloge à fréquence variable (20) en fonction de la différence (To - Ti). En outre, le dispositif esclave (12) commande la fréquence en utilisant le coefficient de fluctuation c proportionnel au degré de la pente de la différence (To - Ti). Ceci élimine l’expansion/le rétrécissement de la durée de retard de l’audio dans le système de transmission audio et minimise la différence d’instants de sortie audio entre les dispositifs de réception.
PCT/JP2006/319783 2005-10-05 2006-10-03 Système et méthode de synchronisation d’horloge dans un système de transmission audio WO2007040222A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005291880A JP2007104347A (ja) 2005-10-05 2005-10-05 音声伝送システムにおけるクロック同期システム及び方法
JP2005-291880 2005-10-05

Publications (1)

Publication Number Publication Date
WO2007040222A1 true WO2007040222A1 (fr) 2007-04-12

Family

ID=37906263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/319783 WO2007040222A1 (fr) 2005-10-05 2006-10-03 Système et méthode de synchronisation d’horloge dans un système de transmission audio

Country Status (2)

Country Link
JP (1) JP2007104347A (fr)
WO (1) WO2007040222A1 (fr)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010037347A1 (fr) * 2008-09-27 2010-04-08 华为技术有限公司 Procédé, dispositif et système de synchronisation temporelle de côté horloge maître et de côté horloge esclave dans un réseau synchrone
JP2010212945A (ja) * 2009-03-10 2010-09-24 Nec Corp クロック同期のための受信側ノード、その方法及びそのプログラム
CN101217330B (zh) * 2008-01-02 2012-07-25 中兴通讯股份有限公司 一种用于时间同步校正的方法和装置
JP2013520137A (ja) * 2010-02-16 2013-05-30 ホアウェイ・テクノロジーズ・カンパニー・リミテッド パケットネットワークにおけるクロック分配のためのレート変動型マルチキャスト伝送
WO2023273601A1 (fr) * 2021-06-29 2023-01-05 Oppo广东移动通信有限公司 Procédé de synchronisation audio, dispositif de lecture audio, source audio et support de stockage

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5354474B2 (ja) 2007-09-14 2013-11-27 日本電気株式会社 クロック同期システム、その方法及びそのプログラム
WO2010058831A1 (fr) 2008-11-20 2010-05-27 日本電気株式会社 Système de synchronisation d'horloge à l'aide de filtre de paquets, appareil, procédé et programme correspondants
KR101313104B1 (ko) 2009-07-24 2013-09-30 한국전자통신연구원 이종 주기 클록 도메인간의 동기화 시스템, 동기화 장치, 동기화 실패 검출 회로 및 데이터 수신방법
US10171710B2 (en) 2012-04-04 2019-01-01 Mitsubishi Electric Corporation Device and method for digital data distribution, device and method for digital data reproduction, synchronized reproduction system, program, and recording medium
WO2014041592A1 (fr) 2012-09-11 2014-03-20 三菱電機株式会社 Dispositif et système de calcul de paramètre de correction, procédé de calcul de paramètre de correction et programme d'ordinateur
JP6183639B2 (ja) * 2013-04-24 2017-08-23 株式会社チノー センシングシステム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000332802A (ja) * 1999-05-24 2000-11-30 Sony Corp 通信方法、通信システム、通信端末および中継装置
JP2003249922A (ja) * 2002-02-26 2003-09-05 Sony Corp データ受信装置、および受信データ処理方法、並びにコンピュータ・プログラム
JP2003258894A (ja) * 2002-03-05 2003-09-12 Matsushita Electric Ind Co Ltd データ受信再生方法およびデータ通信装置
JP2004153546A (ja) * 2002-10-30 2004-05-27 Toa Corp クロック信号調整装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000332802A (ja) * 1999-05-24 2000-11-30 Sony Corp 通信方法、通信システム、通信端末および中継装置
JP2003249922A (ja) * 2002-02-26 2003-09-05 Sony Corp データ受信装置、および受信データ処理方法、並びにコンピュータ・プログラム
JP2003258894A (ja) * 2002-03-05 2003-09-12 Matsushita Electric Ind Co Ltd データ受信再生方法およびデータ通信装置
JP2004153546A (ja) * 2002-10-30 2004-05-27 Toa Corp クロック信号調整装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217330B (zh) * 2008-01-02 2012-07-25 中兴通讯股份有限公司 一种用于时间同步校正的方法和装置
WO2010037347A1 (fr) * 2008-09-27 2010-04-08 华为技术有限公司 Procédé, dispositif et système de synchronisation temporelle de côté horloge maître et de côté horloge esclave dans un réseau synchrone
JP2010212945A (ja) * 2009-03-10 2010-09-24 Nec Corp クロック同期のための受信側ノード、その方法及びそのプログラム
JP2013520137A (ja) * 2010-02-16 2013-05-30 ホアウェイ・テクノロジーズ・カンパニー・リミテッド パケットネットワークにおけるクロック分配のためのレート変動型マルチキャスト伝送
WO2023273601A1 (fr) * 2021-06-29 2023-01-05 Oppo广东移动通信有限公司 Procédé de synchronisation audio, dispositif de lecture audio, source audio et support de stockage

Also Published As

Publication number Publication date
JP2007104347A (ja) 2007-04-19

Similar Documents

Publication Publication Date Title
WO2007040222A1 (fr) Système et méthode de synchronisation d’horloge dans un système de transmission audio
JP4865717B2 (ja) 確率的なネットワーク上のメッセージの同期化
CN114257328B (zh) 多个音频设备的同步
US7724780B2 (en) Synchronization of one or more source RTP streams at multiple receiver destinations
US8351437B2 (en) Stereo bit clock tuning
EP2882120B1 (fr) Procédé et appareil permettant d'atténuer les variations de retard de paquet
JP2005253033A (ja) 網同期装置、クロック伝達方法およびクロック伝達パケット網
US8477810B2 (en) Synchronization using multicasting
JP4042396B2 (ja) データ通信システム、データ送信装置、データ受信装置、および方法、並びにコンピュータ・プログラム
JP3906678B2 (ja) データ通信システム、データ送信装置、データ受信装置、および方法、並びにコンピュータ・プログラム
EP2707977B1 (fr) Système de diffusion de contenu
JP2010212945A (ja) クロック同期のための受信側ノード、その方法及びそのプログラム
JP2021044629A (ja) ネットワークシステム、送信装置及び受信装置
WO2024055067A1 (fr) Procédé de diffusion en continu d'audio synchronisé sur un réseau
KR20190031889A (ko) 실시간 동기식 이더넷 기반 음향 시스템 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06821812

Country of ref document: EP

Kind code of ref document: A1