PWM modulation method and circuit

By sampling and comparing the input signal voltage, adjusting the width ratio of the PWM differential signal, combining loop filters and PWM shapers, the problem of difficult to take into account in the existing technology is solved, and high audio performance and High output efficiency PWM modulation.

CN118074683BActive Publication Date: 2024-11-29SHANGHAI ANALOGY SEMICON TECH LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410261828.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2024-11-29
Estimated Expiration
2044-03-07

AI Technical Summary

Technical Problem

The existing differential PWM modulation method is difficult to balance between improving audio performance and efficiency, resulting in a trade-off between performance and efficiency.

Method used

A new PWM modulation method is adopted to sample and compare the input signal voltage, output the PWM differential signal, and adjust the width ratio of PWM+ and PWM- to respond to the voltage value of the input signal, ensuring that it remains high under different signal conditions. Audio performance and high output efficiency, and further optimize output signals through loop filters and PWM shapers.

Benefits of technology

This achieves improved output efficiency without reducing audio performance and improves sound quality and power rejection ratio by reducing power loss and inductance ripple current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118074683B_ABST
    Figure CN118074683B_ABST
Patent Text Reader

Abstract

This application relates to the field of electronic technologies, and discloses a PWM modulation method and circuit, which can balance high audio performance and high output efficiency, and reduce low standby power consumption. The modulation method includes: performing voltage sampling on an input signal. Comparing the voltage of the input signal with 0, and outputting a PWM differential signal according to the comparison result, where the PWM differential signal includes a positive PWM+ signal and a negative PWM− signal. Among them, in response to the voltage of the input signal > 0V, the duty cycle of the output PWM+ is 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM− is proportional to the intensity of the input signal. In response to the voltage of the input signal = 0V, the duty cycles of the output PWM+ and PWM− are both 0 < t < T / 4, and the duty cycle of PWM+ is equal to the duty cycle of PWM−. In response to the voltage of the input signal < 0V, the duty cycle of the output PWM− is 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM− is proportional to the intensity of the input signal. Wherein, T represents the pulse period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technologies, and particularly to a PWM modulation method and circuit. Background Art

[0002] PWM modulation (Pulse-width modulation) is a technology widely used in the field of power electronics. It is a technology that outputs signals with pulses, and the width of the pulses changes according to the magnitude of the analog signal. In PWM modulation, the frequency of the pulse sequence remains unchanged, and by changing the width (duty cycle) of each pulse, the effective value of the output signal can be adjusted.

[0003] Class D power amplifiers (also known as digital power amplifiers or switching power amplifiers) usually adopt PWM modulation technology to amplify audio signals. Compared with traditional analog amplifiers (such as Class A, B, and AB), Class D power amplifiers are known for their high efficiency and low heat loss, and are particularly suitable for portable audio devices and high-power applications. Audio Class D power amplifiers adopt PWM modulation methods and have obvious efficiency advantages compared with linear power amplifiers (such as Class AB). Moreover, audio Class D power amplifiers have extremely high requirements for low distortion, so differential PWM modulation methods are usually adopted to improve performance.

[0004] However, the existing differential PWM modulation methods will result in a trade-off between audio performance and efficiency, and it is impossible to have both. For example, if the BD / AD modulation mode is adopted, the audio performance will be improved but the output efficiency will be reduced; if the 1SPW modulation mode is adopted, the output efficiency can be improved but the audio performance will be reduced. Summary of the Invention

[0005] The purpose of this application is to provide a PWM modulation method and circuit, which can have both high audio performance and high output efficiency, and reduce the low standby power consumption.

[0006] This application discloses a PWM modulation method, including:

[0007] Performing voltage sampling on the input signal;

[0008] Comparing the voltage of the input signal with 0, and outputting a PWM differential signal according to the comparison result. This PWM differential signal includes a positive PWM+ signal and a negative PWM- signal; where

[0009] In response to the voltage of the input signal > 0V, the duty cycle of PWM+ output is 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal;

[0010] In response to the voltage of the input signal being 0V, the duty cycles of both PWM+ and PWM- outputs are 0 < t < T / 4, and the duty cycle of PWM+ is equal to the duty cycle of PWM-.

