Level adjustment circuit

Information

  • Patent Application
  • 20010026624
  • Publication Number
    20010026624
  • Date Filed
    March 26, 2001
    23 years ago
  • Date Published
    October 04, 2001
    23 years ago
Abstract
Volume adjustment is performed in small steps at a DSP (12) and volume adjustment is performed in wide steps at electronic volume circuits (18L, 18R). Adjustment only by the DSP (12) is performed for a small volume range less than or equal to a predetermined level. For a volume higher than or equal to the predetermined level, fine adjustment by the DSP (12) at the transient period of volume adjustment is combined to reduce the increment of variation so that the volume adjustment is performed gradually.
Description


Background of the Invention

[0001] 1. Field of the Invention


[0002] The present invention relates to a level adjustment circuit for adjusting the signal level of an audio signal, and more particularly for performing both digital level adjustment and analog level adjustment.


[0003] 2. Description of the Related Art


[0004] Heretofore, it was necessary to vary the output level in audio equipment, such as from a speaker, and an electronic volume control was thus employed to adjust the output signal level in accordance with a volume control knob or volume control button. The electronic volume control adjusts the signal level of the analog audio signal by analog processing in accordance with a volume signal generated from user operation.


[0005] On the other hand, in the processing of audio signals, a DSP (digital signal processor) is used to perform digital processing, such as for equalization and sound field correction. In this type of DSP-based digital processing, it is also possible to perform signal level adjustment, and the level adjustment is performed by digital processing in accordance with the volume signal.


[0006] In this manner, either analog processing or digital processing was employed in the past to adjust the audio signal level in accordance with the volume signal. The present applicant proposed in Japanese Patent Application No. Hei 10-278008 (not publicly known at the time of filing) an invention relating to a hybrid volume combining level adjustment based on analog processing and level adjustment based on digital processing. The technique of this application combines digital processing and analog processing in such a way that after an adjustment is performed by digital processing, analog processing is performed in case further adjustment is required. In this manner, a preferable level adjustment can be performed by combining the characteristics of analog processing and digital processing.


[0007] However, various techniques can be devised in combining analog processing and digital processing, and the preceding proposed technique is not necessarily preferable.


[0008] Furthermore, when adjusting the volume in this type of circuit, zero cross was detected and the amount of attenuation was varied at the time to prevent noticeably rough sounds from being produced. For this reason, a problem was that the circuit became complex due to the need for comparators and other circuit elements.



Summary of the Invention

[0009] The object of the present invention is to provide a level adjustment circuit capable of performing more preferable level adjustments by combining digital processing and analog processing.


[0010] In the present invention, level adjustment is performed by digital processing for a predetermined low level. Although the level adjustment based on digital processing causes the amount of information to decrease due to data compression, the small amount of data at low level regions hardly poses a problem so that the adjustment by digital processing can be performed without problems. Furthermore, since part of the level adjustment is performed through digital processing, it is possible to decrease the number of steps for the level adjustment by analog processing, and thus simplify the configuration of the analog level adjustment circuit.


[0011] Furthermore, in another mode, when varying the level, the level is gradually varied in small steps by digital processing. Therefore, noticeably rough sounds are hardly produced when varying the level, and level changes can be performed even when outside the zero cross point. A circuit for zero cross detection becomes unnecessary thereby enabling the circuit configuration to be simplified.


[0012] As described hereinbefore, according to the present embodiment, level adjustment is performed by digital processing for a predetermined low level. Although the level adjustment based on digital processing causes the amount of information to decrease due to data compression, the small amount of data at low level regions hardly poses a problem so that the adjustment by digital processing can be performed without problems. Furthermore, since part of the level adjustment is,performed through digital processing, it is possible to decrease the number of steps for the level adjustment by analog processing, and thus simplify the configuration of the analog level adjustment circuit.


