Radio analysis apparatus and method
10003421 ยท 2018-06-19
Assignee
Inventors
Cpc classification
G01S3/74
PHYSICS
H04L27/186
ELECTRICITY
G01S3/32
PHYSICS
H01Q3/26
ELECTRICITY
H04L7/02
ELECTRICITY
International classification
H04L7/02
ELECTRICITY
G01S3/32
PHYSICS
G01S3/74
PHYSICS
H01Q3/26
ELECTRICITY
H04B1/10
ELECTRICITY
Abstract
A radio analysis apparatus includes: a processor that calculates a modulation index of a radio signal generated by performing frequency shift keying on a baseband signal, based on phase shift amounts of the radio signal; and a memory that holds information in which bit patterns of the baseband signal are associated with correction values for correcting the phase shift amounts that have dropped by band limitation on the baseband signal. The processor restores the bit patterns of the baseband signal based on the phase shift amounts of the radio signal, corrects the phase shift amounts of the radio signal by using the correction values corresponding to the restored bit patterns, and calculates the modulation index based on the corrected phase shift amounts.
Claims
1. A radio analysis apparatus comprising: a processor that calculates a modulation index of a radio signal generated by performing frequency shift keying on a baseband signal, based on phase shift amounts of the radio signal; and a memory that holds information in which bit patterns of the baseband signal are associated with correction values for correcting the phase shift amounts that have dropped by band limitation on the baseband signal, wherein the processor restores the bit patterns of the baseband signal based on the phase shift amounts of the radio signal, corrects the phase shift amounts of the radio signal by using the correction values corresponding to the restored bit patterns, and calculates the modulation index based on the corrected phase shift amounts.
2. The radio analysis apparatus according to claim 1, wherein the memory holds the correction values corresponding to all the bit patterns in a predetermined length of bit sequence, and wherein the processor corrects phase shift amounts of the radio signal corresponding to a bit sequence with a preset bit length in a bit sequence of the baseband signal by using the correction values and calculates the modulation index based on the corrected phase shift amounts.
3. The radio analysis apparatus according to claim 1, wherein the correction values are calculated based on a kind and a tap coefficient of a filter used for the band limitation on the baseband signal.
4. The radio analysis apparatus according to claim 1, wherein the processor calculates a sum of products of the individual phase shift amounts and the individual correction value, calculates a sum of squares of the individual correction value used to calculate the sum of products, and divides the sum of products by the sum of squares, and wherein the processor calculates the modulation index, assuming that a value obtained by the division is the individual phase shift amounts when the band limitation is not performed.
5. A radio analysis method performed by a radio analysis apparatus including a memory and a processor which calculates a modulation index of a radio signal generated by performing frequency shift keying on a baseband signal, based on phase shift amounts of the radio signal, the radio analysis method comprising: acquiring, by the processor, information in which bit patterns of the baseband signal are associated with correction values for correcting the phase shift amounts that have dropped by band limitation on the baseband signal from the memory; and restoring, by the processor, the bit patterns of the baseband signal based on the phase shift amounts of the radio signal, correcting the phase shift amounts of the radio signal by using the correction values corresponding to the restored bit patterns, and calculating the modulation index based on the corrected phase shift amounts.
6. A non-transitory computer-readable storage medium storing a computer program that causes a computer having a memory and a processor which calculates a modulation index of a radio signal generated by performing frequency shift keying on a baseband signal, based on phase shift amounts of the radio signal to perform a procedure comprising: acquiring information in which bit patterns of the baseband signal are associated with correction values for correcting the phase shift amounts that have dropped by band limitation on the baseband signal from the memory; and restoring the bit patterns of the baseband signal based on the phase shift amounts of the radio signal, correcting the phase shift amounts of the radio signal by using the correction values corresponding to the restored bit patterns, and calculating the modulation index based on the corrected phase shift amounts.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
DESCRIPTION OF EMBODIMENTS
(21) Hereinafter, embodiments will be described with reference to the accompanying drawings. In the description and drawings, when elements have substantially the same function, these elements will be denoted by the same reference character, and redundant description thereof will be omitted as needed.
1. First Embodiment
(22) A first embodiment will be described with reference to
(23)
(24) The radio analysis apparatus 10 receives an RF signal and calculates a modulation index from phase shift amounts of the received RF signal. For example, as illustrated in
(25) The radio apparatus 20 includes a baseband processing unit 21, a filter 22, and an RF processing unit 23. The baseband processing unit 21 generates a baseband signal on the basis of the bit sequence of data to be transmitted. The baseband signal is inputted to the filter 22. As the filter 22, for example, a Gaussian filter or a cosine filter such as a raised cosine filter or a square-root raised cosine filter is used. The filter 22 limits the band of the baseband signal.
(26) As illustrated in (A) of
(27) In addition, the band limitation on the baseband signal affects the phase shift amounts of the RF signal.
(28) For example, when no band limitation is performed on a baseband signal, the phase of the RF signal shifts as illustrated in a trellis diagram indicated in (A) of
(29) In contrast, when band limitation is performed on a baseband signal, the phase of the RF signal shifts as illustrated in a trellis diagram indicated in (B) of
(30) As described above, when band limitation is performed on a baseband signal, the magnitude of an individual phase shift amount depends on the corresponding bit pattern (a combination of the target bit value, the previous bit value, and the following bit value). Even when the magnitude of a phase shift amount drops, since the direction in which the phase shifts, i.e., rises or drops (corresponding to the plus or minus sign of the phase shift amount) is not significantly affected, the original bit sequence is restored on the basis of the plus or minus sign of the phase shift amount.
(31) However, the estimation of a modulation index is significantly affected. A modulation index is defined as a product of a symbol period of an RF signal (the reciprocal of the symbol rate) and an individual frequency shift amount (the magnitude of an individual phase shift amount per symbol period). If the symbol rate is known, by detecting the magnitude of the individual phase shift amount, the modulation index used to modulate the RF signal is calculated. However, when the magnitude of an individual phase shift amount depends on its corresponding bit pattern as described above, it is not easy to estimate the modulation index accurately from the RF signal.
(32) Even when band limitation is performed on a baseband signal, at a portion of a particular bit pattern 000 or 111, the individual phase shift amount is not significantly affected (see the trellis diagram in (B) of
(33) Therefore, the radio analysis apparatus 10 corrects individual phase shift amounts on the basis of the respective bit patterns and calculates the modulation index on the basis of the corrected phase shift amounts. With this method, all the bit sequences for estimating the modulation index are used, and the above risk is reduced.
(34) As illustrated in
(35) The radio unit 11 receives an RF signal via an antenna. In addition, the radio unit 11 detects phase shift amounts from the received RF signal. Hereinafter, for convenience of description, a group of phase shift amounts sequentially detected from the RF signal will be expressed as a phase shift amount X by using a vector X, as needed. Information about the phase shift amount X is inputted to the operation unit 12.
(36) The operation unit 12 is a processor such as a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). For example, the operation unit 12 executes programs stored in the storage unit 13 or another memory. The storage unit 13 is a volatile storage device such as a random access memory (RAM) or a non-volatile storage device such as a hard disk drive (HDD) or a flash memory.
(37) The storage unit 13 holds information in which bit patterns of a baseband signal are associated with correction values used to correct the phase shift amounts that have dropped by the band limitation on the baseband signal. In the example in
(38) These correction values are determined on the basis of characteristics of a filter used for the band limitation on the baseband signal. For example, in the case of GFSK, a Gaussian filter is used to limit the band of the baseband signal. One of the characteristics of the Gaussian filter is expressed by a filter bandwidth parameter that depends on the normalized half-value width (filter bandwidth) of a passband spectrum having a shape of the Gaussian function. The larger the parameter a is, the smoother an individual edge of the band-limited baseband signal will be. In this example, the correction values are determined on the basis of the parameter a. When another filter is used, the correction values may also be determined on the basis of the filter bandwidth parameter a.
(39) The operation unit 12 restores the bit pattern of the baseband signal on the basis of the phase shift amount X of the RF signal. For example, when the sign of a phase shift amount is positive, the operation unit 12 determines that the corresponding bit value is 1. In addition, when the sign of a phase shift amount is negative, the operation unit 12 determines that the corresponding bit value is 0. For example, as illustrated in (C) of
(40) In addition, the operation unit 12 extracts a bit pattern with a predetermined number of bits (three bits in the example in
(41) For example, as illustrated in (C) of
(42) For example, the phase shift amount reference value X.sub.mod is expressed by the following expression (1). The operation unit 12 calculates the modulation index on the basis of the phase shift amount reference value X.sub.mod, which is an estimate of the phase shift amount when no band limitation is performed. By using this method, the bit patterns other than the above particular bit patterns may also be used to estimate the modulation index. Thus, more phase shift amounts are used to estimate the modulation index, and the impact of a bit value restoration error on the estimation accuracy is reduced. As a result, higher estimation accuracy is obtained than the method using only the particular bit patterns.
X.sub.mod=W.Math.X/W.sup.2(1)
(43) After the modulation index is estimated, a radio standard could be determined from the modulation index. For example, the modulation index in the range between 0.28 and 0.35 is used in Bluetooth, and the modulation index in the range between 0.45 and 0.55 is used in BLE. It is not easy to distinguish Bluetooth from BLE from the frequency band, header information, etc. Thus, if the modulation index is accurately estimated, it is possible to distinguish between Bluetooth and BLE by using the modulation index. Among the radio standards using FSK, for example, ANT and ANT+ are hard to distinguish from each other. ANT and ANT+ are near-field communication protocols of an ultra-low power consumption type.
(44) In an environment in which a plurality of radio apparatuses use the above radio standards, there are cases where the cause of a radio wave interference needs to be analyzed or the interference needs to be controlled to reduce. In such cases, if the radio standards have been determined, the analysis or control is performed more easily. By applying the technique according to the first embodiment, the radio standards, which are conventionally difficult to distinguish from each other, are accurately distinguished from each other by the frequency band, header information, etc. Namely, the radio environment is analyzed and managed more easily. Thus, the first embodiment contributes to improvement of the radio environment.
(45) The first embodiment has thus been described.
2. Second Embodiment
(46) Next, a second embodiment will be described. The second embodiment relates to a method of estimating a modulation index from an RF signal generated on the basis of a band-limited baseband signal. In particular, the second embodiment relates to a method of correcting phase shift amounts of an RF signal and estimating a modulation index on the basis of the corrected phase shift amounts.
(47) [2-1. System]
(48) Hereinafter, for convenience of description, a system illustrated as an example in
(49) The system illustrated as an example in
(50) For example, each of the communication apparatuses 51, 52, and 55 performs radio communication by using Bluetooth. The communication apparatus 53 performs radio communication by using BLE. The communication apparatus 54 performs radio communication by using a wireless local area network (WLAN). In Bluetooth and BLE, GFSK is used as the modulation method. For example, the communication apparatus 55 limits the band of a baseband signal by using a Gaussian filter, modulates the band-limited baseband signal by using FSK, and generates an RF signal.
(51) A Bluetooth packet has a format as illustrated in
(52) In contrast, a BLE packet has a format as illustrated in
(53) As described above, the known signals (PREAMBLE) included in Bluetooth and BLE packets are short, and the bit patterns in the two known signals include many common portions. Thus, it is not easy to distinguish Bluetooth and BLE from each other by this known signal. However, the range (between 0.28 and 0.35) of the modulation index defined in Bluetooth differs from the range (between 0.45 and 0.55) of the modulation index defined in BLE. Thus, if the difference between the modulation indexes is used, Bluetooth and BLE are distinguished from each other.
(54) The radio analysis apparatus 100 receives RF signals transmitted from the communication apparatuses 51 to 55 and determines the radio standards on the basis of the modulation indexes of the received RF signals, respectively. Next, the radio analysis apparatus 100 notifies a user (a system administrator, etc.) of the determined radio standards. For example, when the communication quality between the communication apparatuses 51 and 52 is deteriorated, the radio analysis apparatus 100 determines the radio standard corresponding to the interference wave causing the deterioration of the communication quality. In this case, the user is able to instruct the communication apparatus communicating on the basis of the radio standard to reduce the output. As a result, the interference wave is reduced.
(55) A modulation index is expressed as a product of a symbol period of an RF signal (the reciprocal of the symbol rate) and an individual frequency shift amount (the magnitude of an individual phase shift amount per symbol period). If the symbol rate is known, by detecting the magnitude of the individual phase shift amount, the modulation index used to modulate the RF signal is calculated.
(56) In the case of FSK, a relationship between a bit pattern of a baseband signal and the phase of an RF signal is expressed by a trellis diagram as illustrated in
(57)
(58) In the example in
(59) When the band of a baseband signal is limited by a Gaussian filter, the waveform has a smooth curve at an individual edge portion where the bit value changes. The smoothness of the curve depends on the filter bandwidth parameter of the Gaussian filter. The larger the parameter is, the smoother the curve will be (.sub.1<.sub.2<.sub.3). If the baseband signal has smoother edges, the phase discontinuity that occurs at an individual frequency shift portion in the RF signal is reduced, and a spurious emission is reduced.
(60) However, as illustrated in
(61) In addition, the magnitude of an individual phase shift amount varies depending on the previous and following bit values. For example, in the case of the period T.sub.3 corresponding to the bit value 0, the bit value in the previous period T.sub.2 is 0 and the bit value in the following period T.sub.4 is 1. Namely, the period T.sub.3 is the period forming a bit pattern 001 with its bit value and the previous and following bit values. In addition, the phase shift amount in the period T.sub.3 corresponding to the bit pattern 001 is 1.2.
(62) In contrast, the phase shift amount in the period T.sub.4 corresponding to a bit pattern 010 is +0.8, and the phase shift amount in the period T.sub.s corresponding to a bit pattern 100 is 1.2. In addition, the phase shift amount in the period T.sub.2 corresponding to the bit pattern 000 is 2. In this way, if the band of the baseband signal is limited, the magnitude of an individual phase shift amount varies depending on the corresponding bit pattern. Thus, if the modulation index is calculated by directly using the phase shift amounts detected in periods, the modulation index is not accurately estimated. Therefore, the radio analysis apparatus 100 corrects the phase shift amounts that have been changed by the band limitation of the baseband signal and calculates a modulation index on the basis of the corrected phase shift amounts.
(63) Next, the radio analysis apparatus 100 will be described in more detail.
(64) [2-2. Hardware]
(65) For example, functions of the radio analysis apparatus 100 may be realized by using hardware as illustrated in
(66) As illustrated in
(67) The antenna 101 is an antenna used to exchange RF signals. The radio analysis apparatus 100 may include a plurality of antennas 101. The RFIC 102 is a circuit that converts baseband signals and RF signals. The CPU 103 is a processor that performs various kinds of calculation. The CPU 103 may be a processor including a plurality of operation units. Namely, the CPU 103 may be a multiprocessor or a multi-core processor.
(68) The ROM 104 is a memory that holds programs used for operations performed by the CPU 103. The RAM 105 is a memory that temporarily holds various kinds of data such as data that the CPU 103 uses while performing an operation and data temporarily generated during an operation.
(69) The interface 106 is an interface for connecting a detachable recording medium 108 to the radio analysis apparatus 100. Examples of the recording medium 108 include a semiconductor memory, a magnetic disk, and an optical disc. The display 107 is a display device such as a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display panel (PDP), or an electro-luminescence display (ELD).
(70) [2-3. Functions]
(71) The radio analysis apparatus 100 includes functions illustrated in a block diagram in
(72) As illustrated in
(73) Functions of the storage unit 111 may be realized by using the above RAM 105, for example. Functions of the reception unit 112 and the phase shift detection unit 113 may be realized by using the above RFIC 102, for example. Functions of the bit sequence restoration unit 114 and the modulation index calculation unit 115 may be realized by using the above CPU 103, for example.
(74) The storage unit 111 holds a correction value table 111a. As illustrated in
(75) The correction value table 111a holds eight 3-bit bit patterns of 111, 110, 011, 010, 000, 001, 100, and 101. In the correction value table 111a, a correction value is associated with each of these eight bit patterns.
(76) Whether the bit pattern is 110 or 011, the phase shift amount is the same, as is clear from the trellis diagram (see
(77) The reception unit 112 receives an RF signal and inputs the received RF signal to the phase shift detection unit 113. For convenience of description, the following example will assume that the reception unit 112 receives an RF signal from the communication apparatus 55 that transmits data based on Bluetooth using GFSK. The phase shift detection unit 113 detects the phase shift amount of the RF signal in an individual symbol period. Hereinafter, the phase shift amount detected in a period T.sub.n (n=0, 1, 2, . . . ) will be expressed as X.sub.n, and a group of phase shift amounts {X.sub.1, X.sub.2, . . . } will be expressed as a phase shift amount X (X=(X.sub.1, X.sub.2, . . . )) by using a vector X, as needed.
(78) The phase shift amount X is inputted to the bit sequence restoration unit 114. The bit sequence restoration unit 114 restores the bit sequence of the baseband signal on the basis of the phase shift amount X. For example, when the sign of a phase shift amount X.sub.n (n=0, 1, 2, . . . ) is positive, the bit sequence restoration unit 114 determines that the corresponding bit value is 1. In addition, when the sign of a phase shift amount X.sub.n is negative, the bit sequence restoration unit 114 determines that the corresponding bit value is 0. The bit sequence restoration unit 114 outputs a determined group of bit values as a restored bit sequence. The bit sequence outputted by the bit sequence restoration unit 114 is inputted to the modulation index calculation unit 115.
(79) The modulation index calculation unit 115 calculates the phase shift amount reference value X.sub.mod (X.sub.mod is a scalar quantity) that is used to calculate the modulation index, by using the phase shift amount X detected by the phase shift detection unit 113 and the bit sequence restored by the bit sequence restoration unit 114. Next, the modulation index calculation unit 115 calculates the modulation index by using the phase shift amount reference value X.sub.mod.
(80) Hereinafter, calculation processing of the modulation index calculation unit 115 will be described in more detail with reference to the example in
(81) The modulation index calculation unit 115 extracts a 3-bit bit pattern that begins with the first bit of the above bit sequence (the first bit is the reference bit in this case). In this example, a bit pattern 000 is extracted. The modulation index calculation unit 115 refers to the correction value table 111a (see
(82) Next, the modulation index calculation unit 115 extracts a 3-bit bit pattern that begins with the second bit of the bit sequence (the second bit is the reference bit in this case). In this example, a bit pattern 001 is extracted. The modulation index calculation unit 115 refers to the correction value table 111a (see
(83) Likewise, the modulation index calculation unit 115 extracts other bit patterns while moving the reference bit one bit by one bit and selects correction values corresponding to the extracted bit patterns from the correction value table 111a. Next, the modulation index calculation unit 115 sets the selected correction values as the correction values for the phase shift amounts corresponding to the center bits of the bit patterns, respectively. Hereinafter, the correction values corresponding to the respective phase shift amounts X.sub.n (n=1, 2, . . . ) will be expressed as W.sub.n, and a group of correction values {W.sub.1, W.sub.2, . . . } will be expressed as a correction value W by using a vector W (W=W.sub.2, . . . )), as needed.
(84) The modulation index calculation unit 115 calculates the phase shift amount reference value X.sub.mod by using the phase shift amount X and the correction value W. For example, the modulation index calculation unit 115 calculates the phase shift amount reference value X.sub.mod on the basis of the following expression (2). Namely, the modulation index calculation unit 115 calculates a sum of products of a phase shift amount X.sub.n (n=1, 2 . . . ) and a correction value W.sub.n and divides the sum of products by a sum of squares of the correction value W.sub.n (corresponding to processing of an optimum filter). The sum of products obtained after the division will be set as the phase shift amount reference value X.sub.mod.
(85)
(86) The modulation index calculation unit 115 calculates a product of the phase shift amount reference value X.sub.mod (a positive value) and a known symbol period (the reciprocal of the symbol rate) and outputs the product as the modulation index. When the sampling timing of the phase shift amount X.sub.n is equal to the symbol rate and when the phase shift amount reference value is the phase shift amount maximum value, the modulation index is expressed by X.sub.mod/. In this case, the modulation index calculation unit 115 outputs X.sub.mod/ as the modulation index. The modulation index is outputted to the display 107 or the like, for example.
(87) Hereinafter, the calculation of the reference value X.sub.mod will be described in more detail.
(88) The phase shift amount X is expressed as illustrated by the following expression (3) by using the correction value W and the reference value X.sub.mod. A signal Sig received by the radio analysis apparatus 100 is expressed as illustrated by the following expression (4) by using a noise . When the signal-to-noise (SN) ratio is most suitable and when the bit sequence is accurately restored, since the noise is negligible, the reference value X.sub.mod is obtained by calculating an inner product of W and Sig (see the following expression (5)). Namely, the relational expression expressed by the above expression (2) is obtained.
X=X.sub.modW(3)
Sig=X.sub.modW+(4)
W.Math.Sig/W.sup.2=X.sub.mod+W.Math./W.sup.2(5)
(89) (Functions of Communication Apparatuses)
(90) Next, functions of the communication apparatus 55 will be described with reference to
(91) As illustrated in
(92) The radio analysis apparatus 100 receives the RF signal transmitted by the communication apparatus 55 and estimates the modulation index used by the communication apparatus 55 on the basis of the received RF signal. As described above, the radio analysis apparatus 100 corrects phase shift amounts of the RF signal and estimates the modulation index on the basis of the corrected phase shift amounts. Thus, even when the radio analysis apparatus 100 receives an RF signal transmitted by a communication apparatus such as the communication apparatus 55 that limits the band of a baseband signal, the radio analysis apparatus 100 is able to accurately estimate the modulation index.
(93) (Method of Generating Correction Value Table)
(94) Next, a method of generating the correction value table 111a will be described with reference to
(95) The correction values stored in the correction value table 111a are determined on the basis of the filter bandwidth parameter a, as illustrated in
(96) Generally, when a tap coefficient of a filter (impulse response of a discrete filter) is expressed as h(t) and when a baseband signal q(t) is at the level of +1 or 1, the baseband signal y(t) having passed through the filter is expressed by the following expression (6). Herein, when the length of a single symbol is T, a phase shift amount p(i) from (i1)T to iT of an FSK signal (corresponding to the above RF signal) modulated on the basis of FSK is expressed by the following expression (7). In expression (7), z(i) is expressed by the following expression (8), and g(a) is expressed by the following expression (9). In addition, A is a scalar quantity.
(97)
(98) From the above expression (7), a correction value r(i) is expressed by the following expression (10). The phase shift amount reference value X.sub.mod is expressed by the following expression (11). In addition, g(a) is defined on the basis of setting of the filter used to limit the band of the baseband signal. In addition, g(a) represents the magnitude of the impact of a bit value corresponding to a symbol away from a target symbol by distance a on the phase shift amount p(i) of the target symbol. When a Gaussian filter whose normalized half-value width (3 dB bandwidth symbol time product) is 0.5, g(a)=g(a) and g(a)|.sub.a2<<1. In addition, is expressed by the following expression (12).
(99)
(100) As illustrated in
(101) The relationship between the distance a to a bit value that affects the phase shift amount corresponding to the target symbol (inter-bit distance) and the magnitude of the impact (g(a)/g(0)) is illustrated in
(102) When BW.sub.f is small and when a bit value two bits away from the target bit affects the phase shift amount corresponding to the target symbol, the length of the bit pattern may be extended from three bits to five bits. In this case, by using the correction values corresponding to the respective bit patterns, correction in view of the above impact is performed. In addition, in this case, 5-bit bit patterns and correction values corresponding to the respective 5-bit bit patterns are stored in the correction value table 111a. In addition, by using the correction values stored in the correction value table 111a, the phase shift amount reference value X.sub.mod is calculated on the basis of the above expression (2).
(103) (Simulation)
(104) Next, results of simulations will be described with reference to
(105)
(106) When the second embodiment and the comparative example are compared with each other under the above conditions, as illustrated in
(107) (First Variation: Correction of Deviation)
(108) Next, a first variation of the second embodiment will be described with reference to
(109) As described above, when estimating a modulation index, the radio analysis apparatus 100 uses a bit sequence restored by demodulating a received RF signal. Thus, the accuracy of the restoration of the bit sequence affects the accuracy of the estimation of the modulation index.
(110) It is ideal to have the frequency of a radio wave specified as a radio wave used for radio communication and the frequency of a radio wave actually outputted by a communication apparatus matched perfectly. However, since it is technically difficult to perfectly match the two frequencies at all times, a certain degree of deviation (frequency deviation) is allowed in radio standards. Thus, deviation is caused between the frequencies actually used by a transmitter and a receiver, respectively, and this deviation could deteriorate the accuracy of the restoration of the bit sequence.
(111)
(112) For example, to distinguish Bluetooth from BLE, the region in which the modulation index is 0.35 or less (Bluetooth) needs to be distinguished from the region in which the modulation index is 0.45 or more (BLE). When the threshold used to make this distinction is set to 0.4, error determinations are made in the region in which the modulation index is 0.4 or more.
(113) In the example in
(114) The radio analysis apparatus 100 according to the first variation acquires a value of frequency deviation from a known signal (for example, PREAMBLE in
(115) With the above correction, since the bit sequence restoration unit 114 restores the bit sequence more accurately, and the modulation index calculation unit 115 selects a more correct correction value W, the phase shift amount reference value X.sub.mod is accurately calculated. As a result, the accuracy of the estimation of the modulation index is further improved.
(116) (Second Variation: Determination of Incoming Wave)
(117) Next, a second variation of the second embodiment will be described with reference to
(118) The above description has been made on processing performed when the radio analysis apparatus 100 receives an RF signal (an FSK signal) generated on the basis of FSK. However, in practice, there are cases in which the radio analysis apparatus 100 receives an RF signal (a noise signal) generated on the basis of a different modulation method. In addition, when a modulation index is calculated from a noise signal by applying the technique according to the second embodiment, the modulation index could fall within the modulation index range used by a certain radio standard.
(119)
(120) Thus, the radio analysis apparatus 100 according to the second variation excludes a noise signal by using a cross-correlation value between an FSK signal (a reproduced signal) reproduced on the basis of an estimated modulation index and an actually received signal. As illustrated in
(121) By using FSK as the modulation method and on the basis of the modulation index calculated by the modulation index calculation unit 115, the correlation calculation unit 117 modulates the bit sequence restored by the bit sequence restoration unit 114 and generates an RF signal (a reproduced signal). For example, the correlation calculation unit 117 selects a correction value W.sub.n (n=1, 2, . . . ) from the correction value table 111a on the basis of a bit pattern of the restored bit sequence and generates a reproduced signal exp[jX.sub.modW.sub.n] (j is an imaginary unit) by using the calculated modulation index (reference value) X.sub.mod.
(122) The correlation calculation unit 117 calculates a cross-correlation value between the RF signal received by the reception unit 112 and the reproduced signal generated. As is clear from the probability density distribution of the cross-correlation value illustrated in
(123) When the cross-correlation value calculated by the correlation calculation unit 117 is less than a threshold (for example, 0.8), the incoming wave determination unit 118 determines that the incoming wave (the received RF signal) is a noise signal. In contrast, when the cross-correlation value is equal to or more than the threshold, the incoming wave determination unit 118 determines that the incoming wave is an FSK signal. When the incoming wave is determined to be a noise signal, the modulation index calculated by the modulation index calculation unit 115 is not outputted. In this way, by excluding a noise signal, the radio standard is determined accurately.
(124) (Others: Bit Length Used for Estimation)
(125) When a longer bit sequence is used to estimate a modulation index, better estimation accuracy is obtained. When a modulation index is estimated on the basis of phase shift amounts extracted from portions corresponding to particular bit patterns in an RF signal, as the probability that such a particular bit pattern appears in one packet is low and the length of the bit sequence used for the estimation is shortened, it may be difficult to obtain sufficient estimation accuracy. In contrast, when estimating a modulation index, the above radio analysis apparatus 100 is able to use all the bit sequences indicated by a baseband signal, regardless of the bit pattern. Namely, the radio analysis apparatus 100 is able to estimate a modulation index more accurately.
(126) However, if the length of the bit sequence used to estimate a modulation index is too long, the load on the estimation processing is also increased. Thus, in view of the load status of the radio analysis apparatus 100 or the like, the length of the bit sequence used to estimate a modulation index may be set to an upper limit value or less. For example, the shortest packet length defined by a radio standard or the packet length obtained from header information may be used as the upper limit value. For example, 68 bits, which is the shortest packet length of Bluetooth, or 80 bits, which is the shortest packet length of BLE, may be used as the upper limit value.
(127) As described above, various kinds of variations or bit length settings may be applied to the radio analysis apparatus 100. It is needless to say that these variations and settings fall within the technical range of the second embodiment. In addition, the above first and second variations may be combined with each other. For example, the radio analysis apparatus 100 may include all the deviation correction unit 116, the correlation calculation unit 117, and the incoming wave determination unit 118. Such a combination of variations also falls within the technical range of the second embodiment.
(128) [2-4. Flow of Processing]
(129) Next, a flow of processing performed by the radio analysis apparatus 100 will be described with reference to
(130) (S101) The phase shift detection unit 113 detects phase shift amounts from an RF signal (a received signal) received by the reception unit 112. In addition, the bit sequence restoration unit 114 demodulates the baseband signal from the received signal by using the phase shift amounts detected by the phase shift detection unit 113 and restores the original bit sequence. For example, the bit sequence restoration unit 114 restores the original bit sequence on the basis of the plus and minus signs of the phase shift amounts.
(131) The following description assumes that the length (sample length) of the restored bit sequence is (N+1) bits. In addition, the phase shift amount detected at the n-th sampling timing will be expressed as X.sub.n (n=0, 1, . . . , N). In addition, the phase shift amount reference value used to calculate the modulation index will be expressed as X.sub.mod.
(132) (S102, S104) The modulation index calculation unit 115 repeats step S103 while changing n from 1 to N1.
(133) (S103) The modulation index calculation unit 115 selects the (n1)th bit value, the n-th bit value, and the (n+1)th bit value from the bit sequence restored by the bit sequence restoration unit 114. Next, the modulation index calculation unit 115 extracts a correction value W.sub.n corresponding to the selected group (bit pattern) of bit values from the correction value table 111a.
(134) (S105) The modulation index calculation unit 115 calculates the phase shift amount reference value X.sub.mod on the basis of the phase shift amounts X.sub.n of the received signal and the correction values W.sub.n (n=1, . . . , N1). For example, when a vector X=(X.sub.1, X.sub.2, . . . , X.sub.N-1) and a vector W=(W.sub.1, W.sub.2, . . . , W.sub.N-1) are used, the phase shift amount reference value X.sub.mod is expressed by the aforementioned expression (2). Namely, the modulation index calculation unit 115 calculates the phase shift amount reference value X.sub.mod on the basis of the above expression (2).
(135) (S106, S107) The modulation index calculation unit 115 calculates the modulation index by using the phase shift amount reference value X.sub.mod calculated in S105. When the sampling timing of the individual phase shift amount X.sub.n is equal to the symbol rate and when the phase shift amount reference value is the maximum value of the phase shift amount, the modulation index is expressed as X.sub.mod/. Thus, the modulation index calculation unit 115 outputs X.sub.mod/ as the modulation index. The modulation index is outputted to the display 107, for example.
(136) (S108) The modulation index calculation unit 115 determines whether to end the estimation of the modulation index. If the modulation index calculation unit 115 ends the estimation of the modulation index, the processing proceeds to END in
(137) (Variation: Correction of Deviation and Determination of Incoming Wave)
(138) When variations such as the above correction of the frequency deviation (first variation) or the above determination of the incoming wave (second variation) are applied, the flow of processing about the estimation of a modulation index is changed as illustrated in
(139) (S111, S112) The deviation correction unit 116 detects correlation of known signals (preambles). For example, the deviation correction unit 116 generates a known signal with the frequency used for the demodulation and acquires a value of frequency deviation from the correlation between the generated known signal and the received known signal. Next, the deviation correction unit 116 corrects the frequency used for the demodulation by using the acquired value.
(140) (S113) The phase shift detection unit 113 detects phase shift amounts from the RF signal (the received signal) received by the reception unit 112. In addition, the bit sequence restoration unit 114 demodulates the baseband signal from the received signal by using the phase shift amounts detected by the phase shift detection unit 113 and restores the original bit sequence. For example, the bit sequence restoration unit 114 restores the original bit sequence on the basis of the plus and minus signs of the phase shift amounts.
(141) (S114, S115) The modulation index calculation unit 115 determines the estimation sample length from header information included in the received signal. The modulation index calculation unit 115 may use the shortest packet length defined by a radio standard as the sample length. For example, 68 bits, which is the shortest packet length of Bluetooth, or 80 bits, which is the shortest packet length of BLE, may be used as the sample length. Next, the modulation index calculation unit 115 performs processing indicated by a reference character Q in
(142) (S116, S117) By using FSK as the modulation method and on the basis of the modulation index calculated by the modulation index calculation unit 115, the correlation calculation unit 117 modulates the bit sequence restored by the bit sequence restoration unit 114 and generates an RF signal (reproduced signal).
(143) For example, the correlation calculation unit 117 selects a correction value W.sub.n (n=1, 2, . . . ) from the correction value table 111a on the basis of a bit pattern of the restored bit sequence and generates a reproduced signal exp[jX.sub.modW.sub.n] (j is an imaginary unit) by using the calculated modulation index (reference value) X.sub.mod.
(144) Next, the correlation calculation unit 117 calculates a cross-correlation value between the received signal and the reproduced signal.
(145) (S118) The incoming wave determination unit 118 determines whether the cross-correlation value calculated by the correlation calculation unit 117 is larger than a threshold (for example, 0.8). The threshold is set in advance. When the cross-correlation value is larger than the threshold, the processing proceeds to S119. Otherwise, the processing proceeds to S120.
(146) (S119) The modulation index calculation unit 115 outputs the calculated modulation index to the display 107 or the like.
(147) (S120) The modulation index calculation unit 115 determines whether to end the estimation of the modulation index. When the modulation index calculation unit 115 ends the estimation of the modulation index, the processing proceeds to END in
(148) (Application)
(149) The technique according to the second embodiment is suitably applicable to a specification in which the modulation method changes during processing, such as to a specification used for an enhanced data rate (EDR) packet (see
(150) In the case of an EDR packet, ACCESS CODE and HEADER are modulated on the basis of GFSK. However, after GUARD, which is the modulation method switch time, SYNC and the subsequent areas are modulated on the basis of DPSK. Namely, the period that may be used to estimate the modulation index (the period in which the modulation on the basis of GFSK is performed) is short. However, by applying the technique according to the second embodiment, all the bit sequences in the short period are used to estimate the modulation index. Thus, the modulation index is estimated with allowable estimation accuracy.
(151) For convenience of description, the above description has been made by using Bluetooth and BLE as examples. However, the technique according to the second embodiment is also applicable to, for example, ANT and ANT+, which are near-field communication protocols of an ultra-low power consumption type.
(152) The second embodiment has thus been described.
(153) According to one aspect of the embodiments and the variations discussed above, the proposed techniques improve the accuracy of estimation of a modulation index.
(154) All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.