Summary of the invention
For above-mentioned technical problem in the related technology, the object of the present invention is to provide a kind of high-precision short-wave transmittersPower ALC control method overcomes the shortcomings of above-mentioned aspect in existing product.
The purpose of the present invention is be achieved through the following technical solutions: a kind of high-precision short-wave transmitter power ALC controlMethod processed, the specific steps are as follows:
S1, a pad value table and a reference voltage AD value table by being generated when ALC terminal and the control unit calibration of power,The benchmark table of power control when as actual transmission;
S2, inquiry pad value table find the pad value under corresponding working frequency, give in power amplifier as initial attenuation valueThe numerical-control attenuator in face;
S3, the forward and reverse detection voltage AD value generated further according to collected day tune interface unit, in reference voltage AD value tableThe AD value of corresponding working frequency compares calculating difference;
S4, detection power is calculated, detection performance number is big, then increases the pad value of numerical-control attenuator, and detection performance number is small, then presses platformThe pad value of rank reduction numerical-control attenuator;
S5, the fast drop of slow lift, dynamic adjusts, so that radio frequency power output is stablized in steady state value.
Further, the step S1 the following steps are included:
S11, when starting calibration, ALC terminal issues control command and configuration parameter to control unit, control unit setting excitation workOperation mode and working frequency switch harmonic filter wave band according to working frequency, and send numerical-control attenuator by initial attenuation value;
S12, after control unit receives the firing order of ALC terminal, control unit opens radio-frequency transmissions access, and control unit makesIt adjusts interface to be in emission state, and power amplifier is in emission state, and enabled driver exports radiofrequency signal;
After S13, waiting power stability, ALC terminal gets power and standing-wave ratio with reading order by being transported to set to power meterInformation, and control unit is fed back to, control unit acquires positive detection AD value from day tune interface unit, records and is uploaded to ALCTerminal is shown;
S14, control unit are according to the power and standing-wave ratio information of acquisition, and compared with reference power, calculating should be adjusted automaticallyAttenuation value records and saves and next round is waited to update numerical-control attenuator, then increases by stepping, continues next frequency point;
S15, after repeatedly adjusting, all working frequency output power approaches reference power, and control unit remembering at this timeThe positive detection AD value and attenuation value of record, generate the pad value table and a reference voltage AD value table changed with frequency point,And save the benchmark table of power control when as actual transmission.
Further, occurring following situations this calibration data in the step S14 all can be invalid, and pad value is not adjustedIt is whole: include: the performance number 1) obtained be 0,2) performance number that obtains it is larger when, standing-wave ratio is unqualified, 3) performance number that obtains compared withWhen the performance number that when big, AD value is smaller, 4) obtains is smaller, AD value is larger.
The pad value table and reference voltage AD value table generated when the invention has the benefit that passing through the calibration of power is as controlThe foundation of transmitter power processed can guarantee the high-precision output of transmitter power, meanwhile, working automation greatly reduces peopleThe consuming of power avoids the possibility of fault, and the efficiency of the calibration of power is substantially increased on the time.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, those of ordinary skill in the art's every other embodiment obtained belong to what the present invention protectedRange.
A kind of controlling party of high-precision short-wave transmitter power auto level control (ALC) described in the embodiment of the present inventionMethod, the specific steps are as follows:
S1, pass through one pad value table of generation and a reference voltage AD value table when ALC terminal and the control unit calibration of power, workThe benchmark table of power control when for actual transmission;
S2, inquiry pad value table find the pad value under corresponding working frequency, give in power amplifier as initial attenuation valueThe numerical-control attenuator in face;
S3, the forward and reverse detection voltage AD value generated further according to collected day tune interface unit, in reference voltage AD value tableThe AD value of corresponding working frequency compares calculating difference;
S4, detection power is calculated, detection performance number is big, then increases the pad value of numerical-control attenuator, and detection performance number is small, then presses platformThe pad value of rank reduction numerical-control attenuator;
S5, the fast drop of slow lift, dynamic adjusts, so that radio frequency power output is stablized in steady state value.
In one embodiment, specific step is as follows by the step S1:
S11, when starting calibration, ALC terminal issues control command and configuration parameter to control unit, control unit setting excitation workOperation mode and working frequency switch harmonic filter wave band according to working frequency, and send numerical-control attenuator by initial attenuation value;
S12, after control unit receives the firing order of ALC terminal, control unit opens radio-frequency transmissions access, and control unit makesIt adjusts interface to be in emission state, and power amplifier is in emission state, and control unit enables driver and exports radiofrequency signal;
After S13, waiting power stability, ALC terminal gets power and standing-wave ratio with reading order by being transported to set to power meterInformation, and control unit is fed back to, control unit acquires positive detection AD value from day tune interface unit, records and is uploaded to ALCTerminal is shown;
S14, control unit are according to the power and standing-wave ratio information of acquisition, and compared with reference power, calculating should be adjusted automaticallyAttenuation value records and saves and next round is waited to update numerical-control attenuator, then increases by stepping, continues next frequency point;
S15, after repeatedly adjusting, all working frequency output power approaches reference power, and control unit remembering at this timeThe positive detection AD value and attenuation value of record, generate the pad value table and a reference voltage AD value table changed with frequency point,And save the benchmark table of power control when as actual transmission;
When specifically used, by taking the radio station of 125W as an example, hardware includes transmitter, ALC terminating machine, RS power meter, RS232 serial portsLine, network interface line, software include ALC calibration of power software, transmitter control software.
ALC terminal is the interface of human-computer interaction, and ALC terminal shows align mode and as a result, sending manipulation instruction, configures functionRate meter obtains power information;Transmitter receives manipulation instruction, generates radiofrequency signal;RS power meter is that measurement passes through radio-frequency cableRadio-frequency power and standing-wave ratio size high-precision meter;ALC terminal obtains the function of RS power meter measurement by RS232 Serial Port LineRate and standing-wave ratio information, and transmitter is sent to by cable, while sending other control information and interactive command to transmitter.
Transmitter is mainly completed to functions such as the modulation of input signal, frequency shift, filtering, amplifications.Control unit is completeThe control of pairs of transmitter power, the precision of pad value table and reference voltage AD value table that the calibration of power generates and accuracy can be straightConnect the precision for influencing power control.
The interface of ALC calibration of power software is divided into configuring area, control area and the part of display area three.Configuring areaIt is calibration of power parameter configuration region, specifically includes radio station machine number, initial frequency, terminates frequency, stepping, power grade;ControlRegion is that user control command assigns window, specifically includes the machine and initializes, manually initializes, starting calibration, power inspection, moreNew power meter, inquiry, stops control command at preservation;Display area is align mode and region as the result is shown, specifically includes calibrationTime, frequency, power, standing-wave ratio, pad value, AD value, voltage value show information.
ALC power calibration system mainly include the calibration of power, power inspection, inquiry, artificial initialization, local initialization,Update six subfunctions of power meter.
After starting calibration, as shown in Figure 1, ALC terminal issues control command and configuration parameter to control unit, control is singleMember sets excitation operating mode and working frequency, switches harmonic filter wave band according to working frequency, and send number by initial attenuation valueControl attenuator.After receiving the firing order of ALC terminal, control unit opens radio-frequency transmissions access.
Control unit controls radio-frequency transmissions path pipeline: control unit receives firing order, and control unit enables day tuneInterface is in emission state;Be delayed 20ms, and the enabled transmitting PTT of control unit, power amplifier is in emission state;Be delayed 1ms,Control unit enables driver and exports radiofrequency signal.
After the power stability of radio station, ALC terminal gets power and standing-wave ratio with reading order by being transported to set to power meterInformation, and feed back to control unit.Meanwhile control unit acquires positive detection AD value from day tune interface unit, records and uploadsIt is shown to ALC terminal, control unit is according to the power and standing-wave ratio information of acquisition, and compared with reference power, automatic calculate is answeredThe attenuation value of adjustment records and saves and next round is waited to update numerical-control attenuator, then increases by stepping, continues next frequencyPoint, after repeatedly adjusting, all working frequency output power approaches reference power, and control unit recording just at this timeTwo tables changed with frequency point are generated to detection AD value and attenuation value, and save the base of power control when as actual transmissionQuasi- table.
In actual transmission, control unit finds the corresponding base of present operating frequency by way of inquiring pad value tableQuasi- pad value, sets and gives numerical-control attenuator;Then, control unit inquires reference voltage according to the positive detection AD value acquired at this timeAD value table, benchmark forward direction corresponding with present operating frequency detect compared with AD value, calculate the pad value that should be adjusted automatically, updateAnd it exports.Adjustment in real time makes power stability in qualified dynamic range.In this way, it can make up due in temperatureChanged power caused by liter etc..Under actual conditions, excessive standing wave damages electronic component in order to prevent, it is also necessary in conjunction with reversedAD value is detected to adjust rf gain.
By the control method of ALC, and combine the terminating machine of the high-precision measurement characteristic and man-machine close friend of power meter, controlUnit opens the power output of transmitter radio frequency path, and what readout power meter acquired after the output of the transmitters such as ALC terminal is stablized penetratesFrequency performance number, and control unit is fed back to, control unit adjusts the gain output of numerical-control attenuator accordingly, and closed loop control is consequently formedSystem, the pad value table and reference voltage AD value table obtained by this method compare manual calibration method and internal calibration method,In actual transmission, output power has higher precision.
ALC terminal power as shown in Figure 2 calibrates flow chart, control unit calibration of power flow chart as shown in Figure 3, entire functionRate calibrates process, it should be noted that the following: one, after power amplifier transmit-receive switch is switched to hair by control unit, kept in calibration process,It can protect power tube;Two, before ALC terminal issues frequency, it can first judge the transmission power of frequency last time whether accidentallyIn poor allowed band, if it is allowed, then skipping the frequency point, stepping increases, and sends next frequency point, and calibration effect can be improved in this wayRate;Three, 3s is waited after emitting single-tone, and ALC terminal readout power meter again, waiting 3s is in order to stablize output power, to guaranteeData accuracy;If four, ALC terminal read performance number it is excessive, in order to prevent power amplifier failure and lead to process disorder, can standSending terminates calibration command, terminates calibration process;Five, each frequency point each round only does primary adjustment, after secondary adjusted etc.It adjusts to next round, power amplifier can be heated so again, guarantee power output and reality output state consistency, to improve numberAccording to accuracy;Six, after all frequency point calibrations, control unit is including pad value table and reference voltage AD value table storagePortion Flash can guarantee that data are not lost in this way.
Pad value adjustment algorithm flow chart in control unit power calibration procedure as shown in Figure 4, what is obtained from terminalThe AD value that power, standing-wave ratio and control unit sampling obtain comprehensively considers, exclude communication failure or equipment fault cause data withoutThe possibility of effect.Mainly in the following several ways: one, the performance number obtained is 0;Two, when the performance number obtained is larger, standing-wave ratio is notIt is qualified;Three, when the performance number obtained is larger, AD value is smaller;Four, when the performance number obtained is smaller, AD value is larger.Occur to take up an official postA kind of situation, this calibration data all can be invalid, and pad value does not adjust.If four kinds of situations do not occur, power is judgedWhether value is in acceptability limit.If performance number is qualified, pad value is not adjusted.Otherwise, it calculates actual power and reference power missesPoor dB value, and determine that decaying code adjusts stepping according to the range of error dB value, decaying code adjustment stepping needs comprehensively consider calibrationEfficiency and power amplifier safety.If the code adjustment stepping that decays is too small, adjustment number will increase, to reduce calibration of power effectRate;It is non-linear due to power amplifier if adjustment stepping is excessive, in power lifting, it is possible to can power alarm, or even burn devicePart.During largely groping, summary has obtained empirical value in the radio station type 125W.Reality is on other radio station, adjusting parameterSpecific requirement should be met.
ALC terminal power check process figure as shown in Figure 5, control unit power check process figure as shown in Figure 6, power inspectionLook into be after the calibration of power, the data obtained using the calibration of power emit in each frequency point it is primary, process substantially with powerCalibrate identical, difference is that ALC terminal does not issue performance number and standing-wave ratio to control unit, while control unit would not also be adjustedWhole pad value.The purpose of power inspection is in order to check whether the data of the calibration of power are correct, if power emits function when checkingRate is in acceptability limit, so that it may assert that data are errorless.
ALC terminal inquiry table flow chart as shown in Figure 7, control unit enquiry form flow chart as shown in Figure 8;ALC is wholeEnd, which issues, to be started to query, and send power grade and stepping, and control unit saves after receiving.Then ALC terminal issues frequency, controlUnit reports pad value and AD value after receiving frequency, and ALC terminal obtains print result.ALC terminal frequency is increased by stepping, is continuedFrequency is issued to control unit, repeats this step, until issuing frequency to terminate frequency, then querying flow terminates.Finally from endIt can be seen that the corresponding pad value of each frequency point and AD value, facilitate operator to check and analyze data on end.
Local initialization: ALC terminal issues local initialization command, after control unit receives, according to the history of decaying codeEmpirical value initialization decaying table, and update internal Flash.Historical experience value is that ten transmitter calibration results are averaged in the pastWhat value obtained, it can be close to actual attenuation value, it is possible to reduce calibration the time it takes improves the efficiency of transmitter calibration.
Artificial initialization: it when finding that power amplifier in transmitter property difference is larger, can be adjusted by personal experience manual editingWhole table, to achieve the purpose that quickly calibrated.Particular by modification configuration file, ALC terminal, point are opened after modificationArtificial initialization is hit, ALC terminal can issue artificial initialization command, and be attached to the attenuation data in configuration file.Control unitAfter receiving, obtains and initialize decaying table, while updating internal Flash.
Update power table: the radio station the type 125W calibration of power is divided into four power grades, is high power, middle function respectivelyRate, low-power, tune power.After high power level is calibrated, high-power decaying table and benchmark AD value table are rawAt.Since power control does not need benchmark AD value table in high power following level, so only needing to decline by high powerSubtract table, according to historical experience, obtains high power level and middle power grade decaying dB difference, high power level and low-power etc.Grade decaying dB difference, high power level and tune power grade decay dB difference, so that it may quickly generate middle power, low-power,The decaying table of tune power.Three differences can be modified in configuration file, after modification, opened ALC terminal, clicked to updatePower table, ALC terminal can issue the order for updating power table, control unit receive after according to three differences, function in updateRate, low-power, tune power decaying table, and be stored in internal Flash.It is larger in power amplifier in transmitter property difference, and schoolExamination personnel again inexperienced value or be not desired to modification configuration file when, in this way generate decaying table, operate both facilitated, togetherWhen again can improve decay table accuracy, and achieve the purpose that raising calibration efficiency.
The output of the transmitter generated after the table that method, internal calibration method and manual calibration method of the invention generatesThe curve of power with frequency variation is as shown in figure 9, show that the Output of for ms power that control method of the invention generates floats in figureRange is smaller, closer with reference power, has higher precision.
In conclusion passing through the pad value table and reference voltage AD value of generation by means of above-mentioned technical proposal of the inventionFoundation of the table as control transmitter power, can guarantee the high-precision output of transmitter power, in short wave communication field, moreFor body, in transmitter power control field, have a very important significance.
The present invention is not limited to above-mentioned preferred forms, anyone can show that other are various under the inspiration of the present inventionThe product of form, however, make any variation in its shape or structure, it is all that there is skill identical or similar to the present applicationArt scheme, is within the scope of the present invention.