CN111224723B - Calibration method and system of radio frequency front-end module, electronic equipment and storage medium - Google Patents

Calibration method and system of radio frequency front-end module, electronic equipment and storage medium Download PDF

Info

Publication number
CN111224723B
CN111224723B CN201911347366.5A CN201911347366A CN111224723B CN 111224723 B CN111224723 B CN 111224723B CN 201911347366 A CN201911347366 A CN 201911347366A CN 111224723 B CN111224723 B CN 111224723B
Authority
CN
China
Prior art keywords
channel
module
agc gain
calibration
insertion loss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911347366.5A
Other languages
Chinese (zh)
Other versions
CN111224723A (en
Inventor
彭迎标
金煜峰
刘入忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201911347366.5A priority Critical patent/CN111224723B/en
Publication of CN111224723A publication Critical patent/CN111224723A/en
Application granted granted Critical
Publication of CN111224723B publication Critical patent/CN111224723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges

Abstract

The invention discloses a calibration method, a calibration system, electronic equipment and a storage medium of a radio frequency front-end module, wherein the radio frequency front-end module comprises a front-end receiving and sending module, the front-end receiving and sending module comprises a plurality of channels, the front-end receiving and sending module has a plurality of working frequencies, and the calibration method comprises the following steps: selecting a channel and a working frequency; acquiring a single-channel AGC gain of the channel in a single-channel scene under the working frequency; acquiring a loss difference value of insertion loss of the channel in a single-channel scene and a multi-channel field; and calculating the multichannel AGC gain of the channel under the multichannel scene under the working frequency according to a formula. According to the invention, on one hand, the calibration efficiency is increased, and the calibration complexity is reduced, and on the other hand, the calibration precision of the radio frequency front-end module under a multi-channel scene is improved on the basis of not increasing the calibration cost of a production line.

Description

Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a calibration method and system for a radio frequency front end module, an electronic device, and a storage medium.
Background
An FEM (front end transceiver module) device supporting multi-channel multiplexing has the characteristic of supporting simultaneous opening of multiple channels, and in a communication system, in order to obtain the actual Gain of an AGC Gain Table, AGC (automatic Gain control) calibration needs to be performed on a receiver, and the calibration is performed on a production line. And the insertion loss affects the calibration result of the AGC.
If the single-channel scene and the multi-channel scene use the same set of receiver AGC calibration parameters, the accuracy requirements on the AGC calibration results in the two scenes cannot be met at the same time. If receiver AGC calibration is performed on both single-channel scenes and multi-channel scenes, the complexity of production line calibration and higher requirements on the calibration time range can be increased.
Disclosure of Invention
The invention aims to overcome the defects that AGC calibration cannot be accurate, convenient and low in cost in the prior art, and provides a calibration method, a calibration system, electronic equipment and a storage medium of a radio frequency front-end module, wherein the calibration method, the calibration system, the electronic equipment and the storage medium of the radio frequency front-end module can meet the requirements of high accuracy and high convenience when a multi-channel FEM is used on the basis of not increasing the calibration cost of a production line.
The invention solves the technical problems through the following technical scheme:
the invention provides a calibration method of a radio frequency front-end module, wherein the radio frequency front-end module comprises a front-end receiving and sending module, the front-end receiving and sending module comprises a plurality of channels, the front-end receiving and sending module has a plurality of working frequencies, and the calibration method comprises the following steps:
selecting a channel and a working frequency;
acquiring a single-channel AGC gain of the channel in a single-channel scene under the working frequency;
acquiring a loss difference value of insertion loss of the channel in a single-channel scene and a multi-channel field;
calculating the multichannel AGC gain of the channel under the multichannel scene under the working frequency according to the following formula:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel.
Preferably, the calibration method further comprises:
detecting whether the front-end receiving and sending module is accessed to a new matching circuit, and if so, re-calibrating the radio frequency front-end module;
and/or the presence of a gas in the gas,
after the step of calibrating the radio frequency front end module according to the multi-channel AGC gain, the method further comprises the following steps: re-executing the step of selecting a channel and a working frequency until calculating the multi-channel AGC gain of each channel under each working frequency;
the calibration method comprises the step of calibrating the radio frequency front end module according to the calculated multi-channel AGC gain of each channel under each working frequency and the current working frequency of the radio frequency front end module.
Preferably, the step of obtaining a single-channel AGC gain of the channel in a single-channel scenario at the operating frequency includes:
acquiring single-channel insertion loss of the channel in a single-channel scene;
transmitting a voltage of a calibration signal to the radio frequency front end module;
receiving the voltage of an output signal of the radio frequency front-end module;
obtaining fixed insertion loss of other devices except the front-end receiving and sending module in the radio frequency front-end module;
calculating a single-channel AGC gain of the channel in a single-channel scenario according to the following formula:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
Preferably, the step of obtaining the single-channel insertion loss of the channel in the single-channel scenario includes:
conducting the channel;
transmitting input power to the channel;
obtaining a first output power of the channel;
obtaining a second output power of the filtered channel;
and calculating the single-channel insertion loss of the channel, wherein the single-channel insertion loss is the difference value of the first output power and the second output power.
The invention also provides a calibration system of a radio frequency front-end module, the radio frequency front-end module comprises a front-end receiving and sending module, the front-end receiving and sending module comprises a plurality of channels, the front-end receiving and sending module has a plurality of working frequencies, and the calibration system comprises: the system comprises an acquisition module, a single-channel gain acquisition module, a loss difference acquisition module and a calibration module;
the acquisition module is used for selecting a channel and a working frequency;
the single-channel gain acquisition module is used for acquiring a single-channel AGC gain of a single-channel scene of the channel under the working frequency;
the loss difference value acquisition module is used for acquiring the loss difference value of the insertion loss of the channel in a single-channel scene and a multi-channel field;
the calibration module is used for calculating the multichannel AGC gain of the channel under the multichannel scene under the working frequency according to the following formula:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel.
Preferably, the calibration system further comprises: the detection module is used for detecting whether the front-end receiving and sending module is accessed to a new matching circuit or not, and if the front-end receiving and sending module is accessed to the new matching circuit, the radio frequency front-end module is calibrated again;
and/or the presence of a gas in the gas,
the calibration module is further configured to re-invoke the acquisition module after calibrating the radio frequency front end module according to the multi-channel AGC gain until the multi-channel AGC gain of each channel at each operating frequency is calculated, and the calibration module is further configured to calibrate the radio frequency front end module according to the calculated multi-channel AGC gain of each channel at each operating frequency and the current operating frequency of the radio frequency front end module.
Preferably, the single-channel gain acquisition module includes: the device comprises a single-channel insertion loss acquisition unit, a signal sending unit, a signal output unit, a fixed insertion loss acquisition unit and a single-channel gain acquisition unit;
the single-channel insertion loss acquisition unit is used for acquiring the single-channel insertion loss of the channel under a single-channel scene;
the signal sending unit is used for sending the voltage of the calibration signal to the radio frequency front end module;
the signal output unit is used for receiving the voltage of the output signal of the radio frequency front-end module;
the fixed insertion loss acquisition unit is used for acquiring fixed insertion loss of other devices except the front-end receiving and transmitting module in the radio frequency front-end module;
the single-channel gain acquisition unit is used for calculating the single-channel AGC gain of the channel under the single-channel scene according to the following formula:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
Preferably, the single-channel insertion loss obtaining unit includes: the system comprises a conduction subunit, a sending subunit, a first output subunit, a second output subunit and a calculation subunit;
the conduction subunit is used for conducting the channel;
the transmitting subunit is configured to transmit the input power to the channel;
the first output subunit is used for obtaining first output power of the channel;
the second output subunit is configured to obtain a second output power of the filtered channel;
the calculation subunit is configured to calculate a single-channel insertion loss of the channel, where the single-channel insertion loss is a difference between the first output power and the second output power.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the calibration method as described above when executing the computer program.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which is characterized in that the computer program, when being executed by a processor, carries out the steps of the calibration method as described above.
The positive progress effects of the invention are as follows: the invention can directly calculate the multi-channel AGC gain of a certain channel of a front-end transceiver module in a multi-channel scene according to the fixed loss difference value of the insertion loss of the channel in the single-channel scene and the multi-channel scene and the single-channel AGC gain under different working frequencies.
Drawings
Fig. 1 is a flowchart of a calibration method of a radio frequency front end module according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a calibration method of a radio frequency front end module according to embodiment 2 of the present invention.
Fig. 3 is a flowchart of an implementation manner of step 103 in embodiment 3 of the present invention.
Fig. 4 is a flowchart of an implementation manner of step 301 in embodiment 3 of the present invention.
Fig. 5 is a block diagram of a calibration system of a radio frequency front end module according to embodiment 4 of the present invention.
Fig. 6 is a schematic diagram of an implementation manner of a single-channel gain acquisition module according to embodiment 6 of the present invention.
Fig. 7 is a schematic diagram of an implementation manner of a single-channel insertion loss obtaining unit according to embodiment 6 of the present invention.
Fig. 8 is a schematic diagram of a hardware configuration of an electronic device according to embodiment 7 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, this embodiment provides a calibration method for a radio frequency front end module, where the radio frequency front end module includes a front end transceiver module, the front end transceiver module includes a plurality of channels, and the front end transceiver module has a plurality of operating frequencies, and the calibration method includes:
step 101, selecting a channel and a working frequency.
And 102, acquiring a single-channel AGC gain of the channel in a single-channel scene under the working frequency.
And 103, acquiring a loss difference value of the insertion loss of the channel in a single-channel scene and a multi-channel field.
And 104, calculating the multichannel AGC gain of the channel in the multichannel scene under the working frequency according to a first formula.
And 105, calibrating the radio frequency front end module according to the multi-channel AGC gain.
Wherein the first formula is:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel.
The loss difference value of the insertion loss of the channel in a single-channel scene and in a multi-channel field is a fixed value, and specifically, the loss difference value can be directly obtained from the specification of the front-end transceiver module, or the fixed value can be obtained by testing a prototype.
The front-end receiving and transmitting module is a multichannel multiplexing device, a duplexer/filter for receiving and transmitting is integrated in the front-end receiving and transmitting module, and the front-end receiving and transmitting module supports simultaneous opening of multiple channels during work.
In this embodiment, the multi-channel AGC gain of a certain channel of the front-end transceiver module in a multi-channel scene can be directly calculated according to a fixed loss difference value of the channel in the single-channel scene and the insertion loss in the multi-channel scene and a single-channel AGC gain under different operating frequencies, in this embodiment, only the AGC gain of the channel in the multi-channel scene needs to be obtained, the value of the single-channel AGC gain can be utilized to calibrate the multi-channel scene, on one hand, the calibration efficiency is increased, the calibration complexity is reduced, on the other hand, on the basis of not increasing the production line calibration cost, the calibration accuracy of the radio frequency front-end module in the multi-channel scene is improved.
Example 2
This embodiment provides a calibration method for a radio frequency front end module, and this embodiment is an improvement of embodiment 1, as shown in fig. 2, after step 104, the following steps are performed:
step 201, judging whether the multi-channel AGC gain of each channel under each working frequency is calculated, if not, returning to step 101, and if so, executing step 202.
Step 202, calculating a multi-channel AGC gain of each channel at each working frequency and a current working frequency of the radio frequency front end module, and calibrating the radio frequency front end module.
Step 203, detecting whether the front-end transceiver module is accessed to a new matching circuit, if so, executing step 101, and if not, executing step 204.
And step 204, confirming the current calibration result.
In order to obtain the multi-channel AGC gain of each channel at each operating frequency in this embodiment conveniently, after the multi-channel AGC gain of each channel at each operating frequency is calculated, all the results may be stored in an AGC gain table, which may be placed in a register of external software, and when calibration needs to be performed in a multi-channel scenario, the radio frequency front end module may be calibrated by directly calling the corresponding multi-channel AGC gain in the table according to the current operating frequency.
In this embodiment, the multi-channel AGC gain of each channel of the front-end transceiver module at each operating frequency can be calculated, so that when the rf front-end module needs to be calibrated at a specific operating frequency, the rf front-end module can be directly calibrated by using the fixed loss difference and the multi-channel AGC gain corresponding to the operating frequency, without calculating the AGC gain of each channel at different frequencies again through complicated calculation, thereby greatly reducing the calibration complexity and saving the calibration time.
Example 3
The present embodiment provides a calibration method for a radio frequency front end module, which is an improvement of embodiment 1 or embodiment 2, and as shown in fig. 3, a specific implementation manner of step 103 includes:
and 301, acquiring single-channel insertion loss of the channel in a single-channel scene.
Step 302, sending the voltage of the calibration signal to the rf front-end module.
Step 303, receiving a voltage of an output signal of the radio frequency front end module.
And 304, acquiring fixed insertion loss of other devices except the front-end receiving and transmitting module in the radio frequency front-end module.
And 305, calculating a single-channel AGC gain of the channel under a single-channel scene according to a second formula.
Wherein the second formula is:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
In this embodiment, it is necessary to calculate the single-channel AGC gain of each channel at each frequency (frequency band supported and used by the communication system) according to steps 301 to 305.
In this embodiment, the rf front-end module further includes a matching circuit and an RFIC (radio frequency integrated circuit), wherein one end of the front-end transceiver module is connected to an external signal source, the other end of the front-end transceiver module is connected to one end of the matching circuit, the other end of the matching circuit is connected to one end of the RFIC, the other end of the RFIC is connected to an external RSSI (received signal strength indicator), and a single-channel AGC gain of each channel at each frequency in this embodiment can be measured according to a signal transmitted by the external signal source and a signal received by the external RSSI.
For better understanding of the present embodiment, the following further explains the principle of the present embodiment:
in a communication receiving system, the value of AGC gain is directly related to insertion loss, and the insertion loss value of a receiving link in a single-channel scene is RxIL; the insertion loss value in a multi-channel scenario is RxIL-multi, which are not the same. For example, LTE band3 (a radio frequency front end module) works in a single channel scenario, FEM opens only the B3 channel, B3 insertion loss is RxIL; when an EN-DC band3+ N41 (a radio frequency front-end module) using an NSA (networking mode) architecture works in a multi-channel scene, the FEM needs to simultaneously open channels of B3 and N41, the insertion loss of the B3 is RxIL _ multi, and the device characteristics determine that the RxIL and the RxIL _ multi are not the same. If RxIL is used for AGC calibration of the radio frequency front-end module receiver, an error exists between the result of the AGC calibration used in a multi-channel scene and an actual result; if RxIL _ multi is used for calibrating the radio frequency front end module receiver, an error exists between the calibration result of using the AGC in a single-channel scene and the actual result; therefore, in order to obtain an accurate AGC calibration result, it is a common practice to perform AGC calibration on two scenes in a production line, which increases the complexity of the production line calibration and requires higher calibration time. Therefore, in this embodiment, the AGC Gain under the multi-channel scenario can be obtained only by performing one time of AGC Gain calculation on the rf front-end module under a single channel, for example, the front-end transceiver module includes channels a1, a2 and A3, the insertion loss of channel a1 is a1, the insertion loss of channel a2 is a2, and the insertion loss of channel A3 is A3, while at the second operating frequency, the insertion loss of a1 is a1 ', the insertion loss of channel a2 is a 2', the insertion loss of channel A3 is A3 ', according to the second formula, at the first operating frequency, the Gain of a1 is b1, the Gain of channel a1 is b1, and at the second operating frequency, the Gain of a1 is b 1', the Gain of channel a1 is b1, and if the Gain of channel a1 is 1 b ', the Gain of a1, the Gain of the multi-channel a1 is 1 b', and if the Gain of the channel a1 is 1, simultaneously turning on a1 and a2, or simultaneously turning on a1 and A3, or simultaneously turning on a1, a2, and A3), then it is not necessary to calculate Gain in the Multi-channel scene again using a second formula (where RxIL in the second formula needs to be replaced by RxIL-Multi, that is, Multi-channel insertion loss of the channel in the Multi-channel scene at the operating frequency), but it is only necessary to add a fixed loss difference to the measured Gain in the Multi-channel scene (assuming that the fixed loss difference of the a1 channel in this embodiment is c), that is, at the first power, the Multi-channel Gain of the a1 channel in the Multi-channel scene is b1+ c, and the Multi-channel Gain of the a1 channel in the Multi-channel scene is b 1' + c at the second power, and the calculation methods for the a2 channel and the A3 channel are the same in principle, which is not repeated here.
In order to improve the flexibility of calibration, the single-channel insertion loss in this embodiment may use a fixed value stored in software, or may be obtained by recalculation, as shown in fig. 4, when a new matching circuit is connected, step 301 may be implemented by the following specific steps, that is, the single-channel insertion loss at different frequencies is remeasured:
and step 401, conducting the channel.
Step 402, transmitting input power to the channel.
And 403, acquiring first output power of the channel.
And step 404, obtaining the filtered second output power of the channel.
Step 405, calculating the single-channel insertion loss of the channel.
Wherein the single channel insertion loss is a difference between the first output power and the second output power.
In this embodiment, it is necessary to calculate the single-channel insertion loss of each channel at each frequency (frequency band supported and used by the communication system) according to steps 401 to 405.
In the embodiment, not only can an accurate AGC calibration result be obtained, but also the accuracy of AGC calibration is improved, and meanwhile, the problem that a multichannel multiplexing device is too complex in AGC calculation under a multichannel scene is solved.
Example 4
As shown in fig. 5, this embodiment provides a calibration system for a radio frequency front end module, where the radio frequency front end module includes a front end transceiver module, the front end transceiver module includes a plurality of channels, and the front end transceiver module has a plurality of operating frequencies, and the calibration system includes: the system comprises an acquisition module 501, a single-channel gain acquisition module 502, a loss difference acquisition module 503 and a calibration module 504.
The obtaining module 501 is configured to select a channel and a working frequency, and call the single-channel gain obtaining module 502.
The single channel gain obtaining module 502 is configured to obtain a single channel AGC gain of the channel in a single channel scene at the working frequency, and call the loss difference obtaining module 503.
The loss difference obtaining module 503 is configured to obtain a loss difference of the insertion loss of the channel in a single-channel scene and in a multi-channel field, and call the calibration module 504.
The calibration module 504 is configured to calculate a multi-channel AGC gain of the channel in the multi-channel scene at the operating frequency according to the following formula, and calibrate the radio frequency front end module according to the multi-channel AGC gain:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel.
The loss difference of the insertion loss of the channel in a single-channel scene and in a multi-channel field is a fixed value, and specifically, the loss difference can be directly obtained from the specification of the front-end transceiver module through the loss difference obtaining module 503, or the fixed value can be obtained by testing a prototype through the loss difference obtaining module 503.
The front-end receiving and transmitting module is a multichannel multiplexing device, a duplexer/filter for receiving and transmitting is integrated in the front-end receiving and transmitting module, and the front-end receiving and transmitting module supports simultaneous opening of multiple channels during work.
In this embodiment, the multi-channel AGC gain of a certain channel of the front-end transceiver module in a multi-channel scene can be directly calculated according to a fixed loss difference value of the channel in the single-channel scene and the insertion loss in the multi-channel scene and a single-channel AGC gain under different operating frequencies, in this embodiment, only the AGC gain of the channel in the multi-channel scene needs to be obtained, the value of the single-channel AGC gain can be utilized to calibrate the multi-channel scene, on one hand, the calibration efficiency is increased, the calibration complexity is reduced, on the other hand, on the basis of not increasing the production line calibration cost, the calibration accuracy of the radio frequency front-end module in the multi-channel scene is improved.
Example 5
The present embodiment provides a calibration system for a radio frequency front end module, which is an improvement of embodiment 4, where the calibration module 504 is further configured to recall the obtaining module 501 after calibrating the radio frequency front end module according to the multi-channel AGC gain until calculating the multi-channel AGC gain of each channel at each operating frequency, and the calibration module 504 is further configured to calibrate the radio frequency front end module according to the calculated multi-channel AGC gain of each channel at each operating frequency and the current operating frequency of the radio frequency front end module.
In order to obtain the multi-channel AGC gain of each channel at each operating frequency in this embodiment, after the calibration module 504 calculates the multi-channel AGC gain of each channel at each operating frequency, all the results may be stored in an AGC gain table, which may be placed in a register of external software, and when calibration needs to be performed in a multi-channel scenario, the calibration module may directly invoke the corresponding multi-channel AGC gain in the table according to the current operating frequency to calibrate the radio frequency front end module.
In order to enable the calibration system in this embodiment to flexibly meet the calibration requirements of different external devices, the calibration system in this embodiment further includes: a detection module, configured to detect whether the front-end transceiver module is connected to a new matching circuit, and if so, invoke the obtaining module 501, that is, recalibrate the radio frequency front-end module.
In this embodiment, the multi-channel AGC gain of each channel of the front-end transceiver module at each operating frequency can be calculated, so that when the rf front-end module needs to be calibrated at a specific operating frequency, the rf front-end module can be directly calibrated by using the fixed loss difference and the multi-channel AGC gain corresponding to the operating frequency, without calculating the AGC gain of each channel at different frequencies again through complicated calculation, thereby greatly reducing the calibration complexity and saving the calibration time.
Example 6
This embodiment provides a calibration system for a radio frequency front end module, this embodiment is an improvement of embodiment 4 or embodiment 5, fig. 6 shows a block diagram of an implementation manner of a single-channel gain acquisition module 502, where the single-channel gain acquisition module 502 includes: single-channel insertion loss acquisition section 601, signal transmission section 602, signal output section 603, fixed insertion loss acquisition section 604, and single-channel gain acquisition section 605.
The single-channel insertion loss acquiring unit 601 is configured to acquire a single-channel insertion loss of the channel in a single-channel scene and call the signal sending unit 602.
The signal sending unit 602 is configured to send a voltage of the calibration signal to the rf front-end module and call the signal output unit 603.
The signal output unit 603 is configured to receive a voltage of an output signal of the rf front-end module and call the fixed insertion loss obtaining unit 604.
The fixed insertion loss obtaining unit 604 is configured to obtain fixed insertion losses of other devices in the radio frequency front-end module except for the front-end transceiver module.
The single-channel gain obtaining unit 605 is configured to calculate a single-channel AGC gain of the channel in a single-channel scenario according to the following formula:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
In this embodiment, it is necessary to calculate the single-channel AGC gain of each channel at each frequency (frequency band supported and used by the communication system).
In this embodiment, the rf front-end module further includes a matching circuit and an RFIC (radio frequency integrated circuit), wherein one end of the front-end transceiver module is connected to an external signal source, the other end of the front-end transceiver module is connected to one end of the matching circuit, the other end of the matching circuit is connected to one end of the RFIC, the other end of the RFIC is connected to an external RSSI (received signal strength indicator), and a single-channel AGC gain of each channel at each frequency in this embodiment can be measured according to a signal transmitted by the external signal source and a signal received by the external RSSI.
For better understanding of the present embodiment, the following further explains the principle of the present embodiment:
in a communication receiving system, the value of AGC gain is directly related to insertion loss, and the insertion loss value of a receiving link in a single-channel scene is RxIL; the insertion loss value in a multi-channel scenario is RxIL-multi, which are not the same. For example, LTE band3 works in a single channel scenario, FEM opens only the B3 channel, and B3 insertion loss is RxIL; the EN-DC band3+ N41 using NSA framework works in a multi-channel scene, FEM needs to simultaneously open the channels of B3 and N41, the insertion loss of B3 is RxIL _ multi, and the device characteristics determine that RxIL and RxIL _ multi are different. If RxIL is used for AGC calibration of the radio frequency front-end module receiver, an error exists between the result of the AGC calibration used in a multi-channel scene and an actual result; if RxIL _ multi is used for calibrating the radio frequency front end module receiver, an error exists between the calibration result of using the AGC in a single-channel scene and the actual result; therefore, in order to obtain an accurate AGC calibration result, it is a common practice to perform AGC calibration on two scenes in a production line, which increases the complexity of the production line calibration and requires higher calibration time. Therefore, in this embodiment, the AGC Gain under the multi-channel scenario can be obtained only by performing one time of AGC Gain calculation on the rf front-end module under a single channel, for example, the front-end transceiver module includes channels a1, a2 and A3, the insertion loss of channel a1 is a1, the insertion loss of channel a2 is a2, and the insertion loss of channel A3 is A3, while at the second operating frequency, the insertion loss of a1 is a1 ', the insertion loss of channel a2 is a 2', the insertion loss of channel A3 is A3 ', according to the second formula, at the first operating frequency, the Gain of a1 is b1, the Gain of channel a1 is b1, and at the second operating frequency, the Gain of a1 is b 1', the Gain of channel a1 is b1, and if the Gain of channel a1 is 1 b ', the Gain of a1, the Gain of the multi-channel a1 is 1 b', and if the Gain of the channel a1 is 1, simultaneously turning on a1 and a2, or simultaneously turning on a1 and A3, or simultaneously turning on a1, a2, and A3), then it is not necessary to calculate Gain in the Multi-channel scene again using a second formula (where RxIL in the second formula needs to be replaced by RxIL-Multi, that is, Multi-channel insertion loss of the channel in the Multi-channel scene at the operating frequency), but it is only necessary to add a fixed loss difference to the measured Gain in the Multi-channel scene (assuming that the fixed loss difference of the a1 channel in this embodiment is c), that is, at the first power, the Multi-channel Gain of the a1 channel in the Multi-channel scene is b1+ c, and the Multi-channel Gain of the a1 channel in the Multi-channel scene is b 1' + c at the second power, and the calculation methods for the a2 channel and the A3 channel are the same in principle, which is not repeated here.
In order to improve the flexibility of calibration, the single-channel insertion loss in this embodiment may be obtained by using a fixed value stored in software, or may be obtained by recalculating, as shown in fig. 7, the single-channel insertion loss acquisition unit 601 includes: a conducting subunit 701, a sending subunit 702, a first output subunit 703, a second output subunit 704, and a calculating subunit 705.
The conducting subunit 701 is configured to conduct the channel, and call the sending subunit 702.
The sending subunit 702 is configured to send the input power to the channel, and invoke the first outputting subunit 703.
The first output subunit 703 is configured to obtain a first output power of the channel, and call the second output subunit 704.
The second output subunit 704 is configured to obtain a second filtered output power of the channel, and invoke the calculating subunit 705.
The calculating subunit 705 is configured to calculate a single-channel insertion loss of the channel, where the single-channel insertion loss is a difference between the first output power and the second output power.
In this embodiment, for example, when a new matching circuit is connected, the pass subunit 701 may be called to perform re-measurement on single-channel insertion loss at different frequencies.
In this embodiment, the single-channel insertion loss of each channel at each frequency (frequency band supported and used by the communication system) needs to be calculated.
In the embodiment, not only can an accurate AGC calibration result be obtained, but also the accuracy of AGC calibration is improved, and meanwhile, the problem that a multichannel multiplexing device is too complex in AGC calculation under a multichannel scene is solved.
Example 7
The present embodiment provides an electronic device, which may be represented in the form of a computing device (for example, may be a server device), and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the calibration method of the rf front-end module in any one of embodiments 1 to 3.
Fig. 8 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 8, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing, such as a calibration method of the rf front-end module according to any one of embodiments 1 to 3 of the present invention, by executing the computer program stored in the memory 92.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the calibration method of the rf front-end module according to any one of embodiments 1 to 3.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in a form of a program product, which includes program code for causing a terminal device to execute steps of implementing the calibration method of the rf front-end module in any one of embodiments 1 to 3 when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A calibration method for a radio frequency front end module, wherein the radio frequency front end module comprises a front end transceiver module, the front end transceiver module comprises a plurality of channels, and the front end transceiver module has a plurality of operating frequencies, the calibration method comprising:
selecting a channel and a working frequency;
acquiring a single-channel AGC gain of the channel in a single-channel scene under the working frequency;
acquiring a loss difference value of the insertion loss of the channel in a single-channel scene and a multi-channel scene;
calculating the multichannel AGC gain of the channel under the multichannel scene under the working frequency according to the following formula:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel;
after the step of calibrating the radio frequency front end module according to the multi-channel AGC gain, the method further comprises the following steps: re-executing the step of selecting a channel and a working frequency until calculating the multi-channel AGC gain of each channel under each working frequency;
the calibration method comprises the step of calibrating the radio frequency front end module according to the calculated multi-channel AGC gain of each channel under each working frequency and the current working frequency of the radio frequency front end module.
2. The calibration method of claim 1, further comprising:
and detecting whether the front-end receiving and sending module is accessed to a new matching circuit, and if so, re-calibrating the radio frequency front-end module.
3. The calibration method of claim 1,
the step of obtaining the single-channel AGC gain of the single-channel scene of the channel under the working frequency comprises the following steps:
acquiring single-channel insertion loss of the channel in a single-channel scene;
transmitting a voltage of a calibration signal to the radio frequency front end module;
receiving the voltage of an output signal of the radio frequency front-end module;
obtaining fixed insertion loss of other devices except the front-end receiving and sending module in the radio frequency front-end module;
calculating a single-channel AGC gain of the channel in a single-channel scenario according to the following formula:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
4. The calibration method of claim 3, wherein the step of obtaining a single-channel insertion loss of the channel in a single-channel scenario comprises:
conducting the channel;
transmitting input power to the channel;
acquiring first output power of the channel;
obtaining a second output power of the filtered channel;
and calculating the single-channel insertion loss of the channel, wherein the single-channel insertion loss is the difference value of the first output power and the second output power.
5. A calibration system for a radio frequency front end module, the radio frequency front end module comprising a front end transceiver module, the front end transceiver module comprising a plurality of channels, the front end transceiver module having a plurality of operating frequencies, the calibration system comprising: the system comprises an acquisition module, a single-channel gain acquisition module, a loss difference acquisition module and a calibration module;
the acquisition module is used for selecting a channel and a working frequency;
the single-channel gain acquisition module is used for acquiring a single-channel AGC gain of a single-channel scene of the channel under the working frequency;
the loss difference value acquisition module is used for acquiring the loss difference value of the insertion loss of the channel in a single-channel scene and a multi-channel scene;
the calibration module is used for calculating the multichannel AGC gain of the channel under the multichannel scene under the working frequency according to the following formula:
AGC Gain_multi=AGC Gain+delta_RxIL
wherein, AGC Gain _ multi represents a multi-channel AGC Gain of a multi-channel scenario of the channel at the operating frequency, AGC Gain represents a single-channel AGC Gain of a single-channel scenario of the channel at the operating frequency, and delta _ RxIL represents a loss difference of the channel;
the calibration module is further configured to re-invoke the acquisition module after calibrating the radio frequency front end module according to the multi-channel AGC gain until the multi-channel AGC gain of each channel at each operating frequency is calculated, and the calibration module is further configured to calibrate the radio frequency front end module according to the calculated multi-channel AGC gain of each channel at each operating frequency and the current operating frequency of the radio frequency front end module.
6. The calibration system of claim 5, further comprising: and the detection module is used for detecting whether the front-end transceiver module is accessed to a new matching circuit or not, and if so, recalibrating the radio frequency front-end module.
7. The calibration system of claim 5,
the single channel gain acquisition module comprises: the device comprises a single-channel insertion loss acquisition unit, a signal sending unit, a signal output unit, a fixed insertion loss acquisition unit and a single-channel gain acquisition unit;
the single-channel insertion loss acquisition unit is used for acquiring the single-channel insertion loss of the channel under a single-channel scene;
the signal sending unit is used for sending the voltage of the calibration signal to the radio frequency front end module;
the signal output unit is used for receiving the voltage of the output signal of the radio frequency front-end module;
the fixed insertion loss acquisition unit is used for acquiring fixed insertion loss of other devices except the front-end receiving and transmitting module in the radio frequency front-end module;
the single-channel gain acquisition unit is used for calculating the single-channel AGC gain of the channel under the single-channel scene according to the following formula:
AGC Gain=RSSI–RxIL–RxIL_constant–Cal signal
AGC Gain represents AGC Gain at the operating frequency, Cal signal represents voltage of the calibration signal, RSSI represents voltage of the output signal, RxIL represents single channel insertion loss of the channel in a single channel scenario at the operating frequency, and RxIL _ constant represents fixed insertion loss of other devices except the front end transceiver module.
8. The calibration system of claim 7, wherein the single channel insertion loss acquisition unit comprises: the system comprises a conduction subunit, a sending subunit, a first output subunit, a second output subunit and a calculation subunit;
the conduction subunit is used for conducting the channel;
the transmitting subunit is configured to transmit the input power to the channel;
the first output subunit is used for acquiring first output power of the channel;
the second output subunit is configured to obtain a second output power of the filtered channel;
the calculation subunit is configured to calculate a single-channel insertion loss of the channel, where the single-channel insertion loss is a difference between the first output power and the second output power.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the calibration method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the calibration method according to any one of claims 1 to 4.
CN201911347366.5A 2019-12-24 2019-12-24 Calibration method and system of radio frequency front-end module, electronic equipment and storage medium Active CN111224723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911347366.5A CN111224723B (en) 2019-12-24 2019-12-24 Calibration method and system of radio frequency front-end module, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911347366.5A CN111224723B (en) 2019-12-24 2019-12-24 Calibration method and system of radio frequency front-end module, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111224723A CN111224723A (en) 2020-06-02
CN111224723B true CN111224723B (en) 2022-02-15

