Signal processing apparatus, signal processing method, and program
10965307 ยท 2021-03-30
Assignee
Inventors
Cpc classification
H03L7/093
ELECTRICITY
H04R5/04
ELECTRICITY
International classification
Abstract
The present technology relates to a signal processing apparatus, a signal processing method, and a program that allow an improvement in the rate of modulation of PWM signals. Pulse width modulation (PWM) is performed to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to the period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to the center of the period of the PWM signal. The present technology is applicable, for example, to audio reproduction systems that reproduce audio signals.
Claims
1. A signal processing apparatus, comprising: a pulse width modulation (PWM) converter configured to perform PWM modulation to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
2. The signal processing apparatus according to claim 1, wherein the PWM converter is further configured to: convert the 1 of the PDM signal into the maximum-length pulse; and convert the 0 of the PDM signal into the minimum-length pulse.
3. The signal processing apparatus according to claim 2, wherein the PWM converter is further configured to: convert the 1 of the PDM signal into the maximum-length pulse starting from a beginning of the period of the PWM signal; and convert the 0 of the PDM signal into the minimum-length pulse with an end located at the center of the period of the PWM signal.
4. The signal processing apparatus according to claim 2, wherein the PWM converter is further configured to: convert the 1 of the PDM signal into the maximum-length pulse terminating at an end of the period of the PWM signal; and convert the 0 of the PDM signal into the minimum-length pulse with a beginning located at the center of the period of the PWM signal.
5. The signal processing apparatus according to claim 1, further comprising: a drive circuit configured to amplify the PWM signal; and a low-pass filter (LPF) configured to perform filtering on the PWM signal amplified by the drive circuit.
6. A signal processing method, comprising: performing pulse width modulation (PWM) to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
7. A non-transitory computer-readable medium having stored thereon computer-executable instructions that, when executed by a signal processing apparatus, cause the signal processing apparatus to execute operations, the operations comprising: performing pulse width modulation (PWM) to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
MODE FOR CARRYING OUT THE INVENTION
(11) <1. Configuration Example of Audio Reproduction System>
(12)
(13) An audio reproduction system 1 illustrated in
(14) The storage medium 11 stores a PDM signal into which an audio signal has been PDM-modulated. The PDM signal stored in the storage medium 11 is read from the storage medium 11 and transmitted to the signal processing apparatus 12.
(15) Here, the PDM signal stored in the storage medium 11 is a one-bit signal into which the audio signal has been PDM-modulated, for example, at a sampling frequency of a power of two times a sampling frequency Fs of 44.1 kHz under the Compact Disc Digital Audio (CD-DA) standard, for example, of 2.8224 MHz (=64 Fs) equivalent to 64 times.
(16) PDM signals of audio signals include signals called direct stream digital (DSD), and the like.
(17) The signal processing apparatus 12 includes a PWM converter 21, a drive circuit 22, and a low-pass filter (LPF) 23.
(18) The PWM converter 21 receives the PDM signal from the storage medium 11. The PWM converter 21 performs PWM modulation on the PDM signal received from the storage medium 11, specifically, among first PWM modulation in SE drive, second PWM modulation in SE drive, and PWM modulation in BTL drive as described later, the second PWM modulation in SE drive in particular. The PWM converter 21 provides a PWM signal obtained by the PWM modulation to the drive circuit 22.
(19) The drive circuit 22 has a digital amplifier built in as a preamplifier and a power amplifier (not illustrated), amplifies the PWM signal provided from the PWM converter 21, and provides the amplified PWM signal to the LPF 23.
(20) The LPF 23 performs filtering on the PWM signal provided from the drive circuit 22, and provides an audio signal obtained by the filtering to the headphones 13.
(21) The headphones 13 include a left (L) channel speaker 13a and a right (R) channel speaker 13b.
(22) The headphones 13 output sound corresponding to the audio signal provided from the LPF 23 from the speaker 13a and the speaker 13b.
(23)
(24) In step S11, the PWM converter 21 receives the PDM signal from the storage medium 11.
(25) In step S12, the PWM converter 21 performs PWM modulation (pulse width modulation) on the PDM signal received from the storage medium 11, converting the PDM signal into a PWM signal. The PWM converter 21 provides the PWM signal to the drive circuit 22.
(26) In step S13, the drive circuit 22 amplifies the PWM signal provided from the PWM converter 21. The drive circuit 22 provides the amplified PWM signal to the LPF 23.
(27) In step S14, the LPF 23 performs filtering on the amplified PWM signal provided from the drive circuit 22. The LPF 23 provides an audio signal obtained by the filtering to the headphones 13.
(28) <2. PWM Modulation>
(29) Hereinafter, PWM modulation performed by the PWM converter 21 to convert (modulate) a PDM signal into a PWM signal will be described.
(30)
(31) In
(32) Note that in the following, the period of a PDM signal is 1/(64 Fs), and the period of a PWM signal obtained by PWM modulation is also 1/(64 Fs) equal to the period of the PDM signal, unless otherwise specified.
(33) Furthermore, PWM modulation of two samples (two periods) of the PDM signal in which a 0 and a 1 are continuous will be described.
(34) Moreover, a PWM-modulated PWM signal corresponding to the 1 of the PDM signal is described as a PWM (1), and a PWM-modulated PWM signal corresponding to the 0 of the PDM signal is described as a PWM (0).
(35) Furthermore, as the frequency of a master clock required for conversion into (generation of) a PWM signal by PWM modulation in the PWM converter 21, a frequency of a power of two times the sampling frequency Fs, for example, 1024 Fs of 1024 times is used.
(36) The resolution of a PWM signal obtained by PWM modulation can be represented by the number of slots in one period of the PWM signal. The number of slots in one period can be determined by the frequency of the master clock/the (carrier) frequency of the PWM signal. In
(37) Furthermore, in the PDM signal, a portion where one period (1/64 Fs) is at a high (H) level represents a 1, and a portion where one period (1/64 Fs) is at a low (L) level represents a 0.
(38) In the first PWM modulation in SE drive, the 1 of the PDM signal is converted into a PWM (1) that is a pulse of a maximum pulse width line-symmetric with respect to the center of one period of the PWM signal. Furthermore, in the first PWM modulation in SE drive, the 0 of the PDM signal is converted into a PWM (0) that is a pulse of a minimum pulse width line-symmetric with respect to the center of one period of the PWM signal.
(39) Thus, in
(40)
(41)
(42) Here, for BTL drive, a PWM signal includes a positive-side (or hot-side) PWM signal and a negative-side (or cold-side) PWM signal.
(43) In the PWM modulation in BTL drive, a 1 of the PDM signal is converted into a positive-side PWM (1) that is a pulse of a maximum pulse width in one period of the PWM signal, and a negative-side PWM (1) that is a pulse of a minimum pulse width in one period of the PWM signal.
(44) Moreover, in the PWM modulation in BTL drive, a 0 of the PDM signal is converted into a positive-side PWM (1) that is a pulse of the minimum pulse width in one period of the PWM signal, and a negative-side PWM (1) that is a pulse of the maximum pulse width in one period of the PWM signal.
(45) Thus, in
(46) Moreover, in
(47) BTL drive uses a PWM signal after differential addition to drive (the drive circuit 22 that provides an audio signal to) the speaker 13a and the speaker 13b. The PWM signal after differential addition is a signal of the positive-side PWM signal and the negative-side PWM signal differentially added. In the PWM signal after differential addition, the 1 of the PDM signal becomes a PWM (1) that is a pulse of a pulse width of seven slots to both the left and right from the center of one period of the PWM signal, and the 0 of the PDM signal becomes a PWM (0) that is a pulse of the PWM (1) inverted (phase-reversed).
(48) Here, in the first PWM modulation in SE drive and the PWM modulation in BTL drive, the PDM signal is PWM-modulated into the PWM signal (PWM signal after differential addition) such that the position of the center of the pulses is located at the center of one period (of the carrier) of the PWM signal. That is, in the first PWM modulation in SE drive and the PWM modulation in BTL drive, the PDM signal is PWM-modulated into a pulse of a pulse width line-symmetric with respect to the center of one period.
(49) In PWM modulation, if conversion into a PWM signal in which the position of the center of a pulse changes in each period of the PWM signal is performed, phase modulation is performed, and harmonic distortion and the like occur with the phase modulation. However, as in the first PWM modulation in SE drive and the PWM modulation in BTL drive, PWM modulation into a pulse of a pulse width line-symmetric with respect to the center of one period of the PWM signal can prevent phase modulation from being performed, and can prevent occurrence of harmonic distortion and the like.
(50) Here, the rate of modulation of the PWM signal in
(51) The rate of modulation of the PWM signal is proportional to the difference in pulse width between the PWM (1) and the PWM (0) of the PWM signal corresponding to the 1 and the 0 of the PDM signal, respectively, and can be determined by calculating the difference in duty ratio between the PWM (1) and the PWM (0).
(52) For the PWM signal of the first PWM modulation in SE drive of
{(14/16)(2/16)}100%=75%(1)
(53) For the PWM signal of the PWM modulation in BTL drive of
{(15/16)(1/16)}100%=87.5%(2)
(54) When the pulse width of a pulse of a PWM signal is expressed in units of the largest possible number of slots, the unit of the largest possible number of slots is referred to as a minimum unit (pulse-width resolution). That is, the number of slots representing the period of the master clock of a maximum period required when a PWM signal is generated is referred to as a minimum unit.
(55) In the first PWM modulation in SE drive, since the PDM signal is converted into a pulse that is line-symmetric with respect to the center of one period of the PWM signal, the minimum unit is two slots. On the other hand, in the PWM modulation in BTL drive, the minimum unit is one slot.
(56) If the minimum unit is larger, the modulation rate is lower. Thus, for the first PWM modulation in SE drive and the PWM modulation in BTL drive, the modulation rate of the first PWM modulation in SE drive is lower than the modulation rate of the PWM modulation in BTL drive.
(57)
(58) In the second PWM modulation in SE drive, one of a 0 or 1 of a PDM signal is converted into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to the period of the PDM signal, and the other of the 0 or 1 of the PDM signal is converted into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to the center of the period of the PWM signal.
(59) A PDM signal illustrated in
(60) In
(61) In
(62) In
(63) The above point also applies to B of
(64)
(65) In
(66) As described above, even the second PWM modulation in SE drive, in which the position of the center of a pulse of a PWM signal is located at the center of one period of the PWM signal (has a line symmetry), can thus prevent occurrence of harmonic distortion and the like caused by phase modulation.
(67) The modulation rate of (a PWM signal of) the second PWM modulation in SE drive can be determined by calculating the difference in duty ratio between the PWM (1) and the PWM (0), like those of the first PWM modulation in SE drive illustrated in
(68) For the PWM signal of the second PWM modulation in SE drive of
{(15/16)(1/16)}100%=87.5%(3)
(69) According to equation (3), in the second PWM modulation in SE drive, the same modulation rate as that of the PWM modulation in BTL drive illustrated in
(70) Thus, the second PWM modulation in SE drive of
(71) Here, in the second PWM modulation in SE drive, the 1 and 0 of the PDM signal are converted into the maximum and minimum pulse widths of the PWM signal, respectively, so that the modulation rate is higher than that of the first PWM modulation in SE drive in which the 1 and 0 of the PDM signal are not converted into the maximum and minimum pulse widths of the PWM signal.
(72)
(73)
(74) Furthermore, in
(75) Moreover, the resolution of the PWM signal, that is, the number of slots in one period of the PWM signal is sixteen slots in
(76) As illustrated in
(77) Moreover, as illustrated in
(78) In a PWM signal after differential addition in which the positive-side PWM signal and the negative-side PWM signal as described above are differentially added, the 1 of the PDM signal becomes a PWM (1) that is a pulse of a pulse width of one slot to both the left and right from the center of one period of the PWM signal, and the 0 of the PDM signal becomes a PWM (0) that is a pulse of the PWM (1) inverted (phase-reversed).
(79)
(80)
(81) Furthermore, in
(82) Moreover, the resolution of the PWM signal, that is, the number of slots in one period of the PWM signal is sixteen slots in
(83) As shown in
(84) As described above, in a case where the resolution of the PWM signal is low, the first PWM modulation in SE drive results in the PWM (1) and the PWM (0) being identical pulses, and cannot (substantially) perform the PWM modulation.
(85)
(86)
(87) Furthermore, in
(88) Moreover, the resolution of the PWM signal, that is, the number of slots in one period of the PWM signal is sixteen slots in
(89) Here, the second PWM modulation in SE drive of
(90) In a PWM signal in pattern 1 of
(91) Furthermore, in a PWM signal in pattern 2 of
(92) Thus, even in a case where the resolution of a PWM signal is at a low level at which PWM modulation is impossible by the first PWM modulation in SE drive, the second PWM modulation in SE drive can perform PWM modulation.
(93) As described above, the second PWM modulation in SE drive can improve the rate of modulation of a PWM signal in SE drive as compared with the first PWM modulation in SE drive. Moreover, the improvement in the rate of modulation of a PWM signal allows an increase in the output level of the drive circuit 22 (the sound pressure output from the speaker 13a or the speaker 13b of the headphones 13) in SE drive.
(94) Furthermore, for the first PWM modulation in SE drive and the PWM modulation in BTL drive, the modulation rate of the first PWM modulation in SE drive is lower than the modulation rate of the PWM modulation in BTL drive. Therefore, in a case where the first PWM modulation in SE drive is adopted in SE drive, it is difficult to design a level diagram to make the output level of the drive circuit 22 in SE drive equal to that in BTL drive.
(95) On the other hand, in a case where the second PWM modulation in SE drive is adopted in SE drive, the second PWM modulation in SE drive and the PWM modulation in BTL drive can achieve the same modulation rate. Therefore, in a case where the second PWM modulation in SE drive is adopted, it is possible to reduce the difficulty of designing a level diagram to make the output level of the drive circuit 22 in SE drive equal to that in BTL drive.
(96) Moreover, in a case where SE drive is used in a case where the resolution of a PWM signal (the number of slots in one period) is low due to the low frequency of the master clock, the high sampling frequency of a PDM signal, or the like, even if PWM modulation is difficult by the first PWM modulation in SE drive, the second PWM modulation in SE drive can perform PWM modulation.
(97) Note that in
(98) <3. Description of Computer to which the Present Technology is Applied>
(99) Next, a series of processing steps of the PWM converter 21 described above can be performed by hardware or can be performed by software. In a case where the series of processing steps is performed by software, a program constituting the software is installed on a computer.
(100) Thus,
(101) In
(102) The CPU 101, the ROM 102, and the RAM 103 are interconnected via a bus 104. An input/output interface 105 is also connected to the bus 104.
(103) To the input/output interface 105, an input unit 106 including a keyboard and a mouse, or the like, a display including a liquid crystal display (LCD) or the like, an output unit 107 including speakers or the like, the storage unit 108 including a hard disk or the like, and a communication unit 109 including a modem, a terminal adapter, or the like are connected. The communication unit 109 performs communication processing via a network such as the Internet, for example.
(104) To the input/output interface 105, a drive 110 is also connected as necessary, into which a removable medium 111 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory is fitted as appropriate. A computer program read from them is installed in the storage unit 108 as needed.
(105) Note that the program executed by the computer may be a program under which processing is performed in time series in the order described in the present description, or may be a program in which processing is performed in parallel or at a necessary timing such as when a call is made.
(106) Embodiments of the present technology are not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the present technology.
(107) It should be noted that the effects described in the present description are merely examples and are not limiting, and effects other than those described in the present description may be included.
(108) <Others>
(109) The present technology can have the following configurations.
(110) (1)
(111) A signal processing apparatus including:
(112) a pulse width modulation (PWM) converter that performs PWM modulation to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
(113) (2)
(114) The signal processing apparatus according to (1), in which
(115) the PWM converter converts the 1 of the PDM signal into the maximum-length pulse and converts the 0 of the PDM signal into the minimum-length pulse.
(116) (3)
(117) The signal processing apparatus according to (1) or (2), in which
(118) the PWM converter converts the 1 of the PDM signal into the maximum-length pulse starting from a beginning of the period of the PWM signal, and converts the 0 of the PDM signal into the minimum-length pulse with an end located at the center of the period of the PWM signal.
(119) (4)
(120) The signal processing apparatus according to (1) or (2), in which
(121) the PWM converter converts the 1 of the PDM signal into the maximum-length pulse terminating at an end of the period of the PWM signal, and converts the 0 of the PDM signal into the minimum-length pulse with a beginning located at the center of the period of the PWM signal.
(122) (5)
(123) The signal processing apparatus according to any one of (1) to (4), further including:
(124) a drive circuit that amplifies the PWM signal; and
(125) a low-pass filter (LPF) that performs filtering on the PWM signal amplified by the drive circuit.
(126) (6)
(127) A signal processing method including:
(128) performing pulse width modulation (PWM) to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
(129) (7)
(130) A program that causes a computer to execute processing to
(131) perform pulse width modulation (PWM) to convert one of a 0 or 1 represented by a bit of a pulse density modulation (PDM) signal into which an audio signal has been PDM-modulated, into a maximum-length pulse of a maximum pulse width of a PWM signal having a period equal to a period of the PDM signal, and convert the other of the 0 or 1 of the PDM signal into a minimum-length pulse of a minimum pulse width of the PWM signal at a position adjacent to a center of the period of the PWM signal.
REFERENCE SIGNS LIST
(132) 1 Audio reproduction system 11 Storage medium 12 Signal processing apparatus 13 Headphones 13a, 13b Speaker 21 PWM converter 22 Drive circuit 23 LPF 101 CPU 102 ROM 103 RAM 104 Bus 105 Input/output interface 106 Input unit 107 Output unit 108 Storage unit 109 Communication unit 110 Drive 111 Removable disk