[0001] This application claims priority to Chinese Patent Application No.
201810326946.5, filed with the Chinese Patent Office on April 12, 2018 and entitled "TEST METHOD,
TRANSMIT DEVICE, TEST DEVICE, AND TEST SYSTEM", which is incorporated herein by reference
in its entirety.
TECHNICAL FIELD
[0002] This application relates to the field of wireless communications, and in particular,
to a test method, a transmit device, a test device, and a test system.
BACKGROUND
[0003] Multiple-input multiple-output (Multiple-Input Multiple-Output, MIMO) is a communications
technology in which a plurality of transmit antennas and a plurality of receive antennas
are separately used at a transmit end and a receive end, so that a signal is transmitted
and received by using the plurality of antennas at the transmit end and the receive
end. An existing MIMO indicator test system includes a far-field test system. In the
far-field test system, a distance between a transmit antenna array and a receive antenna
cannot be excessively short, and is limited by a distance threshold. The transmit
antenna array and the receive antenna need to be placed in an electromagnetic anechoic
chamber used to isolate an external electromagnetic signal. Therefore, a length of
the electromagnetic anechoic chamber needs to be greater than the distance between
the transmit antenna array and the receive antenna. Only when a distance threshold
condition is met, signals transmitted by different transmit antennas can be in-phase
superposed, at the receive antenna, and the receive antenna can receive a compound
signal that can meet a measurement requirement. If this condition is not met, an obtained
signal metric value has a very large error, and a test requirement cannot be met and
a signal test cannot be accurately performed.
SUMMARY
[0004] In view of this, this application provides a MIMO signal test method and apparatus,
to resolve a prior-art problem that a signal test cannot be accurately performed when
a distance between a transmit antenna array and a receive antenna is less than a distance
threshold.
[0005] According to a first aspect, a test method is provided. The method includes: transmitting,
by a transmit device, N signal sequences by using a transmit antenna array; obtaining,
from a test device, a phase offset that is of each signal sequence in the N signal
sequences and that is generated after the signal sequence passes through a channel;
adjusting an initial test signal based on the phase offset that is of each signal
sequence and that is generated after the signal sequence passes through the channel,
to obtain a target test signal in-phase superposed at the test device, where the target
test signal includes a plurality of signal sequences obtained by separately performing
phase adjustment on the initial test signal based on the phase offset that is of each
signal sequence and that is generated after the signal sequence passes through the
respective channel; and transmitting the target test signal by using the transmit
antenna array. The N signal sequences are orthogonal to each other, and N is a positive
integer greater than 1. The transmit antenna array includes N transmit antenna units.
Specifically, the transmit device transmits the N signal sequences by using the N
transmit antenna units in the transmit antenna array, and the N transmit antenna units
are in a one-to-one correspondence with the N signal sequences.
[0006] A phase is a physical quantity that reflects a status of an antenna signal at any
moment. At a moment t, the phase of the antenna signal is a location of the moment
t in a signal period. In this way, the transmit device performs phase adjustment on
the initial test signal, and the phase-adjusted initial test signal can be in-phase
superposed at a receive antenna in a short-distance condition, so that a valid signal
that can meet a test requirement can be received, and a more accurate signal metric
of the transmit device can be calculated.
[0007] In a possible implementation, the phase offset, the initial test signal, and a signal
sequence of the target test signal meet the following formula:
Stk =
Ste-jΔϕk, where
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N. In this way,
a phase offset of each antenna signal may be calculated, and after phase adjustment
is performed on all antenna signals according to the foregoing calculation result,
all antenna signals can be in-phase superposed at the receive antenna.
[0008] In another possible implementation, the method further includes: obtaining, by the
transmit device from the test device, an attenuation amplitude that is of each signal
sequence and that is generated after the signal sequence passes through a channel;
and adjusting the initial test signal based on the phase offset and the attenuation
amplitude that are of each signal sequence and that are generated after the signal
sequence passes through the channel, to obtain the target test signal. According to
this implementation, not only phase adjustment can be performed on the test signal,
but also an attenuation amplitude of the test signal can be adjusted. Therefore, a
more accurate signal metric of the transmit device can be calculated by eliminating
an error caused by attenuation of the test signal, and a test application scope is
expanded.
[0009] In another possible implementation, the phase offset, the attenuation amplitude,
the initial test signal, and a signal sequence of the target test signal meet the
following formula:

