Audio circuit

10938363 ยท 2021-03-02

Assignee

Inventors

Cpc classification

International classification

Abstract

A D/A converter coverts a digital audio signal into an analog audio signal. An analog volume circuit receives an output of the D/A converter. A controller controls the analog volume circuit. The controller shortens transition time at each step in the analog volume circuit further as gain is lower.

Claims

1. An audio circuit comprising: a digital/analog (D/A) converter structured to covert a digital audio signal into an analog audio signal; an analog volume circuit coupled to receive an output of the D/A converter; and a controller structured to control gain of the analog volume circuit, wherein the controller is structured to shorten transition time at each step in the analog volume circuit further as the gain is lower and to change the gain of the analog volume circuit step by step toward a target value corresponding to a volume value after change; and the change amount of the gain for each step is constant.

2. The audio circuit according to claim 1, wherein the controller includes a table showing a relationship between the gain or a range of the gain and transition time corresponding to the gain or the range of the gain.

3. The audio circuit according to claim 2, wherein the controller includes the plurality of tables, and the tables are selectable for use.

4. The audio circuit according to claim 1, wherein the controller is implemented in a digital signal processor (DSP) structured to process the digital audio signal.

5. An audio circuit comprising: an isolation amplifier coupled to receive an analog audio signal; an analog volume circuit coupled to receive an output signal of the isolation amplifier; and a controller structured to control gain of the analog volume circuit, wherein the controller is structured to shorten transition time at each step in the analog volume circuit further as the gain is lower and to change the gain of the analog volume circuit step by step toward a target value corresponding to a volume value after change; and the change amount of the gain for each step is constant.

6. The audio circuit according to claim 1, wherein the audio circuit is integrated on one semiconductor substrate.

7. An in-vehicle audio device comprising: the audio circuit according to claim 1.

8. An audio component device comprising: the audio circuit according to claim 1.

9. An electronic device comprising: the audio circuit according to claim 1.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:

(2) FIG. 1 is a block diagram illustrating a configuration of a general audio system.

(3) FIG. 2A and FIG. 2B are circuit diagrams of functional integrated circuits (ICs) each including a D/A converter and a volume circuit.

(4) FIG. 3A and FIG. 3B are waveform charts describing gain transition in the volume circuit in FIG. 2B.

(5) FIG. 4 is a block diagram of an audio system including an audio circuit according to an embodiment.

(6) Each of FIG. 5A and FIG. 5B illustrates a relationship between gain and transition time.

(7) FIG. 6 is a block diagram illustrating a configuration example of a controller.

(8) FIG. 7 illustrates a plurality of different control characteristics.

(9) FIG. 8A and FIG. 8B illustrate an influence of an offset error of a D/A converter.

(10) FIG. 9A illustrates gain control in the audio system according to the embodiment, and FIG. 9B illustrates conventional gain control.

(11) FIG. 10 is a block diagram of an audio circuit according to a modification example.

(12) FIG. 11 is a block diagram illustrating a configuration of an in-vehicle audio device using the audio circuit.

(13) FIG. 12A to FIG. 12C are external views of electronic devices and audio component devices.

DETAILED DESCRIPTION OF THE INVENTION

Overview of Embodiment

(14) An embodiment disclosed in the present description relates to an audio circuit. The audio circuit includes a D/A converter converting a digital audio signal into an analog audio signal, an analog volume circuit receiving an output of the D/A converter, and a controller controlling gain of the analog volume circuit. The controller shortens transition time at each step in the analog volume circuit further as the gain is lower.

(15) As the gain of the analog volume circuit is lower, the amplitude of a component resulting from an offset error of the D/A converter in a signal input into an electroacoustic transducer is smaller. That is, when the gain of the analog volume circuit is lower, a DC noise is less audible even in a case in which the transition time is shortened. Hence, with the embodiment, a switching period of volume can be shortened while restricting a noise.

(16) The controller may include a table showing a relationship between the gain or a range of the gain and the transition time corresponding to the gain or the range of the gain.

(17) The controller may include the plurality of tables, and the tables may be selectable for use. The DC noise is influenced not only by the gain of the analog volume circuit but also by gain of a downstream amplifier (power amplifier). In a case in which the gain of the power amplifier is high, the transition time is required to be extended. By preparing the plurality of tables, the audio circuit can be used in common by a plurality of platforms including amplifiers connected at the downstream of the audio circuit and having different gain ranges.

(18) The controller may be implemented in a digital signal processor (DSP) structured to process the digital audio signal. By implementing the controller as a logic circuit, a circuit area of the audio circuit can be reduced.