[0011] In response to the voltage of the input signal being < 0V, the duty cycle of PWM- output is 0 < t < T / 4, and the difference between the duty cycles of PWM+ and PWM- is proportional to the intensity of the input signal.

[0012] Where T represents the pulse period.

[0013] In a preferred example, comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes:

[0014] Comparing the input signal after signal conditioning with a triangular wave signal and outputting the PWM differential signal.

[0015] In a preferred example, comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes:

[0016] Performing BD, AD, or 1SPW modulation on the input signal to obtain a modulated signal;

[0017] Performing discrete-time signal processing on the modulated signal to obtain the PWM differential signal.

[0018] In a preferred example, comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes:

[0019] Converting the input signal through analog-to-digital conversion into a digital audio source signal;

[0020] Performing signal processing on the digital audio source signal and then outputting the PWM differential signal.

[0021] This application also discloses a PWM modulation circuit, including: a loop filter, a PWM differential comparator, a PWM shaper, a pre-drive module, and an H-bridge drive circuit connected in series in sequence;

[0022] The input end of the loop filter is coupled to the input audio differential signal, the output end of the H-bridge drive circuit is coupled to the positive output end and the negative output end of the PWM modulation circuit, and the positive output end and the negative output end of the PWM modulation circuit are respectively coupled to the positive feedback input end and the negative feedback input end of the loop filter;

[0023] The input terminal of the PWM differential comparator also receives a triangular wave signal, and the PWM differential comparator is configured to compare the differential signal output by the loop filter with the triangular wave signal;

[0024] The PWM shaper is configured to:

[0025] When the voltage of the input signal > 0V, output a waveform with a duty cycle of PWM+ of 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal;

[0026] When the voltage of the input signal = 0V, output waveforms with a duty cycle of PWM+ and PWM- both of 0 < t < T / 4, and the duty cycle of PWM+ is equal to the duty cycle of PWM-;

[0027] When the voltage of the input signal < 0V, output a waveform with a duty cycle of PWM- of 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal;

[0028] Wherein, T represents the pulse period.

[0029] In a preferred example, the PWM differential comparator is further configured to: compare the amplitudes of the positive input and negative input of the triangular wave signal and the differential signal;

[0030] When the amplitude of the triangular wave signal is less than the amplitude of the negative input, PWM- is at a low level, and when the amplitude of the triangular wave signal is greater than the amplitude of the negative input, PWM- is at a high level;

[0031] When the amplitude of the triangular wave signal is less than the amplitude of the positive input, PWM+ is at a low level, and when the amplitude of the triangular wave signal is greater than the amplitude of the positive input, PWM+ is at a high level.

[0032] In a preferred example, the PWM shaper includes a digital logic operation module, an adjustable delay module, and a multiplexer connected in series in sequence;

[0033] And the input terminal of the multiplexer is also coupled to the PWM differential signal;

[0034] The digital logic operation module is configured to perform polarity judgment, logic processing on the PWM differential signal, and generate control signals for respectively controlling the adjustable delay module and the multiplexer;

[0035] The adjustable delay module is configured to delay the differential signal output by the digital logic operation module according to the control signal and adjust the length of the delay;

[0036] The multiplexer is configured to select two paths from multiple input signals as outputs.

[0037] In a preferred example, a common mode shaper is further connected in series between the loop filter and the PWM differential comparator;

[0038] The common mode shaper is configured to adjust the common mode of the differential signal from the loop filter, wherein the common mode shaper is configured to determine whether the PWM common mode duty ratio needs to be reduced according to the amplitude of the input differential signal, and if it needs to be reduced, the common mode shaper is configured to make the common mode of the differential signal at the output end of the common mode shaper greater than the common mode of the differential signal at the input end of the common mode shaper, and at the same time, the common mode shaper is also configured to keep the PWM differential mode duty ratio unchanged.

[0039] In a preferred example, the common mode shaper includes a differential envelope detection module, a common mode adjustment module and a feedback module;

[0040] The input end of the differential envelope detection module is coupled to the differential input end of the common mode shaper, the output end of the differential envelope detection module is coupled to the input end of the common mode adjustment module, the output end of the common mode adjustment module is coupled to the differential output end of the common mode shaper, the output end of the common mode adjustment module is also coupled to the input end of the feedback module, and the output end of the feedback module is coupled to the input end of the differential envelope detection module;

[0041] The differential envelope detection module is configured to detect the envelope of the input differential signal and generate a control signal of the common mode adjustment module according to the amplitude of the differential signal;

[0042] The common mode adjustment module is configured to adjust the common mode of the input differential signal according to the control signal of the common mode adjustment module to control the common mode duty ratio output by the PWM comparator;

[0043] The feedback module is configured to feed back the output of the common-mode adjustment module to the differential envelope detection module so that the differential-mode signal output by the common-mode shaper is equal to the differential-mode signal input by the common-mode shaper.

[0044] In a preferred embodiment, it also includes an analog-to-digital conversion module and a digital signal module;

[0045] The input end of the analog-to-digital conversion module is coupled to the input audio differential signal, the output end of the analog-to-digital conversion module is coupled to the input end of the digital signal module through the digital sound source interface, the output end of the digital signal module is coupled to the input end of the pre-driver module, and the positive output end and the negative output end of the PWM modulation circuit are respectively coupled to the positive feedback input end and the negative feedback input end of the digital signal module;

[0046] The analog-to-digital conversion module is configured to convert the analog audio differential signal into a digital sound source;

[0047] The digital signal module is configured to perform PWM digital signal processing.

[0048] In the implementation mode of the present application, a new modulation method is provided, in which the duty ratio of PWM+ / - is less than 25% when the input signal is 0, and the power loss is reduced by shortening the conduction time of the output power tube. Because the magnitude of the energy loss depends on the conduction impedance, load current and conduction time of the power tube, PWM modulation can not only reduce the conduction time, but also reduce the inductor ripple current caused by the output switch; when the input signal increases, the width of PWM+ increases linearly, and the width of PWM- remains unchanged, or decreases slightly, so the conduction time of the power tube is less than the BD / AD modulation mode, maintaining low power loss, and will not stop the rise / fall jump, so the linearity will not be deteriorated, and the sound quality is better than the 1SPW mode; when the input signal decreases, the width of PWM- increases linearly, and the width of PWM+ remains unchanged, or decreases slightly, so the conduction time of the power tube is less than the BD / AD modulation mode, maintaining low power loss, and will not stop the rise / fall jump, so the linearity will not be deteriorated, and the sound quality is better than the 1SPW mode;

[0049] Furthermore, a loop filter is used to amplify the nonlinear error of the H-bridge output stage, improve the output linearity through negative feedback, and provide power supply rejection ratio;

[0050] Furthermore, a PWM shaper is used to process the output signal of the PWM comparator, and only the common mode duty ratio of the PWM signal is changed, while the differential duty ratio is kept unchanged.

[0051] A large number of technical features are recorded in the specification of this application, which are distributed in various technical solutions. If all possible combinations of technical features of this application (i.e., technical solutions) are to be listed, the specification will be too long. In order to avoid this problem, the various technical features disclosed in the above-mentioned invention content of this application, the various technical features disclosed in the various embodiments and examples below, and the various technical features disclosed in the accompanying drawings can be freely combined with each other to form various new technical solutions (these technical solutions are all deemed to have been recorded in this specification), unless the combination of such technical features is technically infeasible. For example, in one example, feature A+B+C is disclosed, and in another example, feature A+B+D+E is disclosed, and features C and D are equivalent technical means that play the same role. Technically, only one can be used, and it is impossible to use them at the same time. Feature E can be combined with feature C technically. Then, the solution of A+B+C+D should not be deemed to have been recorded because it is technically infeasible, and the solution of A+B+C+E should be deemed to have been recorded. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 is a flow chart of a PWM modulation method according to an embodiment of the present application;

[0053] Figure 2 is a circuit structure diagram of a PWM modulation circuit according to an embodiment of the present application;