[0013] Furthermore, when varying the level, the level is gradually varied in small steps by digital processing. Therefore, noticeably rough sounds are hardly produced when varying the level, and level changes can be performed even when outside the zero cross point. A circuit for zero cross detection becomes unnecessary thereby enabling the circuit configuration to be simplified.







Brief Description of the Drawings

[0014]
FIG. 1 shows a configuration of the present embodiment.


[0015]
FIG. 2 is a flowchart illustrating an operation of the embodiment.


[0016]
FIG. 3 illustrates a control technique.


[0017]
FIG. 4 illustrates an adjustment based on a digital volume control.


[0018]
FIG. 5 illustrates an adjustment based on an analog volume control.


[0019]
FIG. 6 illustrates an adjustment based on digital and analog volume control.







Detailed Description of the Preferred Embodiments

[0020] A preferred embodiment of the present invention will be described hereinafter with reference to the drawings.


[0021]
FIG. 1 is a block diagram showing a configuration of the present embodiment. An analog audio signal from various types of sound sources is input by an A/D converter 10. At the A/D converter 10, the analog audio signal is converted to a digital audio signal, which is input by a DSP 12. The digital signal that is output from the A/D converter 10 is, for example, a 24-bit signal. At the DSP 12, various types of processing operations are performed, such as filtering and delay signal superimposition. A microcomputer 14 is connected to the DSP 12. The microcomputer 14 supplies control signals to the DSP 12 for the various processing operations according to user operation, and the DSP 12 performs the various processing operations on the basis of these control signals.


[0022] The control signals from the microcomputer 14 include a volume signal for controlling the output signal level that is based on volume control operations by the user. The DSP 12 performs on the basis of the volume signal a processing operation to adjust the signal level for the digital audio signal that is input. Namely, the DSP 12 attenuates the digital signal by compressing the digital signal in accordance with the amount of attenuation of the audio signal indicated by the volume signal. Namely, attenuation is performed by lowering the value of the digital signal. It should be noted that the number of significant bits decreases after compression. For example, if a 24-bit digital signal is compressed to 16 bits, the result is an attenuation of −48 dB. In the present embodiment, a large attenuation, such as from 0 dB to −48 dB, is not performed at the DSP 12.


[0023] After performing processing operations including volume adjustment for the digital audio signal, the DSP 12 outputs a digital signal DL for the left channel and a digital signal DR for the right channel. The digital signals DL and DR are respectively supplied to D/A converters 16L and 16R, where they are converted to analog signals L and R, then supplied to electronic volume circuits 18L and 18R.


[0024] The electronic volume circuits 18L and 18R perform attenuation for the analog audio signals on the basis of volume signals supplied from the DSP 12. Namely, the DSP 12 performs attenuation through the compression processing of the digital signals in the DSP 12 on a portion of the volume signals supplied from the microcomputer 14 and supplies the volume signals for the remaining attenuation to the electronic volume circuits 18L and 18R. Therefore, the required attenuation is performed in the electronic volume circuits 18L and 18R.


[0025] The electronic volume circuits 18L and 18R can be configured, for example, with resistive potentiometers, to output an analog signal that is attenuated by an amount in accordance with the amount of resistive voltage division. If the level of the analog signal can be adjusted in accordance with the control signal, any form of electronic volume circuit can be employed.


[0026] The attenuation by the electronic volume circuits 18L and 18R only lowers the voltage values with the resistive divider and does not reduce the amount of information by reducing the number of data bits as in digital processing.


[0027] The outputs from the electronic volume circuits 18L and 18R are supplied to speakers 20L and 20R at adjusted volume levels.


[0028]
FIG. 2 is a volume-related processing flowchart. The DSP 12 first captures (S11) the volume signal from the microcomputer 14. In practice, various command signals, such as for equalization, are received from the microcomputer 14, resulting in the corresponding processing operations to be performed. Then, it is judged (S12) whether there is to be a change in the volume signal. If there is to be no change, it is unnecessary to change the volume, and the processing terminates.


[0029] If the result in S12 is YES, it is judged (S13) whether the desired volume value after the change is lower than −X dB (for example X=40 or 60). If the result of this judgment is YES, signals for setting the amount of attenuation to a maximum (−S dB) are sent to the electronic volume circuits 18L and 18R and the remaining amount of attenuation is performed by the attenuation at the DSP 12 (S14).


[0030] For example, suppose the volume signals generated by the microcomputer sets the maximum attenuation to −80 dB and the number of steps to 82 (1 dB/step, 82 steps for ∞). In this case, for example, where X=40 (or 60), the amount of attenuation at the DSP 12 is set, for example, to 1 step =⅕ dB.


[0031] If the result in S13 is NO, the amount of attenuation in the electronic volume circuits 18L and 18R is set in accordance with the indication in the volume signal and the change up to the set value is performed in ⅕ dB step changes by the DSP 12 (S15). As a result, in the case also where the volume is changed 1 dB, the output changes in ⅕ dB increments. As a result, this can prevent noticeably rough sounds from being produced when the volume is varied.


[0032] Without performing zero cross detection and so forth, the amount of attenuation can be changed at a particular timing according to the change in the volume signal and the circuit can be simplified.


[0033] The desired value itself is in 1 dB increments and the amount of attenuation after change is also in 1 dB increments. In the case of a large change, the amount of digital attenuation is changed by the DSP 12 in ⅕ dB increments, and when returning to 0 dB, a 1 dB change is performed at the electronic volume circuits 18L and 18R. In addition, in the case where the change passes −X dB, it is preferable to perform the change, from the amount of attenuation before the change to the desired amount of attenuation, in ⅕ dB increments.


[0034] The data from the DSP 12 is supplied, via D/A converters 16L and 16R and so forth, to the electronic volume circuits 18L and 18R, and on this path a delay is created. Taking this delay into consideration, it is preferable to adjust the timing of the adjustment of the amount of attenuation at the DSP 12 with the adjustment of the amount of attenuation at the electronic volume circuits 18L and 18R.


[0035] In this manner, as shown in FIG. 3, the volume adjustment in the present embodiment at −X dB and lower was performed by the digital volume control at the DSP 12. The −dB mentioned here is limited to a region of considerably low volume, such as −40 dB or −60 dB. At this region, there is hardly any problem in terms of sound perception even if part of the audio data is lost from compression of the digital signal.


[0036] On the other hand, in the range from 0 to X dB, the analog-based adjustment by the electronic volume circuits 18L and 18R and the digital-based transient fine adjustment by the DSP 12 are combined. As a result, since the range is considerably small, the digital-based adjustment has an extremely small degradation of information (maximum −1dB attenuation in the example hereinbefore) and the adjustment is transient. When the volume is adjusted to the desired value, the amount of attenuation by the DSP 12 is 0 dB. Therefore, there is no degradation of information at all.


[0037] However, since the maximum attenuation is −⅗ dB and the degradation of information can be ignored, it is not necessary for the amount of attenuation for the desired value at the DSP 12 to be 0 dB.


[0038] Furthermore, in a system where the desired value is subdivided, the fine adjustment portion may be assigned to the DSP 12.


[0039] In any case, when varying the volume, the change in the amount of attenuation can be performed at an arbitrary timing without performing zero cross detection since the amount of attenuation can be gradually varied in small steps set at the DSP 12.


[0040] Furthermore, the adjustments by the electronic volume circuits 18L and 18R use relatively large steps so that the configuration of the electronic volume circuits 18L and 18R can be simplified. For example, in the case using resistive voltage division, when the range of 0 to 40 dB is adjusted in ⅕ dB steps, 200 resistors are necessary. However, if adjusted in 1 dB steps, only 40 resistors are sufficient.


[0041] For the volume adjustment in the present embodiment up to −X dB in the DSP 12, the 5 step adjustments of 0, −{fraction (1/5, −2/5, −3/5)}, and −⅘ dB are repeated within 1 dB as shown in FIG. 4. Then, from −X dB to −∞, the amount of attenuation increases in ⅕ dB increments. In the transitional period of the volume change, the attenuation adjustment in the DSP 12 is performed.


[0042] On the other hand, as shown in FIG. 5, the amount of attenuation in the electronic volume circuits 18L and 18R changes by 1 step =1 dB from 0 dB to −X dB, and is fixed at a maximum attenuation of −X in the region of −X dB and lower.


[0043] In the apparatus of the present embodiment, both the digital processing in the DSP 12 and the analog processing in the electronic volume circuits 18L and 18R are combined. The signal levels in the electronic volume circuits 18L and 18R are varied in 1 dB increments whereas the signal level is varied in ⅕ dB increments by the DSP 12 when changing the volume. Therefore, the volume changes in ⅕ dB steps as shown in FIG. 6.


[0044] While there has been described what are at present considered to be preferred embodiments of the invention, it will be understood that various modifications may be made thereto, and it is intended that the appended claims cover all such modifications as fall within the true spirit and scope of the invention.


Claims
  • 1. A level adjustment circuit for adjusting the signal level of an audio signal, said level adjustment circuit comprising: a digital level adjustment circuit for performing level adjustments by processing digital audio signals; D/A converters for converting digital audio signals to analog audio signals; and analog level adjustment circuits for performing level adjustments by processing obtained analog audio signals; level adjustment is performed by said analog level adjustment circuit when a volume signal indicating an output level for audio signals indicates a high level exceeding a predetermined level; and level adjustment is performed by said digital adjustment circuit when the volume signal for the level of the output signal indicates a low level that is lower than or equal to a predetermined level.
  • 2. A level adjustment circuit according to claim 1 wherein said analog level adjustment circuit and digital level adjustment circuit perform level adjustments by varying levels in steps.
  • 3. A level adjustment circuit according to claim 2 wherein the steps in said analog level adjustment circuit are large in magnitude of decibel conversion compared to steps in said digital level adjustment circuit.
  • 4. A level adjustment circuit for adjusting the signal level of audio signals, said level adjustment circuit comprising: a digital level adjustment circuit for performing level adjustment by processing digital audio signals; D/A converters for converting digital audio signals into analog audio signals; and analog level adjustments circuit for performing level adjustment by processing obtained analog audio signals; a level adjustment step in said digital level adjustment circuit is set smaller than a level adjustment step in said analog level adjustment circuit; and when changing levels, adjustments in small steps by the digital level adjustment circuit and adjustments in large steps of the analog level adjustment circuit are combined and level adjustments to a desired level are performed gradually in small steps by the digital level adjustment circuit.
  • 5. A level adjustment circuit for adjusting the signal level of audio signals, said level adjustment circuit comprising: a digital level adjustment circuit for performing level adjustments by processing digital audio signals; D/A converters for converting digital audio signals to analog audio signals; and analog level adjustment circuits for performing level adjustment by processing obtained analog audio signals; level adjustment is performed by said analog level adjustment circuit when a volume signal indicating an output level for audio signals indicates a high level exceeding a predetermined level; level adjustment is performed by said digital adjustment circuit when the volume signal for the level of the output signal indicates a low level that is lower than or equal to a predetermined level; and a level adjustment step in said digital level adjustment circuit is set smaller than a level adjustment step in said analog level adjustment circuit; and when changing levels, adjustments in small steps by the digital level adjustment circuit and adjustments in large steps of the analog level adjustment circuit are combined and level adjustments to a desired level are performed gradually in small steps by the digital level adjustment circuit.
  • 6. A level adjustment circuit according to claim 2 wherein steps in said digital level adjustment circuit are continuously fixed in magnitude of decibel conversion.
Priority Claims (1)
Number Date Country Kind
2000-94331 Mar 2000 JP