This application claims priority to Japanese Patent Application No. 2008-103444 filed Apr. 11, 2008, the disclosure of which, including specification, drawings and claims, is incorporated herein by reference in its entirety.
1. Field of the Invention
The present disclosure generally relates to a transmission apparatus and a receiving apparatus for high-speed transmission of video data and audio data.
2. Description of the Related Art
Conventionally, Digital Visual Interface (DVI) standards are known as interface standards for high-speed transmission of digital video data between, for example, a computer and a display. WO2002/078336 discloses a technique of transmitting video data multiplexed with audio data in accordance with DVI standards.
Here, in the transmission path compliant with DVI standards, a pixel clock synchronous with video data can be transmitted, but an audio clock synchronous with audio data cannot be transmitted. Therefore, in WO2002/078336, a frequency division parameter determining unit 53 is provided in the transmission apparatus 501, which obtains a frequency division parameter M, N for relating a pixel clock with an audio clock, and transmits the frequency division parameter M, N instead of the audio clock.
The frequency division parameter N is a parameter for frequency-dividing the audio clock, and the frequency division parameter M is a parameter for frequency-dividing the pixel clock. The frequency f of the audio clock, the frequency pclk of the pixel clock, and the frequency division parameter M, N have a relationship represented by:
pclk/M=f/N=fpt,
wherein the value “fpt” also corresponds to a phase comparison frequency of a PLL for reproducing the audio clock.
For example, in order to obtain the frequency division parameter M, N, N may be set to have a predetermined value, and the 1/N frequency of the audio clock may be counted using the pixel clock and the result may be set as M. For example, when pclk=27 MHz and f=6.144 MHz, then if N is set to be 6144, fpt becomes 1 kHz, so that M=27,000 is obtained.
The frequency division parameter M, N thus obtained by the frequency division parameter determining unit 53 is converted into packets and is multiplexed into blanking intervals of video data by an audio/video/packet multiplexing unit 51. The audio/video/packet multiplexing unit 51 similarly converts audio data into packets and multiplexes the packets into blanking intervals of video data. For multiplexing, audio data is temporarily stored in a transmission data storing unit 52, and is output in synchronization with blanking intervals of video data. The transmission data storing unit 52 is typically an SRAM.
Video/audio/packet multiplexed data and a pixel clock output from the transmission apparatus 501 are transmitted via a transmission path, and are received by the receiving apparatus 601. In the receiving apparatus 601, an audio/video/packet separating unit 61 separates and outputs video data and a pixel clock. Video data is synchronous with a pixel clock, and is generally subjected to image processing for improvement of image quality in a subsequent stage before being displayed on a plasma panel or a liquid crystal panel.
The audio/video/packet separating unit 61 also separates and outputs the frequency division parameter M, N. An audio clock reproducing unit 63 reproduces an audio clock using the separated frequency division parameter M, N and the pixel clock.
pclk/M=fr/N=fpr,
where fpr corresponds to a phase comparison frequency of the PLL. Since this relationship is the same as the relationship between the frequency division parameter M, N and the pixel clock and the audio clock in the transmission apparatus 501, the oscillation frequency fr of the VCO 633 is equal to the frequency f of the audio clock in the transmitter. In other words, the audio clock is reproduced in the receiver.
The audio data separated and output from the audio/video/packet separating unit 61 is temporarily accumulated in a received data storing unit 62, and is output in synchronization with an audio clock reproduced by the audio clock reproducing unit 63. In other words, audio data synchronous with the audio clock is output from the receiving apparatus 601. For example, if the audio data is converted into an analog signal using a DA converter 31, audio can be heard.
In recent years, the High-Definition Multimedia Interface (HDMI) has been widely employed as a technique of multiplexing and transmitting video data with audio data. HDMI is upwardly compatible with DVI and performs transmission in a manner similar to that described above, but selects N that satisfies a relationship represented by:
pclk/M=f/N=fpt=1 kHz.
This is because if the phase comparison frequency fpr of the audio clock reproducing unit is caused to be constant, the characteristics of the LPF can be maintained constant and the audio clock reproducing unit can be easily configured. Also, if a pixel clock and an audio clock are completely synchronous, M is invariably constant, so that the audio clock reproducing unit can satisfactorily reproduce the audio clock.
With a conventional transmission/receiving apparatus as described above, video data multiplexed with audio data can be transmitted. However, since there have been recent and rapid advances in AV apparatuses, a technique of further improving sound quality is invariably required and desired.
In conventional transmission/receiving apparatuses, if a pixel clock and an audio clock are synchronous in a transmission apparatus, a receiving apparatus can satisfactorily reproduce the audio clock. However, if a pixel clock and an audio clock are not synchronous in a transmission apparatus, a receiving apparatus cannot necessarily satisfactorily reproduce the audio clock, and jitter is likely to be superimposed onto the reproduced audio clock. In this regard, the result of studies by the present inventors will be hereinafter described.
Specifically, if a pixel clock and an audio clock are not synchronous, then when the 1/N frequency of the audio clock is counted using the pixel clock, the resultant value is not necessarily constant. For example, even if a constant value N that satisfies:
f/N=1 kHz,
is selected, the result of counting the 1/N frequency of the audio clock using the pixel clock is not equal to the constant value M, i.e., the result of the counting varies like M1, M2, M3, and so on. If the varying frequency division parameter M1, M2, M3, . . . is employed, the following audio clock is reproduced in a receiver:
pclk/M1=f1/N
pclk/M2=f2/N
pclk/M3=f3/N.
Thus, as shown in
The variation of the audio clock frequency leads to a deterioration in sound quality of an analog audio signal. Specifically, when audio data is converted into an analog audio signal by the DA converter 31, then if the audio clock frequency varies like f1, f2, f3, and so on, a distortion occurs in the analog audio signal due to the variation. The frequency of the distortion is about f/N, which is about 1 kHz in the case of the HDMI, for example. In other words, a distortion of about 1 kHz is superimposed on an analog audio signal, leading to a deterioration in sound quality, which is heard as noise.
In an effort to solve the problems described above, the present disclosure relates to a transmission and receiving apparatus as described herein. An object of the present disclosure is to provide a transmission apparatus and a receiving apparatus in a digital interface for audio/video transmission, in which a deterioration in sound quality of an audio signal is suppressed, so that high-sound quality audio data can be transmitted.
According to an aspect of the present disclosure, a transmission apparatus in a digital interface for audio/video transmission, includes a frequency division parameter control unit for outputting a frequency division parameter for relating a pixel clock for video data with an audio clock for audio data, and an audio/video/packet multiplexing unit for converting audio data to be transmitted and the frequency division parameter output from the frequency division parameter control unit into packets, and superimposing the packets into blanking intervals of video data to be transmitted, thereby producing transmission data. The transmission apparatus transmits the transmission data and the pixel clock. The frequency division parameter control unit outputs two integer values Pt and Qt as the frequency division parameter that satisfy a relationship represented by:
pclk/Pt=ft/Qt=fpt
where pclk represents a frequency of the pixel clock, and ft represents a frequency of the audio clock, and that cause fpt to fall out of a predetermined band including at least from 300 Hz to 3 kHz as a band of the audio data.
In this aspect of the present disclosure, the transmission apparatus can transmit, as a frequency division parameter for relating a pixel clock with an audio clock, a value that causes the frequency of distortion occurring in an audio signal due to the variation of the frequency of an audio clock reproduced in a receiving apparatus, to fall out of the band of audio data. Thereby, even if distortion occurs in an audio signal due to the variation of the frequency of a reproduced audio clock in a receiving apparatus, the distortion is not heard as noise, so that a deterioration in sound quality can be suppressed.
According to another aspect of the present disclosure, a transmission apparatus in a digital interface for audio/video transmission, includes a frequency division parameter determining unit for determining, as a frequency division parameter for relating a pixel clock for video data with an audio clock for audio data, two integer values Mt and Nt that satisfy a relationship represented by:
pclk/Mt=ft/Nt
where pclk represents a frequency of the pixel clock and ft represents a frequency of the audio clock, a frequency division parameter averaging unit for averaging either or both Mt and Nt, and outputting the result as an averaged frequency division parameter, and an audio/video/packet multiplexing unit for converting audio data to be transmitted and the averaged frequency division parameter into packets, and superimposing the packets into blanking intervals of video data to be transmitted, thereby producing transmission data. The transmission apparatus transmits the transmission data and the pixel clock.
In this aspect of the present disclosure, the transmission apparatus transmits an average of a frequency division parameter for relating a pixel clock with an audio clock. Thereby, in a receiving apparatus, a distortion in an audio signal due to the variation of the frequency of a reproduced audio clock is suppressed, so that a deterioration in sound quality can be suppressed.
The transmission apparatus of this aspect of the present disclosure may include an audio clock regenerating unit for generating a new audio clock based on the averaged frequency division parameter and the pixel clock. Audio data synchronous with the new audio clock may be used as the audio data to be transmitted.
Thereby, audio data generation in the transmission apparatus and audio data reproduction in the receiving apparatus have the same rate, thereby making it possible to prevent a decrease in audio quality.
According to another aspect of the present disclosure, a receiving apparatus in a digital interface for audio/video transmission, includes an audio/video/packet separating unit for separating, from received data, video data, audio data, and a frequency division parameter for relating a pixel clock for the video data with an audio clock for the audio data, an audio clock reproducing unit having a Phase Locked Loop (PLL), for reproducing an audio clock from a received pixel clock and the frequency division parameter by the PLL operating in a manner satisfying:
pclk/Pr=fr/Qr=fpr
where pclk represents a frequency of the pixel clock, fr represents a frequency of a reproduced audio clock, and Pr and Qr represent frequency division parameters, and a band determining unit for determining a band of fpr in the audio clock reproducing unit. The audio clock reproducing unit is configured to switch loop characteristics of the PLL, depending on the result of determination by the band determining unit.
According to this aspect of the present disclosure, the loop characteristics of the PLL in the audio clock reproducing unit are appropriately switched, depending on the band of fpr, thereby minimizing a time required to output an audio clock targeted by the PLL, i.e., a lock time, so that the occurrence of sound interruption can be prevented.
According to another aspect of the present disclosure, a receiving apparatus in a digital interface for audio/video transmission, includes an audio/video/packet separating unit for separating, from received data, video data, audio data, and a frequency division parameter for relating a pixel clock for the video data with an audio clock for the audio data, and an audio clock reproducing unit having a Phase Locked Loop (PLL), for reproducing an audio clock from a received pixel clock and the frequency division parameter by an operation of the PLL. The audio clock reproducing unit can support at least two types of frequency division parameters, and is configured to switch loop characteristics of the PLL, depending on the frequency division parameter type.
In this aspect of the present disclosure, the loop characteristics of the PLL in the audio clock reproducing unit are appropriately switched, depending on the frequency division parameter type, so that it is possible to avoid a situation in which sound is not produced or sound quality is deteriorated due to a mismatch between the frequency division parameter and the PLL characteristic.
According to another aspect of the present disclosure, a receiving apparatus in a digital interface for audio/video transmission, includes an audio/video/packet separating unit for separating, from received data, video data, audio data, and a frequency division parameter for relating a pixel clock for the video data with an audio clock for the audio data, a frequency division parameter regenerating unit for regenerating a new frequency division parameter from the frequency division parameter, and an audio clock reproducing unit having a Phase Locked Loop (PLL), for reproducing an audio clock from a received pixel clock and the new frequency division parameter by an operation of the PLL. The frequency division parameter regenerating unit regenerates, as the new frequency division parameter, two integer values Pr and Qr that satisfy a relationship represented by:
pclk/Pr=ft/Qr=fpr
where pclk represents a frequency of the pixel clock and ft represents a frequency of the audio clock, and that cause fpr to fall out of a predetermined band including at least from 300 Hz to 3 kHz as a band of the audio data.
In this aspect of the present disclosure, the receiving apparatus can regenerate, as a frequency division parameter for relating a pixel clock with an audio clock, a value that causes the frequency of a distortion occurring in an audio signal due to the variation of the frequency of a reproduced audio clock, to fall out of the band of audio data. Thereby, even if a distortion occurs in an audio signal due to the variation of the frequency of a reproduced audio clock in the receiving apparatus, the distortion is not heard as noise, so that a deterioration in sound quality can be suppressed.
According to another aspect of the present disclosure, a receiving apparatus in a digital interface for audio/video transmission, includes an audio/video/packet separating unit for separating, from received data, video data, audio data, and a frequency division parameter for relating a pixel clock for the video data with an audio clock for the audio data, a frequency division parameter averaging unit for averaging the frequency division parameter and outputs the averaged frequency division parameter, and an audio clock reproducing unit having a Phase Locked Loop (PLL), for reproducing an audio clock from a received pixel clock and the averaged frequency division parameter.
In this aspect of the present disclosure, the receiving apparatus employs an average of a frequency division parameter or relating a pixel clock with an audio clock. Thereby, in the receiving apparatus, a distortion in an audio signal due to the variation of the frequency of a reproduced audio clock is suppressed, so that a deterioration in sound quality can be suppressed.
As described above, according to the present disclosure, a deterioration in sound quality of an audio signal reproduced in a receiving apparatus is suppressed, so that high-sound quality audio data can be transmitted.
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. Note that, in the embodiments, a transmission apparatus and a receiving apparatus are connected to each other via a transmission path compliant with HDMI standards, which are upwardly compatible with DVI standards. The scope of the present disclosure is not limited to the HDMI as a digital interface for audio/video transmission, and is also applicable toother digital interfaces.
In the configuration of
The transmission data storing unit 12, which includes, but not limited to, for example, an SRAM, temporarily stores audio data synchronous with an audio clock and outputs the audio data in synchronization with a pixel clock. The audio/video/packet multiplexing unit 11 converts the audio data output from the transmission data storing unit 12 into packets, and multiplexes the packets into blanking intervals of video data. The audio/video/packet multiplexing unit 11 also converts the frequency division parameter Pt, Qt output from the frequency division parameter determining unit 13 into packets, and multiplexes the packets into the video data blanking intervals. The resultant audio/video/packet multiplexed data is output as transmission data along with a pixel clock to the transmission apparatus 101.
It is noted that the frequency of an audio clock is represented by ft and the frequency of a pixel clock is represented by pclk. The frequency division parameter determining unit 13 determines the frequency division parameter Pt, Qt so that a frequency fpt represented by:
pclk/Pt=ft/Qt=fpt
falls outside (i.e., is not within the frequency band) of the audio data band determined by the transmission band determining unit 14.
Various audio data bands that are determined by the transmission band determining unit 14, and various determination techniques are contemplated. For example, if the band is assumed to have a fixed value, the band may be a human audio-frequency range (generally 20 Hz to 20 kHz) or a human voice-frequency range (generally 300 Hz to 4 kHz). Alternatively, the band may be a narrower range, e.g., 300 Hz to 1.5 kHz. Alternatively, the band may be a range of, e.g., 300 Hz to 3 kHz. In other words, a predetermined band including at least the range of 300 Hz to 3 kHz that tends to be recognized as noise by a human, is preferably defined as the audio data band. These values may be preset by a manufacturer.
Also, if the band is assumed to be variable, the band may be able to be set, for example, by the user who operates the transmission apparatus 101. Specifically, since the audio-frequency range varies from human to human, the user may be able to set a band with which the user recognizes a minimum level of noise while hearing audio reproduced by the receiving apparatus. Alternatively, the transmission band determining unit 14 may previously scan audio data to be transmitted, and determine the audio data band based on a maximum frequency and a minimum frequency included in the audio data.
In any case, the transmission band determining unit 14 determines both or either of the maximum frequency and the minimum frequency as the audio data band so as to maximize sound quality. This determination may be made one or more times for each individual piece of audio data, such as, but not limited to, a song, a broadcast program, a media program, etc. Alternatively, a value that is determined at a particular time may be utilized.
For example, if the audio data band is set to be the human audio-frequency range, the frequency division parameter determining unit 13 determines the frequency division parameter Pt, Qt so that fpt=20 Hz or 20 kHz, or fpt=10 Hz or 40 kHz, which falls outside of the audio-frequency range. Alternatively, fpt may be determined based on a sampling frequency fs of the audio data. For example, the value of fpt may be ½ of the sampling frequency fs, or more generally, V/U of the sampling frequency fs (U and V are integers).
Hereinafter, an example where fpt is set to be ½ of the audio data sampling frequency fs, will be described. If the sampling frequency fs is assumed to be 48 kHz, then:
fpt=fs/2=24 kHz.
If the audio clock frequency ft=128×fs, then:
128×fs/Qt=fs/2.
In this case, Qt=256. Therefore, the 1/256 frequency of an audio clock is counted using a pixel clock, so that Pt is determined that satisfies:
pclk/Pt=128×fs/Qt=fs/2.
The transmission apparatus 101 of this embodiment can be connected to a conventional receiving apparatus. In this case, the audio clock reproducing unit of the receiving apparatus reproduces an audio clock from the received frequency division parameter Pt, Qt using the PLL. If the frequency of the reproduced audio clock is represented by fr, then:
pclk/Pt=fr/Qt=fs/2.
Thus, the reproduced audio clock has the same frequency as that of the audio clock of the transmitter.
Here, if the pixel clock is not synchronous with the audio clock of the transmitter, distortion occurs in the audio clock reproduced in the receiver, and distortion also occurs in an analog audio signal output from the DA converter in accordance with the audio clock. Note that, since the phase comparison frequency of the PLL for reproduction of an audio clock is fs/2, the distortion of the reproduced audio clock has a frequency of fs/2, and therefore, the distortion of the analog audio signal also has a frequency of fs/2. Since the frequency of fs/2 is beyond the audio-frequency range, the auditory sense does not recognize the distortion. As a result, the transmission apparatus of this embodiment can transmit high-sound quality audio data.
Although it has been assumed above that fpt=fs/2, a similar effect can be obtained as long as fpt is set to fall outside of the audio data band as described above. Note that if fpt is particularly set to be an integral multiple of fs/2, the occurrence of unwanted aliasing noise can be prevented. For example, if 20 kHz, which is the upper limit of the human audio-frequency range, is selected as fpt, the difference (8 kHz) between an integral multiple thereof and the sampling frequency fs (=48 kHz) is superimposed onto the reproduced audio clock, leading to a deterioration in sound quality. In contrast to this, if fpt is set to be an integral multiple of fs/2, the occurrence of such aliasing noise can be prevented.
Note that if fpt is shifted to a higher frequency side of the audio data band, the feedback speed of the PLL is increased during reproduction of an audio clock in the receiving apparatus, so that the lock time is reduced, i.e., audio is output faster.
The audio/video/packet separating unit 21 separates video data, audio data, and a frequency division parameter Pr, Qr from received audio/video/packet multiplexed data. Video data, which is synchronous with a pixel clock, is generally subjected to image processing for improvement of image quality in a subsequent stage before being displayed on a plasma panel or a liquid crystal panel.
The separated frequency division parameter Pr, Qr is transferred to the audio clock reproducing unit 23. The audio clock reproducing unit 23, which includes a PLL, reproduces an audio clock from the pixel clock and the frequency division parameter Pr, Qr.
The separated audio data is temporarily accumulated in the received data storing unit 22, and is output from the received data storing unit 22 in synchronization with the audio clock reproduced by the audio clock reproducing unit 23. In other words, audio data synchronous with the audio clock is output from the receiving apparatus 201. For example, the output audio data is converted into an analog audio signal by the DA converter 31.
pclk/Pr=fr/Qr=fpr
where fpr corresponds to the phase comparison frequency of the PLL. This relationship is the same as the relationship between the frequency division parameter Pt, Qt and a pixel clock and an audio clock in the transmission apparatus 101 of
Here, the value of the phase comparison frequency fpr varies depending on the characteristics of a transmission apparatus connected to the receiving apparatus 201. For example, when the transmission apparatus 101 of
Thus, the value of the phase comparison frequency fpr varies depending on the characteristics of a transmission apparatus connected to the receiving apparatus 201. Therefore, the receiving apparatus 201 of
Specifically, the switch 235 selects the output of the low-pass filter 233 having a narrow band when the phase comparison frequency fpr is low, and the output of the low-pass filter 234 having a broad band when the phase comparison frequency fpr is high. Thereby, the loop characteristics of the PLL are optimized, depending on the expected phase comparison frequency fpr. Therefore, the time (lock time) required to output an audio clock targeted by the PLL is minimized, so that the occurrence of sound interruption can be prevented.
Although it has been illustrated in
Also, the PLL may include a digital circuit. In this case, the VCO includes, for example, a counter, and outputs triangular waves or sawtooth waves. As an operation clock for such a VCO, the pixel clock pclk may be employed. If a stable clock is supplied by a crystal oscillator, a stable audio clock independent of jitter in the pixel clock pclk can be reproduced. The same is true of receiving apparatuses described below.
The band determining unit 24 may determine the band of the phase comparison frequency fpr by, for example, comparing the frequency division parameter Pr, Qr with a predetermined value. For example, since fpr=fr/Qr, when the transmission apparatus causes the phase comparison frequency fpr to be higher than the audio data band, the frequency division parameter Qr has a smaller value. Therefore, when the frequency division parameter Qr is smaller than the predetermined value, the phase comparison frequency fpr should be determined to be high.
Alternatively, the transmission apparatus may add information that can be used to determine whether the phase comparison frequency fpr is high or low, to packets that transmit the frequency division parameter Pr, Qr. The information may be determined by the band determining unit 24. Specifically, for example, a frequency division parameter packet transmitted from a conventional transmission apparatus and a frequency division parameter packet transmitted from the transmission apparatus 101 of
An Enhanced Display Data Channel (EDID) is widely known as the memory 25 for storing the information about the receiving apparatus 201A. In general, the EDID includes a rewritable memory, such as an EEPROM or the like, and stores information about version, formats of video data and audio data that can be received by the receiving apparatus, and the like. For example, the control unit 16 of the transmission apparatus 101A reads out the version information of the EDID, and controls the frequency division parameter determining unit 13 so that the frequency division parameter determining unit 13 transmits a frequency division parameter that can be received by the receiving apparatus 201A. By performing such a control, the setting of the transmission band determining unit 14 that is required in the transmission apparatus 101 of
As described above, according to this embodiment, high-sound quality audio data can be transmitted and reproduced by a digital interface.
It has also been described in this embodiment that two values Pt and Qt (Pr and Qr) are transmitted (received). Alternatively, for example, the frequency division parameter Qt may have a fixed value and may be previously shared by a transmission apparatus and a receiving apparatus, and only the frequency division parameter Pt may be transmitted, thereby obtaining a similar effect.
In the configuration of
The setting unit 17 is used to set the type of a frequency division parameter that is to be output by the frequency division parameter control unit 15A. For example, the user of the transmission apparatus 102 can operate the setting unit 17 using a menu screen or the like. For example, the user controls the setting unit so that the frequency division parameter M, N is output when the receiver is a conventional receiving apparatus, and the frequency division parameter Pt, Qt is output when the receiver is the receiving apparatus of the first embodiment. Alternatively, the setting unit 17 may be used to perform setting, depending on audio data. For example, the frequency division parameter types are switched, depending on whether audio data is a music source or a movie source.
The audio/video/packet multiplexing unit 11 converts a frequency division parameter output from the frequency division parameter control unit 15A into packets, and multiplexes the packets into blanking intervals of video data and transmits the resultant packets. In this case, frequency division parameters of different types may be transmitted as the same packets. Alternatively, for example, if the frequency division parameter 1 and the frequency division parameter 2 are transmitted as packets having different headers, the processing required by the receiver is simplified.
pclk/M=ft/N
falls within the band of audio data, and
pclk/Pt=f/Qt
falls outside of the audio data band.
According to the transmission apparatus of this embodiment, the frequency division parameter types can be switched by the setting unit 17. Therefore, for example, while the frequency division parameter M, N may be transmitted to a conventional receiving apparatus, the frequency division parameter Pt, Qt may be transmitted to the receiving apparatus of the first embodiment. In this case, as compared to the conventional art, high-sound quality audio data can be transmitted. Also, it is possible to avoid transmission of the frequency division parameter Pt, Qt to a conventional receiving apparatus, so that it is possible to avoid a situation in which sound is not produced or sound quality is deteriorated due to a mismatch between a frequency division parameter and the PLL of a receiving apparatus.
Note that either one or a plurality of types of frequency division parameters may be provided for one piece of audio data. Note that when one type of frequency division parameter is provided for one piece of audio data, the circuit scale of a transmission apparatus can be reduced.
The audio clock reproducing unit 26 has a PLL, and reproduces an audio clock from a received pixel clock and a frequency division parameter separated from the audio/video/packet separating unit 21, by operation of the PLL. The audio clock reproducing unit 26 also supports at least two types of frequency division parameters, and is configured to switch the loop characteristics of the PLL, depending on the type of the frequency division parameter.
The audio/video/packet separating unit 21 separately outputs at least two types of frequency division parameters. For example, when the frequency division parameter M, N are included in transmission data, the parameter is output as the frequency division parameter 1, and when the frequency division parameter Pr, Qr is included in transmission data, the parameter is output as the frequency division parameter 2. For example, when the frequency division parameter M, N and the frequency division parameter Pr, Qr are transmitted in different packets, the frequency division parameter types are distinguished based on the header types of the packets. When the parameter is transmitted in the same packets, the frequency division parameter types may be distinguished and output based on whether N or Qr is larger than the other.
With a configuration as shown in
According to the receiving apparatus of this embodiment, for example, when the frequency division parameter M, N is received from a conventional transmission apparatus, audio having conventional sound quality can be reproduced, and when the frequency division parameter Pr, Qr is received from transmission apparatus of this embodiment or the first embodiment, audio data having higher sound quality than that of the conventional art can be reproduced. Also, even when the frequency division parameter Pr, Qr is received from a conventional transmission apparatus or the frequency division parameter M, N is received from the transmission apparatus of this embodiment, the operations of the audio clock reproducing unit 26 are appropriately switched. Therefore, it is possible to avoid a situation in which sound is not produced or sound quality is deteriorated due to a mismatch between a frequency division parameter and the characteristics of the PLL.
As described above, the EDID (Enhanced Display Data Channel) is widely known as the memory 25 for storing the information about the receiving apparatus 202A. The control unit 16 of the transmission apparatus 102A reads out version information about the EDID, and controls the frequency division parameter control unit 15A so that the frequency division parameter control unit 15A transmits a frequency division parameter that can be received by the receiving apparatus 202A. By performing such a control, the setting by the setting unit 17 that is required in the transmission apparatus 102 of
As described above, according to this embodiment, high-sound quality audio data can be transmitted and reproduced by a digital interface.
It has also been described in this embodiment that two values Pt and Qt (Pr and Qr) are transmitted (received). Alternatively, for example, the frequency division parameter Qt may have a fixed value and may be previously shared by a transmission apparatus and a receiving apparatus, and only the frequency division parameter Pt may be transmitted, thereby obtaining a similar effect.
The receiving apparatus 203 of this embodiment receives a frequency division parameter transmitted from a conventional transmission apparatus, and regenerates a frequency division parameter, such as that which is output from the transmission apparatus of the first embodiment, from the received frequency division parameter. Specifically, the frequency division parameter regenerating unit 28 regenerates the frequency division parameter Pr, Qr so that the newly regenerated frequency division parameter Pr, Qr satisfies:
pclk/Pr=ft/Qr=fpr
and fpr (corresponding to the phase comparison frequency of the PLL of the audio clock reproducing unit 29) falls outside of a predetermined audio data band.
Various audio data bands and various determination techniques are contemplated as in the first embodiment. For example, if the band is assumed to have a fixed value, the band may be a human audio-frequency range (generally 20 Hz to 20 kHz) or a human voice-frequency range (generally 300 Hz to 4 kHz). Alternatively, the band may be a narrower range, e.g., 300 Hz to 1.5 kHz. Alternatively, the band may be a range of, e.g., 300 Hz to 3 kHz. In other words, a predetermined band including at least the range of 300 Hz to 3 kHz that tends to be recognized as noise by a human, is preferably defined as the audio data band. These values may be preset by a manufacturer.
Also, if the band is assumed to be variable, the band may be able to be set by, for example, the user who operates the receiving apparatus 203. Specifically, since the audio-frequency range varies from human to human, the user may be able to set a band within which the user recognizes a minimum level of noise while hearing audio reproduced by the receiving apparatus. Alternatively, the frequency division parameter regenerating unit 28 may previously scan received audio data, and determine the audio data band based on a maximum frequency and a minimum frequency included in the audio data.
For example, if the audio data band is set to be the human audio-frequency range, the frequency division parameter regenerating unit 28 regenerates the frequency division parameter Pr, Qr so that fpr=20 Hz or 20 kHz, or fpr=10 Hz or 40 kHz, which falls outside of the audio-frequency range. Alternatively, fpr may be determined based on a sampling frequency fs of the audio data. For example, the value of fpr may be ½ of the sampling frequency fs, or more generally, V/U of the sampling frequency fs (U and V are integers).
An exemplary operation of the frequency division parameter regenerating unit 28 will be described in detail. It is here assumed that the receiving apparatus 203 receives a frequency division parameter Mr, Nr that is transmitted from a conventional transmission apparatus. Also, when the frequency of a pixel clock is represented by pclk, and the frequency ft of an audio clock is assumed to be:
ft=128×fs (fs: the sampling frequency of audio data),
the following relationship is obtained:
pclk/Mr=128×fs/Nr=ftr
where ftr normally falls within the audio data band.
The frequency division parameter regenerating unit 28 regenerates a new frequency division parameter Pr, Qr from the received frequency division parameter Mr, Nr.
Here,
pclk/Pr=128×fs/Qr=fpr
where fpr corresponds to the phase synchronization frequency of the PLL of the audio clock reproducing unit 29.
Firstly, a case where fpr is converted into a frequency that is higher than the upper limit of the audio data band, will be described. It is here assumed that fpr=fs/2.
In order to obtain fpr=fs/2, Qr should be equal to be 256. Therefore, an N-regenerating unit 281 replaces Nr with Qr=256. Next, since
(pclk/Mr)×(Nr/Qr)=(128×fs/Nr)×(Nr/Qr),
the following expression should be established:
Pr=(Mr×Qr)/Nr.
Therefore, since Qr=256, an M-regenerating unit 282 outputs:
Pr=256×Mr/Nr.
It is here assumed that the frequency division parameter regenerating unit 28 is configured to output an integer value as Pr, where an average value of the outputs is equal to the value of Pr that is obtained by calculation.
In this case, when the original frequency division parameter Mr, Nr has a combination of values that causes Pr (=256×Mr/Nr) to have an integer value (e.g., 100, etc.), Pr output from the frequency division parameter regenerating unit 28 has the same value (MA1=MA2=MAn) during a period when Mr has a constant value. In other words, in this case, as a result, the variation of Pr has the same period (frequency ftr) as the period of variation of the original Mr.
The same is true of when Pr has a value close to an integer (e.g., 100.0625, 99.984375, etc.), i.e., in this case, Pr has a period of variation close to the variation period of the original Mr. For example, when Pr=100.0625=100+1/16, the frequency division parameter regenerating unit 28 outputs “100” fifteen times and “101” once in sixteen times of Pr output. Thus, Pr is output so that the average value of the outputs is “(100×15+101×1)/16=100.0625”. In this case, when Mr has a constant value, substantially the same value “100” is output, so that the variation of Pr has a period close to that of the variation of the original Mr.
Thus, when the variation frequency fpr of Pr is eventually close to the variation frequency ftr of the original Mr, a higher-sound quality analog audio signal can be obtained. Therefore, an exemplary method for reliably converting the variation frequency fpr of Pr into a value that falls outside of the audio data band even when Pr has an integer value or a value close to an integer value, will be described with reference to
Specifically, as shown in
The process described above can be considered as superimposition of a “noise sequence whose average value is zero” (e.g., represented by {−1, +1, −1, +1, . . . }) on the average output value of Pr. Note that the amplitude of noise is not necessarily limited to “±1”, and any amplitude may be employed.
Also, when the fractional part of Pr is close to 0.5 (e.g., Pr=76.5), a “noise sequence whose average value is zero” does not necessarily need to be superimposed. The output sequence of Pr may be a repetition of {76, 77} (e.g., {76, 77, 76, 77, . . . }) (this is only an example, and a repetition of {77, 76} is possible). Even if the output sequence of Pr includes consecutive sequences of “76” and “77” (e.g., {76, 76, . . . , 76, 77, 77, 77, . . . , 77}), the same average value, i.e., 76.5, is obtained. However, in order to obtain as high a variation frequency Pr as possible, it is preferable to output a sequence of output values having as many variations as possible. As the fractional part of Pr is closer to 0.5, a “sequence of output values having more variations” can be created. In other words, as the fractional part of Pr is farther away from 0.5 (closer to an integer value), it is more preferable to superimpose a “noise sequence whose average value is zero” so as to output a “sequence of output values having more variations”.
Next, a case where fpr is converted into a frequency that is lower than the lower limit of the audio data band will be described. It is here assumed that fpr=20 Hz. Note that if it is assumed that Qr=128×fs/20, Pr and Qr can be regenerated in a manner similar to that which has been described above. However, here, for the sake of simplicity, assuming that Qr=Nr, a case where conversion to substantially fpr=20 Hz is performed will be described.
The frequency division parameter regenerating unit 28 outputs, as Qr, the same value as Nr. An M-regeneration unit 283 generates a new Pr using n Mr values that vary at the frequency ftr.
As shown in
If it is here assumed that ftr=1 kHz and n=50, Pr (MA, MB, MC, . . . ) has a variation period of 1 kHz/50=20 Hz. Thus, even if it is assumed that Qr=Nr, Pr having a variation period of substantially 20 Hz can be regenerated.
However, in this state, until MA is first output, Pr is not output, so that audio cannot be reproduced. To avoid this problem, a switch 284 and a control unit 285 are provided so that original Mr (i.e., MA1, MA2, MA3, . . . , MAn) is output as Pr until MA is output. With this configuration, reproduction of audio can be continuously performed from the beginning.
Also, in the case of the above-described method, for example, when the sampling frequency fs is switched partway through reproduction, the output of Pr cannot be quickly switched, so that an audio clock becomes extraordinary (i.e., the frequency of the audio clock suddenly varies to an abnormal degree, so it generates some noise, such crackling, clapping or popping sounds) for a moment (about 50 ms in the case of conversion to fpr=20 Hz).
To avoid this problem, a means for detecting large changes (i.e., a change whose absolute value exceeds a predetermined threshold value), for example, ±10, ±20, ±100 or ±200 in values of Nr and Mr is provided. When such a change is detected, the process of the M-regeneration unit 283 is stopped and is initialized, and thereafter, the Pr regeneration process is started over. Note that when the Pr regeneration process is started over, it takes a time to newly obtain Pr, and therefore, the control unit 285 outputs the original Mr directly as Pr for that time.
By such a process, even when the sampling frequency fs is switched partway through reproduction, the output of Pr can be caused to correctly follow the sampling frequency fs, so that it is possible to avoid the problem that an audio clock becomes extraordinary for a moment, so that audio output becomes extraordinary.
Thus, by providing the frequency division parameter regenerating unit 28 in the receiving apparatus 203 to regenerate a frequency division parameter, the variation frequency (the phase synchronization frequency of the PLL in the audio clock reproducing unit) fpr of the frequency division parameter can be converted into a frequency higher than the audio data band or a frequency lower than the audio data band. Therefore, even when a frequency division parameter similar to that of the conventional art is transmitted, high-sound quality audio data can be reproduced as in the first embodiment.
Although both the case where fpr is converted into a frequency higher than the audio data band and the case where fpr is converted into a frequency lower than the audio data band have been described above, high-sound quality audio data can be reproduced if either of the cases may be possible. Alternatively, a receiving apparatus may be configured to be able to perform both of the conversions, and the user may be able to select either of them using a menu screen, for example, or they may be automatically switched, depending on audio data. When they are automatically switched, they may be switched between, for example, music sources and movie sources.
Also, as shown in
In the first to third embodiments described above, the variation frequency of a frequency division parameter, i.e., the phase comparison frequency of the PLL of the audio clock reproducing unit in a receiving apparatus, is caused to fall out of the band of audio data, thereby reproducing a high-sound quality analog audio signal. In contrast to this, in a fourth embodiment of the present disclosure, by averaging a varying frequency division parameter, the variation of the frequency of an audio clock is suppressed, thereby reproducing a high-sound quality analog audio signal.
The frequency division parameter determining unit 41 determines and outputs a frequency division parameter Mt, Nt as in conventional transmission apparatuses The frequency division parameter averaging unit 42 averages the frequency division parameter Mt, Nt output from the frequency division parameter determining unit 41, and outputs an averaged frequency division parameter M′t, N′t. Note that only one of the frequency division parameters Mt and Nt may be averaged.
Various periods are considered for which the frequency division parameter averaging unit 42 performs averaging. For example, averaging may continue to be performed during a period for which the frequencies of a pixel clock and an audio clock do not vary, and when a change in the frequency of a pixel clock or an audio clock is detected, the previous average value may be abandoned, and an average value may be calculated after the frequency change. Alternatively, averaging may be performed every predetermined period, for example, 0.2 second (5 Hz), 1 second (1 Hz) or several seconds.
In this embodiment, it is assumed that n most recent values (n is an integer of 2 or more) are averaged.
In
Thus, by averaging the frequency division parameter, the frequency variation of a reproduced audio clock is reduced as shown in
Note that when the averaged frequency division parameter is transmitted from the transmission apparatus to the receiving apparatus, a difference in frequency occurs between an audio clock in the transmission apparatus and an audio clock reproduced in the receiving apparatus because in the receiving apparatus the audio clock is reproduced based on the averaged frequency division parameter. Therefore, audio data transmission in the transmission apparatus and audio data reproduction in the receiving apparatus mismatch in terms of their rates as viewed in a small time interval. Therefore, overflow or underflow may occur in an audio data buffer memory in the receiving apparatus, resulting in a deterioration in audio quality, such as sound interruption, abnormal sound or the like.
Therefore, as shown in
Note that the transmission data storing unit 12 may temporarily store audio data synchronous with an audio clock inputted from outside and the audio data may be transmitted at the timing synchronous with the new audio clock generated by the audio clock regenerating unit 46. That is, the audio data to be written into or to be read out of the transmission data storing unit 12 may be synchronized with the new audio clock generated by the audio clock regenerating unit 46. Note that in each case the audio clock regenerating unit 46 can be implemented by a configuration as shown, for example, in
Also, a received frequency division parameter may be averaged in a receiving apparatus.
The frequency division parameter averaging unit 43 averages a frequency division parameter Mt, Nt separated by the audio/video/packet separating unit 21, and outputs the resultant averaged frequency division parameter M′t, N′t. The configuration and operation of the frequency division parameter averaging unit 43 are similar to those of the frequency division parameter averaging unit 42 described above, and may be configured as shown in
The audio clock reproducing unit 44 may have a configuration basically similar to that of the conventional art. When the averaged frequency division parameter M′t, N′t has a higher resolution of numerical representation than that of the original integer values Mt and Nt, the configuration of the audio clock reproducing unit 44 needs to be modified. Note that this modification is also required when a frequency division parameter is averaged in a transmission apparatus.
The configuration of
In the configuration of
As described above, according to this embodiment, a varying frequency division parameter is averaged, so that the variation of the frequency of an audio clock can be suppressed, thereby making it possible to reproduce a high-sound quality analog audio signal.
Note that the components of the various embodiments above may be used in any combination within the scope and spirit of the present disclosure.
As described above, according to the present disclosure, high-sound quality audio data can be transmitted via a digital interface, such as the HDMI or the like, and therefore, is effective to, for example, an improvement in quality of audio data when digital home appliances are connected to a network.
Number | Date | Country | Kind |
---|---|---|---|
2008-103444 | Apr 2008 | JP | national |