A digital power amplifier modulator and method using FPGA control
The digital power amplifier modulator controlled by FPGA uses a combination of soft core and hard core control parts to solve the problem of electromagnetic compatibility that traditional modulation technology cannot meet in high-precision fields, achieving effective peak clipping of electromagnetic interference and improving output stability.
Patent Information
- Application Number
- CN201910390778.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-05-10
AI Technical Summary
Traditional fixed-frequency modulation technology is difficult to meet electromagnetic compatibility requirements in high-precision fields, resulting in peak electromagnetic interference problems, increased costs and weak market competitiveness.
The digital power amplifier modulator is controlled by FPGA and is implemented through a combination of soft core and hard core control parts, including controller module, function waveform generation module, frequency segment selection module, carrier frequency selection module, PWM modulation module and dead zone control module. Differential operation and averaging of waveform data and phase information generate PWM signals with appropriate periods to reduce electromagnetic interference.
It effectively reduces the frequency domain signal peak of electromagnetic interference, meets the standard limit, improves the output stability and working efficiency of the digital power amplifier, adapts to signals with different change rates, and takes into account the output distortion rate.
Smart Images

Figure CN110061699B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of modulator equipment, and in particular to a digital power amplifier modulator and method controlled by FPGA. Background Art
[0002] At present, in the field of power supplies, fixed frequency modulation technology is generally adopted. This technology is simple to apply and easy to implement in hardware or software. However, it has carrier interference with relatively concentrated frequencies and generates multiple harmonic peaks related to the carrier frequency. At present, my country's economy is developing rapidly, and self-designed and manufactured power supplies and their derivative products are gradually entering the international market and need to pass strict foreign certification. In China, domestic products are gradually entering high-tech fields such as aerospace and aviation. These new fields have higher requirements for electromagnetic compatibility. If traditional modulation methods meet the requirements of the above fields, a large number of detailed shielding and blocking measures in terms of materials and processes are required, which greatly increases the cost and weakens the market competitiveness. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a digital power amplifier modulator and method controlled by FPGA, which can clip the peaks of electromagnetic emission and conduction from the source, thereby avoiding peak electromagnetic interference at a single frequency point.
[0004] The present invention adopts the following technical solutions to achieve the invention objectives:
[0005] A digital power amplifier modulator controlled by FPGA includes an FPGA module, wherein the FPGA module includes a soft-core control part and a hard-core control part.
[0006] As a further limitation of the present technical solution, the soft core control part includes a controller module and a function waveform generating module.
[0007] As a further limitation of the present technical solution, the hard core control part includes a frequency segment selection module, a carrier frequency selection module, a PWM modulation module and a dead zone control module.
[0008] As a further limitation of the present technical solution, the controller module accepts control information input, the controller module sends the control information to the function waveform generating module, the controller module sends frequency data to the frequency band selecting module, and the controller module sends output control to the dead zone control module.
[0009] As a further limitation of the present technical solution, the function waveform generating module sends the waveform data and the phase data to the carrier frequency selecting module, and the function waveform generating module sends the waveform data to the PWM modulation module.
[0010] As a further limitation of the present technical solution, the frequency segment selection module sends the frequency segment data to the carrier frequency selection module.
[0011] As a further limitation of the present technical solution, the carrier frequency selection module performs differential operations on the waveform data and phase information, averages the two operation results at a certain ratio, and the result is the rate of change of the operation waveform. The appropriate periodic data is selected based on the value of this rate of change, and this data is passed to the PWM modulation module.
[0012] As a further limitation of the technical solution, the PWM modulation module sends two PWM signals to the dead zone control module.
[0013] As a further limitation of the present technical solution, the dead zone control module generates 4 full-bridge drive signals.
[0014] A method for a digital power amplifier modulator controlled by FPGA, characterized in that it comprises the following steps:
[0015] (1) The controller module receives the control information transmitted from the outside and analyzes it, extracting the following information from the transmitted information: the frequency, amplitude, phase, and harmonic components and phase of the fundamental wave. The function waveform generation module receives the information from the control module, and uses multiple sine function operations to synthesize the waveform amplitude data of the fundamental wave + each harmonic wave. This data and the fundamental wave waveform phase data are transmitted to the carrier frequency selection module together; at the same time, the function waveform generation module transmits the waveform data to the PWM modulation module, and the controller module transmits the frequency data of the fundamental wave to the frequency band selection module;
[0016] (2) The frequency band selection module selects a suitable frequency band according to the frequency of the fundamental wave, and transmits the frequency band information to the carrier frequency selector module;
[0017] (3) The carrier frequency selection module performs differential operation on the waveform data and phase information, averages the two operation results at a certain ratio, and the result is the change rate of the operation waveform. The appropriate period data is selected according to the value of the change rate, and the data is transmitted to the PWM modulation module;
[0018] (3) The PWM modulation module performs unipolar frequency multiplication modulation according to the input carrier data and waveform data, and uses an up-down counter to generate equilateral triangle wave data based on the carrier data. The input waveform data uses a complementary algorithm to generate two complementary fundamental wave data. The two data are compared with the carrier triangle wave data to obtain two PWM signals.
[0019] (4) The dead zone control module directly outputs PWM_1 and PWM_3 according to the two input PWM signals. After adding dead zone delay to each channel and inverting the output, it outputs PWM_2 and PWM_4. These four signals are controlled by the controller module of the soft core control part and are finally output as gated switches through four NAND gates. PWM1 and PWM2 are the left bridge arms, and PWM3 and PWM4 are the right bridge arms.
[0020] Compared with the prior art, the advantages and positive effects of the present invention are as follows: The advantages of the present invention solve the conducted interference and radiated interference in electromagnetic interference (EMI). The single peak value of the frequency domain signal of the noise is significantly reduced, and it is easier to be limited within the standard limit. The digital power amplifier can use different carrier frequencies when outputting signals with different change rates, and has a wider carrier selection range according to the fundamental frequency, which can take into account both the output distortion rate and the work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a structural schematic diagram of the present invention.
[0022] Figure 2 It is a circuit diagram of the FPGA peripheral circuit module of the present invention.
[0023] Figure 3 It is the circuit diagram of the input and output module of the present invention. DETAILED DESCRIPTION
[0024] A specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation.
[0025] like Figure 1 As shown, the present invention includes an FPGA software system module, and the FPGA software system module includes a soft-core control part and a hard-core control part.
[0026] The soft core control part includes a controller module and a function waveform generation module.
[0027] The hard core control part includes a frequency segment selection module, a carrier frequency selection module, a PWM modulation module and a dead zone control module.
[0028] The controller module receives control information input, sends the control information to the function waveform generation module, sends frequency data to the frequency segment selection module, and sends output control to the dead zone control module.
[0029] The function waveform generation module sends the waveform data and the phase data to the carrier frequency selection module, and the function waveform generation module sends the waveform data to the PWM modulation module.
[0030] The frequency segment selection module sends the frequency segment data to the carrier frequency selection module.
[0031] The carrier frequency selection module performs differential operation on the waveform data and phase information, averages the two operation results at a certain ratio, and the result is the rate of change of the operation waveform. The appropriate periodic data is selected according to the value of the rate of change, and the data is passed to the PWM modulation module.
[0032] The PWM modulation module sends two PWM signals to the dead zone control module.
[0033] The dead zone control module generates 4 full-bridge driving signals.
[0034] The fundamental wave input frequency range of the PWM modulator is 10-3000 Hz, and the carrier frequency range of the PWM modulator is 10k-150khz.
[0035] The hardware circuit of this device includes a peripheral circuit module and an input and output module. The peripheral circuit module includes a power module U1M, a power module U1L, a power module U1K, a clock module U1I, a crystal oscillator Y1, a debug port and configuration module U1J, a dedicated memory U5, a JTAG debug port J5 and an AS debug port J11.
[0036] Pin 6 of the debug port and configuration module U1J is respectively connected to pin 5 of the dedicated memory U5 and pin 9 of the AS debug port J11, pin 8 of the debug port and configuration module U1J is respectively connected to pin 1 of the dedicated memory U5 and pin 8 of the AS debug port J11, pin 12 of the debug port and configuration module U1J is respectively connected to pin 6 of the dedicated memory U5 and pin 1 of the AS debug port J11, pin 13 of the debug port and configuration module U1J is respectively connected to pin 2 of the dedicated memory U5 and pin 7 of the AS debug port J11, and pin 14 of the debug port and configuration module U1J is respectively connected to pin 16 of the AS debug port J11. Pin 5 of the debug port J11, pin 21 of the debug port and configuration module U1J is connected to pin 6 of the AS debug port J11, pin 5 of the debug port and configuration module U1J is connected to pin 3 of the AS debug port J11, pin 15 of the debug port and configuration module U1J is connected to pin 9 of the JTAG debug port J5, pin 16 of the debug port and configuration module U1J is connected to pin 1 of the JTAG debug port J5, pin 18 of the debug port and configuration module U1J is connected to pin 5 of the JTAG debug port J5, and pin 20 of the debug port and configuration module U1J is connected to pin 3 of the JTAG debug port J5.
[0037] Pin 3 of the crystal oscillator Y1 is connected to pins 1 to 4 of the clock module U1I through four zero-ohm connectors.
[0038] The input-output module includes a functional module U1A and a functional module U1E. The functional module U1A is connected to the microprocessor via a synchronous serial port SPI. Pin 1 of the functional module U1A is connected to the MOSI port of the synchronous serial port SPI. Pin 2 of the functional module U1A is connected to the MISO port of the synchronous serial port SPI. Pin 3 of the functional module U1A is connected to the CLK port of the synchronous serial port SPI. Pin 4 of the functional module U1A is connected to the CS port of the synchronous serial port SPI.
[0039] Pin 7 of the functional module U1A is connected to the OV_INT port, and the OV_INT port transmits the overvoltage alarm signal to the upper-level processor. Pin 10 of the functional module U1A is connected to the OI-INT port, and the OI-INT port transmits the overcurrent alarm signal to the upper-level processor. Pin 11 of the functional module U1A is connected to the STOP port, and the STOP port outputs an enable control.
[0040] Pin 83 of the functional module U1E is connected to the OV port, and the OV port transmits the overvoltage signal detected by the protection circuit to the FPGA. Pin 84 of the functional module U1E is connected to the OI port, and the OI port transmits the overcurrent signal detected by the protection circuit to the FPGA.
[0041] Pins 73-76 of the functional module U1E are connected to the PWM signal output port.
[0042] The working process of the present invention is as follows: the controller module receives the external control information transmitted by the microprocessor and analyzes it, and extracts the following information from the transmitted information: the frequency (16bit), amplitude (16bit), and phase (12bit) of the fundamental wave; each harmonic component (8bit) and phase (12bit). The function waveform generation module receives the control module information, and uses multiple sinusoidal function operations to synthesize the waveform amplitude data (16bit) of the fundamental wave + each harmonic, and the data and the fundamental wave waveform phase data (12bit) are transmitted to the carrier frequency selection module. At the same time, the function waveform generation module transmits the waveform data to the PWM modulation module. The controller module transmits the frequency data of the fundamental wave to the frequency band selection module.
[0043] The frequency band selection module selects a suitable frequency band according to the frequency of the fundamental wave, and transmits the frequency band information (starting frequency band sequence number (5 bits)) to the carrier frequency selector module.
[0044] The carrier frequency selection module performs differential operations on the waveform data and phase information, and averages the two operation results at a certain ratio. The result is the rate of change of the operation waveform. The appropriate periodic data is selected according to the value of this rate of change, and this data is passed to the PWM modulation module.
[0045] The PWM modulation module performs unipolar frequency multiplication modulation based on the input carrier data and waveform data. Based on the carrier data, an up-down counter is used to generate equilateral triangle wave data. The input waveform data uses a complementary algorithm to generate two complementary fundamental wave data. The two data are compared with the carrier triangle wave data to obtain two PWM signals.
[0046] The dead zone control module directly outputs PWM_1 and PWM_3 according to the two input PWM signals, and outputs PWM_2 and PWM_4 after adding dead zone delay and inverting the output for each channel. These four signals are controlled by the soft core controller and finally output as gated switches through four NAND gates, with PWM1 and PWM2 as the left bridge arm and PWM3 and PWM4 as the right bridge arm.
[0047] The above disclosure is only a specific embodiment of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A digital power amplifier modulator controlled by FPGA, comprising an FPGA module, characterized in that: The FPGA module includes a soft core control part and a hard core control part; the soft core control part includes a controller module and a function waveform generation module; the hard core control part includes a frequency segment selection module, a carrier frequency selection module, a PWM modulation module and a dead zone control module; the controller module receives control information input, sends the control information to the function waveform generation module, sends the frequency data to the frequency segment selection module, and sends the output control to the dead zone control module; the function waveform generation module sends the waveform data and phase data to the carrier frequency selection module, and the function waveform generation module sends the waveform data to the PWM modulation module; the frequency segment selection module sends the frequency segment data to the carrier frequency selection module; the carrier frequency selection module performs differential operation on the waveform data and phase information, averages the two operation results by a certain proportion, and the result is the change rate of the operation waveform, selects appropriate periodic data according to the value of the change rate, and transmits the data to the PWM modulation module; the PWM modulation module sends two PWM signals to the dead zone control module; the dead zone control module generates 4 full-bridge drive signals.
2. A method of using a digital power amplifier modulator controlled by an FPGA, characterized in that: The steps include: (1) The controller module receives the control information transmitted from the outside and analyzes it, extracting the following information from the transmitted information: the frequency, amplitude, phase, and harmonic components and phase of the fundamental wave; the function waveform generation module receives the information from the control module, and uses multiple sine function operations to synthesize the waveform amplitude data of the fundamental wave + each harmonic wave, and transmits this data together with the fundamental wave waveform phase data to the carrier frequency selection module; at the same time, the function waveform generation module transmits the waveform data to the PWM modulation module, and the controller module transmits the frequency data of the fundamental wave to the frequency band selection module; (2) The frequency band selection module selects a suitable frequency band according to the frequency of the fundamental wave, and transmits the frequency band information to the carrier frequency selector module; (3) The carrier frequency selection module performs differential operation on the waveform data and phase information, averages the two operation results at a certain ratio, and the result is the change rate of the operation waveform. The appropriate period data is selected according to the value of the change rate, and the data is transmitted to the PWM modulation module; (3) The PWM modulation module performs unipolar frequency multiplication modulation according to the input carrier data and waveform data, and uses an up-down counter to generate equilateral triangle wave data based on the carrier data. The input waveform data uses a complementary algorithm to generate two complementary fundamental wave data. The two data are compared with the carrier triangle wave data to obtain two PWM signals. (4) The dead zone control module directly outputs PWM_1 and PWM_3 according to the two input PWM signals. After adding dead zone delay to each channel and inverting the output, it outputs PWM_2 and PWM_4. These four signals are controlled by the controller module of the soft core control part and are finally output as gated switches through four NAND gates. PWM1 and PWM2 are the left bridge arms, and PWM3 and PWM4 are the right bridge arms.