[0054] Figure 3 is a schematic diagram of a PWM modulation output waveform according to an embodiment of the present application;

[0055] Figure 4a-Figure 6b is a schematic diagram of a PWM modulation output waveform according to an embodiment of the present application;

[0056] Figure 7 is a circuit structure diagram of a PWM modulation circuit according to an embodiment of the present application;

[0057] Figure 8 is a common mode adjustment schematic diagram according to an embodiment of the present application;

[0058] Fig. 9 is a schematic structural diagram of a common mode shaper according to an embodiment of the present application;

[0059] Fig.10 is a circuit structure diagram of a PWM modulation circuit according to an embodiment of the present application;

[0060] Fig.11 is a structural schematic diagram of a digital signal processing module according to an embodiment of the present application;

[0061] Fig.12 It is a schematic structural diagram of a PWM generator according to an embodiment of the present application. Specific Embodiments

[0062] In the following description, many technical details are presented for the reader to better understand the present application. However, those of ordinary skill in the art can understand that even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can still be implemented.

[0063] Terms:

[0064] BD modulation: PWM modulation of Class BD type;

[0065] AD modulation: PWM modulation of Class AD type;

[0066] 1SPW modulation: One side PWM modulation, which can also be called unilateral PWM modulation.

[0067] To make the objectives, technical solutions, and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0068] The first embodiment of the present application relates to a PWM modulation method, the flowchart of which is as Figure 1 shown and includes:

[0069] In step 101, voltage sampling is performed on the analog input signal.

[0070] In step 102, the voltage of the input signal is compared with 0, and a PWM differential signal is output according to the comparison result. This PWM differential signal includes a positive PWM+ signal and a negative PWM- signal.

[0071] In step 103, in response to the voltage of the input signal > 0V, the duty cycle of PWM+ is output as 0 < t < T / 4 (preferably T / 20 < t < T / 8), and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal.

[0072] In step 104, in response to the voltage of the input signal = 0V, the duty cycles of both PWM+ and PWM- are output as 0 < t < T / 4 (preferably T / 20 < t < T / 8), and the duty cycle of PWM+ is equal to the duty cycle of PWM-.

[0073] In step 105, in response to the voltage of the input signal < 0V, the duty cycle of PWM- is output as 0 < t < T / 4 (preferably T / 20 < t < T / 8), and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal.

[0074] Wherein, T represents the pulse period.

[0075] In an optional embodiment, step 102 may further include:

[0076] The input signal is conditioned and compared with the triangle wave signal to output a PWM differential signal.

[0077] In an optional embodiment, step 102 may further include:

[0078] Perform BD, AD or 1SPW modulation on the input signal to obtain a modulated signal.

[0079] The modulated signal is subjected to discrete time signal processing to obtain a PWM differential signal.

[0080] In an optional embodiment, step 102 may further include:

[0081] Convert the input signal into a digital audio source signal through analog-to-digital conversion.

[0082] After processing the digital audio source signal, a PWM differential signal is output.

[0083] In order to better understand the technical solution of the present application, a specific example is provided below for illustration. The details listed in the example are mainly for ease of understanding and are not intended to limit the scope of protection of the present application.

[0084] When the input signal of PWM+ / - is 0, the duty ratio is less than 25%. By shortening the conduction time of the output power tube, the power loss is reduced. Because the energy loss depends on the conduction impedance, load current and conduction time of the power tube, PWM modulation can not only reduce the conduction time, but also reduce the inductor ripple current caused by the output switch.

[0085] When the input signal increases, the width of PWM+ increases linearly, and the width of PWM- remains unchanged or decreases slightly. Therefore, the on-time of the power tube is shorter than that of the BD / AD modulation mode, maintaining lower power loss. At the same time, the rise / fall transition will not stop, so the linearity will not deteriorate, and the sound quality is better than the 1SPW mode.

[0086] When the input signal decreases, the width of PWM- increases linearly, and the width of PWM+ remains unchanged or decreases slightly. Therefore, the on-time of the power tube is shorter than that of the BD / AD modulation mode, maintaining lower power loss. At the same time, the rise / fall transition will not be stopped, so the linearity will not be deteriorated, and the sound quality is better than the 1SPW mode.