where
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal,
αk is an attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N. In this way,
a method for calculating a phase offset and an attenuation amplitude is provided,
and all antennas can be in-phase superposed at the receive antenna.
[0010] In another possible implementation, the N signal sequences are N signal sequences
selected from an orthogonal sequence, and the orthogonal sequence is an m sequence,
a Golden sequence, a Walsh sequence, a LAS sequence, a Golay sequence, or a Kasami
sequence.
[0011] In another possible implementation, the transmitting, by a transmit device, N signal
sequences by using a transmit antenna array includes: simultaneously transmitting,
by the transmit device, the N signal sequences by using the transmit antenna array;
and the transmitting, by the transmit device, the target test signal by using the
transmit antenna array includes: simultaneously transmitting, by the transmit device,
the target test signal by using the transmit antenna array, where the target test
signal includes the N signal sequences.
[0012] According to a second aspect, a test method is provided. The method includes: receiving,
by a test device, a first signal by using a receive antenna, where the first signal
is a channel response to N signal sequences sent by a transmit device by using a transmit
antenna array, and the N signal sequences are orthogonal to each other; determining,
by the test device based on the first signal, a phase offset that is of each signal
sequence in the N signal sequences and that is generated after the signal sequence
passes through a respective channel; sending, by the test device to the transmit device,
the phase offset that is of each signal sequence and that is generated after the signal
sequence passes through the respective channel; receiving, by the test device, a second
signal by using the receive antenna, where the second signal is a channel response
to a target test signal, and the target test signal includes a plurality of signal
sequences obtained by adjusting, by the transmit device, an initial test signal based
on the phase offset that is of each signal sequence and that is generated after the
signal sequence passes through the channel; and calculating, by the test device, a
signal metric of the transmit device based on the second signal. In this way, the
test device may calculate a phase offset of a signal sequence transmitted by each
transmit antenna unit. After obtaining the phase offset, the transmit device performs,
based on the phase offset, phase adjustment on the test signal transmitted by the
transmit antenna array, where the phase-adjusted target test signal passes through
different distances and can be in-phase superposed at the receive antenna in a short-distance
condition, to obtain a valid signal that meets a test requirement, and calculate a
more accurate signal metric of the transmit device.
[0013] In another possible implementation, the method further includes: determining, by
the test device based on the first signal, an attenuation amplitude that is of each
signal sequence and that is generated after the signal sequence passes through a channel;
and sending, to the transmit device, the attenuation amplitude that is of each signal
sequence and that is generated after the signal sequence passes through the channel.
[0014] According to a third aspect, a transmit device is provided. The transmit device includes
the transmit device according to the first aspect or the possible implementations
of the first aspect.
[0015] According to a fourth aspect, a test device is provided. The test device includes
the test device according to the second aspect or the possible implementations of
the second aspect.
[0016] According to a fifth aspect, a test system is provided. The test system includes
the transmit device provided in the third aspect and the test device provided in the
fourth aspect.
[0017] According to a sixth aspect, a computer-readable storage medium is provided. The
computer-readable storage medium stores an instruction. When the instruction runs
on a computer, the computer is enabled to perform the method according to any one
of the first aspect or the possible implementations of the first aspect.
[0018] According to a seventh aspect, a computer-readable storage medium is provided. The
computer-readable storage medium stores an instruction. When the instruction is run
on a computer, the computer is enabled to perform the method according to any one
of the second aspect or the possible implementations of the second aspect.
[0019] According to an eighth aspect, a computer program product that includes an instruction
is provided. When the computer program product runs on a computer, the computer is
enabled to perform the method according to the first aspect or the second aspect.
[0020] It can be learned from the foregoing descriptions, the embodiments of this application
have the following advantages:
After the N signal sequences are transmitted by using the N transmit antennas, the
phase offset of each signal sequence can be determined based on the first signal corresponding
to the N signal sequences, and then phase adjustment is performed on the initial test
signal based on the phase offset. In this way, the test signal after phase adjustment
can be in-phase superposed at the receive antenna, to obtain a valid signal and further
calculate the signal metric of the transmit device. Therefore, an accurate test signal
can be implemented without being limited by a distance threshold, and costs of constructing
an electromagnetic anechoic chamber can be controlled.
BRIEF DESCRIPTION OF DRAWINGS
[0021]
FIG. 1 is a schematic diagram of a MIMO test system;
FIG. 2 is a schematic diagram of a transmit antenna array and a receive antenna in
an electromagnetic anechoic chamber;
FIG. 3 is a flowchart of a test method according to an embodiment of this application;
FIG. 4 is a schematic diagram of a transmit device according to an embodiment of this
application;
FIG. 5 is a schematic diagram of a test device according to an embodiment of this
application;
FIG. 6 is a schematic diagram of a MIMO test system according to an embodiment of
this application;
FIG. 7 is another schematic diagram of a structure of a transmit device according
to an embodiment of this application; and
FIG. 8 is another schematic diagram of a structure of a test device according to an
embodiment of this application.
DESCRIPTION OF EMBODIMENTS
[0022] A method for testing a transmit device provided in this application is mainly applied
to a MIMO test system.
[0023] FIG. 1 is a schematic diagram of a specific embodiment of a MIMO test system. The
MIMO test system includes an electromagnetic anechoic chamber 11, a scanning frame
14 disposed in the electromagnetic anechoic chamber 11, a frequency mixer 15 and a
receive antenna 12 that are fixed on the scanning frame, a turntable 17, a radio frequency
unit 16 and a transmit antenna array 13 that are fixed on the turntable, and a guide
rail 18 for sliding the turntable 17. In addition, the MIMO test system further includes
a signal detector 19 connected to the frequency mixer 15 and the radio frequency unit
16, a baseband unit 20 connected to the radio frequency unit 16, a switch 21, and
a server 22. The scanning frame 14, the frequency mixer 15, the radio frequency unit
16, the signal detector 19, the baseband unit 20, and the server 22 are all connected
to the switch 21.
[0024] The electromagnetic anechoic chamber 11 is an enclosed shielding chamber, and is
configured to screen an electromagnetic signal outside the electromagnetic anechoic
chamber 11. The baseband unit 20 may be disposed in the electromagnetic anechoic chamber
11, or may be disposed outside the electromagnetic anechoic chamber 11.
[0025] A local-frequency signal of the radio frequency unit 16 keeps consistent with that
of the frequency mixer 15. In the frequency mixer 15, the local-frequency signal and
a high-frequency signal are mixed to generate an intermediate frequency.
[0026] A signal is received by using the receive antenna 12. The frequency mixer 15 performs
frequency mixing on the received signal, and then transmits the signal to the signal
detector 19 (for example, a signal source, a spectrum analyzer, or a power meter).
The signal detector 19 and/or the server 22 calculate the received signal, to obtain
a value of each signal metric. The signal metric may be at least one of effective
isotropic sensitivity (Effective Isotropic Sensitive, EIS), an error vector magnitude
(Error Vector Magnitude, EVM), an adjacent channel leakage ratio (Adjacent Channel
Leakage Ratio, ACLR), equivalent isotropic radiated power (Equivalent Isotropic Radiated
Power, EIRP), and a bit error rate (Bit Error Rate, BER).
[0027] In the prior art, a MIMO test system includes a transmit device configured to transmit
a MIMO signal and a test device configured to receive a MIMO signal. An antenna array
of a MIMO device includes N mutually independent antenna units, and each antenna unit
may be an antenna or an antenna bay. When the antenna unit is an antenna bay, phases
of signals transmitted by all antennas in the antenna bay are always consistent. A
phase is a physical quantity that reflects a status of an antenna signal at any moment.
At a moment t, the phase of the antenna signal is a location of the moment t in a
signal period.
[0028] The following describes, based on the electromagnetic anechoic chamber 11 shown in
FIG. 1, a restrictive condition of the electromagnetic anechoic chamber 11. Referring
to FIG. 2, in the electromagnetic anechoic chamber 11, an array aperture of the transmit
antenna array 13 is denoted as D, a distance between the transmit antenna array 13
and the receive antenna 12 is denoted as d, and a wavelength of a test signal is denoted
as λ. In this case, the following condition needs to be met during the test:
d ≥ 2
D2 /
λ. If this condition is met, signals transmitted by different transmit antennas can
be in-phase superposed at a receive antenna, on signals transmitted by different transmit
antennas, and the receive antenna may receive a compound signal that can meet a measurement
requirement. If this condition is not met, a phase difference between different antennas
is large at the receive antenna. In this case, an obtained signal metric value differs
greatly from that measured in a far-field test environment, that is, an error is very
large, and the test requirement cannot be met.
[0029] For example, a wavelength of 5 GHz is approximately 6 cm. If an array aperture of
the antenna array is 60 cm, the distance d between the transmit antenna array and
the receive antenna array needs to be greater than 12 m. If the array aperture of
the antenna array is 1 m, the distance d between the transmit antenna array and the
receive antenna array needs to be greater than 33.34 m. Therefore, it can be seen
that the space of the anechoic chamber in the far-field test system is limited by
the distance between the transmit antenna array and the receive antenna array. On
the one hand, it is costly to build a large anechoic chamber. On the other hand, as
antennas in an antenna array increase, an aperture of the antenna array also becomes
larger, and the space of the anechoic chamber needs to be larger. A previous anechoic
chamber cannot meet a subsequent antenna measurement condition.
[0030] To resolve the foregoing problem, this application provides a signal test method,
so that signal measurement can be implemented in a condition of
d < 2
D2 /
λ, that is, within a distance threshold. The following describes in detail the signal
test method provided in this application.
[0031] Referring to FIG. 3, in an embodiment, a signal test method provided in this application
includes the following steps.
[0032] Step 301: A transmit device transmits N signal sequences by using a transmit antenna
array.
[0033] In this embodiment, the transmit antenna array of the transmit device includes N
transmit antenna units, where N is a positive integer greater than 1. The transmit
antenna array may include N antennas, or may include N antenna bays. When the transmit
antenna array includes N antennas, a phase of a signal to be transmitted by each antenna
is independently adjustable. When the transmit antenna array includes N antenna bays,
each antenna bay includes a plurality of antennas, and phases of signals to be transmitted
by all antennas in each antenna bay keep consistent.
[0034] The N signal sequences are orthogonal to each other. Signal sequences that are orthogonal
to each other are also referred to as a code group. Each code group includes m code
words, and the code words are used to represent a binary character string. The N signal
sequences may be N signal sequences selected from an orthogonal sequence. The orthogonal
sequence may be an m sequence, a Golden sequence, a Walsh sequence, a LAS sequence,
a Golay sequence, a Kasami sequence, or another orthogonal sequence. It may be understood
that a quantity of signal sequences is the same as a quantity of transmit antenna
units.
[0035] Step 302: A test device receives a first signal by using a receive antenna, where
the first signal is a channel response to the N signal sequences.
[0036] Because the N signal sequences are orthogonal to each other, that is, the N signal
sequences are not correlated, a channel from the N transmit antenna units to the receive
antenna may be considered as N independent channels.
[0037] A transmitted k
th signal sequence is denoted as
Ck, and a received k
th signal sequence is denoted as