(19) The audio circuit may be integrated on one semiconductor substrate. The term integrated means a case in which all of components of the circuit are formed on the semiconductor substrate and a case in which main components of the circuit are integrated. Some resistors, capacitors, and the like may be provided outside the semiconductor substrate for control of circuit constant.

Embodiment

(20) The invention will now be described based on preferred embodiments which do not intend to limit the scope of the present invention but exemplify the invention. All of the features and the combinations thereof described in the embodiment are not necessarily essential to the invention.

(21) In the present description, a state in which a member A is connected to a member B includes a case in which the member A and the member B are connected physically directly and a case in which the member A and the member B are connected indirectly via another member which has no substantial effect on the electric connection state between the members or which does not impair a function and an effect obtained by the connection between the members.

(22) Similarly, a state in which a member C is provided between a member A and a member B includes a case in which the member A and the member C, or the member B and the member C, are connected directly and a case in which the member A and the member C, or the member B and the member C, are connected indirectly via another member which has no substantial effect on the electric connection state between the members or which does not impair a function and an effect obtained by the connection between the members.

(23) FIG. 4 is a block diagram of an audio system 100 including an audio circuit 200 according to an embodiment. In FIG. 4, each block is shown as a single-ended circuit. However, each block may be a differential circuit. The audio circuit 200 is a functional IC in which components are integrated on a semiconductor substrate.

(24) The audio system 100 includes a power amplifier 110, an electroacoustic transducer 112, a host processor 114, and a user interface 116 as well as the audio circuit 200. The user interface 116 is a volume knob, a button, a touch panel, a remote controller, or the like and acquires a volume value specified by a user. The host processor 114 transmits a volume value VOL acquired by the user interface 116 to the audio circuit 200. The power amplifier 110 drives the electroacoustic transducer 112 based on an output signal S.sub.3 of the audio circuit 200. The power amplifier 110 may be a class-D amplifier (digital amplifier) or an analog amplifier.

(25) The audio circuit 200 includes a D/A converter 210, an analog volume circuit (also referred to simply as a volume circuit) 220, a DSP 230, and an interface circuit 240.

(26) The interface circuit 240 is an inter IC (I.sup.2C) interface, a serial peripheral interface (SPI), or the like and receives various setting values such as the aforementioned volume value VOL from the host processor 114.

(27) A digital audio signal is input into the DSP 230 from a not-illustrated sound source. The DSP 230 performs various kinds of signal processing to the digital audio signal. The signal processing is not limited, and examples thereof are equalizing, tone control, bass boost, treble boost, loudness processing, stereo-monaural conversion, and digital volume control.

(28) The D/A converter 210 converts a digital audio signal S.sub.1 processed by the DSP 230 into an analog audio signal S.sub.2. The D/A converter 210 has an offset error. The offset error typically falls within a range from several mV to several tens of mV.

(29) The volume circuit 220 includes a variable gain amplifier and amplifies the audio signal S.sub.2 from the D/A converter 210 at gain g corresponding to the volume value VOL set by the user. Meanwhile, amplification here includes attenuation having gain lower than 1. The volume circuit 220 also has a function of gradually changing gain. The volume circuit 220 having such a function may use a known technique, and a configuration thereof is not particularly limited.

(30) A controller 250 controls the analog volume circuit 220. Specifically, when the volume value VOL changes, the controller 250 changes gain of the volume circuit 220 into a value corresponding to the volume value. The controller 250 is a part of the DSP 230 and is implemented as a digital circuit.

(31) The controller 250 shortens transition time at each step in the analog volume circuit 220 further as gain is lower. Although each step typically has 1 dB, the present invention is not limited to this, and a 0.5-dB step, a 2-dB step, or a 3-dB step may be available.

(32) Each of FIG. 5A and FIG. 5B illustrates a relationship between gain and transition time. The gain on the horizontal axis represents gain immediately before transition. In FIG. 5A, the transition time switches between two values. In a case in which the gain (volume value VOL) is in a range from 0 to 4 dB, the transition time is a first value .sub.1, which is relatively long. In a case in which the gain is lower than 5 dB, the transition time is a second value .sub.2, which is relatively short. In FIG. 5B, the transition time switches among seven values in accordance with the range of the gain. The number of times of switching the transition time is not particularly limited as long as the number is two or more.

(33) FIG. 6 is a block diagram illustrating a configuration example of the controller 250. The controller 250 includes a state machine 252, a counter 254, and a table 256. The state machine 252 receives a volume value VOL after change specified by the user. The state machine 252 changes gain step by step (for example, 1 dB each) from gain g_START corresponding to a volume value VOL before change to gain g_END corresponding to a volume value VOL after change. The relationship between the transition time per step and the gain g is stored in the table 256, and the state machine 252 reads transition time .sub.1 corresponding to current gain g.sub.i from the table 256. The state machine 252 measures the transition time .sub.i with use of the counter 254 and gently changes the gain of the volume circuit 220 from the current gain g.sub.i to gain g.sub.i+1, which is at the next step, in the transition time .sub.i. When the transition is completed, current gain is g.sub.i+1. The state machine 252 repeats this operation and changes the gain down to the end value g_END.

(34) The controller 250 preferably includes a plurality of tables 256_1 to 256_M (M2). The plurality of tables 256_1 to 256_M store different relationships (control characteristics) between the gain and the transition time. Preferably, which table is to be referred to can be set from the outside with use of a register or the like.

(35) FIG. 7 illustrates a plurality of different control characteristics. FIG. 7 illustrates control characteristics (i) to (iii) when M=3. In the example in FIG. 7, although the change points of the transition time correspond to the same gain value, the present invention is not limited to this, and the change points of the transition time may exist at different gain values. Also, the number of times of switching the transition time may differ.

(36) The configuration of the audio system 100 has been described above. Next, an operation thereof will be described.

(37) FIG. 8A and FIG. 8B illustrate an influence of an offset error of the D/A converter 210. FIG. 8A illustrates voltage V.sub.OUT resulting from the offset error of the D/A converter at the input terminal of the electroacoustic transducer 112, and FIG. 8B illustrates a fluctuation amount V.sub.OUT of the voltage V.sub.OUT at the input terminal of the electroacoustic transducer 112 when the gain of the volume circuit 220 is changed step by step. It is to be noted that, in this case, the offset error of the D/A converter 210 is 15 mV, and the gain of the power amplifier 110 is 0 dB. When the gain of the volume circuit 220 is a maximum value (0 dB), the influence V.sub.OUT of the offset error at the input terminal of the electroacoustic transducer 112 is 15 mV, which is maximum.

(38) As illustrated in FIG. 8A, as the gain is lower, the influence V.sub.OUT of the offset error is lower, and the fluctuation amount V.sub.OUT of the voltage V.sub.OUT when the gain is changed step by step is also lower. This means that, when the gain is lower, a DC noise is less audible even in a case in which the gain is changed in a short period.

(39) FIG. 9A illustrates gain control in the audio system 100 according to the embodiment, and FIG. 9B illustrates conventional gain control. The horizontal axis represents time while the vertical axis represents gain. Each of FIG. 9A and FIG. 9B illustrates an operation of decreasing the gain from 0 dB to 20 dB.

(40) First, referring to FIG. 9B, the conventional gain control will be described. In the conventional control, transition time .sub.0 at each step is fixed without depending on the value of the gain. The fixed transition time .sub.0 is set so that the DC noise may not be audible from the electroacoustic transducer 112 when the gain is 0 dB. As the number of steps for the gain change increases, the total transition time is extended in proportion to the number of steps. In this example, 20.sub.0 is the total transition time T.

(41) Next, referring to FIG. 9A, the gain control according to the embodiment will be described. In the example in FIG. 9A, the transition time at each step in a range from 0 to 4 dB is .sub.1, the transition time in a range from 4 to 10 dB is .sub.2, the transition time in a range from 10 to 20 dB is .sub.3, and a relationship of .sub.1>.sub.2>.sub.3 is established. The values .sub.1, .sub.2, and .sub.3 are determined so that the DC noise is not audible from the electroacoustic transducer 112 in the corresponding gain ranges. Since a relationship of .sub.0.sub.1>.sub.2>.sub.3 is established, the total transition time T can be shorter than that in the conventional case.

(42) The operation of the audio system 100 has been described above. According to this audio system 100, the total transition time can drastically be shortened while restricting the noise.

(43) In FIG. 9A and FIG. 9B, examples of changing the gain from 0 dB have been described. However, actually, it is rare to use the audio circuit at 0 dB. In actual use, the audio circuit is used in a range of lower gain values, and the effect of shortening the total transition time is thus larger.

(44) Also, the plurality of control characteristics are prepared and selectable. Accordingly, the audio circuit 200 can be used in common by a plurality of platforms including amplifiers connected at the downstream of the audio circuit 200 and having different gain ranges.

(45) The present invention has been described above based on the embodiment. It is to be understood by those skilled in the art that the present embodiment is illustrative only, that combinations of the respective components and the respective processes can be modified, and that such modification examples fall within the scope of the present invention. Such modification examples will be described below.

Modification Example 1

(46) In the embodiment, although the volume circuit 220 that can control the gain by means of the 1-dB step has been described, the present invention is not limited to this, and the gain steps may be at irregular intervals. In this case, as the gain is lower, the transition time per dB may be set to be shorter.

Modification Example 2

(47) FIG. 10 is a block diagram of an audio circuit 200A according to a modification example. The audio circuit 200A includes a D/A converter 212, a volume circuit 224, an isolation amplifier 226, and a synthesis circuit 228, in addition to the audio circuit 200 in FIG. 4.

(48) A DSP 230A outputs a predetermined digital audio signal S.sub.4 such as a beep sound. The D/A converter 212 converts the digital audio signal S.sub.4 into an analog audio signal S.sub.5.

(49) An analog audio signal S.sub.6 is input into an external input (AUX) pin of the audio circuit 200A. The analog audio signal S.sub.6 is buffered (amplified) by the isolation amplifier 226 for ground noise elimination. The volume circuit 224 is configured similarly to the volume circuit 220 and amplifies an output signal S.sub.7 of the isolation amplifier 226. A controller 250A controls gain of the volume circuit 224 in accordance with a setting value for volume. The controller 250A controls the gain of the volume circuit 224 in a similar manner to that of the volume circuit 220 described above. The synthesis circuit 228 adds the plurality of analog audio signals S.sub.3, S.sub.5, and S.sub.8.

(50) In this audio circuit 200A, the isolation amplifier 226 also has a DC offset error in a similar manner to the D/A converter 210. According to the present modification example, a noise resulting from the DC offset error of the isolation amplifier 226 can be restricted, and the transition time can be shortened. Meanwhile, a control characteristic (a relationship between the gain and the transition time) of the volume circuit 224 may be specified in consideration of the DC offset error of the isolation amplifier 226, and the control characteristic of the volume circuit 224 and the control characteristic of the volume circuit 220 may differ.

APPLICATION

(51) Lastly, application of the audio circuit 200 will be described. FIG. 11 is a block diagram illustrating a configuration of an in-vehicle audio device 500 using the audio circuit 200. The in-vehicle audio device 500 has a 5.1-channel (front right FR, rear right RR, front left FL, rear left RL, center C, and subwoofer SW) configuration.

(52) The audio circuit 200 receives a digital input from a sound source 502 such as a CD player. The digital input from the CD player is directly input into a DSP 508. A stereo analog audio signal from a tuner is input into a TUNER channel, and a stereo analog audio signal from a mobile audio player or the like is input into an AUX channel.

(53) An input selector 503 selects an input channel, and an amplifier 504 converts a single-ended analog audio signal of a selected channel into a differential signal. In a case in which a differential audio signal is input into the selected channel, the differential signal conversion processing is skipped.

(54) An A/D converter 506R converts an R-channel differential input audio signal into a digital audio signal, and an A/D converter 506L converts an L-channel differential input audio signal into a digital audio signal.

(55) The DSP 508 includes a digital volume circuit, a 5-band equalizer, a loudness circuit, a crossover filter, and a bass boost circuit and performs predetermined signal processing to digital audio signals D1R and D1L.

(56) A D/A converter 610R converts an R-channel digital audio signal D2R into a differential analog audio signal. A D/A converter 610L converts an L-channel digital audio signal D2L into a differential analog audio signal. A D/A converter 610M converts a digital audio signal D2M of a remaining channel into a differential analog audio signal. The D/A converter 610 corresponds to the D/A converter 210 in FIG. 4. A fader volume 620 corresponds to the volume circuit 220 in FIG. 4.

(57) The audio circuit 200 in FIG. 11 can be used not only in the in-vehicle audio device but also in an audio component device of a household home audio system. Alternatively, the audio circuit 200 can be implemented in an electronic device such as a television, a desktop personal computer (PC), a laptop computer, a tablet PC, a cellphone terminal, a digital camera, and a portable audio player.

(58) FIG. 12A to FIG. 12C are external views of electronic devices and audio component devices. FIG. 12A illustrates a display device 600, which is an example of the electronic device. The display device 600 includes a chassis 602 and a loudspeaker 612. The audio circuit 200 is incorporated into the chassis 602 and drives the loudspeaker 612.

(59) FIG. 12B illustrates an audio component system 700. The audio component system 700 includes a chassis 702 and a loudspeaker 712. The audio circuit 200 is incorporated into the chassis 702 and drives the loudspeaker 712.

(60) FIG. 12C illustrates a small-sized information terminal 800, which is an example of the electronic device. Examples of the small-sized information terminal 800 are a smartphone, a tablet PC, and an audio player. The small-sized information terminal 800 includes a chassis 802, a loudspeaker 812, and a display 804. The audio circuit 200 is incorporated into the chassis 802 and drives the loudspeaker 812.

(61) While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.