A kind of power amplifier module intermodulation is debugged and test system and method automatically
Technical field
The present invention relates to power amplifier module automation debugging and testing field, and in particular to a kind of power amplifier module intermodulation is adjusted automatically
Examination and test system and method.
Background technology
With the development of the social economy, the manufacture of Wireless Telecom Equipment needs to automate and intelligent, power amplifier module is nothing
The signal amplifying part of line communication equipment point, thirdly rank and fifth order intermodulation directly affect the signal quality of power amplifier.Influence power amplifier module
The principal element of three ranks and fifth order intermodulation is power tube grid voltage level.It is main artificial using letter in power amplifier scheduling and planning
Number source and frequency spectrograph mode, efficiency are low, and cost is high.
The content of the invention
The problem of existing for background technology, the present invention provide a kind of power amplifier module intermodulation automatically debugging and test system and
Method, adopts and power amplifier module is debugged in an automated fashion, reduces artificial and instrument cost, greatly reduces power amplifier module
Manufacturing cost.
The present invention adopts the following technical scheme that realization:
A kind of power amplifier module intermodulation debugging and test device, including input mixer, analog-digital converter automatically(ADC), first number
Control attenuator, digital analog converter(DAC), the second numerical-control attenuator, output signal mixing and amplifier, fpga chip, communication mould
Block, clock generation module;Wherein:The radiofrequency signal that power amplifier is exported is converted to intermediate-freuqncy signal by the input mixer, export to
First order numerical-control attenuator;First numerical-control attenuator adjusts the amplitude size of input signal, exports to analog-digital converter
(ADC);The analog-digital converter(ADC)Realize that signal is become the conversion of data signal by analog signal, feeding fpga chip is done
Processing;The fpga chip carries out computing to input signal, and the digital two-tone signal of generation exports and gives digital-to-analogue converter(DAC);Institute
State digital-to-analogue converter(DAC)The digital two-tone signal that fpga chip is produced is converted into analog signal, exports and gives second level numerical control
Attenuator;Second numerical-control attenuator is realized to the output big minor adjustment of analog signal, is exported and is mixed and amplifies to output signal
Device;The analog signal that second level numerical-control attenuator is exported is mixed and amplified by the output signal mixing and amplifier, defeated
Go out signal to outside power amplifier;The communication module realizes communication, the setting of present apparatus parameter, the calculating intermodulation of the present apparatus and power amplifier
The output of value;The clock generation module produces analog-digital converter(ADC), fpga chip, digital analog converter(DAC)Required ginseng
Examine clock.
The signal frequency exported through input mixer frequency conversion is in analog-digital converter(ADC)Sample range.
The signal amplitude of output is changed in analog-digital converter through the first numerical-control attenuator(ADC)Sample range.
It is mixed through output signal and the output signal of amplifier processing meets the required frequency and amplitude of power amplifier input.
The fpga chip includes analog-digital converter(ADC)Interface module, FFT module, power detection module, intermodulation are calculated
Module, two-tone signal generation module, digital analog converter(DAC)Interface, mutual tone pitch multilevel iudge module;Analog-digital converter(ADC)
Interface module, FFT module, intermodulation computing module, mutual tone pitch multilevel iudge module, communication module, two-tone signal generation module, number
Weighted-voltage D/A converter(DAC)Interface is sequentially connected, analog-digital converter(ADC)Interface module is connected with power detection module;What it was realized
Function is calculated including input signal power, and input signal spectrum is calculated, the mutual adjustment calculation of power output, the grid voltage electricity of power amplifier module
Whether level values, which travel through completion, judges, finds out the most better corresponding grid voltage level value of intermodulation, write power amplification module, and calculate power amplifier
Mutual tone pitch.
A kind of power amplifier module intermodulation based on said apparatus is debugged and method of testing automatically, is comprised the following steps:
Step 1:The system output signal parameter is set by communication module, including the frequency of output signal, the power of signal,
The spacing frequency of two-tone signal;
Step 2:Two-tone signal generation module produces the digital baseband double-tone corresponding with parameter according to two-tone signal spacing frequency
Signal, through digital analog converter(DAC)Interface sends into digital analog converter(DAC), convert digital signals into analog signal;According to setting
The signal power parameter adjustment digital analog converter put(DAC)The second numerical-control attenuator afterwards;According to the signal frequency parameter of setting
The local frequency of output signal mixing and amplifier is set, after mixing amplification, two-tone signal needed for generation;
Step 3:When debugging is with test, connected mode is:The output signal mixing of the system and amplifier delivery outlet and power amplifier mould
Block input port is connected, and the output port of power amplifier module is after attenuator with being connected the input mixer input port of the system;It is logical
Casually it is attached by communication module;
Step 4:Power amplifier module information is inquired about by communication module, if energy normal queries, represents that power amplifier module is working properly,
Subsequent step can be carried out, if power amplifier module inquiry is abnormal or without information-reply, represent power amplifier module operation irregularity or
It is not connected, without subsequent step;
Step 5:One grid voltage level value is set to power amplifier module, afterwards analog-digital converter(ADC)To power amplifier module output signal
Sampled, send into fpga chip;
Step 6:Analog-digital converter(ADC)Interface module receives analog-digital converter(ADC)Sampled data, is respectively fed to power inspection
Module and FFT module are surveyed, power detection module is used for the power for calculating input signal, when input signal power is excessive, decay
Analog-digital converter(ADC)First numerical-control attenuator of front end, prevents analog-digital converter(ADC)Front end is overloaded, while the power
Power output for calculating power amplifier module, FFT module is used for the frequency spectrum for calculating input signal, calculates output data feeding intermodulation
Computing module, calculates the mutual tone pitch of power output, and preserve grid voltage level value and corresponding mutual tone pitch;
Step 7:Mutual tone pitch multilevel iudge module judges whether the grid voltage level value of power amplifier module travels through completion, if do not completed
Change grid voltage level value, write power amplifier module, repeat step 6;If completion is had stepped through, into step 8;
Step 8:Mutual tone pitch multilevel iudge module finds out the most better corresponding grid voltage level value of intermodulation, writes power amplifier module, intermodulation
Computing module calculates the mutual tone pitch of power amplifier, and mutual tone pitch is exported from communication module, and debugging terminates.
Compared with prior art, the present invention has advantages below and beneficial effect:
Scheduling and planning to power amplifier module is realized by the present invention, realizes that system is debugged automatically, efficiency is larger to be improved, and is reduced simultaneously
Signal source and frequency spectrograph needed for debugging, greatly reduce the production cost of power amplifier module.The intermodulation precision of output is tested with adopting
Contrasted with signal source and frequency spectrograph, precision is met in power amplifier batch production error range within ± 1dB.
Brief description of the drawings
Fig. 1 is the overall structure block diagram of present system;
Fig. 2 is the internal program modular structure block diagram of fpga chip in present system;
Fig. 3 is when present system is debugged and tested and the connection figure of power amplifier module;
Fig. 4 is the flow chart of the inventive method.
Embodiment
A kind of power amplifier module intermodulation is debugged and test system and method automatically, system composition reference Fig. 1, including input mixed
Frequency device, analog-digital converter(ADC), the first numerical-control attenuator, the second numerical-control attenuator, digital analog converter(DAC), output signal mix
Frequency and amplifier, fpga chip, communication module, clock generation module;Input mixer, the first numerical-control attenuator, analog-to-digital conversion
Device(ADC), fpga chip, digital analog converter(DAC), the second numerical-control attenuator, output signal mixing and amplifier be sequentially connected,
Fpga chip is connected with the first numerical-control attenuator, the second numerical-control attenuator, communication module, clock generation module respectively, clock production
Raw module respectively with analog-digital converter(ADC), digital analog converter(DAC)Connection;The communication module realizes parameter setting, inquiry
Power amplifier module information, the function of output result.
Fpga chip internal program module composition refers to Fig. 2, including analog-digital converter(ADC)Interface module, FFT module, work(
Rate detection module, intermodulation computing module, two-tone signal generation module, digital analog converter(DAC)Interface, mutual tone pitch multilevel iudge mould
Block;Analog-digital converter(ADC)Interface module, FFT module, intermodulation computing module, mutual tone pitch multilevel iudge module, communication module,
Two-tone signal generation module, digital analog converter(DAC)Interface is sequentially connected, analog-digital converter(ADC)Interface module is examined with power
Survey module connection.
The system refers to Fig. 3 with power amplifier module connection in the operating condition, and the output signal mixing of system and amplifier are defeated
Outlet is connected with the input port of power amplifier module, and power amplifier module communication interface is connected with system communication module, power amplifier module output
End is connected after passing through attenuator with input mixer input port.
The workflow of system refers to Fig. 4, specifically includes following steps:
Step 1:Present apparatus output signal parameter is set by communication module, including the frequency of output signal, the power of signal,
The spacing frequency of two-tone signal;
Step 2:Present apparatus two-tone signal generation module produces the digital base corresponding with parameter according to two-tone signal spacing frequency
Band two-tone signal, through digital analog converter(DAC)Interface sends into digital analog converter(DAC), analog signal is converted digital signals into,
According to the signal power parameter adjustment digital analog converter of setting(DAC)Numerical-control attenuator afterwards, joins according to the signal frequency of setting
Mixing and the local frequency of amplifier behind number setting, after mixing amplification, two-tone signal needed for generating;
Step 3:When debugging is with test, connected mode is:The output port of the present apparatus is connected with power amplifier module input port, work(
The output port of amplification module is after attenuator with being connected the input of the present apparatus;Port is attached with communication module;
Step 4:Power amplifier module information is inquired about by communication module, if energy normal queries, represents that power amplifier module is working properly,
Subsequent step can be carried out, if power amplifier module inquiry is abnormal or without information-reply, represent power amplifier module operation irregularity or
It is not connected, without subsequent step;
Step 5:The present apparatus sets a grid voltage level value, rear analog-digital converter by communication module to power amplifier module(ADC)It is right
Power amplifier module output signal is sampled, and sends into fpga chip;
Step 6:Analog-digital converter(ADC)Interface module receives analog-digital converter(ADC)Sampled data, is respectively fed to power inspection
Module and FFT module are surveyed, power detection module is used for the power for calculating input signal, when input signal power is excessive, decay
Analog-digital converter(ADC)Front end numerical-control attenuator, prevents analog-digital converter(ADC)Front end is overloaded, while the power is also used for meter
The power output of power amplifier module is calculated, FFT module is used for the frequency spectrum for calculating input signal, calculate output data feeding intermodulation and calculate mould
Block, calculates the mutual tone pitch of power output, and preserve grid voltage level value and corresponding mutual tone pitch;
Step 7:Mutual tone pitch multilevel iudge module judges whether the grid voltage level value of power amplifier module travels through completion, if do not completed
Change grid voltage level value, write power amplifier module, repeat step 6;If completion is had stepped through, into step 8;
Step 8:Mutual tone pitch multilevel iudge module finds out the most better corresponding grid voltage level value of intermodulation, writes power amplifier module, intermodulation
Computing module calculates the mutual tone pitch of power amplifier, and mutual tone pitch is exported from communication module, and debugging terminates.