Hereinafter, a data communication system 10 according to the preferred embodiments of the invention will be described with reference to the accompanying drawings.
The audio signal transmitting device 2 and the two audio reproducing apparatuses 3a and 3b are connected to a power line 1. A power for driving a device is supplied from the power line 1 to each of the audio signal transmitting device 2, and the audio signal reproducing devices 3a and 3b.
Further, data transmission and reception can be performed between the audio signal transmitting device 2, and the audio signal reproducing devices 3a and 3b through the power line 1.
In this embodiment, a case will be described in which the audio signal transmitting device 2 transmits audio signals of left and right sounds of stereo sounds to the audio signal reproducing devices 3a and 3b, respectively, and the left sound of the stereo sound is reproduced by the audio signal reproducing device 3a and the right sound of the stereo sounds is reproduced by the audio signal reproducing device 3b.
Further,
Next, the audio signal transmitting device 2 of
The audio signal transmitting device 2 includes an audio signal output unit 21, an A/D converter 22, a reference oscillator 23, and an audio signal transmitting unit 24.
The audio signal output unit 21 outputs an audio signal, such classic music, which is continuously reproduced, to the A/D converter 22.
The reference oscillator 23 oscillates with a predetermined frequency, and outputs an electrical signal of a predetermined cycle to the A/P converter 22.
The A/D converter 22 converts an audio signal outputted by the audio signal output unit 21, that is, an analog signal, into a digital signal on the basis of an electric signal of a predetermined frequency outputted by the reference oscillator 23. In the A/D converter 22, the audio signal that is converted into the analog signal is outputted to the audio signal transmitting unit 24.
The audio signal transmitting unit 24 transmits the audio signals outputted by the A/D converter 22 to the audio signal reproducing devices 3a and 31 (see
Next, the audio signal reproducing device 3 of
The audio signal reproducing device 3 includes the audio signal receiving unit 31, the data buffer 32, the data amount monitoring system 33, the voltage control oscillator 34, the D/A converter 35, and the audio signal reproducing unit 36.
The audio signal receiving unit 31 receives the audio signal transmitted by the audio signal transmitting unit 24 (see
Specifically, the audio signal receiving unit of the audio signal reproducing device 3a (see
The audio signal receiving unit 31 outputs the received audio signal to the data buffer 32.
The data buffer 32 temporarily accumulates the audio signal outputted by the audio signal receiving unit 31. The data that is accumulated in the data buffer 32 is outputted to the D/A converter 35 by control of the voltage control oscillator 34, which will be described in detail below.
Further, when the data accumulated in the data buffer 32 overflows, the data that is firstly accumulated in the data buffer 32 is deleted, and data that is newly inputted by the audio signal receiving unit 31 is accumulated. Further, when the data accumulated in the data buffer 32 may be empty, the data that is lastly accumulated in the data buffer 32 is repeatedly outputted.
The data amount monitoring unit 33 monitors the data amount of the audio signal accumulated in the data buffer 32, and applies a voltage corresponding to the amount of the data accumulated in the data buffer 32 to the voltage control oscillator 34.
A threshold value k within a predetermined range is stored in the voltage control oscillator 34 of the audio signal reproducing device 3 according to this embodiment. When it is determined that ‘the audio signal accumulated in the data buffer 32 is greater than threshold values k of a predetermined range’, the voltage applied to the voltage control oscillator 34 is increased so as to raise the outputted oscillation frequency, thereby increasing a data amount of the audio signal outputted from the data buffer 32 to the D/A converter 35. By performing this control, it is possible to prevent audio signal from being lost due to the overflow of the audio signal accumulated in the data buffer 32.
Further, when it is determined by the data monitoring unit 33 that ‘the audio signal accumulated in the data buffer 32 is in a range of the threshold values k of a predetermined range’, the voltage applied to the voltage control oscillator 34 is maintained as a predetermined value so as to make the outputted oscillation frequency constant, thereby maintaining a data amount of the audio signal outputted from the data buffer 32 to the D/A converter 35 as a predetermined value. By performing this control, it is possible to prevent audio signal from being lost due to the overflow of the audio signal accumulated in the data buffer 32.
Meanwhile, when it is determined by the data monitoring unit 33 that ‘the audio signal accumulated in the data buffer 32 is less than the threshold values k of a predetermined range’, the voltage applied to the voltage control oscillator 34 is decreased so as to lower the outputted oscillation frequency, thereby decreasing a data amount of the audio signal outputted from the data buffer 32 to the D/A converter 35. By performing this control, it is possible to prevent audio signal from being intermitted due to the non existence of the audio signal accumulated in the data buffer 32.
The A/D converter 35 converts an audio signal outputted by the data buffer 32, that is, a digital signal, into an analog signal on the basis of an electric signal of a predetermined oscillation frequency outputted by the voltage control oscillator 34. In the D/A converter 35, the audio signal that is converted into the analog signal is outputted to the audio signal reproducing unit 36.
In the audio signal reproducing unit 36, the audio signal inputted by the D/A converter 35 is reproduced through a speaker.
Specifically, the audio signal reproducing unit of the audio signal reproducing device 3a (see
Generally, since the difference exists in a distance of a transmitting path of a power line between the audio signal transmitting device 2, and the audio signal reproducing devices 3a and 3b, the data transmitting speed varies, or a timing or a size of a data packet of the audio signal that is transmitted by the data transmitting device 2 varies. Therefore, the time difference is generated between the sounds that are respectively reproduced by the audio signal reproducing devices 3a and 3b, which makes it not possible to take synchronization.
However, as described above, since the data buffer 32 for compensating for data delay is provided in the audio signal reproducing devices 3a and 3b, the sounds or the like can be reproduced in a state in which the synchronization is taken between the audio signal reproducing devices 3a and 3b.
Next, a method of reproducing an audio signal of the audio signal reproducing device 3 in the data communication system 10 according to the embodiment of the invention will be described.
First, the audio signal receiving unit 31 receives a packet of the audio signal transmitted by the audio signal transmitting unit 24 (see
Then, the packet of the audio signal received by the audio signal receiving unit 31 in step S01 is temporarily accumulated in the data buffer 32 (step S02).
The data amount of the audio signal that is accumulated in the data buffer 32 is monitored by the data monitoring unit 33, and it is determined whether the amount of the data accumulated in the data buffer 32 is ‘lager’ or ‘smaller’ or ‘equal’, as compared with the threshold value K of the predetermined range (step S03).
When it is determined that the amount of the data accumulated in the data buffer 32 is greater than the threshold value K of the predetermined range, it is determined as ‘greater’ in step S03, and the process proceeds to step S04.
In step S04, by increasing the voltage applied to the voltage control oscillator 34, the oscillation frequency outputted by the voltage control oscillator 34 is controlled such that it is increased (step S04).
If the oscillation frequency of the voltage control oscillator 34 is increased, a large amount of audio signals are read out from the data buffer 32, and then outputted to the D/A converter 35.
The audio signals that are inputted to the D/A converter 35, that is, the digital signal is converted into an analog signal, and then reproduced through a speaker of the audio signal reproducing unit 36.
Next, it is determined whether the audio signal reproducing device 3 receives all audio signals or not (step S05). When it is determined that the audio signal reproducing device 3 does not receive all the audio signals, it is determined as ‘No’ in step S05, and the process proceeds to step S01 again Then, as described above, the process proceeds to step S03 through the process of step S02.
When the amount of the data accumulated in the data buffer 32 is in predetermined threshold values k of a predetermined range, it is determined as ‘equal’ in step S03, and the process proceeds to S06.
In step S06, by applying a predetermined voltage to the voltage control oscillator 34, the oscillation frequency outputted by the voltage control oscillator 34 is controlled such that it is maintained as a predetermined value.
The oscillation frequency of the voltage control oscillator 34 is maintained to a predetermined value, so that a data amount of an audio signal read from the data buffer 32 can be constantly maintained.
The audio signal that is inputted to the D/A converter 35 is converted from the digital signal to the analog signal, and then outputted through the speaker of the audio signal reproducing unit 36.
Then, it is determined whether the audio signal reproducing device 3 receives all audio signals or not (step S05). When it is determined that the audio signal reproducing device 3 does not receive all the audio signals, it is determined as ‘No’ in step S05, and the process proceeds to step S01 again. Then, as described above, the process proceeds to step S03 through the process of step S02.
When the amount of the data accumulated in the data buffer 32 is in predetermined threshold values k of a predetermined range, it is determined as ‘smaller’ in step S03, and the process proceeds to S07.
In step S07, by decreasing a voltage applied to the voltage control oscillator 34, the oscillation frequency outputted by the voltage control oscillator 34 is controlled such that it is decreased.
If the oscillation frequency outputted by the voltage control oscillator 34 is decreased, a small amount of audio signals are read out from the data buffer 32, and then outputted to the D/A converter 36.
The audio signal that is inputted to the D/A converter 35 is converted from the digital signal to the analog signal, and then outputted through the speaker of the audio signal reproducing unit 36.
Then, it is determined whether the audio signal reproducing device 3 receives all audio signals or not (step S05). When it is determined that the audio signal reproducing device 3 receives all the audio signals, it is determined as ‘YES’ in step S05, and the processes according to the flowchart illustrated in
In the data communication system 10 according to the embodiment of the embodiment of the invention, since the synchronization needs to be taken between the data reproducing devices 3a and 3b connected to the power line 1, the structure of the data reproducing device 3 can be simplified.
Further, since phase synchronization of the audio signal is taken between the data transmitting devices 3a and 3b, it is possible to reproduce a sound signal having an excellent sound quality.
Further, since the amount of the data accumulated in the data butter 32 is controlled to be constant, a sound skip can be prevented from occurring.
Furthermore, a sound signal can be reproduced at predetermined speed and phase regardless of a timing or packet length according to the encoding of the audio signal.
Further, in the above-described embodiment, the case has been described in which the transmission and the reception of the audio signal are made through the power line 1. However, the invention is not limited thereto. For example, transmission and reception of visual data are performed by using the data communication system 10 according to the embodiment of the invention. Accordingly, similar to the case of the above-described audio signal, video recorded in the visual data or the like can be reproduced without the intermittence.
In the above-described embodiment, the audio signal output unit 21, the A/D converter 22, the reference oscillator 23, and the audio signal transmitting unit 24 that are shown in
Further, the audio signal output unit 21, the A/D converter 22, the reference oscillator 23, and the audio signal transmitting unit 24 that are shown in
Furthermore, a program for achieving functions of the audio signal output unit 21, the A/D converter 22, the reference oscillator 23, and the audio signal transmitting unit 24 that are shown in
Further, when a WWW system is used, the ‘computer system’ is a concept that also includes a homepage providing circumference (or display circumference).
The ‘computer readable recording medium’ is a concept that includes portable media, such as a flexible disk, an optical magnetic disk, a ROM, a CD-ROM, or the like, and a storage device, such as a hard disk, which is built in the computer system. Further, the ‘computer readable recording medium’ is a concept that includes communication lines in a case in which a program is transmitted through a network such as the Internet or a communication line such as a telephone line and the program is dynamically stored for a short time, and a non-volatile memory in the computer system becoming a server or a client in which a program is stored for a predetermined time. The above-described program may achieve a portion of the above-described functions, and the above-described functions may be achieved by a combination with a program previously recorded in the computer system.
Until now, the embodiment of the invention has been described with reference to the accompanying drawings, but the specific structure is not limited to the above-described embodiment. Various modifications and changes can be made without departing from the spirit and scope of the invention.
The data delay compensating system according to the embodiment of the invention can be used in a consumer device in which communication of data, such as an audio signal or visual data, which is continuously reproduced, is performed through the power line.
Number | Date | Country | Kind |
---|---|---|---|
2004-284025 | Sep 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP05/17942 | 9/29/2005 | WO | 00 | 6/26/2007 |