[0087] The second embodiment of the present application relates to a PWM modulation circuit, and its structural diagram is as shown in Figure 2 As shown, the circuit includes a loop filter, a PWM differential comparator, a PWM shaper, a pre-drive module, and an H-bridge drive circuit connected in series in sequence. The input terminal of the loop filter is coupled to the input audio differential signal, the output terminal of the H-bridge drive circuit is coupled to the positive output terminal and the negative output terminal of the PWM modulation circuit, and the positive output terminal and the negative output terminal of the PWM modulation circuit are respectively coupled to the positive feedback input terminal and the negative feedback input terminal of the loop filter. A triangular wave signal is also input to the input terminal of the PWM differential comparator, and the PWM differential comparator is configured to compare the differential signal output by the loop filter with the triangular wave signal.

[0088] The PWM shaper is configured to:

[0089] When the voltage of the input signal > 0V, output a waveform with a duty cycle of 0 < t < T / 4 for PWM+, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal.

[0090] When the voltage of the input signal = 0V, output waveforms with a duty cycle of 0 < t < T / 4 for both PWM+ and PWM-, and the duty cycle of PWM+ is equal to the duty cycle of PWM-.

[0091] When the voltage of the input signal < 0V, output a waveform with a duty cycle of 0 < t < T / 4 for PWM-, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal.

[0092] Wherein, T represents the pulse period.

[0093] In an optional embodiment, the loop filter may include but is not limited to: Butterworth filter (maximum flatness filter), Chebyshev filter (an electronic filter designed to achieve a steeper roll-off rate (rate of change of frequency response) and a narrower transition band in its passband or stopband compared to a Butterworth filter of the same order. This is achieved by allowing a certain degree of ripple in the passband (or stopband), thereby trading for a faster response change), or other first-order / second-order / third-order / fourth-order filters. The loop filter can amplify the non-linear error of the H-bridge output stage, improve the output linearity through negative feedback, and provide a power supply rejection ratio.

[0094] In an optional embodiment, the pre-drive module may be configured to drive the H-bridge according to the PWM differential signal, maintain the polarity of the PWM differential signal, and insert a dead time to avoid simultaneous conduction of the upper and lower drive transistors in the H-bridge.

[0095] In an optional embodiment, the H-bridge driving module may have high voltage resistance and low on-resistance characteristics, and output a desired PWM differential signal under the control of the pre-driving module, thereby driving an external speaker load.

[0096] In an optional embodiment, the PWM differential comparator can also be configured to compare the amplitudes of the positive input and negative input of the triangular wave signal and the differential signal. If the amplitude of the triangular wave signal is less than the amplitude of the negative input, PWM- is a low level; if the amplitude of the triangular wave signal is greater than the amplitude of the negative input, PWM- is a high level. If the amplitude of the triangular wave signal is less than the amplitude of the positive input, PWM+ is a low level; if the amplitude of the triangular wave signal is greater than the amplitude of the positive input, PWM+ is a high level. Figure 3 The waveforms of PWM under different modulation modes of different signals are shown. The PWM+ / - waveform is reversed when the signal + / - intersects with the triangle wave, thus changing the polarity.

[0097] In an optional embodiment, the PWM shaper may include a digital logic operation module, an adjustable delay module and a multiplexer connected in series in sequence. And the input end of the multiplexer is also coupled to the PWM differential signal. The digital logic operation module is configured to perform polarity judgment and logic processing on the PWM differential signal and generate control signals for controlling the adjustable delay module and the multiplexer respectively. The adjustable delay module is configured to delay the differential signal output by the digital logic operation module according to the control signal and adjust the length of the delay. The multiplexer is configured to select 2 channels from the multiple input signals as outputs. For example, the multiplexer selects 2 channels from the 4 input signals as outputs.

[0098] The following is a specific example to illustrate how the PWM shaper implements the PWM modulation method. The details listed in this example are mainly for ease of understanding and are not intended to limit the scope of protection of this application.

