Digital signal processor for audio, in-vehicle audio system and electronic apparatus including the same

10506340 ยท 2019-12-10

Assignee

Inventors

Cpc classification

International classification

Abstract

A digital signal processor for audio includes: an interface circuit communicating with an microcomputer; a multi-band equalizer including digital filters corresponding respectively to bands, wherein the frequency characteristic of each digital filter is changed according to coefficient group; a memory; and a coefficient setting circuit setting the coefficient group of each digital filter, wherein the frequency characteristic of the multi-band equalizer is selected from presets, wherein, when the digital signal processor start, the interface circuit receives setting data corresponding to the presets from the microcomputer and stores the received setting data in the memory, and wherein, at the time of audio reproduction, the interface circuit receives selection data to designate one of the plurality of presets and the coefficient setting circuit sets the coefficient group of each digital filter according to one of the setting data stored in the memory, the one setting data corresponding to the selection data.

Claims

1. A digital signal processor for audio, comprising: an interface circuit configured to communicate with an external microcomputer; a first multi-band equalizer which includes a plurality of digital filters corresponding respectively to a plurality of bands and is shared by a first front channel and a second front channel, wherein frequency characteristic of each of the digital filters in the first multi-band equalizer is changed according to a coefficient group; a second multi-band equalizer which includes a plurality of digital filters corresponding respectively to a plurality of bands and is shared by a first rear channel and a second rear channel, wherein frequency characteristic of each of the digital filters in the second multi-band equalizer is changed according to the coefficient group; first to fourth delay circuits each configured to provide a variable delay to an audio signal, the first delay circuit being disposed before or after the first multi-band equalizer on the first front channel, the second delay circuit being disposed before or after the first multi-band equalizer on the second front channel, the third delay circuit being disposed before or after the second multi-band equalizer on the first rear channel, and the fourth delay circuit being disposed before or after the second multi-band equalizer on the second rear channel; a memory; and a coefficient setting circuit configured to set the coefficient group of each of the digital filters, wherein the frequency characteristic of each of the first multi-band equalizer and the second multi-band equalizer is selected from a plurality of presets, wherein the interface circuit is configured such that, at the startup of the digital signal processor, the interface circuit receives a plurality of setting data corresponding respectively to the plurality of presets from the external microcomputer and stores the received plurality of setting data in the memory, wherein the interface circuit is configured to receive selection data from the external microcomputer; wherein the selection data designates one preset of the plurality of presets and corresponds to one setting data of the plurality of setting data stored in the memory at the startup of the digital signal processor; wherein the coefficient setting circuit is configured to set the coefficient group of each of the plurality of digital filters according to the one setting data corresponding to the selection data, wherein each setting data of the plurality of setting data respectively corresponding to the plurality of presets includes the coefficient group of each of the plurality of digital filters, wherein the setting data includes a plurality of delay setting values respectively corresponding to the plurality of presets, and wherein the coefficient setting circuit sets, during an audio reproduction, a delay amount of each of the first to fourth delay circuits according to the delay setting values included in the one setting data of the plurality of setting data stored in the memory.

2. The digital signal processor of claim 1, wherein a frequency of each of the plurality of bands is fixed, wherein each of the plurality of setting data includes a gain of each of the plurality of bands, and wherein the coefficient setting circuit holds a correspondence between the gain and a coefficient group of the corresponding digital filter for each of the plurality of bands.

3. The digital signal processor of claim 1, wherein the digital signal processor is integrated on a single semiconductor substrate.

4. The digital signal processor of claim 1, wherein the plurality of presets is set to delay sounds from the first rear channel and the second rear channel relative to sounds from the first front channel and the second front channel.

5. An in-vehicle audio system comprising a digital signal processor of claim 1.

6. An electronic apparatus comprising a digital signal processor of claim 1.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a block diagram of an audio system including a DSP.

(2) FIGS. 2A and 2B are block diagrams related to the frequency correction of the DSP.

(3) FIG. 3 is a block diagram of a DSP according to a first embodiment.

(4) FIG. 4 is a view showing one example of setting data.

