The present invention relates to a technique for processing audio signals.
There has been proposed a class-D amplifier including a Pulse Width Modulation (PWM) circuit for modulating an audio signal to a binary signal, a switch circuit that is switched by the modulated binary signal, and a low-pass filter for reducing a high-frequency component in the output signal from the switch circuit. In a half-bridge type (single-end type) class-D amplifier, the low-pass filter has an inductor, and a smoothing capacitor of the power supply voltage may be overcharged by a regenerative current from the inductor constituting the low-pass filter. As a result, a phenomenon in which the power supply voltage fluctuates (hereinafter referred to as “power supply pumping phenomenon”) may occur.
Japanese Patent No. 5233309 (hereinafter, Patent Document 1) discloses a class-D power amplifier that reduces a fluctuation in power supply voltage due to a power supply pumping phenomenon, by controlling a cutoff frequency of a high-pass filter for reducing a low-frequency component of an input audio signal. Specifically, the fluctuation in the power supply voltage is monitored to determine whether or not there is an on-going power supply pumping phenomenon. When a power supply pumping phenomenon occurs, the cutoff frequency of the high-pass filter is increased stepwise, thereby reducing the fluctuation in the power supply voltage due to the power supply pumping phenomenon.
However, in the technique of Patent Document 1, there is a problem in that a processing load is relatively large since it is necessary to calculate coefficients of the high-pass filter in a time series when the power supply pumping phenomenon occurs.
In view of the above circumstances, an object of the present invention is to reduce a load for reducing (ideally eliminating) fluctuation in a power supply voltage due to a power supply pumping phenomenon.
In order to solve the above problem, an audio processing device according to an aspect of the present invention includes: at least one processor configured to: generate a first signal by reducing components that fall below a first frequency in an audio signal; generate a second signal by reducing components that fall below a second frequency that is higher than the first frequency in the audio signal; select between a first state for outputting the first signal and a second state for outputting the second signal; and output one of the selected first or second signal as an output signal; and a class-D amplifier configured to amplify the output signal, in which, the at least one processor is further configured to: determine whether or not a power supply pumping phenomenon exists or a possibility of the power supply pumping phenomenon exists, in a power source that supplies a power supply voltage to the class-D amplifier; and in which, in the selecting between the first state and the second state, the at least one processor is configured to select: the first state in a case where a determination result is negative, where the power supply pumping phenomenon is determined to not exist or the possibility of the power supply pumping phenomenon is determined to not exist; and the second state in a case where the determination result is affirmative, where the power supply pumping phenomenon is determined to exist or the possibility of the power supply pumping phenomenon is determined to exist.
An aspect of the present invention provides a method of controlling an audio processing device including: at least one processor configured to: generate a first signal by reducing components that fall below a first frequency in an audio signal; generate a second signal by reducing components that fall below a second frequency that is higher than the first frequency in the audio signal; select between a first state for outputting the first signal and a second state for outputting the second signal; and output one of the selected first or second signal as an output signal, and a class-D amplifier configured to amplify the output signal, in which, the method includes: determining whether or not a power supply pumping phenomenon exists or a possibility of the power supply pumping phenomenon exists, in a power source that supplies a power supply voltage to the class-D amplifier; selecting the first state in a case where a determination result is negative, where the power supply pumping phenomenon is determined to not exist or the possibility of the power supply pumping phenomenon is determined to not exist; and selecting the second state in a case where the determination result is affirmative, where the power supply pumping phenomenon is determined to exist or the possibility of the power supply pumping phenomenon is determined to exist.
The signal supply device 11 is a signal source that supplies a digital audio signal X representing various sounds, such as vocal sounds or musical sounds, to the audio processing device 12. Examples of the signal supply device 11 include a player that reads an audio signal X from a portable or built-in recording medium. Alternatively, there may be used, as the signal supply device 11, a sound collecting device that collects sound in the periphery to generate an audio signal X or a communication device that receives an audio signal X from another device via a communication network.
The audio processing device 12 processes the audio signal X supplied from the signal supply device 11 to generate an audio signal Z. The sound output device 13 is, for example, a speaker or a headphone. The sound output device 13 plays sound representative of the audio signal Z generated by the audio processing device 12.
As shown in
The control unit 20 is a controller configured to control each element of the audio processing device 12. The control unit 20 includes a control device 21 and a storage device 22. The control device 21 is an arithmetic processing circuit such as a Central Processor Unit (CPU), for example. The control device 21 controls the signal processing circuit 30 and the power amplification device 50 by executing a program stored in the storage device 22. The storage device 22 stores therein a program to be executed by the control device 21 and various data used by the control device 21. For example, there may be used, as the storage device 22, a known recording medium, such as a semiconductor recording medium or a magnetic recording medium, or a combination of a plurality of types of recording media.
The signal processing circuit 30 is configured by, for example, a Digital Signal Processor (DSP) for audio signal processing. The signal processing circuit 30 performs signal processing on the audio signal X supplied from the signal supply device 11, to generate an audio signal Y0. Examples of the signal processing performed by the signal processing circuit include crossover processing for dividing the audio signal X into bands, delay processing for delaying the audio signal X, equalizer processing for adjusting the frequency characteristics of the audio signal X, limiter processing for limiting a voltage range of an audio signal X, or howling suppression processing for suppressing howling. A part of, or all of, the functions of the signal processing circuit 30 may be realized by the control device 21.
The D/A converter 40 in
As shown in
As shown in
The switching circuit 512 amplifies the PWM signal Y2 generated by the modulation circuit 511 by a switching operation, thereby generating an amplified signal Y3. The switching circuit 512 according to the first embodiment includes a drive circuit 550, a first switch 551, and a second switch 552. Each of the first switch 551 and the second switch 552 is a switching element such as a Metal Oxide Semiconductor Field Effect Transistor (MOSFET), for example. The first switch 551 is interposed between the positive power supply 521 and an output point N. The second switch 552 is interposed between the negative power supply 522 and the output point N. The drive circuit 550 controls either of the first switch 551 and the second switch 552 to be in the ON state in accordance with the PWM signal Y2 generated by the modulation circuit 511. Specifically, the drive circuit 550 controls the first switch 551 to be in the ON state when the PWM signal Y2 is at a high level, and controls the second switch 552 to be in the ON state when the PWM signal Y2 is at a low level. When the first switch 551 is controlled to be in the ON state, the positive power supply voltage Vp is applied to the output point N. When the second switch 552 is controlled to be in the ON state, the negative power supply voltage Vm is applied to the output point N. That is, the amplified signal Y3 generated at the output point N is a rectangular wave that changes from one of the positive power supply voltage Vp and the negative power supply voltage Vm to the other at a duty ratio similar to that of the PWM signal Y2.
The low-pass filter 513 generates an audio signal Z obtained by reducing a high-frequency component of the amplified signal Y3 that is generated by the class-D amplifier 51. It is of note that the high-frequency components of the amplified signal Y3 are, for example, the band component including the oscillation frequency of the modulation circuit 511. That is, the low-pass filter 513 extracts the low-frequency component including the audible band from the amplified signal Y3, as the audio signal Z. As shown in
In the class-D amplifier 51 having the structure shown above, a power supply pumping phenomenon may occur. The power supply pumping phenomenon will be described below. As shown in
In Equation (1), the symbol Vs is the peak voltage [V] of the sine wave, and the symbol Vdd is the absolute value of the positive power supply voltage Vp or the negative power supply voltage Vm. The symbol f is the frequency [Hz] of the sine wave. Further, the symbol C is a capacitance value [F] of the smoothing capacitor 524, and the symbol RL is a load resistance [Ω]. As will be understood from Equation (1), the lower the frequency of the audio signal Z output from the class-D amplifier 51, the greater the fluctuation amount ΔV (that is, an impact of the power supply pumping phenomenon) of the positive power supply voltage Vp or the negative power supply voltage Vm tends to be increased. Therefore, by reducing the low-frequency component in the audio signal X before amplification by the class-D amplifier 51, it is possible to reduce the fluctuation in the power supply voltage due to the power supply pumping phenomenon. In consideration of the above circumstances, in the first embodiment, the low-frequency component of the audio signal X is reduced when a power supply pumping phenomenon occurs.
As shown in
As shown in
The output controller 33 in
Y0=(1−α)X1+α·X2 (2)
The weighted value α of the second signal X2 takes a numerical value within a range from 0 to 1, inclusive. The weighted value (1−α) of the first signal X1 also takes a numerical value within a range from 0 to 1, inclusive. As one of the weighted value α and the weighted value (1−α) increases, the other one decreases. When the weighted value α is set to 0, the output controller 33 outputs the first signal X1 as an audio signal Y0. This state will be called the “first state” below. On the other hand, when the weighted value α is set to 1, the output controller 33 outputs the second signal X2 as an audio signal Y0. This state will be called the “second state” below. By controlling the weighted value α, the output controller 33 changes from one state to another between the first state and the second state. In the second state, the output controller 33 outputs a second signal X2 having reduced components that fall below the second frequency F2. Therefore, as compared with the first state, the low-frequency component of the audio signal Z, which is supplied from the class-D amplifier 51 to the sound output device 13, is reduced. Consequently, this allows for reduction of the fluctuation in the power supply voltage due to the power supply pumping phenomenon.
As shown in
The state determiner 61 determines whether or not there is an on-going power supply pumping phenomenon in the power source 52. The state determiner 61 according to the first embodiment determines whether or not the power supply pumping phenomenon is actually generated in accordance with the positive power supply voltage Vp and the negative power supply voltage Vm detected by the voltage detector 53 in
In
As will be understood from the above description, as the positive power supply voltage Vp or the negative power supply voltage Vm fluctuates from a predetermined value by a power supply pumping phenomenon, the voltage index value Q takes a larger numerical value. That is, it is possible to evaluate that the larger voltage index value Q, the higher the probability of the power supply pumping phenomenon. The state determiner 61 according to the first embodiment determines that there is an on-going power supply pumping phenomenon when a voltage index value Q is higher than a first threshold value Ta1. The state determiner 61 determines that the power supply pumping phenomenon has been eliminated when the voltage index value Q is lower than a second threshold value Ta2. As shown in
The operation controller 62 controls the weighted value α to be applied to the generation of the audio signal Y0 by the output controller 33 in accordance with the determination result from the state determiner 61. As shown in
On the other hand, when the determination result from the state determiner 61 changes from affirmative to negative (that is, when the state information P changes from “1” to “0”), the operation controller 62 decreases the weighted value α over time from the start point to the end point of the transition period V2 of the predetermined length. Specifically, in the transition period V2, the weighted value (1−α) of the first signal X1 linearly increases from 0 to 1, and the weighted value α of the second signal X2 linearly decreases from 1 to 0. That is, a cross-fade, in which the fade-in of the first signal X1 and the fade-out of the second signal X2 are parallel to each other, is realized. Therefore, the output controller 33 gradually changes in the transition period V2 from the second state (α=1), in which the second signal X2 is output, until the first state (α=0), in which the first signal X1 is output. The time lengths of the transition period V1 and the transition period V2 are freely selectable. For example, the transition period V2 is set to a length that is longer than the transition period V1. Specifically, the transition period V1 is set to a time length of, for example, 10 milliseconds or less. The transition period V2 is set to a time length of, for example, 100 milliseconds or less.
The state determiner 61 determines whether or not the state information P is “1” (Sa3). When the state information P is “1” (Sa3: YES), that is, when the power supply pumping phenomenon has already occurred, the state determiner 61 determines whether or not the voltage index value Q is below the second threshold value Ta2 (Sa4). That is, the state determiner 61 determines whether or not the power supply pumping phenomenon has been eliminated. When the voltage index value Q exceeds the second threshold value Ta2 (Sa4: NO), that is, when the power supply pumping phenomenon is continuing, the state determiner 61 maintains the state information P at “1” (Sa5).
On the other hand, in the state in which the state information P is set to “0” (Sa3: NO), no power supply pumping phenomenon occurs. When the voltage index value Q is below the second threshold value Ta2 in a state in which the state information P is set to “1” (Sa4: YES), it is estimated that the power supply pumping phenomenon which has occurred immediately before is eliminated. In the state in which the power supply pumping phenomenon does not occur (Sa3: NO, Sa4: YES) as described above, the state determiner 61 determines whether or not the voltage index value Q exceeds the first threshold value Ta1 (Sa6).
When the voltage index value Q exceeds the first threshold value Ta1 (Sa6: YES), that is, when a power supply pumping phenomenon occurs, the state determiner 61 sets the state information P to “1” (Sa5). On the other hand, when the voltage index value Q is below the first threshold value Ta1 (Sa6: NO), that is, when the power supply pumping phenomenon does not occur, the state determiner 61 sets the state information P to “0” (Sa7).
In accordance with the above procedure, when the state information P is maintained or updated according to the voltage index value Q, the state determiner 61 determines whether or not the state information P is “1” (Sa8). That is, the state determiner 61 determines whether or not there is an on-going power supply pumping phenomenon in the power source 52.
When the state information P is “1” (Sa8: YES), that is, when there is an on-going power supply pumping phenomenon, the operation controller 62 executes processing for setting the weighted value α to 1 (Sa9). That is, the processing for controlling the output controller 33 to be in the second state is executed. Specifically, when the output controller 33 is already in the second state (α=1), the operation controller 62 maintains the weighted value α at 1. When the output controller 33 is in the first state (α=0), the operation controller 62 increases the weighted value α from 0 to 1 over time from the start point to the end point of the transition period V1, as described with reference to
On the other hand, when the state information P is “0” (Sa8: NO), that is, when the power supply pumping phenomenon does not occur, the operation controller 62 executes processing for setting the weighted value α to 0 (Sa10). That is, the processing for controlling the output controller 33 to the first state is executed. Specifically, when the output controller 33 is already in the first state (α=0), the operation controller 62 maintains the weighted value α at 0. When the output controller 33 is in the second state (α=1), as described with reference to
As described above, the output controller 33 is controlled to be in the first state when the determination result from the state determiner 61 is negative (when the power supply pumping phenomenon does not occur). On the other hand, the output controller 33 is controlled to be in the second state when the determination result from the state determiner 61 is affirmative (when there is an on-going power supply pumping phenomenon). In the second state, the second signal X2, which is obtained by reducing components that fall below the second frequency F2, which is higher than the first frequency F1, is output from the output controller 33. Accordingly, there is reduced fluctuation in the power supply voltage due to the power supply pumping phenomenon as compared with the first state.
In the first embodiment, since the output controller 33 changes from one state to another between the first state and the second state, it is not necessary to change a cutoff frequency of the high-pass filter for processing the audio signal X according to the presence or absence of the power supply pumping phenomenon. Specifically, the first embodiment allows for reduction of the fluctuation in the power supply voltage due to the power supply pumping phenomenon, by the very simple control for changing one weighted value α. Therefore, the first embodiment provides an advantage that there is reduced of load that is applied to the audio processing device 12 and the like to reduce the fluctuation in the power supply voltage due to the power supply pumping phenomenon, as compared with the technique of Patent Document 1 in which the cutoff frequency of the high-pass filter is changed.
Incidentally, due to the difference in frequency response between the first high-pass filter 321 and the second high-pass filter 322 (in particular, phase characteristic), there is a possibility that phases of the first signal X1 and the second signal X2 may be different from each other. Therefore, in the configuration in which the first signal X1 and the second signal X2 are selectively switched by the output controller 33, the level of the audio signal Y0 output from the output controller 33 may fluctuate discontinuously at the time of switching, which may cause noise (for example, a noise “puff”). In the first embodiment, the weighted value α of the second signal X2 decreases over time in parallel to the increase in the weighted value (1−α) of the first signal X1 over time. On the other hand, the weighted value α of the second signal X2 increases over time in parallel to the decrease in the weighted value (1−α) of the first signal X1 over time. That is, the first signal X and the second signal X2 are cross-faded. Therefore, the first embodiment provides another advantage that there is reduced noise caused by a difference in phase between the first signal X1 and the second signal X2.
In addition, presence or absence of occurrence of a power supply pumping phenomenon is determined in accordance with the positive power supply voltage Vp and the negative power supply voltage Vm. Therefore, the first embodiment provides another advantage in that there is effective reduction in fluctuation in the power supply voltage due to the power supply pumping phenomenon actually occurring in the power source 52. In the first embodiment, in particular, the first threshold value Ta1 for detecting the occurrence of the power supply pumping phenomenon exceeds the second threshold value Ta2 for detecting the elimination of the power supply pumping phenomenon. Therefore, there is reduction in probability that a power supply pumping phenomenon is excessively detected, as compared with an audio processing device configured to determine that there is an on-going power supply pumping phenomenon when the voltage index value Q is higher than the second threshold value Ta2. Further, the first embodiment provides another advantage in that there is reduced fluctuation in the power supply voltage due to the power supply pumping phenomenon, as compared with an audio processing device configured to determine that the power supply pumping phenomenon is eliminated when the voltage index value Q is lower than the first threshold value Ta1.
A second embodiment according to the present invention will be described. In the embodiments shown in the following, elements having the same actions and functions as in the first embodiment are denoted by the same respective reference numerals as used for like elements in the description of the first embodiment, and detailed description thereof is omitted where appropriate.
As described above with reference to the above-described Equation (1), as the frequency of the audio signal Z output from the class-D amplifier 51 decreases, the probability of the power supply pumping phenomenon occurring increases. Therefore, the higher the intensity (for example, volume or power) of the low-frequency component of the audio signal X supplied from the signal supply device 11, the more likely the power supply pumping phenomenon will occur.
In consideration of the above-described tendency, in the second embodiment an audio processing device determines that there is a possibility that a power supply pumping phenomenon occurs when the intensity of the low-frequency component in the audio signal X is greater than the threshold value. In other words, the audio processing device according to the first embodiment analyze the positive power supply voltage Vp and the negative power supply voltage Vm to detect that the power supply pumping phenomenon is actually occurring. In contrast, the audio processing device according to the second embodiment analyzes the low-frequency component of the audio signal X, to determine whether or not there is a possibility that a power supply pumping phenomenon occurs (that is, irrespective of whether or not the power supply pumping phenomenon is actually generated). In the second embodiment, there are omitted the configuration and operation using the positive power supply voltage Vp and the negative power supply voltage Vm to reduce fluctuation in the power supply voltage due to the power supply pumping phenomenon. For example, the voltage detector 53 shown in the first embodiment is omitted.
As shown in
The state determiner 61 according to the second embodiment determines whether or not there is a possibility that a power supply pumping phenomenon occurs in accordance with the intensity (hereinafter referred to as “low-frequency intensity”) L of the low-frequency component in the audio signal X. Specifically, the state determiner 61 compares the low-frequency intensity L of the low-frequency signal S generated by the subtractor circuit 71 with a threshold value, to determine whether or not there is a possibility that a power supply pumping phenomenon occurs. The low-frequency intensity L takes a numerical value on an envelope generated by a known envelope filter, for example, from the low-frequency signal S. As described above, the greater the low-frequency intensity L, the more likely the power supply pumping phenomenon is to occur. In consideration of the above tendency, the state determiner 61 according to the second embodiment determines that there is a possibility that a power supply pumping phenomenon occurs when the low-frequency intensity L is higher than the predetermined threshold value Tb.
The state determiner 61 determines whether or not the low-frequency intensity L exceeds the threshold value Tb (Sb3). When the low-frequency intensity L exceeds the threshold value Tb (Sb3: YES), that is, when there is a possibility that a power supply pumping phenomenon occurs, the operation controller 62 executes processing for setting the weighted value α to 1 (Sb4). That is, the operation controller 62 executes the processing for controlling the output controller 33 to be in the second state. Specifically, when the output controller 33 is already in the second state (α=1), the operation controller 62 maintains the weighted value α at 1. When the output controller 33 is in the first state (α=0), as shown in
On the other hand, when the low-frequency intensity L is below the threshold value Tb, (Sb3: NO), that is, when it is estimated that the power supply pumping phenomenon does not occur, the operation controller 62 executes processing for setting the weighted value α to 0 (Sb5). That is, the processing for controlling the output controller 33 to the first state is executed. Specifically, when the output controller 33 is already in the first state (α=0), the operation controller 62 maintains the weighted value α at 0. On the other hand, when the output controller 33 is in the second state (α=1), as shown in
As described above, in the second embodiment, the output controller 33 changes from one state to another between the first state and the second state by a simple control for changing the weighted value α. Therefore, as in the first embodiment, the second embodiment provides an advantage in that there is reduction of load that is applied to the audio processing device and the like to reduce fluctuation in the power supply voltage due to the power supply pumping phenomenon, as compared with the technique of Patent Document 1 in which the cutoff frequency of the high-pass filter is changed. Further, since the first signal X1 and the second signal X2 are cross-faded, as in the case of the first embodiment, the second embodiment provides another advantage in that there is reduced noise caused by the difference in phase between the first signal X1 and the second signal X2.
In the second embodiment, when the intensity of the low-frequency component in the audio signal X (low-frequency intensity L) exceeds the threshold value Tb, it is determined that there is a possibility that a power supply pumping phenomenon occurs. Therefore, even when the power supply pumping phenomenon is not actually generated, it is possible to execute processing for reducing fluctuations in the power supply voltage due to the power supply pumping phenomenon (processing for controlling the output controller 33 to the second state). That is, according to the second embodiment, it is possible to prevent the occurrence of a power supply pumping phenomenon.
The embodiments described above may be modified in various ways. Examples of specific modifications will now be described. Two or more modes selected freely among the following may also be combined.
(1) In the above-described embodiment, the first signal X1 and the second signal X2 are cross-faded. However, in a case in which noise due to the phase difference between the first signal X1 and the second signal X2 does not cause any particular problem, the output controller 33 may selectively output the first signal X1 and the second signal X2 as the audio signal Y0. That is, there are omitted the calculation of the weighted sum of the first signal X1 and the second signal X2, and the cross fade between the first signal X1 and the second signal X2.
For example, there is used, as the output controller 33, a switch for selecting either of the first signal X1 and the second signal X2. The operation controller 62 controls the output controller 33 so that, when the determination result from the state determiner 61 is affirmative, the output controller 33 is in the first state in which the first signal X1 is output. On the other hand, the operation controller 62 controls the output controller 33 so that, when the determination result is negative, the output controller 33 is in the second state in which the second signal X2 is output. Also in the above configuration, as compared with the technique of Patent Document 1 in which the cutoff frequency of the high-pass filter is changed, there is reduction of load that is applied to the audio processing device 12 and the like to reduce the fluctuation in the power supply voltage due to the power supply pumping phenomenon. As will be understood from the above description, the operation controller 62 according to the aspect of the present invention is expressed comprehensively as an element configured to control the output controller 33 to be in the first state when the determination result from the state determiner 61 is negative, and control the output controller 33 to be in the second state when the determination result is affirmative. There is basically preferred an audio processing device that is configured to gradually change from one state to another between the first state and the second state. However, the audio processing device may instantaneously change from one state to another between the first state and the second state.
(2) In each embodiment described above, the signal processor 32 is provided with the first high-pass filter 321 and the second high-pass filter 322. However, the first high-pass filter 321 may be omitted. For example, in an audio processing device configured to reduce components that fall below the first frequency F1 in the signal processing before the processing by the low-frequency reducer 31, the first high-pass filter 321 is omitted from the low-frequency reducer 31 as shown in
(3) In the second embodiment, a part (filter 351) of the second high-pass filter 322 is used both for generating the second signal X2 and for generating the low-frequency signal S. However, the low-frequency signal S may be generated by an element separate from the generation of the second signal X2. For example, as shown in
The subtractor circuit 71 may receive a supply of the first signal X1 generated by the first high-pass filter 321 as the high-frequency signal Xh. Alternatively, the subtractor circuit 71 may receive a supply of a signal generated by some filters constituting first-order high-pass filters 321 (for example, a filter other than the last stage) as the high-frequency signal Xh. In the above configuration, the low-frequency signal S, which represents a low-frequency component that falls below the first frequency F1, is generated by the subtractor circuit 71.
(4) In each of the above-described embodiments, the weighted value (1−α) of the first signal X1 and the weighted value α of the second signal X2 are linearly varied; however, the aspects of the variation of the weighted value α and the weighted value (1−α) are not limited to the above example. Specifically, each of the weighted value α and the weighted value (1−α) may be changed in a curved manner. In each of the above-described embodiments, the weighted value α is changed from 0 to 1; however, the minimum value of the weighted value α (an example of the second value) and the maximum value (an example of the first value) are not limited to the above examples. For example, the minimum value of the weighted value α may be set to a positive number close to 0 (for example, 0.1) Alternatively, for example, the maximum value of the weighted value α may be set to a value close to 1 (for example, 0.9).
(5) In the first embodiment, the state determiner determines whether or not the power supply pumping phenomenon is actually generated based on the voltage index value Q. This determination will be called the “first determination”. In the second embodiment, the state determiner determines whether or not there is a possibility that a power supply pumping phenomenon occurs in accordance with the low-frequency intensity L of the audio signal X. This determination will be called the “second determination”. However, the first determination and the second determination may also be used in combination. Specifically, the state determiner 61 determines whether or not the power supply pumping phenomenon is actually generated in accordance with the positive power supply voltage Vp and the negative power supply voltage Vm (first determination), and whether or not there is a possibility that a power supply pumping phenomenon occurs, according to the low-frequency signal S (second determination). The operation controller 62 controls the output controller 33 to be in the second state when at least one of results of the first determination and the second determination is affirmative, and controls the output controller 33 to be in the first state when both the results of the first determination and the second determination are negative.
(6) For example, the following aspect is understood from the foregoing embodiments.
An audio processing device according to an aspect of the present invention includes: at least one processor configured to: generate a first signal by reducing components that fall below a first frequency in an audio signal; generate a second signal by reducing components that fall below a second frequency that is higher than the first frequency in the audio signal; select between a first state for outputting the first signal and a second state for outputting the second signal: and output one of the selected first or second signal as an output signal; and a class-D amplifier configured to amplify the output signal, in which, the at least one processor is further configured to: determine whether or not a power supply pumping phenomenon exists or a possibility of the power supply pumping phenomenon exists, in a power source that supplies a power supply voltage to the class-D amplifier; and in which in the selecting between the first state and the second state, the at least one processor is configured to select: the first state in a case where a determination result is negative, where the power supply pumping phenomenon is determined to not exist or the possibility of the power supply pumping phenomenon is determined to not exist; and the second state in a case where the determination result is affirmative, where the power supply pumping phenomenon is determined to exist or the possibility of the power supply pumping phenomenon is determined to exist.
In the aspect described above, when the determination result is negative (specifically, when the power supply pumping phenomenon does not occur in the power source or when there is no possibility that a power supply pumping phenomenon occurs), the at least one processor selects the first state. On the other hand, when the determination result is affirmative (specifically, when a power supply pumping phenomenon occurs in the power source or when there is a possibility that a power supply pumping phenomenon occurs), the at least one processor selects the second state. The more the low-frequency component of the audio signal is dominant, the more likely the power supply pumping phenomenon occurs. In the second state, the at least one processor outputs the second signal, which is obtained by reducing components that fall below the second frequency that is higher than the first frequency. This allows for reduction of fluctuation in the power supply voltage due to the power supply pumping phenomenon as compared with the first state. Since the at least one processor selects between the first state and the second state, it is not necessary to change the cutoff frequency of the high-pass filter for processing the audio signal according to the presence or absence of the power supply pumping phenomenon. Therefore, there is an advantage in that there is reduction of load that is applied to the audio processing device and the like to reduce fluctuation in the power supply voltage due to the power supply pumping phenomenon.
In the example 1 (Aspect 2), the at least one processor is configured to: output a weighted sum of the first signal and the second signal, in the first state, a weighted value of the first signal is set to a first value, and a weighted value of the second signal is set to a second value that is below the first value; in the second state, the weighted value of the first signal is set to the second value, and the weighted value of the second signal is set to the first value; and control the weighted value of the first signal and the weighted value of the second signal.
In the aspect described above, the at least one processor selects between the first state and the second state by controlling the weighted values of the first signal and the second signal. Therefore, there is an advantage that there can be reduction in the fluctuation in the power supply voltage due to the power supply pumping phenomenon by simple control of changing the weighted values.
In the example of Aspect 2 (Aspect 3), the at least one processor is configured to change: the weighted value of the first signal from the first value to the second value over time and changes the weighted value of the second signal from the second value to the first value over time, in a case where the determination result changes from the negative to the affirmative; and the weighted value of the first signal from the second value to the first value over time and changes the weighted value of the second signal from the first value to the second value over time, in a case when the determination result changes from the affirmative to the negative.
In the aspect described above, the weighted value of the second signal decreases over time in parallel with the increase in the weighted value of the first signal over time, and the weighted value of the second signal increases over time in parallel with the decrease in the weighted value of the first signal over time. That is, the first signal and the second signal are cross-faded. Therefore, there is an advantage that there can be reduction in noise caused by a difference in phase between the first signal and the second signal.
In the example of any one of Aspects 1 to 3, the at least one processor is configured to determine whether or not the power supply pumping phenomenon exists in accordance with the power supply voltage supplied from the power source to the class-D amplifier.
In the aspect described above, there is reduction in fluctuations in the power supply voltage due to the power supply pumping phenomenon when the power supply pumping phenomenon is actually generated.
In the example of Aspect 1 (Aspect 4), the at least one processor is configured to determine: the affirmative in a case where a voltage index value corresponding to the power supply voltage is higher than a first threshold value; and the negative in a case where the voltage index value is lower than a second threshold value that is below the first threshold value.
In the aspect described above, the first threshold value for determining that there is an on-going power supply pumping phenomenon exceeds the second threshold value for determining that the power supply pumping phenomenon has been eliminated. Therefore, as compared with a configuration in which it is determined that there is an on-going power supply pumping phenomenon when the voltage index value is higher than the second threshold value, there is reduction in the probability that a power supply pumping phenomenon is excessively detected. Further, there is an advantage that there is sufficiently reduced fluctuation in the power supply voltage due to the power supply pumping phenomenon as compared with a configuration in which the power supply pumping phenomenon is determined to be eliminated when the voltage index value is lower than the first threshold value.
In the example of any one of Aspects 1 to 3 (Aspect 5), the at least one processor is configured to determine the affirmative in a case where an intensity of a low-frequency component in the audio signal is greater than a threshold value.
In this configuration, the processing for suppressing the fluctuation is executed after the power supply voltage is actually fluctuated due to the power supply pumping phenomenon. In contrast to this configuration described above, in the aspect described above, the state determiner determines that a power supply pumping phenomenon occurs when the intensity of the low-frequency component in the audio signal is greater than the threshold value. According to this aspect, even when the power supply pumping phenomenon is not actually generated, there is executed processing for reducing fluctuations in the power supply voltage due to the power supply pumping phenomenon (processing for controlling the output controller to be in the second state). Therefore, there is an advantage in that there is reduced occurrence (ideally, prevention) of a power supply pumping phenomenon in advance.
In the example of Aspect 5 (Aspect 6), the at least one processor includes: a high-pass filter that generates the second signal by reducing components that fall below the second frequency in the audio signal; and a subtractor circuit that subtracts, from the audio signal, a signal processed by the high-pass filter, to generate a signal having the low-frequency component.
In the aspect described above, there is used a high-pass filter which outputs a second signal by reducing components that fall below the second frequency in the audio signal, to generate signal having a low-frequency component used for determining a power supply pumping phenomenon. Therefore, there is an advantage in that the configuration of the audio processing device is simplified as compared with a configuration for generating a signal of a low-frequency component for determining a power supply pumping phenomenon by an element separate from the high-pass filter.
In the example of any one of Aspects 1 to 6 (Aspect 7), the at least one processor includes: a first high-pass filter configured to generate the first signal by reducing components that fall below the first frequency in the audio signal; and a second high-pass filter configured to generate the second signal by reducing components that fall below the second frequency in the audio signal.
In a method of controlling an audio processing device according to an example (Aspect 8) of the present invention, the audio processing device includes: at least one processor configured to: generate a first signal by reducing components that fall below a first frequency in an audio signal; generate a second signal by reducing components that fall below a second frequency that is higher than the first frequency in the audio signal; select between a first state for outputting the first signal and a second state for outputting the second signal; and output one of the selected first or second signal as an output signal, and a class-D amplifier configured to amplify the output signal, in which the method includes: determining whether or not a power supply pumping phenomenon exists or a possibility of the power supply pumping phenomenon exists, in a power source that supplies a power supply voltage to the class-D amplifier; selecting the first state in a case where a determination result is negative, where the power supply pumping phenomenon is determined to not exist or the possibility of the power supply pumping phenomenon is determined to not exist; and selecting the second state in a case where the determination result is affirmative, where the power supply pumping phenomenon is determined to exist or the possibility of the power supply pumping phenomenon is determined to exist.
In the aspect described above, when the determination result is negative (specifically, when the power supply pumping phenomenon does not occur in the power source or when there is no possibility that a power supply pumping phenomenon occurs), the at least one processor selects the first state. On the other hand, when the determination result is affirmative (specifically, when a power supply pumping phenomenon occurs in the power source or when there is a possibility that a power supply pumping phenomenon occurs), the at least one processor selects the second state. In the second state, the at least one processor outputs the second signal, which is obtained by reducing components that fall below the second frequency that is higher than the first frequency. This allows for reduction of fluctuation in the power supply voltage due to the power supply pumping phenomenon as compared with the first state. Since the at least one processor selects between the first state and the second state, it is not necessary to change the cutoff frequency of the high-pass filter for processing the audio signal according to the presence or absence of the power supply pumping phenomenon. Therefore, there is an advantage in that there is reduction of load that is applied to the audio processing device 12 and the like to reduce fluctuation in the power supply voltage due to the power supply pumping phenomenon.
This Application is a Continuation Application of PCT Application No. PCT/JP2017/018876, filed May 19, 2017, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2017/018876 | May 2017 | US |
Child | 16684731 | US |