The present invention relates to a stereo/monaural switching circuit and an integrated circuit, such as a sound generator integrated circuit, which has the stereo/monaural switching circuit and can be mounted in both an apparatus for stereophonic reproduction and an apparatus for monaural reproduction.
In the case of manufacturing an audio apparatus such as a mobile phone, in order to reduce the manufacturing cost, a sound generator LSI (large scale integrated circuit), which can correspond to both of stereophonic reproduction and monaural reproduction, is manufactured and then the sound generator LSI is used to manufacture both an apparatus for stereophonic reproduction and an apparatus for monaural reproduction.
Each of the loudspeaker amplifiers 11 and 12 and the preamplifiers 41 and 42 for driving the loudspeaker amplifiers 11 and 12 has an active state in which an input signal is amplified and is then output, and a power-down state in which an amplifying operation is not performed and power consumption is extremely low. Each of the loudspeaker amplifier 11 and the preamplifier 41 located at a stage prior to the loudspeaker amplifier 11 is in the active state when a power down control signal PDL, which is supplied from a host CPU (not shown) located outside the sound generator LSI, has a value of ‘0’ and is in the power-down state when the power down control signal PDL has a value of ‘1’. In the same manner, each of the loudspeaker amplifier 12 and the preamplifier 42 located at a stage prior to the loudspeaker amplifier 12 is in an active state when the power down control signal PDR supplied from the host CPU has a value of ‘0’ and is in a power-down state when the power down control signal PDR has a value of ‘1’.
An adder 50 is a circuit that mixes an L-channel sound signal SL and an R-channel sound signal SR with each other, which are supplied from a sound generating unit (not shown) within the sound generator LSI, and then outputs the mixed signal. An analog switch 61 selects an output signal of the adder 50 when a monaural/stereo control signal M/S supplied from the host CPU is ‘1’, and then supplies the output signal of the adder 50 to the preamplifier 41. On the other hand, the analog switch 61 selects the L-channel sound signal SL when the monaural/stereo control signal M/S has a value of ‘0’, and then supplies the L-channel sound signal SL to the preamplifier 41.
Hereinbefore, the configuration of the output unit of the sound generator LSI has been described.
The sound generator LSI may be mounted in both an apparatus for stereophonic reproduction, which is provided with loudspeakers corresponding to two channels of L and R, and an apparatus for monaural reproduction, which is provided with one loudspeaker. In the case in which the sound generator LSI is mounted in the former apparatus for stereophonic reproduction, the loudspeaker terminals 31 and 32 of the sound generator LSI are connected to the L-channel loudspeaker and the R-channel loudspeaker, respectively, and both of the power terminals 21 and 22 are connected to a power supply. Moreover, in the apparatus for stereophonic reproduction, the host CPU provides the monaural/stereo control signal M/S having a signal value of ‘0’ to the sound generator LSI. Then, in the sound generator LSI, the L-channel sound signal output from the sound generating unit is amplified by the preamplifier 41 and the loudspeaker amplifier 11 and the R-channel sound signal is amplified by the preamplifier 42 and the loudspeaker amplifier 12, and thus stereophonic reproduction sounds are output from the loudspeakers corresponding to two channels of L and R. In addition, when sound reproduction is not performed because, for example, there is no sound signal to be reproduced, power down control signals PDL and PDR each having a signal value of ‘1’ are output from the host CPU. As a result, each of the loudspeaker amplifiers 11 and 12 and the preamplifiers 41 and 42 becomes in the power-down state, which allows power consumption of the power supply to be saved.
On the other hand, in the case in which the sound generator LSI is mounted in the apparatus for monaural reproduction, the loudspeaker terminal 31 of the sound generator LSI is connected to a loudspeaker. Moreover, in the apparatus for monaural reproduction, the host CPU provides the monaural/stereo control signal M/S having a signal value of ‘1’ to the sound generator LSI. Then, in the sound generator LSI, a signal, which is obtained by mixing the L-channel sound signal and the R-channel sound signal with each other, output from the adder 50 is amplified by the preamplifier 41 and the loudspeaker amplifier 11, and thus monaural reproduction sounds are output from the loudspeaker connected to the loudspeaker terminal 31. The host CPU causes the power down control signal PDR to have a value of ‘1’ all the time, in order to save the power consumption by causing the loudspeaker amplifier 12 and the preamplifier 42, which are not used, to be in a power-down state. In addition, when the sound reproduction is not performed, the host CPU causes the power down control signal PDL to have a value of ‘1’ so as to cause the loudspeaker amplifier 11 and the preamplifier 41 to be in a power-down state, thereby saving the power consumption.
As described above, when a known sound generator LSI is mounted in the apparatus for stereophonic reproduction, the known sound generator LSI outputs sound signals, which are generated by the sound generating unit, as stereophonic reproduction sounds, and when the known sound generator LSI is mounted in the apparatus for monaural reproduction, the known sound generator LSI outputs sound signals generated by the sound generating unit as monaural reproduction sounds. In addition, when the known sound generator LSI is mounted in the apparatus for monaural reproduction, the known sound generator LSI causes a loudspeaker amplifier and a preamplifier, which are not used, to be in a power-down state, thereby saving the power consumption. However, a host CPU in the apparatus for stereophonic reproduction supplies the monaural/stereo control signal M/S having a signal value of ‘0’ to the sound generator LSI, while a host CPU in the apparatus for monaural reproduction supplies the monaural/stereo control signal M/S having a signal value of ‘1’ to the sound generator LSI. Further, the host CPU in the apparatus for stereophonic reproduction is to perform ‘0’/‘1’ switching operation with respect to the power down control signals PDL and PDR in correspondence with whether or not to reproduce a sound, while the host CPU in the apparatus for monaural reproduction is to cause the power down control signal PDR to have a value of ‘1’ all the time and is to perform ‘0’/‘1’ switching operation with respect to only the power down control signal PDL in correspondence with whether or not to reproduce a sound. In the known technique described above, since control operations of the host CPU with respect to the sound generator LSI are different between the apparatus for stereophonic reproduction and the apparatus for monaural reproduction, there has been a problem in that a control program stored in a program memory of the host CPU needs to be changed depending on which apparatus the sound generator LSI is mounted.
The invention has been made in view of the drawbacks inherent in the related art, and it is desirable to provide a stereo/monaural switching circuit, which is capable of automatically performing a switching operation between an apparatus for stereophonic reproduction and an apparatus for monaural reproduction, and an integrated circuit having the stereo/monaural switching circuit.
According to an aspect of the invention, there is provided a stereo/monaural switching circuit including: a determination unit that determines whether or not power is being supplied to at least a second loudspeaker amplifier of a first loudspeaker amplifier and the second loudspeaker amplifier that cause loudspeakers to be driven; a switching unit that performs a switching operation with respect to a transmission path of a sound signal such that, if the determination unit determines that power is being supplied to the second loudspeaker amplifier, the first-channel sound signal and the second-channel sound signal are respectively supplied to the first loudspeaker amplifier and the second loudspeaker amplifier, and if the determination unit determines that power is not being supplied to the second loudspeaker amplifier, an output signal of the mixing unit is supplied to the first loudspeaker amplifier; and a power down control unit that, if the determination unit determines that power is not being supplied to the second loudspeaker amplifier, forces the second loudspeaker amplifier and a circuit for driving the second loudspeaker amplifier to be in a power-down state.
Further, according to another aspect of the invention, there is provided a stereo/monaural switching circuit including: a determination unit that determines whether or not power is being supplied to each of a first loudspeaker amplifier and a second loudspeaker amplifier that cause loudspeakers to be driven; a mixing unit that mixes a first-channel sound signal and a second-channel sound signal with each other and then outputs a mixed signal; a switching unit that performs a switching operation with respect to a transmission path of a sound signal such that, if the determination unit determines that power is being supplied to both the first loudspeaker amplifier and the second loudspeaker amplifier, the first-channel sound signal and the second-channel sound signal are respectively supplied to the first loudspeaker amplifier and the second loudspeaker amplifier, and if the determination unit determines that power is being supplied to only one of the first loudspeaker amplifier and the second loudspeaker amplifier, an output signal of the mixing unit is supplied to the only one loudspeaker amplifier to which power is being supplied; and a power down control unit that, if the determination unit determines that power is not being supplied to the first loudspeaker amplifier or the second loudspeaker amplifier, forces the corresponding loudspeaker amplifier to which power is not being supplied and a circuit for driving the corresponding loudspeaker amplifier to be in a power-down state.
According to the stereo/monaural switching circuit described above, on the basis of a result of a determination on whether or not power is being supplied to a loudspeaker amplifier, it is determined whether stereophonic reproduction is to be performed or monaural reproduction is to be performed, a transmission path of a sound signal corresponding to the stereophonic reproduction or a transmission path of a sound signal corresponding to the monaural reproduction is formed, and a loudspeaker amplifier and a circuit for driving the loudspeaker amplifier, which are not used in the case of the monaural reproduction, are controlled to be forced to be in a power-down state.
Accordingly, if the stereo/monaural switching circuit is mounted in an integrated circuit, such as a sound generator integrated circuit, it is not necessary to change a control operation on the integrated circuit depending on whether the stereophonic reproduction is to be performed or the monaural reproduction is to be performed by the integrated circuit.
Hereinafter, embodiments of the invention will be described with reference to the accompanying drawings.
In the present embodiment, the stereo/monaural switching circuit is configured to include an adder 50, determination unit 101 and 102, a switching unit 200, and a power down control unit 300.
The determination unit 101 is a circuit that outputs a signal having a signal value of ‘1’ while power is being supplied to a loudspeaker amplifier 11 through a power terminal 21 and outputs a signal having a signal value of ‘0’ while power is not being supplied. In addition, the determination unit 102 is a circuit that outputs a signal having a signal value of ‘1’ while power is being supplied to a loudspeaker amplifier 12 through a power terminal 22 and outputs a signal having a signal value of ‘0’ while power is not being supplied.
The switching unit 200 includes an analog switch 61 and an AND gate 201. Here, the AND gate 201 has a high active input terminal and a low active input terminal, and an output signal of the determination unit 101 is supplied to the high active input terminal and an output signal of the determination unit 102 is supplied to the low active input terminal.
The analog switch 61 selects an L-channel sound signal when the output signal of the AND gate 201 has a value of ‘0’ and then supplies the selected L-channel sound signal to a preamplifier 41. On the other hand, the analog switch 61 selects an output signal of the adder 50 when the output signal of the AND gate 201 is ‘1’ and then supplies the selected output signal to the preamplifier 41.
The power down control unit 300 includes OR gates 301 and 302 each having a high active input terminal and a low active input terminal. Here, a power down control signal PDL is supplied from a host CPU (not shown), which is located outside the sound generator LSI, to the high active input terminal of the OR gate 301, and the output signal of the determination unit 101 is supplied to the low active input terminal of the OR gate 301. An output signal of the OR gate 301 is supplied, as a power down control signal, to the preamplifier 41 and the loudspeaker amplifier 11. A power down control signal PDR is supplied from the host CPU to the high active input terminal of the OR gate 302, and the output signal of the determination unit 102 is supplied to the low active input terminal of the OR gate 302. An output signal of the OR gate 302 is supplied, as a power down control signal, to the preamplifier 42 and the loudspeaker amplifier 12.
Hereinbefore, the configuration of the present embodiment has been described.
Next, an operation of the present embodiment will be described. In the case when the sound generator LSI is mounted in an apparatus for stereophonic reproduction, both power terminals 21 and 22 are connected to a power supply, so that power is supplied to both the loudspeaker amplifiers 11 and 12. Accordingly, an output signal of each of the determination units 101 and 102 has a value of ‘1’, and an output signal of the AND gate 201 has a value of ‘0’.
As a result, an L-channel sound signal SL is selected by the analog switch 61. The L-channel sound signal selected by the analog switch 61 is amplified by the preamplifier 41 and the loudspeaker amplifier 11 and is then output from a loudspeaker terminal 31. On the other hand, an R-channel sound signal is amplified by the preamplifier 42 and the loudspeaker amplifier 12 and is then output from a loudspeaker terminal 32. Thus, stereophonic reproduction sounds are output from loudspeakers, which correspond to two channels of L and R, connected to the loudspeaker terminals 31 and 32.
In addition, since both the output signals of the determination units 101 and 102 have values of ‘1’, the power down control signal PDL supplied from the host CPU is supplied to the preamplifier 41 and the loudspeaker amplifier 11 through the OR gate 301, and the power down control signal PDR is supplied to the preamplifier 42 and the loudspeaker amplifier 12 through the OR gate 302, thereby performing a power down control in correspondence with whether a sound is to be reproduced or not.
On the other hand, in the case when the sound generator LSI is mounted in an apparatus for monaural reproduction, only the power terminal 21 is connected to the power supply, so that power is supplied to only the loudspeaker amplifier 11. Since the power terminal 22 is not connected to the power supply, power is not supplied to the loudspeaker amplifier 12. Thus, since an output signal of the determination unit 101 has a value of ‘1’ and an output signal of the determination unit 102 has a value of ‘0’, an output signal of the AND gate 201 has a value of ‘1’.
Accordingly, a sound signal output from the adder 50, which is obtained by mixing the L-channel sound signal SL and the R-channel sound signal SR with each other, is selected by the analog switch 61. The sound signal selected by the analog switch 61 is amplified by the preamplifier 41 and the loudspeaker amplifier 11 and is then output from the loudspeaker terminal 31. Thus, monaural reproduction sounds are output from a loudspeaker connected to the loudspeaker terminal 31.
In addition, since the output signal of the determination unit 102 has a value of ‘0’, the OR gate 302 supplies a power down control signal, which has a signal value of ‘1’ all the time, to the preamplifier 42 and the loudspeaker amplifier 12, regardless of a level of the power down control signal PDL supplied from the host CPU. As a result, the preamplifier 42 and the loudspeaker amplifier 12 are always in a power-down state.
In addition, since the output signal of the determination unit 101 has a value of ‘1’, the power down control signal PDL from the host CPU is supplied to the preamplifier 41 and the loudspeaker amplifier 11 through the OR gate 301. Thus, for the preamplifier 41 and the loudspeaker amplifier 11, a power down control reflecting the power down control signal PDL from the host CPU is performed.
As described above, in the stereo/monaural switching circuit according to the present embodiment, a switching operation on whether the L-channel sound signal is to be supplied as a sound signal to the preamplifier 41 or the output signal of the adder 50 is to be supplied as the sound signal to the preamplifier 41 is automatically performed on the basis of whether power is being supplied to the loudspeaker amplifiers 11 and 12 or not. Accordingly, the host CPU does not need to output the monaural/stereo control signal M/S, unlike in the known technique described above. Further, in the present embodiment, in the case when the sound generator LSI is mounted in the apparatus for monaural reproduction and thus power is not supplied to the loudspeaker amplifier 12, even if the host CPU outputs the power down control signals PDL and PDR in consideration of stereophonic reproduction, the stereo/monaural switching circuit uses only the power down control signal PDL so as to perform a power down control for the preamplifier 41 and the loudspeaker amplifier 11. Accordingly, the preamplifier 42 and the loudspeaker amplifier 12 are forced to be always in a power-down state. Thus, in both the case when the sound generator LSI is mounted in the apparatus for stereophonic reproduction and the case when the sound generator LSI is mounted in the apparatus for monaural reproduction, the control of the host CPU with respect to the sound generator LSI can be performed in the same manner. As a result, it is possible to reduce the entire cost when manufacturing the apparatus for stereophonic reproduction and the apparatus for monaural reproduction.
The inverter 203 inverts an output signal of the determination unit 102 and then outputs the inverted signal. While power is being supplied to the loudspeaker amplifier 12, the output signal of the determination unit 102 has a value of ‘1’ and the output signal of the inverter 203 has a value of ‘0’. In this case, the L-channel sound signal is selected by an analog switch 61 and is then supplied to the preamplifier 41. In addition, the power down control signal PDL from the host CPU is supplied to the preamplifier 41 and the loudspeaker amplifier 11, and a power down control signal PDR is supplied to the preamplifier 42 and the loudspeaker amplifier 12. On the other hand, while the power is not being supplied to the loudspeaker amplifier 12, the output signal of the determination unit 102 has a value of ‘1’ and the output signal of the inverter 203 has a value of ‘0’. In this case, an output signal of an adder 50 is selected by the analog switch 61 and is then supplied to the preamplifier 41. In addition, each of the preamplifier 42 and the loudspeaker amplifier 12 is always in a power-down state, regardless of a level of the power down control signal PDR.
The present embodiment is advantageous in that the same effects as in the first embodiment can be obtained by using a smaller number of elements than that in the first embodiment.
In the case when the sound generator LSI is mounted in an apparatus for stereophonic reproduction, power is supplied to both loudspeaker amplifiers 11 and 12. In this case, each of the output signals of the determination units 101 and 102 has a value of ‘1’, and each of the output signals of the AND gates 201 and 202 has a value of ‘0’. As a result, the L-channel sound signal is selected by an analog switch 61 and is then supplied to the preamplifier 41, and the R-channel sound signal is selected by the analog switch 62 and is then supplied to the preamplifier 42. In addition, a power down control signal PDL from a host CPU is supplied to the preamplifier 41 and the loudspeaker amplifier 11 through the OR gate 301, and a power down control signal PDR is supplied to the preamplifier 42 and the loudspeaker amplifier 12 through the OR gate 302. Thus, in the sound generator LSI, stereophonic reproduction and control corresponding to the stereophonic reproduction are realized.
In the present embodiment, in the case when the sound generator LSI is mounted in an apparatus for monaural reproduction, the loudspeaker amplifier 11 may be used for the monaural reproduction or the loudspeaker amplifier 12 may be used for the monaural reproduction. In the former case in which the loudspeaker amplifier 11 is used for the monaural reproduction, a loudspeaker is connected to a loudspeaker terminal 31 and a power supply is connected to only a power terminal 21. In this case, an output signal of the determination unit 101 has a value of ‘1’, an output signal of the determination unit 102 has a value of ‘0’, an output signal of the AND gate 201 has a value of ‘1’, and an output signal of the AND gate 202 has a value of ‘0’. Since the output signal of the AND gate 201 has a value of ‘1’, an output signal of the adder 50 is selected by the analog switch 61 and is then supplied to the preamplifier 41, and thus monaural reproduction sounds are output from the loudspeaker connected to the loudspeaker terminal 31. In addition, since the output signal of the determination unit 101 has a value of ‘1’, the power down control signal PDL from the host CPU is supplied to the preamplifier 41 and the loudspeaker amplifier 11 through the OR gate 301. On the other hand, since the output signal of the AND gate 202 has a value of ‘0’, the R-channel sound signal is selected by the analog switch 62 and is then supplied to the preamplifier 42. However, since the output signal of the determination unit 102 has a value of ‘0’, the preamplifier 42 and the loudspeaker amplifier 12 are force to be in a power-down state.
In the latter case in which the loudspeaker amplifier 12 is used for the monaural reproduction, a loudspeaker is connected to a loudspeaker terminal 32 and a power supply is connected to only a power terminal 22. In this case, the output signal of the determination unit 101 has a value of ‘0’, the output signal of the determination unit 102 has a value of ‘1’, the output signal of the AND gate 201 has a value of ‘0’, and the output signal of the AND gate 202 has a value of ‘1’. Since the output signal of the AND gate 202 has a value of ‘1’, the output signal of the adder 50 is selected by the analog switch 62 and is then supplied to the preamplifier 42, and thus monaural reproduction sounds are output from the loudspeaker connected to the loudspeaker terminal 32. In addition, since the output signal of the determination unit 102 has a value of ‘1’, the power down control signal PDR from the host CPU is supplied to the preamplifier 42 and the loudspeaker amplifier 12 through the OR gate 302. On the other hand, since the output signal of the AND gate 201 has a value of ‘0’, the L-channel sound signal is selected by the analog switch 61 and is then supplied to the preamplifier 41. However, since the output signal of the determination unit 101 has a value of ‘0’, the preamplifier 41 and the loudspeaker amplifier 11 are force to be in a power-down state.
As described above, according to the present embodiment, it is possible to obtain the same effects as in the first embodiment. Furthermore, in the case when the sound generator LSI is mounted in the apparatus for monaural reproduction, the present embodiment is advantageous in that it is possible to arbitrarily select which one of the loudspeaker amplifiers 11 and 12 will be used for the monaural reproduction.
While the first to third embodiments of the invention have been described, it may be possible to consider other embodiments of the invention. For example, in the embodiments described above, the power down control with respect to a loudspeaker amplifier and a preamplifier, which is located at a stage prior to the loudspeaker amplifier, is performed by using a power down control signal; however, the power down control may be further performed even for circuits located at stages prior to the preamplifier. Furthermore, in the embodiments described above, the stereo/monaural switching circuit is mounted in the sound generator LSI; however, the stereo/monaural switching circuit according to each of the embodiments may be mounted in an integrated circuit, which is used for the stereo/monaural reproduction, other than the sound generator LSI. Furthermore, in the embodiments described above, the host CPU is an external unit that is provided outside the sound generator LSI; however, the stereo/monaural switching circuit according to each of the embodiments may be mounted in a sound generator LSI having a circuit functioning as a host CPU.
Number | Date | Country | Kind |
---|---|---|---|
2006-003093 | Jan 2006 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
3902120 | Dascal et al. | Aug 1975 | A |
4479235 | Griffis | Oct 1984 | A |
20080219480 | Hopkins | Sep 2008 | A1 |
Number | Date | Country |
---|---|---|
2001-333176 | Nov 2001 | JP |
2003-179992 | Jun 2003 | JP |
2005-109868 | Apr 2005 | JP |
2005-176157 | Jun 2005 | JP |
Number | Date | Country | |
---|---|---|---|
20070165883 A1 | Jul 2007 | US |