(5) FIG. 5 is a sequence diagram of an audio system including a DSP.

(6) FIG. 6A is a view showing another example of the setting data.

(7) FIG. 6B is a table showing the correspondence between a gain g and a coefficient group of a first band.

(8) FIG. 7 is a block diagram of a DSP according to a third embodiment.

(9) FIGS. 8A and 8B are views showing one example of setting data.

(10) FIG. 9 is a block diagram showing the configuration of an in-vehicle audio system including a DSP.

(11) FIGS. 10A to 10C are external views of electronic apparatuses.

DETAILED DESCRIPTION

(12) Preferred embodiments of the present invention will now be described in detail with reference to the drawings. Throughout the drawings, the same or similar elements, members and processes are denoted by the same reference numerals and explanation of which will not be repeated. The disclosed embodiments are provided for the purpose of illustration, not limitation, of the present disclosure and all features and combinations thereof described in the embodiments cannot be necessarily construed to describe the spirit of the present disclosure.

(13) In the specification, the phrase connection of a member A and a member B is intended to include direct physical connection of the member A and the member B as well as indirect connection thereof via other member as long as the other member has no substantial effect on the electrical connection of the member A and the member B. Similarly, the phrase interposition of a member C between a member A and a member B is intended to include direct connection of the member A and the member C or direct connection of the member B and the member C as well as indirect connection thereof via other member as long as the other member has no substantial effect on the electrical connection of the member A, the member B and the member C.

First Embodiment

(14) FIG. 3 is a block diagram of a DSP 200 according to a first embodiment. The DSP 200 performs various signal processing on a digital audio signal. For example, the DSP 200 can be used as the DSP 110 in the audio system 100 of FIG. 1.

(15) The DSP 200 can change the frequency characteristic of the audio signal under control of an external microcomputer 108. The DSP 200 includes an interface circuit 202, a memory 204, a coefficient setting circuit 206 and a multi-band equalizer 220. The interface circuit 202 communicates with the external microcomputer 108. For example, the interface circuit 202 may be an I.sup.2C interface.

(16) The multi-band equalizer 220 includes a plurality of digital filters 222_1 to 222_M corresponding to a plurality of M (M being an integer of 2 or more) bands BAND1 to BANDM. The frequency characteristic of each digital filter 222 can be changed according to a coefficient group. The digital filter 222 may be either an IIR (Infinite Impulse Response) filter or a FIR (Finite Impulse Response) filter. An adder 224 adds outputs of the plurality of M digital filters 222_1 to 222_M. The configuration of the multi-band equalizer 220 is not limited to that shown in FIG. 3. For example, the plurality of digital filters 222 may be connected in series. Alternatively, the multi-band equalizer 220 may be configured by a combination of serial connection and parallel connection of the plurality of digital filters 222.

(17) The coefficient setting circuit 206 sets a coefficient group of each of the plurality of digital filters 222_1 to 222_M. For example, when the digital filters 222 are the second-order IIR filters in FIG. 2B, the coefficient group includes five coefficients b.sub.0 to b.sub.2, a.sub.1 and a.sub.2.

(18) The frequency characteristic of the multi-band equalizer 220 can be selected from a plurality of N (N being an integer of 2 or more) frequency characteristics (hereinafter referred to as presets). For example, a plurality of presets are prepared for each audio genre and musical instrument, such as flat, rock, pops, vocal, piano, jazz, classic, etc. Alternatively, the plurality of presets may be prepared for acoustic adjustment functions to reproduce reverberation of concert alls, jazz clubs, churches, etc. These presets may also contain components of equalization for room correction.

(19) At the time of start of the DSP 200, the interface circuit 202 receives a plurality of setting data S.sub.1 to S.sub.N corresponding respectively to the plurality of presets from the microcomputer 108 and stores them in the memory 204.

(20) Then, at the time of audio reproduction, the interface circuit 202 receives selection data SEL to designate one of the plurality of presets. The coefficient setting circuit 206 sets the coefficient group of each of the plurality of digital filters 222_1 to 222_M according to one of the plurality of setting data S.sub.1 to S.sub.N stored in the memory 204, which corresponds to the selection data SEL.

