A calibration method and related device
The calibration method using a coupler to stabilize load impedance changes in multi-antenna terminals improves RF calibration accuracy and efficiency by determining coupling loss, addressing the challenge of dynamic impedance fluctuations.
Patent Information
- Application Number
- CN202211446032.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-18
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-11-18
AI Technical Summary
The increasing number of antennas in terminals supporting new radio (NR), Wi-Fi, and LTE-A technologies requires more instrument ports for RF calibration, leading to dynamic changes in load impedance that compromise calibration accuracy.
A calibration method using a coupler to couple signals between antennas and an instrument, determining coupling loss to reduce the impact of dynamic load impedance changes, thereby improving calibration accuracy and efficiency.
The method enhances RF calibration accuracy by stabilizing load impedance fluctuations and reduces the need for multiple instrument ports, optimizing calibration efficiency.
Smart Images

Figure CN115865227B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a calibration method and related devices. Background Art
[0002] In order to ensure that the RF indicators of the terminal meet the standards of the 3rd Generation Partnership Project 2 (3GPP2), the performance of the RF components of the terminal is calibrated before it leaves the factory. For example, the receiving function and the transmitting function of the antenna are usually calibrated.
[0003] At present, terminals that support new radio (NR) technology, wireless fidelity (Wi-Fi) technology, and enhanced long term evolution (LTE-A) technology are generally designed with multiple antennas. For example, a 1T2R terminal includes 1 transmitting antenna and 2 receiving antennas. For example, the 1T2R terminal includes antenna 1 and antenna 2. Antenna 1 is compatible with the functions of transmitting and receiving signals, and antenna 2 is only used to receive signals. For such terminals with multiple antennas, the instrument port can be used to connect the transmission path corresponding to each antenna to complete the RF calibration. However, as the number of antennas increases, more instrument ports are required for RF calibration.
[0004] In order to reduce the occupancy of the instrument port and improve the calibration efficiency, a power splitter can be used to complete the expansion of the instrument port. For example, for the RF calibration of the 1T2R terminal, a 1-to-2 power splitter can be used to connect one port of the instrument to the transmission paths corresponding to the two antennas of the terminal; for the 2T4R terminal, a 1-to-4 power splitter can be used to connect one port of the instrument to the transmission paths corresponding to the four antennas of the terminal, and so on. Although the instrument port can be expanded by using a power splitter, in the actual calibration process, the conduction or closing of the transmission paths of each antenna connected to the power splitter and the gain adjustment of each transmission path will cause the load impedance of the power splitter to change dynamically. For example, port 1 of the power splitter is connected to antenna 1, and port 2 of the power splitter is connected to antenna 2. Figure 1A and Figure 1B This is a numerical diagram of the load impedance of some ports during RF calibration. Figure 1AAs shown in the figure, when the transmission paths corresponding to antenna 1 and antenna 2 are both in the on state, the RF calibration of antenna 1 and antenna 2 shows that the operating frequency range of antenna 1 is 1700MHz~1800MHz, and the operating frequency range of antenna 2 is 1850MHz~1900MHz. Taking the load impedance corresponding to a frequency in the operating frequency range as an example, when the frequency is 1750MHz, the load impedance of port 1 is -8.02dB; when the frequency is 1880MHz, the load impedance of port 2 is -7.85dB. When it is necessary to perform RF calibration on antenna 1 alone, the transmission path corresponding to antenna 2 is closed. In this case, the load impedance of port 2 is changed from -7.85dB to Figure 1B The -55dB in the figure is equivalent to high impedance, and the load impedance of port 1 is also given by Figure 1A The -8.02dB in the Figure 1B It can be seen that the load impedance of the power divider will change dynamically with the operation during RF calibration. If a power divider with dynamically changing load impedance is used during RF calibration, it is easy to cause low accuracy of RF calibration. Summary of the invention
[0005] The present application provides a calibration method and related devices, which can improve the accuracy of radio frequency calibration.
[0006] In a first aspect, the present application provides a calibration method, the method comprising:
[0007] Based on the first antenna receiving the first signal transmitted by the instrument through the through port of the coupler, based on the second antenna receiving the first signal through the coupled port of the coupler; the transmission power of the first signal is a first preset value;
[0008] Perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna;
[0009] determining a coupling loss of the second antenna according to the first receiving value and the second receiving value, where the second receiving value is a signal strength of the first signal received by the second antenna, and performing reception calibration on the second antenna according to the second receiving value, the coupling loss and the first preset value;
[0010] Based on the first antenna, a second signal is transmitted to the instrument through the through port of the coupler; the transmission power of the second signal is a second preset value;
[0011] The first antenna is calibrated for transmission according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
[0012] In a possible implementation, the method also includes: receiving the second signal transmitted by the first antenna through the coupling port of the coupler based on the second antenna; performing reception calibration on the second antenna according to the coupling loss, a fourth reception value and the second preset value, the fourth reception value being the signal strength of the second signal received by the second antenna.
[0013] In a possible implementation, when the second antenna is calibrated for reception according to the second reception value, the coupling loss and the first preset value, it specifically includes: determining the difference between the first preset value and the coupling loss as a third preset value; the first preset value is any power value within a preset receiver calibration power range; and performing reception calibration on the second antenna according to the third preset value and the second reception value.
[0014] In a possible implementation, when the second antenna is calibrated for reception according to the coupling loss, the fourth reception value and the second preset value, it specifically includes: determining the difference between the second preset value and the coupling loss as the fourth preset value; the second preset value is any power value within a preset transmitter calibration power range; and performing reception calibration on the second antenna according to the fourth preset value and the fourth reception value.
[0015] In one possible implementation, before receiving the first signal transmitted by the instrument through the through port of the coupler based on the first antenna, the method further includes: receiving a first calibration instruction; and transmitting a first uplink synchronization signal to the instrument in response to the first calibration instruction, wherein the first uplink synchronization signal is used to instruct the instrument to start a signal transmission function.
[0016] In one possible implementation, after the second antenna is calibrated for reception according to the second reception value, the coupling loss and the first preset value, and before the first antenna transmits a second signal to the instrument through the through port of the coupler, the method further includes: receiving a second calibration instruction; and in response to the second calibration instruction, transmitting a second uplink synchronization signal to the instrument, wherein the second uplink synchronization signal is used to instruct the instrument to switch from a signal transmitting function to a signal receiving function.
[0017] In a second aspect, the present application provides a communication device, comprising a unit for implementing the method in the above-mentioned first aspect and any possible implementation manner thereof.
[0018] In a third aspect, the present application provides a communication device, comprising a processor and a communication interface; the communication interface is used to receive or send signals; the processor is used to execute the method in the first aspect above and any possible implementation thereof.
[0019] In one possible implementation, the communication device also includes a memory: the memory is used to store a computer program; and a processor is specifically used to call the computer program from the memory, so that the communication device executes the method in the first aspect and any possible implementation thereof.
[0020] In a fourth aspect, the present application provides a chip, which is used to: receive a first signal transmitted by an instrument through a through-port of a coupler based on a first antenna, and receive a first signal through a coupled port of the coupler based on a second antenna; the transmission power of the first signal is a first preset value; perform reception calibration on the first antenna according to a first reception value and the first preset value, the first reception value being the signal strength of the first signal received by the first antenna; determine the coupling loss of the second antenna according to the first reception value and the second reception value, the second reception value being the signal strength of the first signal received by the second antenna, and perform reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value; transmit a second signal to the instrument through the through-port of the coupler based on the first antenna; the transmission power of the second signal is a second preset value; perform transmission calibration on the first antenna according to a third reception value and the second preset value, the third reception value being the signal strength of the second signal received by the instrument.
[0021] In a fifth aspect, the present application provides a module device, which includes a communication module, a power module, a storage module and a chip module, wherein: the power module is used to provide power to the module device; the storage module is used to store data and instructions; the communication module is used to communicate within the module device, or to communicate between the module device and an external device; the chip module is used to: receive a first signal transmitted by an instrument through a through-port of a coupler based on a first antenna, and receive a first signal through a coupling port of the coupler based on a second antenna; the transmission power of the first signal is a first preset value; the first antenna is calibrated for reception according to the first reception value and the first preset value, and the first receiving The receiving value is the signal strength of the first signal received by the first antenna; the coupling loss of the second antenna is determined according to the first receiving value and the second receiving value, the second receiving value is the signal strength of the first signal received by the second antenna, and the second antenna is calibrated for reception according to the second receiving value, the coupling loss and the first preset value; the first antenna transmits a second signal to the instrument through the through port of the coupler based on the first antenna; the transmission power of the second signal is the second preset value; the first antenna is calibrated for transmission according to the third receiving value and the second preset value, and the third receiving value is the signal strength of the second signal received by the instrument.
[0022] In a sixth aspect, the present application provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed on a communication device, the communication device executes the method in the first aspect and any possible implementation thereof.
[0023] In a seventh aspect, the present application provides a computer program or a computer program product, comprising computer-readable instructions, which, when executed on a computer, enable the computer to execute the method in the first aspect and any possible implementation thereof.
[0024] Through the embodiments of the present application, a coupler can be used to couple the signal between the first antenna and the instrument to the second antenna, thereby completing the RF calibration of the first antenna and the second antenna. Since the coupling degree of the coupler is determined by the coupling loss, and the coupling loss is usually much larger than the dynamic change range of the load impedance, the use of a coupler can reduce the impact of the dynamic change of the load impedance and improve the accuracy of the RF calibration. At the same time, the present application can complete the connection between one port of the instrument and the two transmission paths of the first antenna and the second antenna through the connection of the straight-through port of the coupler with the instrument, thereby reducing the occupancy of the instrument port and improving the calibration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1A to Figure 1B It is a numerical schematic diagram of the load impedance of some ports during radio frequency calibration provided in the embodiments of the present application;
[0027] Figure 2A to Figure 2B It is a schematic diagram of the framework of some calibration systems provided in the embodiments of the present application;
[0028] Figure 3 It is a flow chart of a calibration method provided in an embodiment of the present application;
[0029] Figure 4 is a flow chart of another calibration method provided in an embodiment of the present application;
[0030] Figure 5 It is a flowchart of another calibration method provided in an embodiment of the present application;
[0031] Figure 6 is a structural diagram of a communication device provided in an embodiment of the present application;
[0032] Figure 7 is a structural diagram of another communication device provided in an embodiment of the present application;
[0033] Figure 8 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application;
[0034] Fig. 9 It is a structural schematic diagram of a module device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] The terms "first" and "second" and the like in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0037] First, some nouns involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0038] 1. Coupling loss
[0039] Coupling loss refers to the energy loss that occurs when energy is transmitted from one circuit or a component to another circuit. The unit of coupling loss is watt or decibel. In this application, the coupler is a three-port device, two of which are directly connected. The two directly connected ports are called through ports, and the one port that is not directly connected is a coupled port. When energy is transmitted between two through ports, part of the energy will be coupled to the coupled port and received by the coupled port. The difference between the energy received by the coupled port and the energy transmitted between the through ports is the coupling loss.
[0040] 2. Transmitter calibration
[0041] Transmit calibration refers to calibrating the transmit function of the RF device. According to the 3GPP2 standard, when the RF device of the terminal transmits a signal, the actual power value of the transmitted signal needs to be equal to the preset power value within the preset transmitter calibration power range, and the preset power value of the transmitted signal has a corresponding relationship with the control voltage, so the terminal can control the voltage to make the RF device transmit a signal with an actual power value equal to the preset power value. However, due to the inconsistency of the performance of the RF device, the corresponding relationship between the preset power value and the control voltage may change, and the actual power value of the signal transmitted according to the original corresponding relationship may not be equal to the preset power value. Therefore, it is necessary to perform transmission calibration on the RF device of the terminal. Transmit calibration is to measure the actual power value when the RF device transmits a signal, and adjust the corresponding relationship between the preset power value and the control voltage through the actual power value and the preset power value to obtain the adjusted corresponding relationship. Furthermore, the adjusted corresponding relationship can be written into the storage medium of the terminal, and the terminal can make the RF device transmit a signal with an actual power value equal to the preset power value based on the control voltage in the adjusted corresponding relationship.
[0042] 3. Receive calibration
[0043] Receiving calibration refers to calibrating the receiving function of the RF device. When the RF device of the terminal receives a signal, the received signal has a large power range, and the receivable power range of the input signal of the baseband processing unit is smaller than the power range of the received signal. Therefore, it is necessary to adjust the received signal based on the correspondence between the receiving gain and the preset power value, so that the baseband signal amplitude of the adjusted received signal is maintained at a constant level. However, due to the inconsistency of the performance of the RF device, the preset power value and the actual power value when receiving the signal (such as the actual measured signal strength) are different. When the terminal processes the received signal according to the receiving gain corresponding to the preset power value in the original corresponding relationship, the baseband signal amplitude of the processed received signal cannot be maintained at a constant level. Therefore, it is necessary to perform receiving calibration on the RF device of the terminal. The receiving calibration is to first receive the signal of the preset power through the RF device, and then measure the actual power value when the RF device receives the signal; the corresponding relationship between the received signal power value and the receiving gain is adjusted by the actual power value and the preset receiving power value to obtain the adjusted corresponding relationship. When the correspondence between the received signal power value and the received gain is adjusted, the adjusted correspondence can be written into the storage medium of the terminal, and the terminal can process the signal with a preset power value based on the received gain in the adjusted correspondence, so that the baseband signal amplitude of the processed signal is maintained at a constant level.
[0044] The embodiment of the present application can be applied to the radio frequency calibration of a terminal device. For example, when the terminal device is a dual-antenna terminal, the Figure 2AThe calibration system shown in the figure is used for RF calibration. Figure 2A As shown, the calibration system includes a terminal device 100, a coupler 200 and an instrument 300. The terminal device 100 includes an antenna 101 and an antenna 102, wherein the antenna 101 is an antenna having both the function of transmitting and receiving signals, and the antenna 102 is an antenna having the function of receiving signals. The coupler 200 includes a port A, a port B and a port C, wherein the port A and the port B are through ports, and the port C is a coupling port. The instrument 300 includes a port 301, which has the function of transmitting signals and testing the strength of received signals.
[0045] When performing radio frequency calibration on the terminal device 100, it is necessary to calibrate the transmitting function and receiving function of the antenna 101, and calibrate the receiving function of the antenna 102. During radio frequency calibration, the antenna 101 can be connected to the port A of the coupler, the antenna 102 can be connected to the port C of the coupler, and the port 301 can be connected to the port B of the coupler.
[0046] Specifically, when calibrating the receiving function of the antenna 101, the function of transmitting a signal of the instrument 300 can be used. The instrument 300 transmits a signal to the antenna 101 through the port 301. The signal transmitted by the port 301 passes through the port B and the port A of the coupler 200 in turn during the transmission process, and is finally received by the antenna 101. The antenna 101 can be calibrated according to the strength of the signal actually received by the antenna 101 and the signal power transmitted by the port 301. At the same time, the signal transmitted by the port 301 to the antenna 101 can be received by the port C through coupling when passing through the coupler 200. After the signal is received, the port C can transmit the received signal to the antenna 102. The coupling loss of the coupler 200 is determined according to the strength of the signal actually received by the antenna 101 and the strength of the signal actually received by the antenna 102, and the reception calibration of the antenna 102 is performed.
[0047] Specifically, when the transmission function of antenna 101 is calibrated, a signal can be transmitted from antenna 101 to instrument 300. The signal transmitted by antenna 101 passes through port A and port B of coupler 200 in turn during the transmission process, and is finally received by instrument 300 through port 301. Port 301 measures the strength of the received signal. According to the actual measured strength of the received signal at port 301 and the signal power transmitted by antenna 101, transmission calibration of antenna 101 can be performed.
[0048] Based on the above process, the present application can complete the RF calibration of the dual-antenna terminal based on a three-port coupler and an instrument port.
[0049] Optionally, the signal transmitted by the antenna 101 to the instrument 300 can be received by the port C through signal coupling when passing through the coupler 200. After receiving the signal, the port C can also transmit the received signal to the antenna 102; the antenna 102 can be calibrated based on the determined coupling loss, the actual received signal strength of the antenna 102 and the actual measured received signal strength of the port 301.
[0050] Optionally, the terminal device may also be a four-antenna terminal, an eight-antenna terminal, etc. When the terminal device is a four-antenna terminal, an eight-antenna terminal, etc., the calibration of all antennas may be completed according to the above process by using multiple couplers and multiple instrument ports.
[0051] For example, Figure 2B In the calibration system shown in the figure, the terminal device 100 also includes antenna 103, antenna 104, etc. Antenna 103 is an antenna that has both the function of transmitting and receiving signals, and antenna 104 is an antenna that has the function of receiving signals. Then, two three-port couplers (such as coupler 200 and coupler 210) and two instrument ports (such as port 301 and port 302) can be used to calibrate antenna 103 and antenna 104. In addition, it can be performed according to Figure 2B The corresponding connection relationship connects the terminal device 100, the coupler 200, the coupler 210 and the meter 300. The calibration of the antenna 103 and the antenna 104 is completed according to the calibration process of the antenna 101 and the antenna 102.
[0052] The terminal device in the embodiments of the present application may be referred to as a terminal, terminal device, mobile station (MS), mobile terminal (MT), access terminal device, vehicle-mounted terminal device, industrial control terminal device, user experience (UE) unit, UE station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent or UE device, etc.
[0053] It should be noted that the terminal device can support at least one wireless communication technology, such as LTE, NR, etc. For example, the terminal device may be a mobile phone, a tablet computer (pad), a desktop computer, a laptop computer, an all-in-one computer, a vehicle-mounted terminal, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a wearable device, a user equipment in a future mobile communication network, or a terminal device in a future evolved public mobile land network (PLMN).
[0054] Optionally, the calibration system may further include a control device, in which a calibration program is configured, and the control device may control the completion of the calibration of the terminal device based on the calibration program. For example, the control device may be connected to the terminal device 100 and the meter 300 in the above-mentioned calibration system, and complete the RF calibration of the terminal device 100 by sending instructions to the terminal device 100 and the meter 300, receiving the measurement data of the terminal device 100 and the meter 300, and sending the calibration result to the terminal device 100 according to the measurement data.
[0055] It should be noted that the control device may be a server. For example, the control device may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0056] Below through Figures 3 to 9The calibration feedback method and related devices proposed in this application are described in detail.
[0057] See also Figure 3 , Figure 3 It is a flowchart of a calibration method provided in an embodiment of the present application, and the method includes steps S301 to S305. Figure 3 The method shown can be applied to the above Figure 2A Corresponding calibration system. The calibration system includes a terminal, a coupler and a meter. The terminal includes a first antenna and a second antenna. The first antenna is an antenna with receiving and transmitting functions, and the second antenna is an antenna with receiving function. The meter is used to measure the signal receiving power and transmit signal; the coupler is used to couple the signal between the first antenna and the meter to the second antenna. The terminal can be the terminal device 100 introduced in the above content, the coupler can be the coupler 200 introduced in the above content, and the meter can be the meter 300 introduced in the above content, wherein:
[0058] S301. The instrument transmits a first signal to the terminal, and the transmission power of the first signal is a first preset value.
[0059] In the present application, the meter can transmit a first signal with a power of a first preset value to the terminal through the connection with the coupler to perform reception calibration on the first antenna of the terminal. For example, the meter can transmit a first signal with a power of a first preset value to a terminal through an instrument port of the meter itself to a through port (e.g., Figure 2A Port B in the device transmits a first signal, and the coupler then transmits the first signal to the terminal.
[0060] Optionally, the first preset value is any power value within a preset receiver calibration power interval. According to the principle of reception calibration, when performing reception calibration on the terminal, it is necessary to adjust the correspondence between the transmit power and the reception gain of the first signal received by the terminal. In order to adjust the correspondence between each gain value within the reception gain interval, the preset receiver calibration power interval to which the first preset value belongs should cover the reception gain interval.
[0061] For example, the receiving gain interval consists of a low gain interval, a medium gain interval and a high gain interval, -25dBm to -10dBm is the low gain interval, -50dBm to -28dBm is the medium gain interval, and less than or equal to -53dBm is the high gain interval. When performing receive calibration on the first antenna of the terminal, the preset receiver calibration power interval can be -60dBm to 0dBm, and the first preset value can be a power value between -60dBm and 0dBm.
[0062] Optionally, the number of first signals may be multiple, and the first preset values of the multiple first signals completely cover the preset receiver calibration power interval, and the first preset value of each first signal is different, and the instrument transmits the multiple first signals one by one in the order of linear change of the first preset value. For example, the preset receiver calibration power interval may be -60dBm to 0dBm, and the instrument may transmit a total of 31 first signals in a step of 2dBm, such as the instrument may transmit the first signal with power of -60dBm, -58dBm, -56dBm, ..., -4dBm, -2dBm, and 0dBm in a linear order from large to small. Based on this method, the instrument can transmit multiple first signals covering the preset receiver calibration power interval to the terminal, so that the requirement of covering the receiving gain interval can be met during the receiving calibration, which is conducive to the subsequent complete receiving calibration of the antenna. The complete receiving calibration of the antenna in this application means that the instrument transmits multiple signals covering the receiving gain range to the antenna, and the terminal can adjust the correspondence between the entire receiving gain range and the instrument transmission power (that is, the ideal power value when the terminal receives the signal) according to these multiple signals, and obtain the correspondence between the entire receiving gain range and the instrument transmission power after adjustment. It should be noted that this application does not limit the step size between the first preset values in the complete receiving calibration.
[0063] S302: The terminal receives a first signal through a through port of a coupler based on a first antenna, and receives a first signal through a coupled port of a coupler based on a second antenna.
[0064] When the first signal emitted by the instrument is transmitted to the coupler, the coupler can transmit the first signal to a through port (e.g., Figure 2A A first antenna connected to port A in the embodiment of the present invention, and a first antenna connected to a coupling port (eg, Figure 2A The second antenna is connected to port C in the circuit.
[0065] S303: The terminal performs reception calibration on the first antenna according to a first reception value and a first preset value, where the first reception value is a signal strength of a first signal received by the first antenna.
[0066] In the present application, the first preset value is equivalent to the ideal power value received by the first antenna when the first signal is transmitted to the first antenna. However, due to transmission loss and other reasons, energy attenuation will occur when the first signal is transmitted to the first antenna. The signal strength after energy attenuation is the actual signal strength of the signal received by the first antenna, that is, the first reception value. After determining the first reception value, the terminal can determine the difference in the reception gain corresponding to the first preset value based on the difference between the first reception value and the first preset value, thereby adjusting the reception gain corresponding to the first preset value (that is, adjusting the correspondence between the first preset value and the reception gain). The reception gain corresponding to the adjusted first preset value can maintain the baseband signal amplitude of the first signal at a constant level.
[0067] Optionally, when the instrument transmits multiple first signals and the first preset values of the multiple first signals cover the preset receiver calibration power interval, the terminal can receive the multiple first signals through the first antenna and determine multiple first reception values to complete the complete reception calibration of the first antenna. Among them, the terminal can adjust the reception gain corresponding to each first preset value based on the multiple first reception values and the first preset value corresponding to each first reception value. After the adjustment of the reception gain corresponding to each first preset value is completed, the correspondence between each first preset value and the adjusted reception gain of each first preset value can be written into the storage medium, and the complete reception calibration of the first antenna can be completed.
[0068] S304. The terminal determines a coupling loss of the second antenna according to the first reception value and the second reception value, where the second reception value is the signal strength of the first signal received by the second antenna, and performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value.
[0069] In an embodiment of the present application, after the first signal emitted by the instrument is transmitted to the coupling port of the coupler, the signal received by the second antenna will produce energy attenuation due to the transmission loss and the coupling loss of the coupler, and the second reception value is the signal strength of the signal received by the second antenna after the energy attenuation. Since the first reception value is the signal strength of the first signal through the transmission loss, the terminal can determine the coupling loss of the coupler based on the difference between the first reception value and the second reception value. For example, the coupling loss of the coupler can be determined according to the following formula 1:
[0070] loss=RSSI1-RSSI2 (Formula 1)
[0071] Among them, RSSI1 is the first received value, RSSI2 is the second received value, and loss is the coupling loss.
[0072] Optionally, when the instrument transmits multiple first signals, the terminal can determine multiple first reception values and multiple second reception values for the multiple first signals, and then determine the coupling loss according to the average of the differences between the multiple first reception values and the second reception values. Alternatively, the terminal can also first process the multiple first reception values and the multiple second reception values, select valid first reception values and second reception values from the multiple first reception values and the multiple second reception values, and determine the coupling loss based on the valid first reception values and the second reception values. Valid first reception values and second reception values refer to non-mutation data and non-outlier data, etc.
[0073] Furthermore, reception calibration may be performed on the second antenna according to the determined coupling loss, the second reception value and the first preset value.
[0074] In a possible implementation, performing reception calibration on the second antenna according to the determined coupling loss and the first preset value includes: determining the difference between the first preset value and the coupling loss as a third preset value; and performing reception calibration on the second antenna according to the third preset value and the second reception value.
[0075] In this possible implementation, the difference between the first preset value and the coupling loss is determined as the third preset value, and the third preset value is equivalent to the ideal power value when the second antenna receives the first signal when no transmission loss occurs. Furthermore, according to the difference between the third preset value and the second reception value, the difference in the reception gain corresponding to the third preset value can be determined, so that the reception gain corresponding to the third preset value can be adjusted.
[0076] For example, the third preset value may be determined according to the following formula 2:
[0077] P 0,2 =P 0,1 -loss (Formula 2)
[0078] Among them, P 0,1 is a first preset value, that is, an ideal power value when the first antenna receives the first signal without transmission loss; P 0,2 It is an ideal power value when the second antenna receives the first signal when no transmission loss occurs, that is, a third preset value.
[0079] Optionally, when the instrument transmits multiple first signals and the first preset values of the multiple first signals cover the preset receiver calibration power interval, the terminal can receive the multiple first signals through the second antenna, and determine multiple second reception values and the third preset value corresponding to each second reception value. Then the terminal can adjust the receiving gain corresponding to each third preset value based on the multiple second reception values and the third preset value corresponding to each second reception value. After the adjustment of the receiving gain corresponding to each third preset value is completed, the corresponding relationship between each third preset value and the adjusted receiving gain of each third preset value can be written into the storage medium.
[0080] It should be noted that, since the difference between each third preset value received by the second antenna and each first preset value is the coupling loss of the coupler, the power range to which the third preset value belongs can be determined according to the preset receiver calibration power interval and the coupling loss, and the power range is the power range to which the ideal power value received by the second antenna belongs when the second antenna is calibrated by the above process. When the power range to which the ideal power value received by the second antenna belongs covers the entire receiving gain interval, the complete receiving calibration of the second antenna can be achieved, otherwise, only partial receiving calibration of the second antenna can be achieved.
[0081] For example, if the preset receiver calibration power interval is -60dBm to 0dBm, and the coupling loss is 20dBm, then the power range to which the third preset value belongs is -80dBm to -20dBm, that is, the power range of the ideal power value for the second antenna to receive the first signal without transmission loss. If -25dBm to -10dBm is the low gain interval during reception calibration, -50dBm to -28dBm is the medium gain interval, and less than or equal to -53dBm is the high gain interval, then the power range to which the ideal power value received by the second antenna belongs, -80dBm to -20dBm, can cover the medium gain interval and the high gain interval, but cannot cover the low gain interval, and partial reception calibration of the second antenna can be completed.
[0082] For another example, the preset receiver calibration power range of -60dBm to 0dBm in the above example is adjusted to -60dBm to 20dBm. When the coupling loss is 20dBm, the power range of the ideal power value received by the second antenna can be expanded to -80dBm to 0dBm, which can cover the medium gain range, high gain range, and low gain range in the above example, thereby realizing complete reception calibration of the second antenna.
[0083] It can be seen that the complete receiving calibration or partial receiving calibration of the second antenna can be achieved by changing the preset receiver calibration power interval to which the first preset value belongs.
[0084] S305. The terminal transmits a second signal to the meter based on the first antenna, and the transmission power of the second signal is a second preset value.
[0085] In the present application, the terminal can transmit a second signal with a power of a second preset value to the meter through the connection with the coupler to perform transmission calibration on the first antenna of the terminal. For example, the terminal can transmit a second signal with a power of a second preset value to a meter through the connection with the coupler to perform transmission calibration on the first antenna of the terminal. Figure 2A The first antenna transmits the second signal to the instrument through the port A in the first antenna, and the second signal is then transmitted to the instrument by the coupler. When the first antenna transmits the second signal to the instrument, the transmission power of the second signal can be controlled based on the corresponding relationship between the control voltage and the transmission power, so that the transmission power of the second signal is a second preset value, and the second preset value is equivalent to the ideal transmission power of the second signal.
[0086] Optionally, the second preset value is any power value within a preset transmitter calibration power range, and the preset transmitter calibration power range complies with the 3GPP2 standard. For example, the preset transmitter calibration can be -43dBm to 27dBm, and the second preset value can be a power value within -43dBm to 27dBm.
[0087] Optionally, the number of second signals may be multiple, and the second preset values of the multiple second signals cover the preset transmitter calibration power interval, and the second preset value of each second signal is different, and the second antenna of the terminal transmits the multiple second signals one by one in the order of linear change of the second preset value. For example, the second antenna can transmit a total of 35 second signals in a step size of 2dBm, such as the second antenna of the terminal can transmit the second signal with power of 27dBm, 25dBm, 23dBm, ..., -41dBm, -43dBm in the order of linear power value from large to small. Based on this method, the terminal can transmit multiple second signals covering the preset transmitter calibration power interval to the instrument, which is conducive to the subsequent realization of the complete transmission calibration of the first antenna. The complete transmission calibration of the antenna in this application refers to the antenna transmitting multiple signals of the preset transmitter power interval, and the terminal can adjust the corresponding relationship between the entire preset transmitter power interval and the control voltage according to the multiple signals, and obtain the corresponding relationship between the entire preset transmitter power interval and the control voltage after adjustment. It should be noted that this application does not limit the step size between the second preset values in the complete reception calibration.
[0088] S306. The terminal performs transmission calibration on the first antenna according to the third reception value and the second preset value, where the third reception value is the signal strength of the second signal received by the instrument.
[0089] When the second signal transmitted by the first antenna is transmitted to the coupler, the coupler can transmit the second signal to a through port (eg, Figure 2AThe instrument port can measure the signal strength of the second signal to determine a third reception value, which is equivalent to the actual transmission power of the second signal.
[0090] According to the third receiving value determined by the instrument and the second preset value, the terminal can adjust the corresponding relationship between the transmit power and the control voltage to achieve the transmit calibration of the first antenna. For example, if the second preset value is 25dBm, the control voltage corresponding to the second preset value 25dBm is X, and the third receiving value is 23dBm, then the corresponding relationship between the transmit power 25dBm and the control voltage X is adjusted to the corresponding relationship between 23dBm and the control voltage X.
[0091] Optionally, when the first antenna transmits multiple second signals and the second preset values of the multiple second signals cover the preset transmitter calibration power range, the instrument can receive the multiple second signals and measure multiple third reception values; the terminal can complete the complete transmission calibration of the first antenna based on the multiple third reception values and the second preset value corresponding to each third reception value.
[0092] Based on steps S305 to S306, the complete transmission calibration of the first antenna can be completed.
[0093] based on Figure 3 In the described embodiment, the present application can utilize a coupler to couple the signal between the first antenna and the instrument to the second antenna, thereby completing the transmission calibration of the first antenna and the reception calibration and the reception calibration of the second antenna. Since the coupling degree of the coupler is determined by the coupling loss, and the coupling loss is usually much larger than the dynamic change range of the load impedance, the use of a coupler can reduce the impact of the dynamic change of the load impedance and improve the accuracy of the RF calibration. At the same time, the present application can complete the connection between one port of the instrument and the two transmission paths of the first antenna and the second antenna by connecting the straight-through port of the coupler to the instrument, thereby reducing the occupancy of the instrument port and improving the calibration efficiency.
[0094] See also Figure 4 , Figure 4 It is a flowchart of another calibration method provided in an embodiment of the present application, which includes steps S401 to S408. Figure 4 The method shown can be applied to the above calibration system, and can complete the complete transmission calibration and complete reception calibration of the first antenna and the complete reception calibration of the second antenna.
[0095] S401: The instrument transmits a first signal to the terminal, and the transmission power of the first signal is a first preset value.
[0096] S402: The terminal receives a first signal through a through port of a coupler based on a first antenna, and receives a first signal through a coupled port of a coupler based on a second antenna.
[0097] S403: The terminal performs reception calibration on the first antenna according to the first reception value and the first preset value.
[0098] S404: The terminal determines a coupling loss of the second antenna according to the first reception value and the second reception value, where the second reception value is the signal strength of the first signal received by the second antenna, and performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value.
[0099] S405. The terminal transmits a second signal to the meter based on the first antenna, and the transmission power of the second signal is a second preset value.
[0100] S406. The terminal performs transmission calibration on the first antenna according to the third reception value and the second preset value, where the third reception value is the signal strength of the second signal received by the instrument.
[0101] The specific implementation of S401 to S406 can refer to the specific implementation of S301 to S306, which will not be described in detail here. If only the complete transmission calibration and complete reception calibration of the first antenna and the partial reception calibration of the second antenna are completed based on S401 to S406, the uncalibrated power range in the complete reception calibration of the second antenna can also be calibrated based on S407 to S408 to achieve the complete reception calibration of the second antenna.
[0102] S407: The terminal receives a second signal transmitted by the first antenna through a coupling port of the coupler based on the second antenna.
[0103] In the present application, when the second signal transmitted by the first antenna is transmitted to the coupler, the coupler can transmit the second signal to an instrument connected to a through port of the coupler to complete the complete transmission calibration of the first antenna. At the same time, since the coupler couples the second signal to the coupling port, the second antenna connected to the coupling port can also receive the second signal transmitted by the first antenna.
[0104] S408: The terminal performs reception calibration on the second antenna according to the coupling loss, the fourth reception value and the second preset value, where the fourth reception value is the signal strength of the second signal received by the second antenna.
[0105] In a possible implementation manner, a specific implementation manner in which the terminal executes S408 includes: the terminal determines a difference between the second preset value and the coupling loss as a fourth preset value; and performs reception calibration on the second antenna according to the fourth preset value and the fourth reception value.
[0106] In this possible implementation, the difference between the second preset value and the coupling loss is determined as the fourth preset value, and the fourth preset value is equivalent to the ideal power value when the second antenna receives the second signal when no transmission loss occurs. For example, the fourth preset value can be determined according to the following formula 3:
[0107] P 1,2 =P 1,1 -loss (Formula 3)
[0108] Among them, P 1, is the second preset value; P 12 It is an ideal power value when the second antenna receives the second signal when no transmission loss occurs, that is, a fourth preset value.
[0109] Furthermore, the difference in the receiving gain corresponding to the fourth preset value may be determined according to the difference between the fourth receiving value and the determined fourth preset value, so as to adjust the receiving gain corresponding to the fourth preset value.
[0110] Optionally, when the first antenna transmits multiple second signals and the second preset values of the multiple second signals cover the preset transmitter calibration power interval, the terminal can receive the multiple second signals through the second antenna, and determine multiple fourth reception values and fourth preset values corresponding to the multiple fourth reception values. The terminal can then adjust the receiving gain corresponding to each fourth preset value based on the multiple fourth reception values and the fourth preset value corresponding to each fourth reception value. After the adjustment of the receiving gain corresponding to each fourth preset value is completed, the corresponding relationship between each fourth preset value and the adjusted receiving gain of each fourth preset value can be written into the storage medium.
[0111] It should be noted that the power range to which the fourth preset value belongs can be determined based on the preset transmitter calibration power interval and coupling loss, and this power range is the power range for calibrating the second antenna in the above process. For example, if the preset transmitter calibration power interval is -43dBm to 27dBm, and the coupling loss is 20dBm, then the power range to which the fourth preset value belongs is -63dBm to -7dBm, that is, the power range of the ideal power value for the second antenna to receive the second signal without transmission loss. If -25dBm to -10dBm is the low gain interval during reception calibration, -50dBm to -28dBm is the medium gain interval, and less than or equal to -53dBm is the high gain interval, then the power range of -63dBm to -7dBm described in the ideal power value received by the second antenna can cover the three gain intervals of low, medium and high, and this method can complete the complete reception calibration of the second antenna. Since a partial reception calibration is also performed on the second antenna when the complete reception calibration is performed on the first antenna, this step can also recalibrate the partial reception calibration performed previously, thereby improving the accuracy of the calibration.
[0112] Optionally, for the data repeatedly measured during the above two reception calibrations of the second antenna, data with higher quality may be selected for calibration calculation to improve the accuracy of the calibration.
[0113] Optionally, if the preset receiver calibration power interval has not been covered after the above two second antenna receiving calibrations, the correspondence between the uncovered power values and the receiving gains can also be calibrated separately. For example, during the two calibrations, invalid data was measured in the range of -55dBm to -50dBm, or the data measured in the range of -55dBm to -50dBm was lost, then the instrument or the first antenna can be used again to transmit a signal of -35dBm to -30dBm to complete the calibration of the correspondence in the range of -55dBm to -50dBm.
[0114] Based on S401 to S408, the present application can utilize a coupler to perform transmit calibration on the first antenna and receive calibration on the second antenna at the same time, thereby achieving complete transmit calibration and complete receive calibration of the first antenna, as well as complete receive calibration of the second antenna. This method can effectively improve calibration efficiency.
[0115] In addition to executing S407 to S408, in another possible implementation, the following process can also be executed to calibrate the uncalibrated receiver power range when the second antenna is calibrated. For example, when the second antenna is calibrated at S404, the power range of the ideal power value for the second antenna to receive the first signal without transmission loss can be determined according to the preset receiver calibration power range and coupling loss, that is, the calibrated receiver power range of the second antenna; the uncalibrated receiver power range of the second antenna can be determined according to the calibrated receiver power range of the second antenna, and the uncalibrated receiver power range of the second antenna can be calibrated separately. For example, if the coupling loss is 20dBm, the calibrated receiver power range of the second antenna is -80dBm to -20dBm, and the preset receiver calibration power range is -60dBm to 0dBm, then the power range of -20dBm to 0dBm can be calibrated separately. When calibrating the power range of -20dBm to 0dBm, the instrument or the first antenna can be used to transmit 0dBm to 20dBm to complete the calibration of the receiver power range that has not been calibrated for the second antenna.
[0116] It should be noted that for the above Figure 3 as well as Figure 4 In the corresponding embodiments, in actual applications, the terminal and the instrument can upload the measured values (such as the first received value, the second received value, etc.) to the control device in the calibration system, and the control device performs calibration operations based on the measured data and preset data (such as the first preset value, etc.), and sends the results of the calibration operations to the terminal.
[0117] For example, the operations involved in the above steps S303 to S304 and S306 can be performed by the control device. For example, in step S303, the specific implementation method of the terminal performing reception calibration on the first antenna according to the first reception value and the first preset value includes: the terminal sends the first reception value and the first preset value to the control device, the control device determines the difference in the reception gain corresponding to the first preset value based on the difference between the first reception value and the first preset value, thereby adjusting the reception gain corresponding to the first preset value, and finally the control device sends the adjusted reception gain corresponding to the first preset value to the terminal for storage. For another example, in step S304, the terminal determines the coupling loss of the second antenna according to the first received value and the second received value, and performs reception calibration on the second antenna according to the second received value, the coupling loss and the first preset value. The specific implementation method includes: the terminal sends the first received value, the second received value and the first preset value to the control device, the control device first determines the coupling loss according to the received first received value and the second received value, and then determines the third preset value according to the difference between the first preset value and the coupling loss, and determines the difference in the receiving gain corresponding to the third preset value according to the difference between the third preset value and the second received value, so as to adjust the receiving gain corresponding to the third preset value. Finally, the adjusted receiving gain corresponding to the third preset value is sent to the terminal for storage. For another example, in step S306, the terminal performs transmission calibration on the first antenna according to the third received value and the second preset value. The specific implementation method includes: the terminal sends the second preset value to the control device, the instrument sends the determined third received value to the control device, the control device adjusts the corresponding relationship between the transmission power and the control voltage based on the third received value and the second preset value, and sends the adjusted corresponding relationship to the terminal for storage.
[0118] Furthermore, in a possible implementation, before S301 or S401, the above embodiment further includes: the terminal receives a first calibration instruction; and in response to the first calibration instruction, the terminal transmits a first uplink synchronization signal to the meter, wherein the first uplink synchronization signal is used to instruct the meter to start a signal transmission function.
[0119] Optionally, the first uplink synchronization signal may also be used to indicate that the first antenna and the second antenna of the terminal are in a ready state, where the ready state means that the first antenna and the second antenna can receive the signal transmitted by the instrument.
[0120] In a possible implementation, after S304 and before S305, or after S404 and before S405, the above embodiment further includes: the terminal receives a second calibration instruction; in response to the second calibration instruction, transmits a second uplink synchronization signal to the instrument, wherein the second uplink synchronization signal is used to instruct the instrument to switch from the signal transmission function to the signal reception function. Since the instrument is in the state of the signal transmission function before S304 or S404, but the first antenna needs to be calibrated, the instrument needs to switch the state of the signal transmission function to the signal reception function, and therefore the second uplink synchronization signal needs to be transmitted to the instrument, so that the instrument switches the function after receiving the second uplink synchronization signal.
[0121] Optionally, the second uplink synchronization signal may also be used to indicate that the first antenna of the terminal is in a ready state and can transmit signals; and that the second antenna is in a ready state and can receive signals.
[0122] Below through Figure 5 For the above Figure 4 The process of the embodiment in actual application is illustrated by example. Figure 5 , Figure 5 It is a flowchart of another calibration method provided in an embodiment of the present application, and the method includes steps S501 to S511. Figure 5 The method shown can be applied to a calibration system, which includes a terminal, a coupler, an instrument and a control device. The terminal includes an antenna 1 and an antenna 2. Antenna 1 has the function of transmitting and receiving signals, and antenna 2 has the function of receiving signals. The terminal can be the terminal device 100 introduced in the above content, the antenna 1 can be the antenna 101 or the first antenna introduced in the above content, the antenna 2 can be the antenna 102 or the second antenna introduced in the above content, the coupler can be the coupler 200 introduced in the above content, the instrument can be the instrument 300 introduced in the above content, and the control device can be the control device introduced in the above content. The control device is configured with a calibration program, and the calibration of the terminal device can be completed based on the calibration program control.
[0123] S501, the control device sends antenna 1 and antenna 2 ready instructions, and antenna 1 transmits an uplink synchronization signal.
[0124] The ready instruction sent by the control device to antenna 1 and antenna 2 refers to the control device calling the calibration program to send the ready instruction to antenna 1 and antenna 2. For example, the ready instruction can be the first calibration instruction introduced in the above content, and the uplink synchronization signal transmitted by antenna 1 can be the first uplink synchronization signal introduced in the above content.
[0125] S502: The instrument determines whether the uplink synchronization signal of antenna 1 is acquired.
[0126] When the meter obtains the uplink synchronization signal of antenna 1, it indicates that antenna 1 and antenna 2 are ready, that is, the signal transmitted by the meter can be received, and S503 to S510 can be executed. When the meter does not obtain the uplink synchronization signal of antenna 1, S511 is executed.
[0127] Optionally, the effective time for the instrument to obtain the uplink synchronization signal of antenna 1 can be set. If the uplink synchronization signal of antenna 1 is not obtained within the effective time, S501 can be executed again after S511, that is, antenna 1 is again instructed to transmit the uplink synchronization signal, and so on.
[0128] S503: The instrument configures a power frame with linear intensity variation covering the receiver gain range and sends it using a signal generation function.
[0129] The receiver gain interval is the receiver gain interval described above, for example, the receiver gain interval may include a low gain interval, a medium gain interval and a high gain interval. The power frame with linear intensity variation covering the receiver gain interval is the first signal with a transmit power of the first preset value described above. The receiver gain interval may be configured into the instrument by the control device through a calibration procedure.
[0130] S504, antenna 1 records the signal strength frame by frame, antenna 2 records the signal strength frame by frame, and the data is reported to the calibration program.
[0131] In the present application, the frame-by-frame signal strength recorded by antenna 1 is the first reception value described above, and the frame-by-frame signal strength recorded by antenna 2 is the second reception value described above. After determining the first reception value and the second reception value, antenna 1 and antenna 2 can report to the control device where the calibration program is located.
[0132] S505 , the control device compares the frames sent by the calculation instrument with the terminal measurement data, performs reception calibration on antenna 1 , and calculates the coupling loss by comparing the signal strength sequence obtained by antenna 2 , and performs reception calibration on antenna 2 .
[0133] The frame sent by the instrument is the first signal with a transmission power of the first preset value in S503, and the terminal measurement data is the frame-by-frame signal strength recorded by antennas 1 and 2 in S504, that is, the first reception value and the second reception value. After the control device receives the first preset value, the first reception value and the second reception value, it can perform reception calibration on antenna 1 according to the first preset value and the first reception value; determine the coupling loss according to the first reception value and the second reception value; and perform reception calibration on antenna 2 according to the coupling loss, the first preset value and the second reception value.
[0134] S506: The control device sends antenna 1 and antenna 2 ready instructions, and antenna 1 transmits an uplink synchronization signal.
[0135] After the complete receiving calibration of antenna 1 and the partial receiving calibration of antenna 2 are completed, the first antenna can be subjected to the transmitting calibration etc. in the subsequent steps. In this case, the working states of antenna 1 and the instrument need to be switched.
[0136] The control device may again send a ready instruction to antenna 1 and antenna 2, so that antenna 1 sends an uplink synchronization signal to the instrument. For example, the ready instruction in this step may be the second calibration instruction described above, and the uplink synchronization signal in this step may be the second uplink synchronization signal described above.
[0137] S507: The instrument determines whether the uplink synchronization signal of antenna 1 is obtained.
[0138] When the meter obtains the uplink synchronization signal sent by antenna 1 via S506, it indicates that antenna 1 and antenna 2 are ready, that is, antenna 1 can transmit signals at any time and antenna 2 can receive signals. In this case, S508 to S510 can be executed. When the meter does not obtain the uplink synchronization signal of antenna 1, S511 is executed.
[0139] S508, antenna 1 is equipped with an uplink transmission power sequence, and the power is linearly reduced frame by frame. The instrument measures and records the uplink transmission power value of the terminal, and antenna 2 records the signal strength data frame by frame, and both are reported to the calibration procedure.
[0140] Among them, the transmission power sequence is a plurality of second signals whose second preset value introduced in the above content is a preset transmitter calibration power interval, and the second preset value is the transmission power of the second signal; the linear power reduction of antenna 1 frame by frame means that the second preset value of the signal transmitted by antenna 1 is linearly reduced. The terminal uplink transmission power value measured by the instrument is the third reception value introduced in the above content, and the frame-by-frame signal strength data recorded by antenna 2 is the fourth reception value introduced in the above content. The instrument and antenna 2 can report the third reception value and the fourth reception value to the control device where the calibration program is located.
[0141] S509: The control device obtains data and saves it to the terminal, and determines whether the antenna 1 transmission calibration data and the antenna 2 reception calibration data meet expectations.
[0142] The control device may call the calibration program to process the third received value, the fourth received value, and the second preset value to complete the complete transmit calibration of antenna 1 and the receive calibration of antenna 2. When performing calibration, judging whether the transmit calibration data of antenna 1 and the receive calibration data of antenna 2 meet expectations refers to judging whether the calibration of antenna 1 and antenna 2 covers the preset receiver calibration power interval and the preset transmitter calibration power interval.
[0143] If the antenna 1 transmit calibration and antenna 2 receive calibration data meet expectations, S510 can be executed. Otherwise, S506 and subsequent steps can be adjusted again to perform transmit calibration on antenna 1 and receive calibration on antenna 2 again.
[0144] S510: Save calibration data.
[0145] After determining that the calibration is completed and meets expectations, the control device may send the calibration data to the terminal, and the terminal saves the calibration data to a storage medium.
[0146] S511, calibration stops abnormally.
[0147] It should be noted that the specific implementation process of S501 to S509 can refer to the above Figure 3 or Figure 4 The corresponding description in the corresponding method embodiment will not be repeated again.
[0148] It is understandable that, in order to implement the functions in the above-mentioned embodiments, each electronic device (such as a terminal, an instrument, and a control device) in the calibration system includes a hardware structure and / or a software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0149] See also Figure 6 , is a structural diagram of a communication device provided in an embodiment of the present application, wherein the communication device 60 includes a receiving unit 601, a processing unit 602, and a transmitting unit 603.
[0150] In one embodiment, the communication device 60 may be an electronic device in a calibration system or a device for an electronic device, and the electronic device may be a terminal, an instrument, or a control device. The device for an electronic device may be a chip system or a chip in an electronic device. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0151] The receiving unit 601 is used to receive a first signal transmitted by the instrument through a through port of a coupler based on a first antenna, and receive a first signal through a coupled port of the coupler based on a second antenna; the transmission power of the first signal is a first preset value;
[0152] A processing unit 602 is configured to perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna;
[0153] The processing unit 602 is further configured to determine a coupling loss of the second antenna according to the first reception value and a second reception value, where the second reception value is a signal strength of the first signal received by the second antenna, and perform reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value;
[0154] A transmitting unit 603 is configured to transmit a second signal to the instrument through the through port of the coupler based on the first antenna; the transmission power of the second signal is a second preset value;
[0155] The processing unit 602 is further configured to perform transmission calibration on the first antenna according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
[0156] In a possible implementation, the transmitting unit 603 is also used to receive the second signal transmitted by the first antenna through the coupling port of the coupler based on the second antenna; the receiving unit 601 is also used to perform reception calibration on the second antenna according to the coupling loss, a fourth reception value and the second preset value, and the fourth reception value is the signal strength of the second signal received by the second antenna.
[0157] In a possible implementation, when the processing unit 602 performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, it is specifically used to: determine the difference between the first preset value and the coupling loss as a third preset value; the first preset value is any power value within a preset receiver calibration power range; and perform reception calibration on the second antenna according to the third preset value and the second reception value.
[0158] In a possible implementation, when the processing unit 602 performs reception calibration on the second antenna according to the coupling loss, the fourth reception value and the second preset value, it is specifically used to: determine the difference between the second preset value and the coupling loss as the fourth preset value; the second preset value is any power value within a preset transmitter calibration power range; and perform reception calibration on the second antenna according to the fourth preset value and the fourth reception value.
[0159] In a possible implementation, the receiving unit 601 is further used to receive a first calibration instruction before receiving the first signal transmitted by the instrument through the through port of the coupler based on the first antenna; the processing unit 602 is further used to transmit a first uplink synchronization signal to the instrument in response to the first calibration instruction, and the first uplink synchronization signal is used to instruct the instrument to start a signal transmission function.
[0160] In a possible implementation, after the receiving unit 601 performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, and before transmitting a second signal to the instrument through the through port of the coupler based on the first antenna, the receiving unit 601 is also used to receive a second calibration instruction; the processing unit 602 is also used to transmit a second uplink synchronization signal to the instrument in response to the second calibration instruction, and the second uplink synchronization signal is used to instruct the instrument to switch from the signal transmitting function to the signal receiving function.
[0161] Specifically, Figure 6 The operations performed by the various units of the communication device 60 shown can refer to the relevant contents in the above method embodiment, which will not be described in detail here. The above units can be implemented in hardware, software or a combination of hardware and software. In one embodiment, the functions of the various units in the above content can be implemented by one or more processors in the communication device 60.
[0162] See also Figure 7 , is a schematic diagram of the structure of another communication device provided in an embodiment of the present application, which is used to implement the content in the above method embodiment. The communication device can be an electronic device in a calibration system or a device for an electronic device, and the electronic device can be a terminal or an instrument or a control device. The device for an electronic device can be a chip system or a chip in an electronic device. Among them, the chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0163] The communication device 70 includes at least one processor 702, which is used to implement the noise estimation function of the electronic device in the method provided in the embodiment of the present application. The communication device 70 may also include a communication interface 701, which is used to implement the transceiver operation of the electronic device in the method provided in the embodiment of the present application. In the embodiment of the present application, the communication interface can be a transceiver, circuit, bus, module or other type of communication interface, which is used to communicate with other devices through a transmission medium. For example, the communication interface 701 is used for the device in the communication device 70 to communicate with other devices. The processor 702 uses the communication interface 701 to send and receive data, and is used to implement the method described in the above method embodiment.
[0164] The communication device 70 may also include at least one memory 703 for storing program instructions and / or data. The memory 703 is coupled to the processor 702. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 702 may operate in conjunction with the memory 703. The processor 702 may execute program instructions stored in the memory 703. At least one of the at least one memory may be included in the processor.
[0165] When the communication device 70 is turned on, the processor 702 can read the software program in the memory 703, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 702 performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit (not shown in the figure). The radio frequency circuit performs radio frequency processing on the baseband signal and then sends the radio frequency signal outward through the antenna in the form of electromagnetic waves. When data is sent to the communication device 70, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 702. The processor 702 converts the baseband signal into data and processes the data.
[0166] In another implementation, the RF circuit and antenna may be arranged independently from the processor 702 that performs baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be arranged remotely from the communication device.
[0167] The specific connection medium between the communication interface 701, the processor 702 and the memory 703 is not limited in the embodiment of the present application. Figure 7 In the embodiment, the memory 703, the processor 702 and the communication interface 701 are connected via a bus 704. Figure 7 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0168] When the communication device 70 is specifically used for an electronic device, for example, when the communication device 70 is specifically a chip or a chip system, the communication interface 701 may output or receive a baseband signal or a radio frequency signal. In an embodiment of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the various methods, operations, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The operation of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0169] It should be noted that the communication device can execute the relevant steps in the aforementioned method embodiment. For details, please refer to the implementation methods provided in the above steps, which will not be repeated here.
[0170] For each device or product applied to or integrated in a communication device, each module contained therein may be implemented in the form of hardware such as circuits, and different modules may be located in the same component (for example, a chip, a circuit module, etc.) or in different components within the terminal. Alternatively, at least some of the modules may be implemented in the form of a software program that runs on a processor integrated within the terminal, and the remaining (if any) modules may be implemented in the form of hardware such as circuits.
[0171] For the case where the communication device may be a chip or a chip system, see Figure 8 The schematic diagram of the chip structure is shown in FIG. The chip 80 includes a processor 801 and a communication interface 802. The number of the processor 801 can be one or more, and the number of the communication interface 802 can be multiple.
[0172] In one embodiment, the processor 801 is configured to perform the following operations:
[0173] Based on the first antenna receiving the first signal transmitted by the instrument through the through port of the coupler, based on the second antenna receiving the first signal through the coupling port of the coupler; the transmission power of the first signal is a first preset value;
[0174] Perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna;
[0175] determining a coupling loss of the second antenna according to the first receiving value and the second receiving value, where the second receiving value is a signal strength of the first signal received by the second antenna, and performing reception calibration on the second antenna according to the second receiving value, the coupling loss and the first preset value;
[0176] Based on the first antenna, a second signal is transmitted to the instrument through the through port of the coupler; the transmission power of the second signal is a second preset value;
[0177] The first antenna is calibrated for transmission according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
[0178] In a possible implementation, the processor 801 is further configured to perform the following operations: receiving the second signal transmitted by the first antenna through the coupling port of the coupler based on the second antenna; performing reception calibration on the second antenna according to the coupling loss, a fourth reception value and the second preset value, the fourth reception value being the signal strength of the second signal received by the second antenna.
[0179] In one possible implementation, when the processor 801 performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, the processor is configured to perform the following operations: determining the difference between the first preset value and the coupling loss as a third preset value; the first preset value is any power value within a preset receiver calibration power range; and performing reception calibration on the second antenna according to the third preset value and the second reception value.
[0180] In one possible implementation, the processor 801 performs reception calibration on the second antenna according to the coupling loss, the fourth reception value and the second preset value, and is configured to perform the following operations: determining the difference between the second preset value and the coupling loss as a fourth preset value; the second preset value is any power value within a preset transmitter calibration power range; and performing reception calibration on the second antenna according to the fourth preset value and the fourth reception value.
[0181] In one possible implementation, before the processor 801 receives the first signal transmitted by the instrument through the through port of the coupler based on the first antenna, it is also configured to perform the following operations: receiving a first calibration instruction; in response to the first calibration instruction, transmitting a first uplink synchronization signal to the instrument, wherein the first uplink synchronization signal is used to instruct the instrument to start a signal transmission function.
[0182] In a possible implementation, after the processor 801 performs reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, and before transmitting a second signal to the instrument through the through port of the coupler based on the first antenna, the processor 801 is further configured to perform the following operations: receiving a second calibration instruction; in response to the second calibration instruction, transmitting a second uplink synchronization signal to the instrument, the second uplink synchronization signal being used to instruct the instrument to switch from a signal transmitting function to a signal receiving function.
[0183] For each device or product applied to or integrated in the chip, each module contained therein can be implemented in the form of hardware such as circuits, or at least some of the modules can be implemented in the form of software programs, which run on the processor 801 integrated inside the chip, and the remaining (if any) modules can be implemented in the form of hardware such as circuits.
[0184] See also Fig. 9 , is a schematic diagram of a module device provided in an embodiment of the present application. The module device 90 can execute the relevant steps in the aforementioned method embodiment, and the module device 90 includes: a communication module 901, a power module 902, a storage module 903 and a chip module 904.
[0185] The power module 902 is used to provide power to the module device; the storage module 903 is used to store data and instructions; and the communication module 901 is used to communicate within the module device or to communicate between the module device and an external device.
[0186] In one embodiment, the chip module 904 is used to:
[0187] Based on the first antenna receiving the first signal transmitted by the instrument through the through port of the coupler, based on the second antenna receiving the first signal through the coupling port of the coupler; the transmission power of the first signal is a first preset value;
[0188] Perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna;
[0189] determining a coupling loss of the second antenna according to the first receiving value and the second receiving value, where the second receiving value is a signal strength of the first signal received by the second antenna, and performing reception calibration on the second antenna according to the second receiving value, the coupling loss and the first preset value;
[0190] Based on the first antenna, a second signal is transmitted to the instrument through the through port of the coupler; the transmission power of the second signal is a second preset value;
[0191] The first antenna is calibrated for transmission according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
[0192] In a possible implementation, the chip module 904 is also used to: receive the second signal transmitted by the first antenna through the coupling port of the coupler based on the second antenna; perform reception calibration on the second antenna according to the coupling loss, a fourth reception value and the second preset value, and the fourth reception value is the signal strength of the second signal received by the second antenna.
[0193] In a possible implementation, the chip module 904, when performing reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, is specifically used to: determine the difference between the first preset value and the coupling loss as a third preset value; the first preset value is any power value within a preset receiver calibration power range; and perform reception calibration on the second antenna according to the third preset value and the second reception value.
[0194] In a possible implementation, the chip module 904, when performing reception calibration on the second antenna according to the coupling loss, the fourth reception value and the second preset value, is specifically used to: determine the difference between the second preset value and the coupling loss as the fourth preset value; the second preset value is any power value within a preset transmitter calibration power range; and perform reception calibration on the second antenna according to the fourth preset value and the fourth reception value.
[0195] In a possible implementation, the chip module 904, before receiving the first signal transmitted by the instrument through the through port of the coupler based on the first antenna, is also used to: receive a first calibration instruction; in response to the first calibration instruction, transmit a first uplink synchronization signal to the instrument, wherein the first uplink synchronization signal is used to instruct the instrument to start a signal transmission function.
[0196] In a possible implementation, the chip module 904, after performing reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value, and before transmitting a second signal to the instrument through the through port of the coupler based on the first antenna, is further used to: receive a second calibration instruction; and transmit a second uplink synchronization signal to the instrument in response to the second calibration instruction, wherein the second uplink synchronization signal is used to instruct the instrument to switch from a signal transmitting function to a signal receiving function.
[0197] For each device or product applied to or integrated in the chip module, each module contained therein can be implemented by hardware such as circuits, and different modules can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components. Alternatively, at least some of the modules can be implemented by software programs that run on a processor integrated inside the chip module, and the remaining (if any) modules can be implemented by hardware such as circuits.
[0198] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is executed on a processor, the method flow of the above method embodiment is implemented.
[0199] The embodiments of the present application also provide a computer program or a computer program product, including codes or instructions. When the codes or instructions are executed on a computer, the computer executes the method of the above method embodiments.
[0200] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain operations can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0201] The descriptions of the various embodiments provided in this application can refer to each other, and the descriptions of the various embodiments have different focuses. For parts that are not described in detail in a certain embodiment, refer to the relevant descriptions of other embodiments. For the convenience and simplicity of description, for example, the functions of the various devices and equipment provided in the embodiments of this application and the operations performed can refer to the relevant descriptions of the method embodiments of this application, and the various method embodiments and the various device embodiments can also refer to, combine or quote each other.
[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A calibration method, characterized in that: The method is applied to a calibration system, which comprises a terminal, a coupler and an instrument, wherein the terminal comprises a first antenna and a second antenna, wherein the first antenna is an antenna with receiving and transmitting functions, and the second antenna is an antenna with a receiving function, and the instrument is used to measure the signal receiving power and the transmitted signal; The coupler is used to couple the signal between the first antenna and the instrument to the second antenna; The method comprises: Based on the first antenna receiving the first signal transmitted by the instrument through the through port of the coupler, based on the second antenna receiving the first signal through the coupled port of the coupler; the transmission power of the first signal is a first preset value; Perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna; determining a coupling loss of the second antenna according to the first receiving value and the second receiving value, where the second receiving value is a signal strength of the first signal received by the second antenna, and performing reception calibration on the second antenna according to the second receiving value, the coupling loss and the first preset value; Based on the first antenna, a second signal is transmitted to the instrument through the through port of the coupler; the transmission power of the second signal is a second preset value; The first antenna is calibrated for transmission according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
2. The method according to claim 1, characterized in that The method further comprises: Receiving the second signal transmitted by the first antenna through the coupling port of the coupler based on the second antenna; The second antenna is calibrated for reception according to the coupling loss, a fourth reception value, and the second preset value, where the fourth reception value is the signal strength of the second signal received by the second antenna.
3. The method according to claim 1 or 2, characterized in that: The performing reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value includes: Determine the difference between the first preset value and the coupling loss as a third preset value; the first preset value is any power value within a preset receiver calibration power interval; The second antenna is calibrated for reception according to the third preset value and the second reception value.
4. The method according to claim 2, characterized in that: The performing reception calibration on the second antenna according to the coupling loss, the fourth reception value and the second preset value includes: Determine the difference between the second preset value and the coupling loss as a fourth preset value; the second preset value is any power value within a preset transmitter calibration power range; Reception calibration is performed on the second antenna according to the fourth preset value and the fourth reception value.
5. The method according to claim 1 or 2, characterized in that: Before the first signal transmitted by the meter is received through the through port of the coupler based on the first antenna, the method further includes: receiving a first calibration instruction; In response to the first calibration instruction, a first uplink synchronization signal is transmitted to the instrument, where the first uplink synchronization signal is used to instruct the instrument to start a signal transmission function.
6. The method according to claim 5, characterized in that After the receiving calibration of the second antenna according to the second receiving value, the coupling loss and the first preset value, and before the transmitting of the second signal to the instrument through the through port of the coupler based on the first antenna, the method further includes: receiving a second calibration instruction; In response to the second calibration instruction, a second uplink synchronization signal is transmitted to the instrument, wherein the second uplink synchronization signal is used to instruct the instrument to switch from a signal transmission function to a signal reception function.
7. A communication device, characterized in that: The method comprises a unit for implementing the method according to any one of claims 1 to 6.
8. A communication device, characterized in that: The communication device includes a processor and a transceiver; The communication interface is used to receive or send signals; The processor is used to execute the method according to any one of claims 1 to 6.
9. The communication device according to claim 8, characterized in that: The communication device also includes a memory: The memory is used to store computer programs; The processor is specifically configured to call the computer program from the memory so that the communication device executes the method according to any one of claims 1 to 6.
10. A chip, characterized in that: The chip is used to receive a first signal transmitted by the instrument through a through port of a coupler based on a first antenna, and to receive the first signal through a coupled port of the coupler based on a second antenna; the transmission power of the first signal is a first preset value; The chip is further used to perform reception calibration on the first antenna according to a first reception value and the first preset value, where the first reception value is a signal strength of the first signal received by the first antenna; The chip is further used to determine the coupling loss of the second antenna according to the first reception value and the second reception value, where the second reception value is the signal strength of the first signal received by the second antenna, and perform reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value; The chip is further used to transmit a second signal to the instrument through the through port of the coupler based on the first antenna; the transmission power of the second signal is a second preset value; The chip is further used to perform transmission calibration on the first antenna according to a third reception value and the second preset value, wherein the third reception value is the signal strength of the second signal received by the instrument.
11. A module device, characterized in that: The module device includes a communication module, a power module, a storage module and a chip module, wherein: The power module is used to provide electrical energy to the module device; The storage module is used to store data and instructions; The communication module is used for internal communication of the module device, or for communication between the module device and an external device; The chip module is used for: receiving a first signal transmitted by an instrument through a through-port of a coupler based on a first antenna, and receiving the first signal through a coupling port of the coupler based on a second antenna; the transmission power of the first signal is a first preset value; performing reception calibration on the first antenna according to a first reception value and the first preset value, the first reception value being the signal strength of the first signal received by the first antenna; determining a coupling loss of the second antenna according to the first reception value and the second reception value, the second reception value being the signal strength of the first signal received by the second antenna, and performing reception calibration on the second antenna according to the second reception value, the coupling loss and the first preset value; transmitting a second signal to the instrument through the through-port of the coupler based on the first antenna; the transmission power of the second signal is a second preset value; performing transmission calibration on the first antenna according to a third reception value and the second preset value, the third reception value being the signal strength of the second signal received by the instrument.
12. A computer-readable storage medium, characterized in that: The computer storage medium stores computer-readable instructions, and when the computer-readable instructions are executed on the communication device, the communication device executes the method according to any one of claims 1 to 6.