Family

ID=70810362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911347366.5A Active CN111224723B (en) 2019-12-24 2019-12-24 Calibration method and system of radio frequency front-end module, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111224723B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312534B (en) * 2020-10-30 2022-08-16 展讯通信(天津)有限公司 Method and system for adjusting receiving link gain and intelligent terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141219A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Device and method for implementing wavelength division multiplexing system channel power pitch dynamic compensation
CN101527588A (en) * 2008-03-06 2009-09-09 中兴通讯股份有限公司 Radio-frequency automatic gain control method and system for wireless receiving system
CN106603030A (en) * 2015-10-20 2017-04-26 天津创融科技有限公司 Gain control device and gain control method of a plurality of communication signals of communication system
CN107086875A (en) * 2017-04-11 2017-08-22 深圳思凯微电子有限公司 Automatic gain control equipment and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414072B1 (en) * 2001-10-08 2004-01-07 엘지전자 주식회사 Transmission power compensation apparatus and method for mobile communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141219A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Device and method for implementing wavelength division multiplexing system channel power pitch dynamic compensation
CN101527588A (en) * 2008-03-06 2009-09-09 中兴通讯股份有限公司 Radio-frequency automatic gain control method and system for wireless receiving system
CN106603030A (en) * 2015-10-20 2017-04-26 天津创融科技有限公司 Gain control device and gain control method of a plurality of communication signals of communication system
CN107086875A (en) * 2017-04-11 2017-08-22 深圳思凯微电子有限公司 Automatic gain control equipment and method