(21) FIG. 4 is a view showing one example of the setting data. For example, the setting data S.sub.1 may include a plurality of coefficient groups corresponding to the plurality of bands BAND1 to BANDM (that is, the plurality of digital filters 222). This is equally applied to other setting data S.sub.2 to S.sub.N.

(22) Assume that a selection signal SEL to instruct an i.sup.th (1iN) preset is written in the memory 204 during audio reproduction. At this time, the coefficient setting circuit 206 refers to i.sup.th setting data S.sub.i and sets a coefficient group of each hand included therein to the digital filter 222 of the corresponding band.

(23) The above is the configuration of e DSP 200. Subsequently, the operation thereof will be described. FIG. 5 is a sequence diagram of the audio system 100 including the DSP 200. Immediately after startup, a setup sequence S100 is executed. In the setup sequence S100, N setting data S.sub.1 to S.sub.N corresponding respectively to the plurality of N presets are transmitted from the microcomputer 108 to the DSP 200 (S102). This transmission is a scheduled processing, not an interrupt processing. The interface circuit 202 of the DSP 200 stores the received N setting data S.sub.1 to S.sub.N in the memory 204.

(24) After completing the setup sequence, the microcomputer 108 initializes the coefficient groups of the plurality of digital filters 222 before proceeding to a reproduction sequence S110. For example, the DSP 200 holds an initial value (default value) of the preset and may initialize the multi-band equalizer 220 according to the initial value. Alternatively, the microcomputer 108 may transmit the initial value of the preset, as the selection data SEL, to the DSP 200 during the setup sequence.

(25) Upon the completion of the setup sequence S100, the process proceeds to the reproduction sequence S110. During the reproduction sequence S110, the DSP 200 performs various signal processing (not shown in the sequence diagram of FIG. 5) on an audio signal. Further, during the reproduction sequence S110, the microcomputer 108 exchanges various data (not shown in the sequence diagram) with the DSP 200. For example, this exchange includes data transmission for spectrum analyzer function.

(26) When the microcomputer 108 detects an input of change of the preset by a user during the reproduction sequence S110 (S112), the microcomputer 108 transmits the selection data SEL to designate the changed preset to the DSP 200 (S114).

(27) The coefficient setting circuit 206 of the DSP 200 selects setting data S.sub.i corresponding to the preset designated by the selection data SEL (S116) and sets a coefficient group corresponding to the selected setting data S.sub.i in the digital filter 222 (S118). Thereafter, when the change of the equalizer is instructed again, the operations of S112 to S118 are performed.

(28) The above is the operation of the audio system 100 including the DSP 200. According to the DSP 200, during the setup sequence, the setting data S.sub.1 to S.sub.N corresponding to all the presets are transmitted and, during the audio reproduction, only the selection data SEL to designate the preset is transmitted. For example, when N (=8) presets are selectable, the selection data SEL may be 3 bits, so, when there is a change in the preset equalizer during audio reproduction, the preset can be switched with data transmission only once.

(29) In contrast, in the setup sequence S100, the setting data S.sub.1 to S.sub.N corresponding to all the presets are transmitted. As shown in FIG. 4, it is assumed that each setting data S includes a coefficient group for each band. In a system where a coefficient group contains 5 coefficients, each of which is 24 bits and M=13 bands, data of 12480 bits (=524 bitsMN=524138) are transmitted in the setup sequence S100. In a 1-word 8-bit serial interface, 1560 data transmissions occur. However, the data transmission in the setup sequence S100 is a scheduled processing rather than an interrupt processing. Therefore, this data transmission does not interfere with other data transmission and does not become a bottleneck of the processing of the DSP 200 or the microcomputer 108. In addition, since it is not necessary to consider the interrupt processing, the burden of software design is greatly reduced.

Second Embodiment