[0099] When the input signal is 0, Figure 4a As shown, the PWM shaper input PWM + / - pulse duty ratio is the same, both 50%. Figure 4b As shown, the PWM shaper reduces the common-mode duty ratio of the input PWM signal to below 25% and outputs it, while keeping the differential duty ratio unchanged at 0%.

[0100] When the input signal is positive, such as Figure 5a As shown, the PWM shaper input PWM+ pulse duty ratio is greater than 50%, and the PWM- pulse duty ratio is less than 50%. Figure 5b As shown, the PWM shaper reduces the duty cycle of PWM+ / - by the same percentage, reducing the duty cycle of PWM- to below 25% and above 0%, while keeping the differential duty cycle the same as the input.

[0101] When the input signal is negative, such as Figure 6a As shown, the PWM shaper input PWM- pulse duty ratio is greater than 50%, and the PWM+ pulse duty ratio is less than 50%. Figure 6b As shown, the PWM shaper reduces the duty cycle of PWM+ / - by the same percentage, reducing the duty cycle of PWM+ to below 25% and above 0%, while keeping the differential duty cycle the same as the input.

[0102] In an optional embodiment, if Figure 7 As shown in FIG. 1 , a common-mode shaper may be connected in series between the loop filter and the PWM differential comparator. Figure 8 As shown, the common-mode shaper can be configured to adjust the common mode of the differential signal from the loop filter, wherein the common-mode shaper is configured to determine whether the PWM common-mode duty ratio needs to be reduced according to the amplitude of the input differential signal (IN+ / -), and if it needs to be reduced, the common-mode shaper is configured to make the common mode of the differential signal (OUT+ / -) at the output end of the common-mode shaper greater than the common mode of the differential signal (IN+ / -) at the input end of the common-mode shaper, and at the same time, the common-mode shaper is also configured to keep the PWM differential-mode duty ratio unchanged.

[0103] In an optional embodiment, if Fig. 9 As shown, the common mode shaper may include a differential envelope detection module, a common mode adjustment module and a feedback module. The input end of the differential envelope detection module is coupled to the differential input end of the common mode shaper, the output end of the differential envelope detection module is coupled to the input end of the common mode adjustment module, the output end of the common mode adjustment module is coupled to the differential output end of the common mode shaper, the output end of the common mode adjustment module is also coupled to the input end of the feedback module, and the output end of the feedback module is coupled to the input end of the differential envelope detection module. The differential envelope detection module is configured to detect the envelope of the input differential signal and generate a control signal of the common mode adjustment module according to the amplitude of the differential signal. The common mode adjustment module is configured to adjust the common mode of the input differential signal according to the control signal of the common mode adjustment module to control the common mode duty ratio output by the PWM comparator. The feedback module is configured to feed back the output of the common mode adjustment module to the differential envelope detection module so that the differential mode signal output by the common mode shaper is equal to the differential mode signal input by the common mode shaper.

[0104] In an optional embodiment, if Fig.10As shown, it may include an analog-to-digital conversion module and a digital signal module. The input end of the analog-to-digital conversion module is coupled to the input audio differential signal. The analog-to-digital conversion module only exists in the system with analog audio input. The output end of the analog-to-digital conversion module is coupled to the input end of the digital signal module through the digital audio source interface. The output end of the digital signal module is coupled to the input end of the pre-driver module. The positive output end and the negative output end of the PWM modulation circuit are respectively coupled to the positive feedback input end and the negative feedback input end of the digital signal module. The analog-to-digital conversion module is configured to convert the analog audio differential signal into a digital audio source. The digital signal module is configured to perform PWM digital signal processing.

[0105] In an optional embodiment, if Fig.11 As shown, the digital signal processing module may include a digital loop filter, a PWM generator and a digital signal feedback module. The input end of the digital loop filter is coupled to the digital sound source interface, the output end of the digital loop filter is coupled to the input end of the PWM generator, the output end of the PWM generator may be coupled to the pre-driver module, and the output end of the PWM generator is also coupled to the input end of the digital signal feedback module, and the output end of the digital signal feedback module is coupled to the input end of the digital loop filter. The digital loop filter is configured to compare the original digital sound source and the feedback signal, and perform filtering and amplification processing, so as to ensure that the signal-to-noise ratio of the output PWM+ / - is close to the digital sound source input. The PWM generator is configured to convert the digital signal into a PWM differential signal (PWM+ / -). The digital signal feedback module is configured to output the PWM waveform after filtering or directly feedback to the digital loop filter.

[0106] In an optional embodiment, if Fig.12 As shown, the PWM generator may further include a digital encoder and a digital comparator, wherein the digital encoder is configured to convert the input digital signal into a differential encoding form, wherein the common mode of the differential signal is adjusted according to the signal size, and the digital comparator is configured to generate a PWM differential signal (PWM+ / -) according to the input differential signal and the digital triangle wave signal.

[0107] It should be noted that in the application documents of this patent, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements. In the application documents of this patent, if it is mentioned that an action is performed according to an element, it means that the action is performed at least according to the element, which includes two situations: performing the action only according to the element, and performing the action according to the element and other elements. Expressions such as multiple, multiple, and multiple include 2, 2 times, 2 kinds, and more than 2, more than 2 times, and more than 2 kinds.

[0108] All documents mentioned in this application are considered to be included in the disclosure of this application as a whole, so that they can be used as the basis for modification when necessary. In addition, it should be understood that after reading the above disclosure of this application, those skilled in the art can make various changes or modifications to this application, and these equivalent forms also fall within the scope of protection claimed in this application.

Claims

1. A PWM modulation method, characterized in that: Comprising: Performing voltage sampling on the input signal; Comparing the voltage of the input signal with 0, and outputting a PWM differential signal according to the comparison result, where the PWM differential signal includes a positive PWM+ signal and a negative PWM- signal; wherein, In response to the voltage of the input signal > 0V, the duty cycle of PWM+ output is 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal, the width of PWM+ increases linearly, and the width of PWM- remains unchanged; In response to the voltage of the input signal = 0V, the duty cycles of both PWM+ and PWM- output are 0 < t < T / 4, and the duty cycle of PWM+ is equal to the duty cycle of PWM-; In response to the voltage of the input signal < 0V, the duty cycle of PWM- output is 0 < t < T / 4, and the difference between the duty cycle of PWM+ and the duty cycle of PWM- is proportional to the intensity of the input signal, the width of PWM- increases linearly, and the width of PWM+ remains unchanged; wherein, T represents the pulse period.

2. The PWM modulation method according to claim 1, characterized in that: The comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes: Comparing the input signal with a triangular wave signal after signal conditioning and outputting the PWM differential signal.

3. The PWM modulation method according to claim 1, characterized in that: The comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes: Performing BD, AD, or 1SPW modulation on the input signal to obtain a modulated signal; Performing discrete-time signal processing on the modulated signal to obtain the PWM differential signal.

4. The PWM modulation method according to claim 1, characterized in that: The comparing the voltage of the input signal with 0 and outputting a PWM differential signal according to the comparison result further includes: Converting the input signal into a digital audio source signal through analog-to-digital conversion; Performing signal processing on the digital audio source signal and outputting the PWM differential signal.