In an electromagnetic anechoic chamber, the transmitted signal sequence
Ck and the received signal sequence

meet the following formula:

where
αk is an attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel.
[0038] For example, the N signal sequences are {C
1, C
2, ..., C
n}, and the first signal C
r and the N signal sequences meet the following formula:

where
αn is an attenuation amplitude that is of the n
th signal sequence and that is generated after the n
th signal sequence passes through a channel, and Δ
ϕn is a phase offset that is of the n
th signal sequence and that is generated after the n
th signal sequence passes through a channel, and so on.
[0039] Step 303: The test device determines, based on the first signal, a phase offset that
is of each signal sequence and that is generated after the signal sequence passes
through a channel.
[0040] Specifically, a correlation operation is performed on the first signal C
r and the N signal sequences, to obtain the phase offset that is of each signal sequence
and that is generated after the signal sequence passes through the channel, that is,
Δ
ϕ1, Δ
ϕ2,...,Δ
ϕn, Δ
ϕn.
[0041] Ck includes m codewords, denoted as
Ck1,
Ck2,...,
Ckm. 
is a conjugate of
Ck.
C1 is a signal sequence different from
Ck in the N signal sequences, and codewords included in
C1 are denoted as
Ci1,
Ci2,...,Cim.
[0042] Ck,

C
i meet the following formula:

and

[0043] Cr and

meet the following formula:

[0044] Because m is a known value, the attenuation amplitude and the phase offset that are
of each signal sequence and that are generated after the signal sequence passes through
the channel may be obtained by decoupling signals of the antennas.
[0045] Step 304: The transmit device adjusts an initial test signal based on the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the respective channel, to obtain a target test signal.
[0046] Specifically, the initial test signal is a signal sequence. The signal sequence herein
may be a service signal sequence, or may be another type of signal sequence for testing.
This is not limited in this application. The target test signal includes a plurality
of signal sequences obtained by separately performing phase adjustment on the initial
test signal based on the phase offset that is of each signal sequence and that is
generated after the signal sequence passes through the respective channel. One signal
sequence in the target test signal is obtained by performing phase adjustment on the
initial test signal based on one phase offset. The N signal sequences in the target
test signal are obtained by performing phase adjustment on the initial test signal
based on the N phase offsets.
[0047] In an optional embodiment, the N phase offsets are respectively -Δ
ϕ1, -Δ
ϕ2,...,
-Δ
ϕn, and -Δ
ϕk is added to a phase of the initial test signal to calculate a phase of the k
th signal sequence in the target test signal. k is any positive integer that belongs
to [1, N]. In this way, when signal sequences of the target test signal are transmitted
from the transmit antenna to the receive antenna, phases of the signal sequences are
consistent at the receive antenna.
[0048] In another optional embodiment, a phase offset Δ
ϕk is selected as a reference value, and a difference between each phase offset and
the reference value is calculated. The foregoing calculation result is added to the
phase of the initial test signal to calculate a phase of each signal sequence in the
target test signal.
[0049] For example, Δ
ϕ1k, = Δ
ϕ1-Δ
ϕk, where Δϕ
1k is a difference between a phase offset of a first signal sequence in the target test
signal and the reference value. A phase of a first signal sequence in the target test
signal is calculated by adding Δϕ
1k to the phase of the initial test signal. By analogy, Δ
ϕ2k,...,Δ
ϕnk are calculated, to obtain a phase of each signal sequence in the target test signal.
That is, when the phase offset of the first signal sequence at the receive antenna
is earlier than the reference value by Δ
t, the phase offset of the first signal sequence at the transmit antenna is delayed
by Δ
t. When the phase offset of the first signal sequence at the receive antenna lags behind
the reference value by Δ
t, the phase offset of the first signal sequence at the transmit antenna is advanced
by Δ
t. In this way, when signal sequences in the target test signal are transmitted from
the transmit antenna to the receive antenna, phases of the signal sequences can be
consistent at the receive antenna.
[0050] In this application, an antenna located in the center of the transmit antenna array
may be selected as a target antenna, and a phase offset of a signal sequence to be
transmitted by the target antenna is used as the reference value. Alternatively, an
antenna located in the middle area of the transmit antenna array is used as a target
antenna, and a phase offset of a signal sequence to be transmitted by the target antenna
is used as a reference value. It may be understood that a specific antenna in the
transmit antenna array that is selected as the target antenna is not limited in this
application.
[0051] In this way, phase adjustment is performed on the initial test signal based on the
phase offset that is of each signal sequence and that is generated after the signal
sequence passes through the respective channel, so that the test signal after phase
adjustment (namely, the target test signal) can be in-phase superposed at the receive
antenna.
[0052] Optionally, the phase offset, the initial test signal, and the signal sequence of
the target test signal meet the following formula:

where
Stk is the k
th signal sequence in the target test signal,
St is the initial test signal, and k is not greater than N.
[0053] Step 305: The transmit device transmits the target test signal by using the transmit
antenna array.
[0054] Step 306: The test device receives a second signal by using the receive antenna,
where the second signal is a channel response to the target test signal.
[0055] In an optional embodiment, the target test signal, the second signal, and the phase
offset meet the following formula:

where
i is not greater than n.
[0056] Step 307: The test device calculates a signal metric of the transmit device based
on the second signal.
[0057] It should be noted that α is an attenuation amplitude after a channel is passed through,
and Δ
ϕ is a phase offset after a channel is passed through. Therefore,
αn is not only an attenuation amplitude that is of an n
th signal sequence and that is generated after the n
th signal sequence passes through a channel, but also an attenuation amplitude that
is of an n
th signal sequence of the target test signal and that is generated after the n
th signal sequence passes through a channel. Similarly, Δ
ϕn is not only a phase offset that is of the n
th signal sequence and that is generated after the n
th signal sequence passes through a channel, but also a phase offset that is of the
n
th signal sequence of the target test signal and that is generated after the n
th signal sequence passes through a channel.
[0058] In a short-distance environment, phase offsets of different antennas at the receive
antenna can be calculated according to the formulas provided in this application,
and then corresponding phase adjustment is performed based on the phase offsets, so
that after passing through transmission paths of different lengths, antenna signals
can be in-phase superposed at the receive antenna. This resolves a prior-art problem
that a large error is caused because a phase difference at the receive antenna is
excessively large, and a test requirement cannot be met. Because all signal sequences
of the target test signal are transmitted to form the second signal at the receive
antenna, an accurate and reliable signal metric may be calculated based on the second
signal.
[0059] In the prior art, when transmitting N antenna signals by using N antennas, to avoid
signal interference, the transmit device transmits one antenna signal each time by
using a single antenna. In this way, although signal interference is avoided, it takes
a relatively long time. In this application, N transmit antennas may be used to simultaneously
transmit N antenna signals, to improve test efficiency.
[0060] In an optional embodiment, step 301 specifically includes: simultaneously transmitting,
by the transmit device, the N signal sequences by using the transmit antenna array.
[0061] In this embodiment, the N signal sequences are orthogonal to each other. Because
interference between orthogonal signals is very small, after receiving the compound
signal obtained by in-phase superposing the N signal sequences, the test device may
still decouple the compound signal to obtain a signal parameter of each antenna signal.
Therefore, a time used for transmitting a signal sequence is reduced, and test efficiency
can be improved.
[0062] In another optional embodiment, step 305 specifically includes: simultaneously transmitting,
by the transmit device by using the transmit antenna array, the N signal sequences
included in the target test signal.
[0063] In this embodiment, the N signal sequences included in the target test signal are
orthogonal to each other. Because interference between orthogonal signals is very
small, after receiving the compound signal obtained by in-phase superposing the N
signal sequences, the test device may still decouple the compound signal to obtain
a signal parameter of each antenna signal. Therefore, a time used for transmitting
a signal sequence is reduced, and test efficiency can be improved.
[0064] It should be noted that the transmit device may simultaneously transmit the N signal
sequences, and transmit, at different time points, the N signal sequences included
in the target test signal. Alternatively, the transmit device may transmit the N signal
sequences at different time points, and simultaneously transmit the N signal sequences
included in the target test signal. Alternatively, the transmit device may simultaneously
transmit the N signal sequences, and simultaneously transmit the N signal sequences
included in the target test signal.
[0065] It should be noted that in addition to phase adjustment on a test signal, signal
strength of the test signal may also be adjusted. Details are described below.
[0066] In another optional embodiment, the method for testing a MIMO signal further includes:
determining, based on the first signal, an attenuation amplitude that is of each signal
sequence and that is generated after the signal sequence passes through a channel;
and
step 304 includes: adjusting the initial test signal based on the phase offset and
the attenuation amplitude that are of each signal sequence and that are generated
after the signal sequence passes through the channel, to obtain the target test signal.
[0067] In this embodiment, the phase offset, the initial test signal, and the signal sequence
of the target test signal meet the following formula:

[0068] The target test signal, the second signal, and the phase offset meet the following
formula:

where
Stk is the k
th signal sequence in the target test signal,
St is the initial test signal, α
k is an attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N.
[0069] In this embodiment, the N signal sequences of the target test signal are in-phase
superposed at the receive antenna, so that the receive antenna can receive a signal
that meets a test requirement. In this way, not only phase adjustment can be performed
on the test signal, but also an attenuation amplitude of the test signal can be adjusted,
thereby expanding a test application scope.
[0070] Referring to FIG. 4, in an embodiment, a transmit device 400 provided in this application
includes:
a radio frequency module 401, configured to transmit N signal sequences by using a
transmit antenna array, where the N signal sequences are orthogonal to each other,
N is a positive integer greater than 1, the radio frequency module 401 may be specifically
a radio frequency unit (Radio Remote Unit), for example, a radio frequency unit 16,
and may include an intermediate frequency module, a transceiver module, a power amplifier,
and a filter module, the digital intermediate frequency module is configured for modulation
and demodulation of optical transmission, digital up- and down-conversion, A/D conversion,
and the like, the transceiver module completes conversion from an intermediate frequency
signal to a radio frequency signal, and then the power amplifier and the filter module
transmit the radio frequency signal by using an antenna port;
an obtaining module 402, configured to obtain, from a test device, a phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through a channel, where the test device is configured to test a signal metric of
the transmit device, and the obtaining module 402 may specifically include an I/O
interface and a corresponding data storage component; and
an adjustment module 403, further configured to adjust an initial test signal based
on the phase offset that is of each signal sequence and that is generated after the
signal sequence passes through the channel, to obtain a target test signal in-phase
superposed at the test device, where the target test signal includes a plurality of
signal sequences obtained by separately performing phase adjustment on the initial
test signal based on the phase offset that is of each signal sequence and that is
generated after the signal sequence passes through the respective channel, during
specific implementation, a digital signal may be adjusted by using a device such as
a device processor, a digital signal processor, a field programmable gate array, or
an external device, and an analog signal may be adjusted by using an external phase
adjustment device and an attenuator.
[0071] The radio frequency module 401 is further configured to transmit the target test
signal by using the transmit antenna array.
[0072] In an optional embodiment, the phase offset, the initial test signal, and the signal
sequence of the target test signal meet the following formula:

where
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N.
[0073] In another optional embodiment,
the obtaining module 402 is further configured to obtain, from the test device, an
attenuation amplitude that is of each signal sequence and that is generated after
the signal sequence passes through a channel; and
the radio frequency module 401 is further configured to adjust the initial test signal
based on the phase offset and the attenuation amplitude that are of each signal sequence
and that are generated after the signal sequence passes through the channel, to obtain
the target test signal.
[0074] In another optional embodiment, the phase offset, the attenuation amplitude, the
initial test signal, and the signal sequence of the target test signal meet the following
formula:

where
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal,
αk is an attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N.
[0075] In another optional embodiment, the radio frequency module 401 is specifically configured
to simultaneously transmit the N signal sequences by using the transmit antenna array,
where the N signal sequences are orthogonal to each other.
[0076] In another optional embodiment, the radio frequency module 401 is specifically configured
to simultaneously transmit, by using the transmit antenna array, N signal sequences
included in the target test signal.
[0077] Referring to FIG. 5, in an embodiment, a test device 500 provided in this application
includes:
a receiving module 501, configured to receive a first signal by using a receive antenna,
where the first signal is a channel response to N signal sequences sent by a transmit
device by using a transmit antenna array, the N signal sequences are orthogonal to
each other, and the receiving module 501 may be specifically a component such as a
radio frequency receiving channel or an analog-to-digital converter;
a processing module 502, configured to determine, based on the first signal, a phase
offset that is of each signal sequence in the N signal sequences and that is generated
after the signal sequence passes through a channel; and the processing module 502
may be specifically a central processing unit, a field programmable gate array, a
digital signal processor, or another dedicated circuit having a signal processing
function; and
a sending module 503, configured to send, to the transmit device, the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the channel, where in an actual application, the test device may send the
offset to a to-be-tested MIMO device in a wired connection manner such as a serial
port or an Ethernet port or in a wireless transmission manner.
[0078] The receiving module 501 is further configured to receive a second signal by using
the receive antenna, where the second signal is a channel response to the target test
signal, and the target test signal is obtained by adjusting, by the transmit device,
the initial test signal based on the phase offset that is of each signal sequence
and that is generated after the signal sequence passes through the channel; and
the processing module 502 is further configured to calculate a signal metric of the
transmit device based on the second signal.
[0079] In an optional embodiment,
the processing module 502 is further configured to determine, based on the first signal,
an attenuation amplitude that is of each signal sequence and that is generated after
the signal sequence passes through a channel; and
the sending module 503 is further configured to send, to the transmit device, the
attenuation amplitude that is of each signal sequence and that is generated after
the signal sequence passes through the respective channel.
[0080] Referring to FIG. 6, in an embodiment, a MIMO test system 600 provided in this application
includes a transmit device 400 and a test device 500.
[0081] The transmit device 400 is the transmit device in the embodiment shown in FIG. 4
or the foregoing optional embodiment. The test device 500 is the test device in the
embodiment shown in FIG. 5 or the foregoing optional embodiment.
[0082] The following describes the transmit device and the test device in this application
from a perspective of a hardware device.
[0083] Referring to FIG. 7, in another embodiment, a transmit device 700 provided in this
application includes: a transmit antenna array 701, a transmitter 702, a processor
703, and a memory 704.
[0084] The transmit antenna array 701 is connected to the transmitter 702. Both the transmitter
702 and the memory 704 are connected to the processor 703, for example, may be connected
to the processor 703 by using a bus. Certainly, the transmit device 700 may further
include general components such as a receiver, a baseband processing component, an
intermediate radio frequency processing component, an input/output apparatus, and
a communications interface. This is not limited herein in this embodiment. The receiver
and the transmitter may be integrated to constitute a transceiver.
[0085] The processor 703 may be a general-purpose processor, including a central processing
unit (Central Processing Unit, CPU for short), a network processor (Network Processor,
NP for short), or the like. Alternatively, the processor may be a digital signal processor
(Digital Signal Processor, DSP for short), an application specific integrated circuit
(Application Specific Integrated Circuit, ASIC for short), a field-programmable gate
array (Field-Programmable Gate Array, FPGA for short), another programmable logic
component, or the like.
[0086] The memory 704 is configured to store a program. Specifically, the program may include
program code, and the program code includes a computer operation instruction. The
memory 802 may include a random access memory (Random Access Memory, RAM for short),
or may further include a non-volatile memory (Non-Volatile Memory, NVM for short),
for example, at least one disk storage.
[0087] During an implementation,
the transmitter 702 is configured to transmit N signal sequences by using the transmit
antenna array 701, where the N signal sequences are orthogonal to each other, and
N is a positive integer greater than 1;
the processor 703 is configured to obtain, from a test device, a phase offset that
is of each signal sequence and that is generated after the signal sequence passes
through a channel; and
the processor 703 is further configured to adjust an initial test signal based on
a phase offset that is of each signal sequence and that is generated after the signal
sequence passes through a channel, to obtain a target test signal in-phase superposed
at the test device, where the target test signal includes a plurality of signal sequences
obtained by separately performing phase adjustment on the initial test signal based
on the phase offset that is of each signal sequence and that is generated after the
signal sequence passes through the respective channel.
[0088] The transmitter 702 is further configured to transmit the target test signal by using
the transmit antenna array 701.
[0089] The processor 703 executes program code stored in the memory 704, to implement functions
of the transmit device in the embodiment shown in FIG. 3 or the foregoing optional
embodiment.
[0090] In another implementation, the transmitter 702 may implement a function of the radio
frequency module 401 in the embodiment shown in FIG. 4. The processor 703 may implement
functions of the obtaining module 402 and the adjustment module 403 in the embodiment
shown in FIG. 4.
[0091] Referring to FIG. 8, in another embodiment, a test device 800 provided in this application
includes: a receive antenna 801, a receiver 802, a processor 803, and a memory 804.
[0092] The receive antenna 801 is connected to the receiver 802. Both the receiver 802 and
the memory 804 are connected to the processor 803, for example, may be connected to
the processor 803 by using a bus. Certainly, the test device 800 may further include
general components such as a transmitter, a baseband processing component, an intermediate
radio frequency processing component, an input/output apparatus, and a communications
interface. This is not limited herein in this embodiment. The receiver and the transmitter
may be integrated to constitute a transceiver.
[0093] The processor 803 may be a general-purpose processor, including a CPU, an NP, or
the like. Alternatively, the processor may be a DSP, an ASIC, an FPGA, another programmable
logic device, or the like.
[0094] The memory 804 is configured to store a program. Specifically, the program may include
program code, and the program code includes a computer operation instruction. The
memory 804 may include a RAM, or may further include an NVM, for example, at least
one disk storage. The processor 803 executes program code stored in the memory 804,
to implement functions of the test device in the embodiment shown in FIG. 3 or the
foregoing optional embodiment.
[0095] During an implementation, the receiver 802 is configured to receive a first signal
by using the receive antenna 801, where the first signal is a channel response to
N signal sequences sent by a transmit device by using a transmit antenna array, the
N signal sequences are orthogonal to each other, and N is a positive integer greater
than 1;
the processor 803 is configured to determine, based on the first signal, a phase offset
that is of each signal sequence in the N signal sequences and that is generated after
the signal sequence passes through a respective channel;
the processor 803 is further configured to send, to the transmit device, the phase
offset that is of each signal sequence and that is generated after the signal sequence
passes through a respective channel;
the receiver 802 is further configured to receive a second signal by using the receive
antenna 801, where the second signal is a channel response to the target test signal,
and the target test signal is obtained by adjusting, by the transmit device, the initial
test signal based on the phase offset that is of each signal sequence and that is
generated after the signal sequence passes through the channel; and
the processor 803 is further configured to calculate a signal metric of the transmit
device based on the second signal.
[0096] In another implementation, the receiver 802 may implement a function of the receiving
module in the embodiment shown in FIG. 5 or the foregoing optional embodiment. The
processor 803 may implement a function of the processing module 502 in the embodiment
shown in FIG. 5. The communications interface may implement a function of the sending
module 503 under control of the processor 803.
[0097] This application further provides a computer storage medium, including an instruction.
When the instruction is executed on a computer, the computer is enabled to perform
the method in the foregoing embodiment.
[0098] All or some of the foregoing embodiments may be implemented by using software, hardware,
firmware, or any combination thereof. When software is used to implement the embodiments,
the embodiments may be implemented completely or partially in a form of a computer
program product.
[0099] The computer program product includes one or more computer instructions. When the
computer program instructions are loaded and executed on the computer, the procedure
or functions according to the embodiments of the present invention are all or partially
generated. The computer may be a general-purpose computer, a dedicated computer, a
computer network, or other programmable apparatuses. The computer instructions may
be stored in a computer-readable storage medium or may be transmitted from a computer-readable
storage medium to another computer-readable storage medium. For example, the computer
instructions may be transmitted from a website, computer, server, or data center to
another website, computer, server, or data center in a wired (for example, a coaxial
cable, an optical fiber, or a digital subscriber line) or wireless (for example, infrared,
radio, or microwave) manner. The computer-readable storage medium may be any usable
medium accessible by a computer, or a data storage device, such as a server or a data
center, integrating one or more usable media. The usable medium may be a magnetic
medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium
(for example, a DVD), a semiconductor medium (for example, a solid-state drive (Solid
State Disk, SSD)), or the like.
1. A test method, comprising:
transmitting, by a transmit device, N signal sequences by using a transmit antenna
array, wherein the N signal sequences are orthogonal to each other, and N is a positive
integer greater than 1;
obtaining, by the transmit device from a test device, a phase offset that is of each
signal sequence in the N signal sequences and that is generated after the signal sequence
passes through a respective channel;
adjusting, by the transmit device, an initial test signal based on the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the respective channel, to obtain a target test signal in-phase superposed
at the test device, wherein the target test signal comprises a plurality of signal
sequences obtained by separately performing phase adjustment on the initial test signal
based on the phase offset that is of each signal sequence and that is generated after
the signal sequence passes through the respective channel; and
transmitting, by the transmit device, the target test signal by using the transmit
antenna array.
2. The method according to claim 1, wherein the phase offset, the initial test signal,
and a signal sequence of the target test signal meet a following formula:

wherein
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N.
3. The method according to claim 1, wherein
the method further comprises: obtaining, by the transmit device from the test device,
an attenuation amplitude that is of each signal sequence and that is generated after
the signal sequence passes through a respective channel; and
the adjusting, by the transmit device, an initial test signal based on the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the respective channel, to obtain a target test signal includes: adjusting,
by the transmit device based on the phase offset and the attenuation amplitude that
are of each signal sequence and that are generated after the signal sequence passes
through the respective channel, the initial test signal to obtain the target test
signal.
4. The method according to claim 3, wherein the phase offset, the attenuation amplitude,
the initial test signal, and a signal sequence of the target test signal meet a following
formula:

wherein
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal,
αk is the attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through the channel, and k is not greater than N.
5. The method according to any one of claims 1 to 4, wherein the N signal sequences are
N signal sequences selected from an orthogonal sequence, and the orthogonal sequence
is an m sequence, a Golden sequence, a Walsh sequence, a LAS sequence, a Golay sequence,
or a Kasami sequence.
6. The method according to any one of claims 1 to 4, wherein the transmitting, by a transmit
device, N signal sequences by using a transmit antenna array comprises:
simultaneously transmitting, by the transmit device, the N signal sequences by using
the transmit antenna array.
7. The method according to any one of claims 1 to 4, wherein the transmitting, by the
transmit device, the target test signal by using the transmit antenna array comprises:
simultaneously transmitting, by the transmit device, the target test signal by using
the transmit antenna array, wherein the target test signal comprises N signal sequences.
8. A test method, comprising:
receiving, by a test device, a first signal by using a receive antenna, wherein the
first signal is a channel response of N signal sequences sent by a transmit device
by using a transmit antenna array, the N signal sequences are orthogonal to each other,
and N is an integer greater than 1;
determining, by the test device based on the first signal, a phase offset that is
of each signal sequence in the N signal sequences and that is generated after the
signal sequence passes through a respective channel;
sending, by the test device to the transmit device, the phase offset that is of each
signal sequence and that is generated after the signal sequence passes through the
respective channel;
receiving, by the test device, a second signal by using the receive antenna, wherein
the second signal is a channel response of a target test signal, the target test signal
comprises a plurality of signal sequences obtained by adjusting, by the transmit device,
an initial test signal based on the phase offset that is of each signal sequence and
that is generated after the signal sequence passes through the respective channel,
and the target test signal is in-phase superposed at the test device; and
calculating, by the test device, a signal indicator of the transmit device based on
the second signal.
9. The method according to claim 8, wherein the method further comprises:
determining, by the test device based on the first signal, an attenuation amplitude
that is of each signal sequence and that is generated after the signal sequence passes
through a respective channel; and
sending, by the test device to the transmit device, the attenuation amplitude that
is of each signal sequence and that is generated after the signal sequence passes
through the respective channel.
10. A transmit device, comprising:
a radio frequency module, configured to transmit N signal sequences by using a transmit
antenna array, wherein the N signal sequences are orthogonal to each other, the transmit
antenna array comprises N transmit antenna units, and N is an integer greater than
1;
an obtaining module, configured to obtain, from a test device, a phase offset that
is of each signal sequence in the N signal sequences and that is generated after the
signal sequence passes through a respective channel; and
an adjustment module, configured to adjust an initial test signal based on the phase
offset that is of each signal sequence and that is generated after the signal sequence
passes through the respective channel, to obtain a target test signal in-phase superposed
at the test device, wherein the target test signal comprises a plurality of signal
sequences obtained by separately performing phase adjustment on the initial test signal
based on the phase offset that is of each signal sequence and that is generated after
the signal sequence passes through the respective channel; and
the radio frequency module is further configured to transmit the target test signal
by using the transmit antenna array.
11. The transmit device according to claim 10, wherein the phase offset, the initial test
signal, and a signal sequence of the target test signal meet a following formula:

wherein
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, and k is not greater than N.
12. The transmit device according to claim 10, wherein
the obtaining module is further configured to obtain, from the test device, an attenuation
amplitude that is of each signal sequence and that is generated after the signal sequence
passes through a respective channel; and
the radio frequency module is further configured to adjust the initial test signal
based on the phase offset and the attenuation amplitude that are of each signal sequence
and that are generated after the signal sequence passes through the respective channel,
to obtain the target test signal.
13. The transmit device according to claim 12, wherein the phase offset, the attenuation
amplitude, the initial test signal, and a signal sequence of the target test signal
meet a following formula:

wherein
Stk is a k
th signal sequence in the target test signal,
St is the initial test signal,
αk is the attenuation amplitude that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through a channel, Δ
ϕk is a phase offset that is of the k
th signal sequence and that is generated after the k
th signal sequence passes through the channel, and k is not greater than N.
14. The transmit device according to any one of claims 10 to 13, wherein
the radio frequency module is specifically configured to simultaneously transmit the
N signal sequences by using the transmit antenna array, and the N signal sequences
are orthogonal to each other.
15. The transmit device according to any one of claims 10 to 13, wherein
the radio frequency module is specifically configured to simultaneously transmit the
target test signal by using the transmit antenna array, and the target test signal
comprises N signal sequences.
16. A test device, comprising:
a receiving module, configured to receive a first signal by using a receive antenna,
wherein the first signal is a channel response of N signal sequences sent by a transmit
device by using a transmit antenna array, the transmit antenna array comprises N transmit
antenna units, and N is an integer greater than 1;
a processing module, configured to determine, based on the first signal, a phase offset
that is of each signal sequence in the N signal sequences and that is generated after
the signal sequence passes through a respective channel; and
a sending module, configured to send, to the transmit device, the phase offset that
is of each signal sequence and that is generated after the signal sequence passes
through the respective channel, wherein
the receiving module is further configured to receive a second signal by using the
receive antenna, wherein the second signal is a channel response of a target test
signal, the target test signal comprises a plurality of signal sequences obtained
by adjusting, by the transmit device, an initial test signal based on the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the respective channel, and the target test signal is in-phase superposed
at the test device; and
the processing module is further configured to calculate a signal indicator of the
transmit device based on the second signal.
17. The test device according to claim 16, wherein
the processing module is further configured to determine, based on the first signal,
an attenuation amplitude that is of each signal sequence and that is generated after
the signal sequence passes through a respective channel; and
the sending module is further configured to send, to the transmit device, the attenuation
amplitude that is of each signal sequence and that is generated after the signal sequence
passes through the respective channel.
18. A test system, comprising:
the transmit device according to any one of claims 10 to 15, and the test device according
to any one of claims 16 and 17.
19. A transmit device, wherein the transmit device comprises a transmit antenna array,
a transmitter, and a processor;
the transmitter is configured to transmit N signal sequences by using the transmit
antenna array, wherein the N signal sequences are orthogonal to each other, and N
is an integer greater than 1;
the processor is configured to obtain, from a test device, a phase offset that is
of each signal sequence in the N signal sequences and that is generated after the
signal sequence passes through a respective channel;
the processor is further configured to adjust an initial test signal based on the
phase offset that is of each signal sequence and that is generated after the signal
sequence passes through the respective channel, to obtain a target test signal in-phase
superposed at the test device, wherein the target test signal comprises a plurality
of signal sequences obtained by separately performing phase adjustment on the initial
test signal based on the phase offset that is of each signal sequence and that is
generated after the signal sequence passes through the respective channel; and
the transmitter is further configured to transmit the target test signal by using
the transmit antenna array.
20. A test device, wherein the test device comprises a receive antenna, a receiver, and
a processor;
the receiver is configured to receive a first signal by using the receive antenna,
wherein the first signal is a channel response of N signal sequences sent by a transmit
device by using a transmit antenna array, the N signal sequences are orthogonal to
each other, and N is an integer greater than 1;
the processor is configured to determine, based on the first signal, a phase offset
that is of each signal sequence in the N signal sequences and that is generated after
the signal sequence passes through a respective channel;
the processor is further configured to send, to the transmit device, the phase offset
that is of each signal sequence and that is generated after the signal sequence passes
through the respective channel;
the receiver is further configured to receive a second signal by using the receive
antenna, wherein the second signal is a channel response of a target test signal,
the target test signal is obtained by adjusting, by the transmit device, an initial
test signal based on the phase offset that is of each signal sequence and that is
generated after the signal sequence passes through the respective channel, and the
target test signal is in-phase superposed at the test device; and
the processor is further configured to calculate a signal indicator of the transmit
device based on the second signal.
21. A test system, comprising:
the transmit device according to claim 19, and the test device according to claim
20.