(30) In the first embodiment, the frequencies of the plurality of bands BAND 1 to BANDM in the multi-band equalizer 220 are variable. Such an equalizer is also called a parametric equalizer. In a second embodiment, the frequency of each band is fixed. Such an equalizer is also called a graphic equalizer. For example, the frequencies of multiple bands are specified in the unit of octave. Then, in the multi-band equalizer 220, only the gain of each band is variable. FIG. 6A is a view showing another example of the setting data. The setting data S.sub.1 in FIG. 6A includes the gains g.sub.1 to g.sub.M of the respective bands BAND1 to BANDM. This is equally applied to other setting data S.sub.2 to S.sub.N.

(31) The coefficient setting circuit 206 holds the correspondence between a gain g and a coefficient group of the corresponding digital filter 222 for each of the plurality of bands BAND 1 to BANDM. FIG. 6B is a table showing the correspondence between the gain g and the coefficient group of the first band BAND1. For example, a value of the gain g can be selected from 15 levels in the unit of 1 dB between 7 dB and +7 dB. A group of coefficients b.sub.0 to b.sub.2, a.sub.0 and a.sub.1 is held for each gain value. The specific values of the coefficients are omitted. This is equally applied to the other bands BAND2 to BANDM. The correspondence shown in FIG. 6B may be held as a table or may be held by an operational expression.

(32) When the gain of each band can be set in 15 steps, the setting of the gain is 4 bits. According to the second embodiment, the setting data S.sub.1 to S.sub.N transmitted in the setup sequence S100 are 416 bits (=4 bitsMN=4138). Therefore, when the 1-word 8-bit serial interface is used, data transmission of 52 times suffices, which is considerably reduced as compared with the first embodiment.

(33) It may be said that the second embodiment is suitable for applications where the number of bands M is as large as 10 or more, whereas the first embodiment is suitable for applications where the number of bands M is 10 or less (or the number of bands M may be 5 or less).

Third Embodiment

(34) FIG. 7 is a block diagram of a DSP 200a according to a third embodiment. The DSP 200a is composed of, for example, two channels (L channel and R channel) which have multi-band equalizers 220L and 220R, respectively. Here, the DSP 200a is illustrated with a DSP for in-vehicle audio. An in-vehicle audio system has a total of 4 speakers, i.e., front left, front right, rear left and rear right. An output of the multi-band equalizer 220L is distributed to the front left and rear left speakers and an output of the multi-band equalizer 220R is distributed to the front right and rear right speakers.

(35) The DSP 200a further includes delay circuits 230FL, 230RL, 230FR and 230 RR. These delay circuits 230 are variable delay circuits whose delay amount can be independently adjusted according to a delay setting value.

(36) Although it is shown in FIG. 7, for the purpose of clarity, that one multi-band equalizer 220 is shared between the front and rear in each of the L channel and the R channel, the present disclosure is not limited thereto. In other words, the multi-band equalizer 220 may be provided individually for each of the front and rear, and therefore, the multi-band equalizer 220 may be provided for each speaker. This makes it possible to set a sound field with overflowing presence. Alternatively, only one common multi-band equalizer may be provided for all channels. As another alternative, one multi-band equalizer 220 shared by the front channel and the front R channel and one multi-band equalizer 220 shared by the rear L channel and the rear R channel may be provided.

(37) FIGS. 8A and 8B are views showing one example of setting data. Setting data S.sub.1 includes delay setting values D.sub.FL, D.sub.RL, D.sub.FR and D.sub.RR for the plurality of delay circuits 230F 230RL, 230FR and 230RR, respectively, in addition to data for the multi-band equalizer 220. The setting data S.sub.1 of FIG. 8A includes data for the multi-band equalizer 220 in the format of FIG. 4. The setting data S.sub.1 of FIG. 8B includes the data for the multi-hand equalizer 220 in the format of FIG. 6A. In addition, in FIG. 7, when different frequency characteristics are set for the multi-band equalizer 220L and the multi-band equalizer 220R for the same preset, data for the multi-band equalizer 220L of the L channel and data for the multi-band equalizer 220R of the R channel may be included in the setting data S.sub.1.