Also Published As

Publication number Publication date
CN111224723A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN107566053B (en) Method and system for testing radio frequency index and computer readable storage medium
CN111478737B (en) Radio frequency test method, device, electronic device and storage medium
CN107959515B (en) Method and device for measuring noise power of multiple antennas
CN108923863B (en) Equipment equivalent omnidirectional radiation power measuring method, device, equipment and medium
CN110572223B (en) Calibration method of radio frequency baseband integrated terminal automatic test system
CN109890046B (en) Method and system for testing power loss of clamp of wireless communication equipment
CN105764075B (en) Obtain the method and terminal device of digital pre-distortion calibration value
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
KR20120072111A (en) Calibration method using a vector network analyser and delay time measurememt using the same
CN101340198B (en) Calibration method, apparatus and system for RF receiver
CN112782567B (en) Chip testing system, method, device, medium and equipment
CN107592165B (en) Method and system for testing transmission power of router
CN105281852A (en) L-band test equipment and test method
CN110763977B (en) System and method for quantitatively measuring and evaluating precision of noise test system
CN110441621B (en) Method, device, equipment and storage medium for measuring noise coefficient
TWI447410B (en) System of testing multiple rf modules and method thereof
WO2019061173A1 (en) Method, device and system for calibrating array antennas
CN209184820U (en) RRU automatic scaling system
CN112422205B (en) Method and device for calibrating SRS radio frequency transmission channel, electronic equipment and storage medium
CN113452390B (en) Power compensation method, device, storage medium and electronic equipment
CN107276693B (en) Method, equipment and system for testing radio frequency front end of terminal
CN112751630B (en) Signal processing method and related device
CN107483122A (en) Power test system, power compensating method and device
WO2020020250A1 (en) Measurement method and apparatus
CN114039676A (en) Radio frequency tester and calibration method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant