Method for measuring modulation characteristic deltaF2Max of Bluetooth signal

Through analog-to-digital converter sampling, differential decoder differential calculation and sampling decision in bit synchronization point sampling, the problem of excessive resource consumption in the measurement of Bluetooth signal modulation characteristics ΔF2Max is solved, and a high-precision and low resource consumption measurement method is realized. Suitable for FPGA/ASIC hardware.

CN118890109APending Publication Date: 2024-11-01SHENTAI INTELLIGENT TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410835508.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing method of measuring Bluetooth signal modulation characteristics ΔF2Max has the problem of excessive consumption of storage resources and logic resources in the FPGA/ASIC implementation, and requires calculation of the center frequency and maximum positive and negative offset, which increases the calculation amount and resource consumption.

Method used

Through analog-to-digital converter sampling, differential decoder differential calculation, frequency discriminator output frequency modulation and demodulation signal and sampling decision in-bit synchronization point sampling, avoid calculating the center frequency, adopt differential calculation, simplify the calculation process, and improve the bit synchronization module Calculation accuracy.

Benefits of technology

It reduces the consumption of storage and logical resources, simplifies the computing process, improves the testing accuracy, and is suitable for FPGA/ASIC hardware implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890109A_ABST
    Figure CN118890109A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of measurement of a Bluetooth signal modulation characteristic delta F2Max, in particular to a method for measuring the Bluetooth signal modulation characteristic delta F2Max, which comprises the following steps: sampling by an analog-to-digital converter, carrying out differential calculation by a differential decoder, outputting a frequency modulation demodulation signal by a frequency discriminator, sampling at an in-place synchronization point by a sampling decision device, and processing a Bluetooth radio frequency signal by a frequency mixer in a down converter, a radio frequency signal and a signal generated by a local oscillator are subjected to frequency mixing to obtain an intermediate frequency signal, an analog signal is converted into a digital signal through an analog-to-digital converter to obtain an IQ sampling signal, the IQ sampling signal is subjected to differential calculation through a differential decoder and output to a digital frequency discriminator, a frequency modulation demodulation signal is generated through the digital frequency discriminator to obtain a delta F2Max measurement value, and the delta F2Max measurement value is converted into a delta F2Max measurement value. According to the method, the center frequency f2ccf does not need to be calculated, an accumulator is not needed, the calculation amount is small, and consumed resources are few.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of measuring Bluetooth signal modulation characteristics ΔF2Max, and in particular relates to a method for measuring Bluetooth signal modulation characteristics ΔF2Max. Background Art

[0002] The Bluetooth physical layer protocol defines four Bluetooth signal formats

[0003] (1) Basic Rate (BR)

[0004] (2) Extended Data Rate (EDR)

[0005] (3) Low Energy (LE)

[0006] (4)Coded Low Energy

[0007] Except for the EDR signal format, the other three Bluetooth signals are all based on the GFSK modulation method. For the GFSK modulation method, the Bluetooth physical layer protocol specifies the modulation characteristic requirements of the GFSK signal.

[0008] For example, for BR signals, the protocol requires:

[0009] 1.fd cannot be less than 115kHz.

[0010] 2. The fd when transmitting the sequence "010101" cannot be less than 80% of the fd when transmitting "00001111".

[0011] 3. The existing Bluetooth physical layer test requirements require the measurement of fd when transmitting two sequences. The fd when transmitting "01010101" is named ΔF2Max, and the fd when transmitting 00001111 is named DF1Max.

[0012] The RFPHY.TS protocol document defines the signal modulation performance ΔF2Max test requirements and test method steps (see steps 10 and 11 of the test requirement RFPHY / TRM / BV-05-C): ....

[0014] 10. Each individual bit is oversampled at least 32 times. Sequence center frequency: f2ccf is calculated as the average frequency of all samples on each 10101010 sequence.

[0015] 11. The maximum deviation from the center frequency of the sequence, f2ccf, is recorded as Δf2max.

[0016] 12. Calculate the average frequency value of all Δf2 maximum frequencies in the package and record it as Δf2avg. ....

[0018] The existing method for measuring the modulation characteristic ΔF2Max of Bluetooth signals still has certain shortcomings. This method is not suitable for implementation in FPGA / ASIC. First of all, this method needs to calculate the center frequency f2ccf of each sequence, which means that it is necessary to wait until all eight bits of 01010101 are received before calculating ΔF2Max. This is not suitable for the pipeline working mode in FPGA / ASIC and increases the demand for storage resources; calculating f2ccf requires accumulating all sampling points of 8 bits. The protocol stipulates that one bit requires at least 32 sampling points, so 8 bits have a total of 256 sampling points, so this requires a large bit width adder, which further consumes logic resources; the protocol needs to calculate the maximum positive offset and maximum negative offset of each bit, which increases the amount of calculation and logic resource consumption. Summary of the invention

[0019] The purpose of the present invention is to provide a method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal, so as to solve the existing problems: the problem of increased storage resource requirements due to the need to calculate the center frequency f2ccf of each sequence; the problem of increased logic resource consumption due to the need for a large bit width adder due to the increase in sampling points; the problem of increased calculation amount and logic resource consumption due to the need to calculate the maximum positive offset and the maximum negative offset of each bit.

[0020] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0021] The present invention provides a method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal, including sampling by an analog-to-digital converter, differential calculation by a differential decoder, output of a frequency modulation demodulated signal by a frequency detector, and sampling by a sampling decision device at a bit synchronization point. The analog-to-digital converter sampling includes the following processes:

[0022] a. The received Bluetooth RF signal is mixed with the signal generated by the local oscillator by the mixer in the down converter to obtain an intermediate frequency signal;

[0023] b. Then the intermediate frequency signal is converted into a digital signal through an analog-to-digital converter to obtain an IQ sampling signal.

[0024] Furthermore, the differential decoder differential calculation includes the following process:

[0025] a. The obtained IQ sampled signal is subjected to differential calculation by a differential decoder, where the first sample value is first used as a reference value, and then subsequent sample values ​​are compared with the reference value to calculate the difference between them;

[0026] b. Compare the differences between adjacent signals to encode the signal;

[0027] c. Output the obtained signal to the frequency discriminator;

[0028] d. The operation rules of differential calculation are as follows:

[0029] x k =w k w k-1 +z k z k-1

[0030] y k =z k w k-1 -w k z k-1

[0031] Furthermore, the frequency discriminator outputs a frequency modulation demodulation signal including the following process:

[0032] The digital frequency detector demodulates the input IQ signal into a frequency signal and outputs it to the bit synchronization and sampling decision module. Taking the slope detection method as an example: the IQ signal passes through a differentiator and an envelope detector to generate frequency information. The frequency information is output to the sampling decision module.

[0033] Further, the sampling decision device sampling at the bit synchronization point includes the following process:

[0034] a. Before the signal enters the sampling decision device, it is first synchronized by the bit synchronization module;

[0035] b. Then, the ΔF2Max measurement value is obtained by sampling at the bit synchronization point through the sampling decision device;

[0036] c. The sampling decision device will extract the signal to obtain some representative discrete values, and finally these discrete values ​​will be measured.

[0037] Furthermore, the implementation of the bit synchronization includes a direct method and a pilot insertion method, and the direct method is divided into a filtering method and a phase-locked method.

[0038] Furthermore, the bit synchronization module usually generates a bit synchronization signal using a sync word specified in the Bluetooth protocol, and the generated bit synchronization signal is then sent by the transmitter to the sampling decision device.

[0039] The present invention has the following beneficial effects:

[0040] 1. The present invention does not need to calculate the center frequency f2ccf, and does not need to perform the Df2 calculation, so it will not lead to an increase in storage resource requirements. In addition, the entire calculation process only involves the differential calculation, and the amount of calculation is small. There is no need to set a large-bit-width adder, and no logic resources are consumed. Compared with other methods, it is more resource-saving and the process is relatively simple.

[0041] 2. The present invention does not need to calculate the positive and negative offsets separately, and the amount of calculation is small. During the calculation process, a bit synchronization module is used to perform bit synchronization operations on the signal. The bit synchronization operation can enable each code element to obtain the best demodulation and judgment, thereby ensuring the accuracy of the calculation results and high test accuracy. In addition, the algorithm structure of the present invention is suitable for FPGA / ASIC hardware implementation.

[0042] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of a block diagram of a Bluetooth test system of the present invention;

[0044] Figure 2 It is a schematic diagram of calculating ΔF2Max based on a differential decoder of the present invention;

[0045] Figure 3 It is a schematic diagram of the ΔF2Max measurement principle of the present invention;

[0046] Figure 4 It is a schematic diagram of the protocol requirements in the BR signal of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] The present invention provides a method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal, including sampling by an analog-to-digital converter, differential calculation by a differential decoder, output of a frequency modulation demodulated signal by a frequency detector, and sampling by a sampling decision device at a bit synchronization point. The sampling by the analog-to-digital converter includes the following processes:

[0049] a. The received Bluetooth RF signal is mixed with the signal generated by the local oscillator by the mixer in the down converter to obtain an intermediate frequency signal;

[0050] b. Then the intermediate frequency signal is converted into a digital signal through an analog-to-digital converter to obtain an IQ sampling signal.

[0051] The differential decoder differential calculation includes the following processes:

[0052] a. The obtained IQ sampled signal is differentially calculated by the differential decoder, firstly the first sample value is used as the reference value, and then the subsequent sample values ​​are differentially calculated with the reference value;

[0053] b. Compare the differences between adjacent signals to encode the signal;

[0054] c. Output the obtained signal to the frequency discriminator;

[0055] d. The operation rules of differential calculation are as follows:

[0056] x k =w k w k-1 +z k z k-1

[0057] y k =z k w k-1 -w k z k-1

[0058] The frequency discriminator outputs the FM demodulated signal including the following processes:

[0059] The digital frequency detector demodulates the input IQ signal into a frequency signal and outputs it to the bit synchronization and sampling decision module. Taking the slope detection method as an example: the IQ signal passes through a differentiator and an envelope detector to generate frequency information. The frequency information is output to the sampling decision module.

[0060] The sampling decision device samples at the bit synchronization point including the following process:

[0061] a. Before the signal enters the sampling decision device, it is first synchronized by the bit synchronization module;

[0062] b. Then, the ΔF2Max measurement value is obtained by sampling at the bit synchronization point through the sampling decision device;

[0063] c. The sampling decision device will extract the signal to obtain some representative discrete values, and finally these discrete values ​​will be measured.

[0064] A mixer is a circuit whose output signal frequency is equal to the sum, difference or other combination of the two input signal frequencies. A mixer is usually composed of nonlinear elements and a frequency selection circuit.

[0065] The implementation of bit synchronization includes direct method and pilot insertion method. The direct method is divided into filtering method and phase-locked method.

[0066] The bit synchronization module usually generates a bit synchronization signal using a sync word specified in the Bluetooth protocol, and the generated bit synchronization signal is then sent by the transmitter to the sampling decision device.

[0067] A specific application of this embodiment is: MCU is a microprocessor unit, which is responsible for system parameter configuration and measurement result output. The MCU contains a down converter, which can control the RF signal to perform down conversion. The RF signal passes through the mixer in the down converter, and mixes the RF signal and the signal generated by the local clock signal to obtain an intermediate frequency signal. After the down conversion process is completed, the ADC sampling module converts the intermediate frequency signal obtained into a digital signal through the analog-to-digital converter to obtain an IQ sampling signal. The intermediate frequency IQ sampling enters the ΔF2Max calculation module and the Bluetooth test index calculation module. The ΔF2Max calculation module includes a differential decoder, a discriminator and a sampling decision device. First, the IQ sampling signal is differentially calculated by the differential decoder, and the obtained signal is output to the discriminator. The discriminator performs frequency modulation demodulation on the IQ sampling signal and outputs the frequency signal to the sampling decision device. Before the signal enters the sampling decision device, the signal is first bit synchronized by the bit synchronization module, and then the ΔF2Max measurement value is obtained by sampling at the bit synchronization point through the sampling decision device. Finally, the calculation result obtained by the Bluetooth test index calculation module is output to the MCU through the interface module.

[0068] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0069] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal, comprising sampling by an analog-to-digital converter, differential calculation by a differential decoder, output of a frequency modulation demodulated signal by a frequency detector, and sampling at a bit synchronization point by a sampling decision device, characterized in that: The analog-to-digital converter sampling includes the following processes: a. The received Bluetooth RF signal is mixed with the signal generated by the local oscillator through the mixer in the down converter to obtain an intermediate frequency signal; b. Then the intermediate frequency signal is converted into a digital signal through an analog-to-digital converter to obtain an IQ sampling signal.

2. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 1, characterized in that: The differential decoder differential calculation includes the following process: a. The obtained IQ sampled signal is subjected to differential calculation by a differential decoder, where the first sample value is first used as a reference value, and then subsequent sample values ​​are compared with the reference value to calculate the difference between them; b. Compare the differences between adjacent signals to encode the signal; c. Output the obtained signal to the frequency discriminator; d. The operation rules of differential calculation are as follows: x k =w k w k-1 +z k z k-1 and k =from k In k-1 -In k With k-1 3. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 1, characterized in that: The frequency discriminator outputs a frequency modulation demodulation signal including the following process: The digital frequency detector demodulates the input IQ signal into a frequency signal and outputs it to the bit synchronization and sampling decision module. Taking the slope detection method as an example: the IQ signal passes through a differentiator and an envelope detector to generate frequency information. The frequency information is output to the sampling decision module.

4. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 1, characterized in that: The sampling decision device includes the following process in sampling at the bit synchronization point: a. Before the signal enters the sampling decision device, it is first synchronized by the bit synchronization module; b. Then, the ΔF2Max measurement value is obtained by sampling at the bit synchronization point through the sampling decision device; c. The sampling decision device will extract the signal to obtain some representative discrete values, and finally these discrete values ​​will be measured.

5. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 1, characterized in that: The mixer is a circuit whose output signal frequency is equal to the sum, difference or other combination of the frequencies of two input signals. The mixer is usually composed of nonlinear elements and a frequency selection circuit.

6. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 1, characterized in that: The local oscillator is a device that can generate a local sinusoidal wave signal, and it works together with the mixer to achieve spectrum shifting of the radio frequency signal.

7. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 4, characterized in that: The implementation of the bit synchronization includes a direct method and a pilot insertion method, and the direct method is divided into a filtering method and a phase-locked method.

8. The method for measuring the modulation characteristic ΔF2Max of a Bluetooth signal according to claim 4, characterized in that: The bit synchronization module usually generates a bit synchronization signal using a sync word specified in the Bluetooth protocol, and the generated bit synchronization signal is then sent by the transmitter to the sampling decision device.