(38) Subsequently, the operation of the DSP 200a will be described. In the setup sequence, the interface circuit 202 receives a plurality of setting data S.sub.1 to S.sub.N corresponding respectively to a plurality of presets and holds them in the memory 204. When the interface circuit 202 receives the selection data SEL to designate a preset, the coefficient setting circuit 206 selects one setting data S.sub.i corresponding to the selection data SEL and sets the frequency characteristics of the multi-band equalizers 220L and 220R and the delay amounts of the delay circuits 230FL, 230RL, 230FR and 230RR based on the selected setting data S.sub.i.

(39) The above is the configuration and operation of the DSP 200a according to the third embodiment. According to the DSP 200a, it is possible to instantaneously switch a preset using a delay. For example, a preset related to a sound adjustment function can use a reverberation effect by delaying a sound from the rear speaker relative to a sound from the front speaker. According to the third embodiment, since the delay amount can be switched for each preset, it is possible to support presets related to acoustic adjustment and the like.

(40) Alternatively, in car audio, distances between a viewing position (for example, a driver's seat) and four speakers are different from each other, and, when the speakers sound with the same phase, the phases thereof are shifted at the viewing position and a sound image is blurred. In room correction (also called a sound field correction or a fixed eraser) for correcting this, it is necessary to set different delay amounts for different speakers. According to the third embodiment, it is possible to select a preset in consideration of room correction.

APPLICABILITY

(41) Finally, applications of the DSP 200 will be described. FIG. 9 is a block diagram showing the configuration of an in-vehicle audio system 500 including the DSP 200. The in-vehicle audio system 500 is composed of four channels (front right FR, rear right RR, front left FL and rear left RL) and has a plurality of speakers 502FR, 502RR, 502FL and 502RL corresponding respectively to the four channels. The in-vehicle audio system 500 may be a 5.1 channel system further including a center channel and a subwoofer channel.

(42) A sound source 504 is a CD player, a DVD player, a Blu-ray player, an HDD/silicon audio player, a radio tuner or the like and reproduces analog or digital audio signals. The DSP 200 receives an audio signal from the sound source 504 and performs various digital signal processing on the received audio signal. The audio signal subjected to the processing of the DSP 200 is converted into an analog audio signal which is then input to an amplifier 506. The amplifier 506 amplifies the analog audio signal of each channel and drives the corresponding speaker 502. The microcomputer 108 integrally controls the blocks including the DSP 200. The sound source 504, the microcomputer 108, the DSP 200 and the amplifier 506 operate with power supplied from a battery 508. The sound source 504, the microcomputer 108, the DSP 200 and the amplifier 506 may be incorporated in a head unit 510. In addition, the amplifier 506 may be integrated on the same chip as the DSP 200.

(43) When a user (driver) turns on an ignition (or accessory on), power is supplied to circuits including the microcomputer 108. When the power is supplied, the process proceeds to the setup sequence and the setting data S.sub.1 to S.sub.N are transmitted from the microcomputer 108 to the DSP 200.

(44) The DSP 200 may also be mounted on electronic apparatuses such as an audio component device, a television, a desktop PC, a notebook PC, a tablet PC, a mobile phone terminal, a digital camera, a portable audio player, etc. in addition to the above-described in-vehicle audio system.

(45) FIGS. 10A to 10C are external views of electronic apparatuses. FIG. 10A shows a display 600 which is one example electronic apparatus. The display 600 includes a housing 602 and a speaker 612. The DSP 200 is incorporated in the housing 602.

(46) FIG. 10B shows an audio component device 700 which is one example of an electronic apparatus. The audio component device 700 includes a housing 702 and speaker 712. The DSP 200 is incorporated in the housing 702.

(47) FIG. 10C shows a small information terminal 800 which is one example of an electronic apparatus. The small information terminal 800 is a mobile phone, a tablet terminal, an audio player, or the like. The small information terminal 800 includes a housing 802, a speaker 812 and a display 804. The DSP 20 is incorporated in the housing 802.

(48) According to the present disclosure in some embodiments, it is possible to reduce the data amount of data transmission between a microcomputer and a DSP during audio reproduction.

(49) While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosures. Indeed, the novel methods and apparatuses described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosures. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosures.