Digital signal reproducing apparatus having sampling rate converter

Abstract: In a digital signal recording apparatus, when a sampling frequency of a digital signal inputted thereto does not correspond to a predetermined sampling frequency set for the digital signal recording apparatus, the sampling frequency of the input digital signal is converted into a signal of the predetermined sampling frequency by a sampling frequency converter (3), and then is recorded in a recording medium (8).

Description: This invention relates to a digital signal recording apparatus for recording digital signals in a recording medium. Currently, apparatuses for processing digital signals adapted for civilian use, are a digital audio tape recorder (DAT), a compact disc player (CD player), and a tuner for satellite broadcasting. In the digital signal processing apparatus, a variety of formats for signal processing in order to convert analog signals into digital signals. In general, when an analog signal is encoded and converted into a digital signal, processing such as sampling and quantization for converting an amplitude value of the signal into a discrete value is carried out. In implementing sampling, pulses generated at a constant rate are used, this rate being called the sampling frequency. With various sampling frequencies used in the sampling or various numbers of quantization bits used in the quantization, different contents and volumes of data of the digital signal converted from the analog signal are produced. For example, a digital audio tape recorder, that is, the so-called R-DAT, for recording signals in oblique recording tracks on a magnetic tape using a helical write/read head is provided with a signal processing format for converting an analog signal into a digital signal. The signal processing format at the time of recording signals in the R-DAT has five modes in total for audio PCM data: a mode called 48k mode wherein the number of channels is 2, the sampling frequency is 48 kHz, and the number of linear quantization bits is 16; a mode called 44k mode wherein the number of channels is 2, the sampling frequency is 44.1 kHz, and the number of linear quantization bits is 16; a mode called 32k mode wherein the number of channels is 2, the sampling frequency is 32 kHz, and the number of linear quantization bits is 16; a mode called 32k-4CH mode wherein the number of channels is 4, the sampling frequency is 32 kHz, and the number of non-linear quantization bits is 12; and a mode called 32k-LP mode wherein the number of channels is 2, the sampling frequency is 32 kHz, and the number of non-linear quantization bits is 12. The variety of formats used at the time of recording digital signals as described above may be classified into two groups, that is, a standard mode (SP mode) and a time-play mode (LP mode). In the SP mode group, plural kinds of sampling frequencies are used, and quantization is carried out with the number of quantization bits being 16 or 12. On the contrary, in the LP mode group, the sampling frequency of 32 kHz is used, and the number of quantization bits is set to 12. Among the above-mentioned variety of formats, only the 32k-LP mode is the LP mode, and all the other modes belong to the group of SP mode. Since the data volume of the LP mode is about half of the data volume of the SP mode, the recordable time of the recording medium of the LP mode is approximately twice as long as that of the SP mode. There is a format of interface for inputting and outputting digital signals of a digital audio signal recording and reproduction apparatus for civilian use. This format of digital interface is so constituted as shown in Fig.1 of the accompanying drawings, in consideration of the connection to all devices for inputting and outputting the digital signals as well as the connection between DATs. In this format, an L channel (stereo left channel) and an R channel (stereo right channel), both called sub-frames, are combined to constitute one frame. The signals of the L channel and R channel are time-division multiplexed in a manner of L, R, L, R, ..., and 192 frames constituting one block are transmitted. Meanwhile, a preamble indicated by B in Fig.1 is set when it is both the beginning of the block and the beginning of Channel L. A preamble indicated by M is set when it is not the beginning of the block but is the beginning of Channel L. A preamble indicated by W is set when it is the beginning of any channel other than Channel L. One sub-frame is constituted by 32 bits, as shown in Fig.2, normally 20 bits of which and the maximum of 24 bits of which are transmitted from the LSB, as audio data. The remaining 4 bits are allocated into bits V, U, C, P as synchronization signals. The C bit among the synchronization signals is called a channel status bit, which defines property of data. Meanwhile, 4 bits following the synchronization preamble of 4 bits are auxiliary bits. The channel status bit, which is the C bit, is transmitted for each channel with 192 frames being as a unit, as shown in Fig.3. The channel status bit includes important information, such as, a category code for expressing inhibition of copy and types of transmission equipment, channel number, and sampling frequency. The above-mentioned format of digital audio interface is described in detail in a Japanese periodical, "NIKKEI ELECTRONICS," June 1, 1987, pp.109-118. However, with the digital signal recording apparatus, it is inconvenient that the sampling frequency of an inputted digital signal does not correspond to the sampling frequency of a digital signal set for the digital signal recording apparatus. For example, when a digital signal of the SP mode is recorded in the R-DAT set to be of the LP mode, the mode of the recording apparatus is changed over to the SP mode, or the recording is suspended. In addition, if, in satellite broadcasting, a digital signal using a sampling frequency of 32 kHz which is transmitted at the beginning of a program is changed over to a digital signal using a sampling frequency of 48 kHz in the middle of the program, it may be impossible to record the entire program. Further, when the recording in the LP mode is carried out with mandatory changeover of the mode to the SP mode, a signal for only half of the planned length of time can be recorded, because of the data volume of the SP mode being twice as large as that of the LP mode. Accordingly, it is an object of the present invention to provide a digital signal recording apparatus for detecting the sampling frequency of a digital signal inputted thereto, for example, the sampling frequency set within the sub-frame, and converting the sampling frequency of the digital signal, if not the predetermined sampling frequency, into the predetermined sampling frequency for recording. In accordance with the present invention, there is provided a digital signal recording apparatus for recording digital signals, comprising: input means for inputting an input digital signal; frequency detection means for detecting a sampling frequency of said input digital signal; frequency conversion means for converting the input digital signal into a digital signal of a predetermined sampling frequency; changeover means for carrying out changeover between the input digital signal and an output signal from the frequency conversion means, for outputting an output signal; and a recording section for recording an output signal from the changeover means onto a recording medium at said predetermined sampling frequency, the changeover means being operative to select and transmit the output signal from the frequency conversion means to the recording section when the sampling frequency detected by the frequency detection means is not the predetermined sampling frequency; characterised in that said frequency detection means is adapted to determine the sampling frequency of said input digital signal based upon sampling frequency data contained in channel status bits of said input digital signal; and said predetermined sampling frequency is selectable among a plurality of sampling frequencies at which said recording section can record signals. The invention will be further described by way of non-limitative example with reference to the accompanying drawings, in which:- Fig. 1 shows a frame format of the digital audio interface. Fig. 2 shows a sub-frame format of the digital audio interface. Fig. 3 shows information expressed by a channel status bit of the digital audio interface. Fig. 4 is a block diagram of a digital signal recording apparatus according to the present invention. A preferred embodiment of the present invention will now be explained with reference to the accompanying drawings. Fig. 4 is a block diagram showing a schematic arrangement of a digital signal recording apparatus. In the apparatus of this embodiment shown in Fig. 4, a sampling frequency converter and a digital signal changeover switch are added to a normal digital signal recording apparatus. In Fig. 4, a digital signal of a certain sampling frequency inputted via a digital signal input terminal 1 is decoded by a digital signal receiving decoder 2 on the basis of the interface format shown in Fig. 2. The sampling frequency of the input digital signal is detected by decoding information of a channel status bit within a sub-code of the digital interface, or by directly detecting the sampling rate of the input digital signal. When the sampling frequency detected by the digital signal receiving decoder 2 is a predetermined sampling frequency, the changeover switch 4 is turned to a terminal 4a. On the other hand, when the detected sampling frequency is not the predetermined sampling frequency, the changeover switch 4 is turned to a terminal 4b. The sampling frequency converter 3 converts the sampling frequency of the input digital signal into the predetermined sampling frequency. The method of converting the frequency by the sampling frequency converter 3 is exemplified by a method wherein an input digital signal is converted into an analog signal and then is converted again into a digital signal with a predetermined sampling frequency, or a method wherein an input digital signal is oversampled or interpolated through a digital filter. If the method of digitally converting the frequency through the digital filter is employed, deterioration of sound quality is less than in the case of carrying out analog/digital (A/D) conversion, of an analog signal, with a predetermined sampling frequency. The technique of converting the sampling rate by means of digital signal processing is described in, for example, US Patent 5,159,339 and US Patent 5,068,716 , both assigned to Sony Corporation. When the sampling frequency of the output signal from the digital signal receiving decoder 2 is the predetermined sampling frequency, the output signal is supplied to a signal processing circuit 5 via a terminal 4a. When the sampling frequency of the output signal from the digital signal receiving decoder 2 is a frequency other than the predetermined sampling frequency, the output signal is inputted to the signal processing circuit 5 via the sampling frequency converter 3 and the terminal 4b. The digital signal is converted into a recording signal by the signal processing circuit 5 on the basis of the format of the input digital signal, and the recording signal thus produced is recorded via a recording amplifier 6 and a recording head 7 into a magnetic tape 8. The above-described digital signal recording apparatus is exemplified by an R-DAT for recording digital signals slantingly on a magnetic tape by using a rotation magnetic head. The R-DAT is explained hereinafter. The signal processing format for the R-DAT at the time of recording is provided with modes of various sampling frequencies. These modes are classified into two groups, that is, an SP mode, which is a standard mode, and an LP mode, wherein the data volume is half of that in the SP mode. The predetermined sampling frequency of 32 kHz in the LP mode is set for the R-DAT, for example. If the sampling frequency set for the R-DAT is 32 kHz as mentioned above, the sampling frequency converter 3 converts any sampling frequency other than 32 kHz into the sampling frequency of 32 kHz at all times for outputting. The sampling frequency of a digital signal inputted via the digital signal input terminal of the R-DAT is detected. If the sampling frequency of the input digital signal is, for example, 44.1 kHz and does not coincide with the sampling frequency 32 kHz set for the R-DAT, the changeover switch 4 is turned to the terminal 4b so as to select an output from the sampling frequency converter 3. On the other hand, if the sampling frequency of the input digital signal is 32 kHz, the changeover switch 4 is turned to the terminal 4a. Accordingly, an output signal from the changeover switch 4 has the sampling frequency of 32 kHz at all time, and is transmitted to the signal processing circuit 5. The signal inputted in the signal processing circuit 5 is provided with sub- data, and then is processed by predetermined modulation to be a recording signal. The recording signal thus produced is transmitted to the recording amplifier, wherein the recording level of the signal is adjusted, and then is recorded in a magnetic tape via a magnetic head. As described in the above example, it is possible to record the input digital signal even when the sampling frequency of the input digital signal is different from the predetermined sampling frequency. In addition, since the data volume of the LP mode is half the data volume of the SP mode, recording for twice as long as the standard tape recording time becomes possible. In the above-described embodiment, the present invention is applied to the digital signal recording apparatus characterized in magnetic recording using a magnetic recording medium. However, the present invention is not limited thereto, but can be applied to any digital signal recording apparatus using an audio signal or a video signal as the input digital signal. Meanwhile, the recording medium, not shown, can be an optical recording medium as well as the magnetic recording medium. The optical recording medium can be a magneto-optical recording medium, a phase-change optical recording medium, an organic optical recording medium, or a PHB optical recording medium. The recording medium can be in the form of a tape, a disc or a card. In a recording method using the magneto-optical disc, the magneto-optical recording medium, to which an external magnetic field is applied in a direction of recording, is then heated by irradiation with a laser light, so as to diminish coercive force and reverse magnetization into the direction of the external magnetic field, thus recording information by means of the direction of the magnetic domain. In a recording method using the phase-change optical recording medium, a reversible change between two states, such as a change between amorphous and crystal or an intercrystalline change, utilizing a change in the atomic arrangement, is repeated, thereby carrying out recording and deletion. As is clear from the above description, in the digital signal recording apparatus according to the present invention, there is provided the frequency detection means for detecting the sampling frequency of the input digital signal, the sampling frequency conversion means for converting the input digital signal into a digital signal of a predetermined sampling frequency, the changeover means for selecting and changing over, for outputting, the input digital signal and an output signal from the sampling frequency means, and the recording section for recording an output signal from the changeover means in a recording medium, the changeover means selecting and transmitting the output signal from the frequency means to the recording section when the sampling frequency detected by the sampling frequency detection means is not the predetermined sampling frequency. Therefore, the digital signal can be recorded with the predetermined sampling frequency even when the sampling frequency of the digital signal inputted to the digital signal recording apparatus is not known. In addition, since it suffices to set the predetermined sampling signal for the digital signal recording apparatus, the digital signal recording apparatus allows easy handling. Furthermore, even when, during reception of a digital signal of a certain sampling frequency, a digital signal of another sampling frequency is continuously received, the reception and recording can be carried out continuously without resetting the sampling frequency for the digital signal recording apparatus.

Claims: A digital signal recording apparatus for recording digital signals (1), comprising: input means (1) for inputting an input digital signal; frequency detection means (2) for detecting a sampling frequency of said input digital signal (1); frequency conversion means (3) for converting the input digital signal into a digital signal of a predetermined sampling frequency; changeover means (4) for carrying out changeover between the input digital signal and an output signal from the frequency conversion means, for outputting an output signal; and a recording section (5,6,7) for recording an output signal from the changeover means onto a recording medium (8) at said predetermined sampling frequency, the changeover means (4) being operative to select and transmit the output signal from the frequency conversion means (3) to the recording section (5,6,7) when the sampling frequency detected by the frequency detection means is not the predetermined sampling frequency; characterised in that said frequency detection means (2) is adapted to determine the sampling frequency of said input digital signal based upon sampling frequency data contained in channel status bits of said input digital signal; and said predetermined sampling frequency is selectable among a plurality of sampling frequencies at which said recording section (5, 6, 7) can record signals. The digital signal recording apparatus as claimed in claim 1 wherein the recording section (5,6,7) carries out magnetic recording using a magnetic recording medium (8) as the recording medium. The digital signal recording apparatus as claimed in claim 1 wherein the recording section uses an optical recording medium as the recording medium. The digital signal recording apparatus as claimed in claim 1, 2 or 3 wherein the input digital signal (1) inputted to the frequency detection means is an audio signal. The digital signal recording apparatus as claimed in any one of claims 1 to 4 wherein the input digital signal (1) inputted to the frequency detection means is a video signal.

Inventors: SEKII YASUAKI, SEKII, YASUAKI, Sekii, Yasuaki, c/o Sony Corporation
Applicants: SONY CORP, SONY CORPORATION
Application year: 1993
Main classification: G11B31
IPC codes: G11B20, G11B27, H03M7