5. A PWM modulation circuit, characterized in that: Comprising: A loop filter, a PWM differential comparator, a PWM shaper, a pre-drive module, and an H-bridge drive circuit connected in series in sequence; The input end of the loop filter is coupled to the input audio differential signal, the output end of the H-bridge drive circuit is coupled to the positive output end and the negative output end of the PWM modulation circuit, and the positive output end and the negative output end of the PWM modulation circuit are respectively coupled to the positive feedback input end and the negative feedback input end of the loop filter; A triangular wave signal is further input to the input end of the PWM differential comparator, and the PWM differential comparator is configured to compare the differential signal output by the loop filter with the triangular wave signal; A common-mode shaper is also connected in series between the loop filter and the PWM differential comparator. The common-mode shaper is configured to adjust the common mode of the differential signal from the loop filter. Wherein, the common-mode shaper is configured to determine whether it is necessary to reduce the PWM common-mode duty ratio according to the amplitude of the input differential signal. If it is necessary to reduce, the common-mode shaper is configured to make the common mode of the differential signal at the output end of the common-mode shaper greater than the common mode of the differential signal at the input end of the common-mode shaper. And at the same time, the common-mode shaper is also configured to keep the PWM differential-mode duty ratio unchanged. The common-mode shaper includes a common-mode adjustment module, and the common-mode adjustment module is configured to adjust the common mode of the input differential signal according to the control signal of the common-mode adjustment module to control the common-mode duty ratio output by the PWM comparator; The PWM shaper is configured to: When the voltage of the input signal > 0V, output a waveform with a PWM+ duty ratio of 0 < t < T / 4, and The difference between the PWM+ duty ratio and the PWM- duty ratio is proportional to the intensity of the input signal. The width of PWM+ increases linearly, and the width of PWM- remains unchanged; When the voltage of the input signal = 0V, output waveforms with PWM+ and PWM- duty ratios both of 0 < t < T / 4, and the PWM+ duty ratio is equal to the PWM- duty ratio; When the voltage of the input signal < 0V, output a waveform with a PWM- duty ratio of 0 < t < T / 4, and the difference between the PWM+ duty ratio and the PWM- duty ratio is proportional to the intensity of the input signal. The width of PWM- increases linearly, and the width of PWM+ remains unchanged; Wherein, T represents the pulse period.

6. The PWM modulation circuit according to claim 5, characterized in that: The PWM differential comparator is also configured to: compare the amplitudes of the positive input and the negative input of the triangular wave signal and the differential signal; When the amplitude of the triangular wave signal is less than the amplitude of the negative input, PWM- is at a low level. When the amplitude of the triangular wave signal is greater than the amplitude of the negative input, PWM- is at a high level; When the amplitude of the triangular wave signal is less than the amplitude of the positive input, PWM+ is at a low level. When the amplitude of the triangular wave signal is greater than the amplitude of the positive input, PWM+ is at a high level.

7. The PWM modulation circuit according to claim 5, characterized in that: The PWM shaper includes a digital logic operation module, an adjustable delay module, and a multiplexer connected in series in sequence; And the input end of the multiplexer is also coupled to the PWM differential signal; The digital logic operation module is configured to perform polarity judgment, logic processing on the PWM differential signal, and generate control signals for respectively controlling the adjustable delay module and the multiplexer; The adjustable delay module is configured to delay the differential signal output by the digital logic operation module according to the control signal and adjust the length of the delay; The multiplexer is configured to select 2 paths from multiple input signals as outputs.

8. The PWM modulation circuit according to claim 5, characterized in that: The common-mode shaper further includes a differential envelope detection module and a feedback module; The input end of the differential envelope detection module is coupled to the differential input end of the common mode shaper, the output end of the differential envelope detection module is coupled to the input end of the common mode adjustment module, the output end of the common mode adjustment module is coupled to the differential output end of the common mode shaper, the output end of the common mode adjustment module is also coupled to the input end of the feedback module, and the output end of the feedback module is coupled to the input end of the differential envelope detection module; The differential envelope detection module is configured to detect the envelope of the input differential signal and generate a control signal of the common mode adjustment module according to the amplitude of the differential signal; The feedback module is configured to feed back the output of the common-mode adjustment module to the differential envelope detection module so that the differential-mode signal output by the common-mode shaper is equal to the differential-mode signal input by the common-mode shaper.

9. The PWM modulation circuit according to claim 5, characterized in that: It also includes an analog-to-digital conversion module and a digital signal module; The input end of the analog-to-digital conversion module is coupled to the input audio differential signal, the output end of the analog-to-digital conversion module is coupled to the input end of the digital signal module through the digital sound source interface, the output end of the digital signal module is coupled to the input end of the pre-driver module, and the positive output end and the negative output end of the PWM modulation circuit are respectively coupled to the positive feedback input end and the negative feedback input end of the digital signal module; The analog-to-digital conversion module is configured to convert the analog audio differential signal into a digital sound source; The digital signal module is configured to perform PWM digital signal processing.

Citation Information

Patent Citations

  • Drive device, drive method, and information device

    EP2020750A1