A high-precision multi-channel data synchronization transmission method of a Bluetooth wireless oscilloscope

By employing a collaborative design of PTP clock synchronization, dynamic delay detection, and temperature compensation, combined with Bluetooth 5.2 EDR mode and adaptive frequency hopping technology, the synchronization error and delay issues in multi-channel synchronous acquisition and transmission of Bluetooth wireless oscilloscopes are resolved. This achieves a high-precision, low-latency, and long-battery-life measurement solution suitable for high-precision multi-channel measurements in industrial, automotive, and medical fields.

CN122340595APending Publication Date: 2026-07-03ZHENGZHOU JIACHEN ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHENGZHOU JIACHEN ELECTRIC CO LTD
Filing Date
2026-03-31
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing Bluetooth wireless oscilloscopes suffer from high synchronization errors, long transmission delays, weak anti-interference capabilities, and power consumption in multi-channel synchronous acquisition and transmission scenarios, making it difficult to meet the measurement requirements in high-precision and complex environments.

Method used

The master-slave clock synchronization is achieved using the PTP protocol based on IEEE 1588v2, dynamic time compensation values ​​are detected and calculated, data compression is performed by combining multi-scale decomposition and entropy coding, Bluetooth 5.2 EDR mode and adaptive frequency hopping technology are used for transmission, and a fault tolerance mechanism is configured to achieve high-precision synchronization, low-latency transmission and long battery life.

Benefits of technology

It achieves multi-channel synchronization error control at the microsecond level, reduces transmission delay to less than 10ms, improves anti-interference capability, and extends equipment battery life to more than 8 hours, ensuring the reliability and continuity of the measurement system. It is suitable for high-precision multi-channel measurement in multiple fields such as industry, automotive, and medical.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122340595A_ABST
    Figure CN122340595A_ABST
Patent Text Reader

Abstract

The application discloses a high-precision multi-channel data synchronous transmission method of a Bluetooth wireless oscilloscope, and belongs to the technical field of electronic measuring instruments. The method comprises the following steps: S1: based on a precise time protocol, performing master-slave clock synchronization between an acquisition device and a plurality of acquisition channels, and establishing a unified global reference clock; S2: for each signal acquisition channel, detecting an inherent delay, and calculating a dynamic time compensation value of the channel based on the inherent delay and an environmental temperature parameter; S3: according to the global reference clock and the dynamic time compensation values of the channels, controlling all channels to start synchronous sampling, and performing compression and packaging processing on multi-channel data obtained through sampling; and S4: transmitting the data subjected to the packaging processing to a master control terminal through a Bluetooth wireless link, and periodically checking and maintaining the synchronous sampling time sequence of the channels in the transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic measuring instrument technology, and in particular to a high-precision multi-channel data synchronous transmission method for a Bluetooth wireless oscilloscope. Background Technology

[0002] With the rapid development of electronic measurement technology towards wireless, high precision, and multi-channel collaboration, wireless oscilloscopes, with their advantages of flexible deployment and no wiring constraints, have become core tools in scenarios such as industrial automation field testing, automotive electronics R&D and debugging, and outdoor mobile equipment maintenance. Among these, the ability to acquire signals simultaneously across multiple channels is crucial for ensuring the accuracy of signal timing analysis in complex systems—whether it's multi-sensor collaborative monitoring in industrial production lines, multi-signal linkage testing in automotive electronic control systems, or simultaneous acquisition of multiple parameters in medical equipment, all require wireless oscilloscopes to achieve high-precision multi-channel signal alignment and low-latency transmission.

[0003] However, existing Bluetooth wireless oscilloscopes have long been hampered by core technological bottlenecks in multi-channel synchronous acquisition and transmission scenarios, making it difficult to meet practical application requirements. Traditional solutions generally employ a synchronization mechanism of "single clock calibration + fixed delay compensation," which cannot dynamically adapt to the inherent delay differences of each channel, nor can it cope with signal transmission delay drift caused by changes in ambient temperature. This results in multi-channel synchronization errors typically exceeding 10μs, severely impacting the accuracy of signal phase relationships and timing logic analysis. At the transmission level, existing devices mostly rely on Bluetooth 4.2 and earlier versions or Wi-Fi technology, which not only have limited transmission rates but also employ fixed-channel transmission modes, lacking effective anti-interference design. Furthermore, the massive amounts of raw data generated by multi-channel acquisition are not specifically compressed, leading to insufficient transmission bandwidth and persistently high latency (generally ≥50ms), easily causing data packet loss and waveform stuttering issues in real-time high-frequency signal observation scenarios.

[0004] Furthermore, existing technologies present a significant contradiction between anti-interference capabilities and power consumption control: improving anti-interference performance often necessitates increased hardware power consumption, resulting in a typical battery life of less than 2 hours, making it unsuitable for extended outdoor testing. Meanwhile, fault tolerance mechanisms are rigidly designed, often employing fixed retries and lacking timeout protection and flexible configuration capabilities, easily leading to infinite loops or system freezes, further reducing the reliability of the measurement system. These problems are interconnected and mutually restrictive, with the core issue being the insufficient synergistic optimization of multi-channel synchronization accuracy and data transmission stability. This has become a key obstacle limiting the large-scale application of Bluetooth wireless oscilloscopes in high-precision scenarios, urgently requiring the development of integrated solutions through technological innovation. Summary of the Invention

[0005] Therefore, this application is proposed to address the problems and needs existing in the prior art. The purpose of this application is to provide a technical solution based on a multi-channel synchronous acquisition algorithm, addressing the shortcomings of existing wireless oscilloscopes such as low multi-channel synchronization accuracy, high transmission delay, significant contradiction between anti-interference and power consumption, and rigid fault tolerance mechanisms. This solution achieves synergistic optimization of high-precision synchronization, low-latency transmission, intelligent fault tolerance, and long battery life, thus meeting the high-precision multi-channel signal measurement requirements in complex scenarios. This objective is achieved through the following technical solution:

[0006] This application provides a high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, including the following steps:

[0007] S1: Based on a precise time protocol, master-slave clock synchronization is performed between the acquisition device and multiple acquisition channels to establish a unified global reference clock;

[0008] S2: For each signal acquisition channel, detect its inherent delay, and calculate the dynamic time compensation value of the channel based on the inherent delay and the ambient temperature parameter;

[0009] S3: Based on the global reference clock and the dynamic time compensation value of each channel, control all channels to start synchronous sampling, and compress and encapsulate the sampled multi-channel data.

[0010] S4: Transmits the encapsulated data to the main control terminal via Bluetooth wireless link, and periodically verifies and maintains the synchronization sampling timing of each channel during the transmission process.

[0011] In the above-mentioned high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, in step S1, the master-slave clock synchronization is performed using the PTP protocol based on IEEE 1588v2, and the clock deviation is controlled within a first precision range.

[0012] In the above-mentioned high-precision multi-channel data synchronous transmission method of a Bluetooth wireless oscilloscope, in step S2, the inherent delay of each signal acquisition channel is detected, including: sending a known test pulse signal to each channel and recording the time difference from sending to receiving, which is the inherent delay of the channel.

[0013] In the above-mentioned high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, step S2 involves calculating the dynamic time compensation value, specifically including: determining the maximum value among the inherent delays of all channels; and calculating the dynamic time compensation value specific to each channel based on the difference between the inherent delay of each channel and the maximum inherent delay, combined with a compensation factor related to the real-time ambient temperature.

[0014] In the above-mentioned high-precision multi-channel data synchronous transmission method for a Bluetooth wireless oscilloscope, step S3 involves compressing and encapsulating the sampled data, specifically including: performing multi-scale decomposition and entropy encoding on the data to achieve adaptive data compression within a first range; generating a check code for the compressed data; and encapsulating the compressed data and the check code.

[0015] In the above-mentioned high-precision multi-channel data synchronous transmission method for a Bluetooth wireless oscilloscope, in step S4, when transmitting via the Bluetooth wireless link, adaptive frequency hopping technology is used to select the transmission channel; if the transmission bit error rate of the current channel exceeds the second threshold, the system dynamically switches to the backup channel and uses Bluetooth mode that supports enhanced data rate for transmission.

[0016] In the above-mentioned high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, step S4 involves periodically performing verification and maintenance, specifically including: verifying at fixed time intervals whether the actual synchronization error between each channel exceeds a third threshold; if it does not exceed the threshold, maintaining the current state; if it does exceed the threshold, triggering a recalibration process for steps S2 and S3.

[0017] In the above-mentioned high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, the method further includes step S5: when the periodic verification in step S4 confirms that the synchronization error does not exceed the third threshold, the method controls some modules of the Bluetooth wireless oscilloscope to enter a low-power state.

[0018] In the above-mentioned high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope, the recalibration process supports a user-defined upper limit for the number of retries, and a timeout protection is provided for each calibration process; when the number of retries reaches the upper limit or the calibration timeout occurs, sampling is stopped and an alarm is triggered.

[0019] Compared with the prior art, the beneficial effects of the present invention are at least as follows:

[0020] This application discloses a high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope. Through a collaborative design of PTP clock synchronization, dynamic delay detection, and temperature compensation, the multi-channel synchronization error is controlled within microseconds, accurately restoring the timing correlation of multi-channel signals and solving the phase shift problem caused by traditional fixed compensation, significantly improving multi-channel synchronization accuracy. Combined with Bluetooth 5.2 EDR mode, adaptive data compression, and FHSS frequency hopping technology, it achieves low-latency (≤10ms) and high anti-interference wireless transmission, effectively reducing data packet loss and bit error rate in complex environments, and adapting to the real-time observation requirements of high-frequency signals. This method achieves high synchronization accuracy. The dynamic low-power mechanism, triggered by achieving certain standards, extends the continuous operating time of the device to over 8 hours while ensuring high-precision measurement, thus addressing the industry pain point that "high precision inevitably means high power consumption." A fault-tolerant mechanism with configurable retry counts and timeout protection prevents the device from getting stuck in infinite loops or freezing. Combined with periodic synchronous verification, it ensures the continuity of measurement work and the validity of data in complex scenarios, significantly enhancing system reliability. It supports flexible configuration of parameters such as the number of channels, sampling rate, and trigger conditions. Combined with customized anti-interference and low-power designs for different scenarios, it can be widely adapted to the high-precision multi-channel measurement needs of various fields such as industry, automotive, and medical. Attached Figure Description

[0021] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof.

[0022] Figure 1 This is a flowchart of a high-precision multi-channel data synchronization transmission method for a Bluetooth wireless oscilloscope provided in an embodiment of this application. Detailed Implementation

[0023] Hereinafter, exemplary embodiments according to this application will be described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only a part of the embodiments of this application, and this application is not limited to the exemplary embodiments described herein. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this invention.

[0024] Existing wireless oscilloscopes adopt a "master-slave separation" architecture, with the core consisting of two main units: the master device (host end) and the slave device (acquisition end). Wireless communication is achieved through Bluetooth 4.2 or Wi-Fi. The overall design is a simple link of "one-way command issuance + linear signal processing," lacking dynamic coordination and closed-loop feedback mechanisms. The specific module interaction and functional logic are as follows:

[0025] The master device serves as the core control and interaction terminal, primarily undertaking two functions: first, issuing control commands such as trigger acquisition and parameter configuration to slave devices; and second, receiving raw data transmitted back from slave devices and completing waveform display and basic parameter reading. The master and slave devices establish a wireless connection via Bluetooth 4.2 or Wi-Fi; the link only supports basic data transmission and lacks anti-interference optimization design.

[0026] The device acts as the core of signal acquisition, operating in a linear fashion: signal input, conditioning, conversion, processing, and transmission. The external analog signal first enters the signal conditioning circuit, where it is divided and filtered to match the input range of the ADC module. This ADC module is typically an 8-bit or 12-bit low-precision model with a limited sampling rate. The converted digital signal is then fed into the MCU / FPGA basic processing module (which usually uses a low-cost crystal oscillator, but its output clock exhibits significant jitter (e.g., an RMS jitter of 1ps can lead to a 1ns time deviation at a 1GHz sampling rate); simultaneously, PCB routing differences introduce clock offsets between channels, which accumulate into significant timing errors over long periods, affecting the accuracy of signal phase analysis). This module only performs simple format conversion, without data compression or error correction. Subsequently, the Bluetooth 4.2 / Wi-Fi module transmits the raw data back to the master device (e.g., a 100MHz bandwidth signal at 1GSa / s (Sa / s, sampling rate) generates 1GB of data per second, while the theoretical peak bandwidth of Bluetooth 4.2 is only 2Mbps, resulting in severe data transmission lag).

[0027] It is worth noting that the synchronization guarantee of this architecture relies on a fixed delay compensation register, which pre-stores a fixed channel delay difference. This makes it unable to dynamically adapt to environmental interference such as channel differences and temperature changes (for example, when changes in ambient temperature cause PCB material expansion, the physical delay between channels will change slightly, and the fixed compensation value cannot correct this deviation in real time, ultimately leading to misalignment of multi-channel signals on the time axis). Furthermore, the modules are unidirectionally linearly connected without a feedback verification link, resulting in low synchronization accuracy and high transmission delay (using fixed-frequency channel transmission without frequency hopping or spread spectrum anti-interference design; in industrial environments, Wi-Fi band congestion can lead to signal...). Signal interference and retransmissions further increase transmission delays. In industrial workshops, wireless oscilloscopes may experience waveform stuttering or loss due to signal interference. They also have weak anti-interference capabilities (the wireless communication submodule lacks dynamic power control and adaptive modulation mechanisms; when the signal strength weakens, it cannot automatically increase the transmission power or switch to a more robust modulation method, leading to an increase in the bit error rate; and the existing architecture only performs simple CRC checks, lacking forward error correction and automatic retransmission request mechanisms; when sudden interference occurs in the wireless link, undetected erroneous data will directly affect the accuracy of waveform display, leading to measurement misjudgments). These inherent defects make it difficult to meet the requirements of high-precision multi-channel measurement.

[0028] Example 1

[0029] To address the problems existing in current technologies, this application provides a high-precision multi-channel data synchronization transmission method for Bluetooth wireless oscilloscopes. The implementation process is further illustrated below using an industrial production line multi-sensor collaborative monitoring scenario (this scenario requires simultaneous acquisition of four vibration and current signals, with multi-channel synchronization error ≤1μs, transmission delay ≤10ms, and the equipment needing to operate continuously for more than 6 hours) as an example. Figure 1 As shown, the details are as follows:

[0030] Step S1: Based on the precise time protocol, perform master-slave clock synchronization between the acquisition device and multiple acquisition channels to establish a unified global reference clock;

[0031] Among them, the PTP protocol (Precision Time Protocol) based on IEEE 1588v2 is used for master-slave clock synchronization, and the clock deviation is controlled within the first precision range (±0.1μs);

[0032] Specifically, the data acquisition device uses a Cyclone IV FPGA with an integrated Bluetooth 5.2 module as the main control unit, and all four acquisition channels are equipped with ADS1256 high-precision ADC chips. After the device is started, the power management module supplies power to all hardware modules. The FPGA starts a hardware self-test program, sequentially testing the connectivity and basic functions of the signal acquisition module, Bluetooth transmission module, and temperature sensor. If a module fails the self-test, the FPGA directly triggers the hardware indicator light to flash. After all self-tests pass, the device initializes (e.g., setting the ADC sampling rate to 10MSps by default and the Bluetooth module to BLE EDR mode) and establishes a Bluetooth communication link (the Bluetooth 5.2 module starts FHSS (Frequency-Hopping Spread Spectrum) scanning, matches pre-bound Android / iOS / PC terminals, and completes authentication through the Bluetooth pairing protocol; a stable link with a transmission rate ≥2Mbps is established. If the link establishment fails, it automatically retryes 3 times; if it still fails, it sends a "connection error" message to the terminal). After the FPGA establishes a communication link with each channel's ADC chip through the Bluetooth module, it starts a process based on IEEE... The 1588v2 uses the PTP protocol for master-slave clock synchronization: the FPGA acts as the master clock, sending timestamped Sync messages to each channel's ADC (slave clock), and each ADC chip records its local reception time; then, the ADC chip sends Delay_Req messages back to the FPGA, and the FPGA records its reception time; by calculating the difference between the master-slave interaction time and the round-trip time of the messages and taking half of it, the clock deviation of each channel is obtained, and calibration commands are generated and sent to the corresponding ADC chips. Ultimately, the master-slave clock deviation is controlled within ±0.1μs, establishing a unified global reference clock. ;

[0033] After PTP high-precision clock synchronization, the terminal sends parameter configuration instructions to the FPGA to support user parameter configuration. Supported parameters include: 2-8 expandable channels, 1kSps-100MSps sampling rate, ±10V input voltage range, number of synchronization calibration retry times (1-5 times), and trigger conditions (such as rising edge trigger). The FPGA writes the parameters into the configuration register of the corresponding module and sends a "parameter effective" signal back to the terminal after configuration is complete.

[0034] Step S2: For each signal acquisition channel, detect its inherent delay, and calculate the dynamic time compensation value of the channel based on the inherent delay and the ambient temperature parameter;

[0035] The detection of the inherent delay of each signal acquisition channel includes: sending a known test pulse signal to each channel and recording the time difference from sending to receiving, which is the inherent delay of the channel;

[0036] Specifically, the FPGA simultaneously sends 10MHz, 2V standard test pulse signals to four acquisition channels, and records the transmission time of each channel from the moment the pulse is transmitted using a built-in high-precision timer. ) to the ADC chip to receive pulses (reception time) The time difference, this time difference ( - This refers to the inherent delay of each channel. (i represents the channel identifier), with a detection resolution of 0.01 μs; the inherent delays of the four channels were detected to be 2.32 μs, 2.57 μs, 2.41 μs, and 2.63 μs, respectively. The maximum inherent delay of all channels was determined. It is 2.63 μs;

[0037] The calculation of dynamic time compensation value specifically includes: determining the maximum value among the inherent delays of all channels; and calculating the dynamic time compensation value specific to each channel based on the difference between the inherent delay of each channel and the maximum inherent delay, combined with a compensation factor related to the real-time ambient temperature.

[0038] Specifically, the device's built-in DS18B20 temperature sensor collects ambient temperature data in real time. For example, if the current ambient temperature is measured to be 32℃, based on the ambient temperature... With compensation factor The relationship between the two ( The temperature compensation factor for each channel was calculated; and the dynamic time compensation value for each of the four channels was calculated by combining the difference between the inherent delay of each channel and the maximum inherent delay. The calculation formula is: ( The maximum inherent delay for all channels. For the inherent delay of channel i, (for temperature compensation factors), ensuring that each channel can achieve precise alignment based on a global reference clock during subsequent sampling (each channel according to...). + (Sampling started synchronously).

[0039] Step S3: Based on the global reference clock and the dynamic time compensation value of each channel, control all channels to start synchronous sampling, and compress and encapsulate the sampled multi-channel data.

[0040] Specifically, the process of compressing and encapsulating the sampled data includes: performing multi-scale decomposition and entropy encoding on the data to achieve adaptive data compression within a first range; generating a check code for the compressed data; and encapsulating the compressed data and the check code together.

[0041] Specifically, based on the global reference clock and the dynamic time compensation value of each channel The FPGA sends a synchronous sampling command to the four channels, controlling all channels to start sampling at the same time, with the sampling rate set to 50 MSps (Sps, sampling rate). After sampling, the FPGA processes the acquired multi-channel raw data: first, it performs multi-scale decomposition of the sampled data using a wavelet decomposition algorithm to extract the effective feature components in the signal and remove redundant noise data; then, it uses Huffman coding to entropy encode the decomposed data, achieving 1:4 adaptive data compression (supporting compression ratios from 1:2 to 1:8), significantly reducing the data volume; subsequently, it performs CRC32 verification on the compressed data, generates the corresponding check code, and encapsulates the compressed data and check code into a data frame according to a preset format to ensure the integrity of the data transmission process.

[0042] Step S4: Transmit the encapsulated data to the main control terminal via Bluetooth wireless link, and periodically verify and maintain the synchronization sampling timing of each channel during the transmission process;

[0043] When transmitting via Bluetooth wireless link, adaptive frequency hopping (FHSS) technology is used to select the transmission channel; if the transmission error rate of the current channel exceeds the second threshold (1%), it will dynamically switch to the backup channel and use Bluetooth mode that supports enhanced data rate for transmission.

[0044] The periodic verification and maintenance process includes: verifying at fixed time intervals (100ms) whether the actual synchronization error between each channel exceeds the third threshold (1μs); if it does not exceed the threshold, the current state is maintained; if it exceeds the threshold, the recalibration process for steps S2 and S3 is triggered.

[0045] Specifically, the encapsulated data frame is transmitted to the main control terminal via the EDR mode of the Bluetooth 5.2 module, with a stable transmission rate of 2.5Mbps. During transmission, the Bluetooth module enables FHSS adaptive frequency hopping technology, dynamically switching the transmission channel within the 2.4GHz band according to a preset frequency hopping sequence (avoiding environmental interference bands such as Wi-Fi and industrial electromagnetic fields), and real-time detecting the transmission bit error rate of the current channel. When the bit error rate of a certain channel exceeds the second threshold (1%), it immediately switches to the backup channel to ensure the stability of data transmission (ensuring a transmission delay of ≤10ms).

[0046] After receiving the data, the terminal first verifies the CRC32 checksum (if the verification fails, a retransmission is requested); after the verification is successful, inverse Huffman coding and inverse wavelet decomposition are performed to restore the original sampled data; the terminal software draws waveform curves in real time, calculates and displays parameters such as amplitude, frequency, and phase difference, and supports data storage in CSV format and historical waveform backtracking.

[0047] Meanwhile, the FPGA periodically extracts the built-in 1MHz standard reference signal at a fixed time interval of 100ms, compares the phase difference between the acquired signal of each channel and the reference signal, and calculates the actual synchronization error between each channel. If the synchronization error does not exceed 1μs (the third threshold), the current working state is maintained. If it exceeds the threshold, the recalibration process is triggered, and the operations of steps S2 and S3 are repeated to ensure that the synchronization accuracy continues to meet the standard.

[0048] The recalibration process allows users to define a maximum number of retries, and each calibration process has timeout protection. When the number of retries reaches the maximum or the calibration times out, sampling stops and an alarm is triggered.

[0049] Preferably, the method further includes step S5: when the periodic verification confirmation synchronization error in step S4 does not exceed the third threshold, control some modules of the Bluetooth wireless oscilloscope to enter a low power consumption state.

[0050] Once the periodic verification confirms that the synchronization error meets the requirements, the FPGA sends control commands to the low-power management module (using the TITPS62130 chip) to adjust the power supply voltage of non-core modules: reducing the Bluetooth module's transmit power from 10dBm to 5dBm, and reducing the ADC chip's power supply voltage from 3.3V to 2.8V during idle periods, thus putting some modules of the device into a low-power state. Actual testing shows that in this state, the device's power consumption is reduced by 65%, and the continuous working time reaches 8.5 hours, fully meeting the long-term testing requirements in industrial settings.

[0051] This embodiment achieves high-precision synchronous acquisition and stable transmission of multi-channel signals through the above steps, with synchronization error controlled within 0.8μs and transmission delay stabilized at 8ms, effectively solving the problems of inaccurate timing analysis of multi-channel signals and insufficient equipment battery life in industrial scenarios.

[0052] Example 2

[0053] This embodiment further illustrates the method of this application using a multi-signal linkage test scenario of an on-board electronic control system (this scenario requires the acquisition of 6 electronic control signals, and has high requirements for transmission anti-interference and fault tolerance mechanism flexibility). Based on Embodiment 1, this embodiment provides a detailed description of the specific implementation of adaptive frequency hopping transmission and configurable fault tolerance mechanism, as follows:

[0054] In this embodiment, the implementation methods of establishing the synchronous clock, detecting the inherent delay, calculating the dynamic compensation value and synchronous sampling, and data compression and encapsulation for the 6 acquisition channels are the same as in Embodiment 1. The synchronization error is controlled within ≤1μs, and the data compression ratio is 1:5, ensuring basic synchronization accuracy and data transmission efficiency.

[0055] Steps S1-S3 are the same as in Example 1, and will not be repeated here;

[0056] Step S4: Optimized implementation of Bluetooth transmission and periodic verification and maintenance;

[0057] Precise control of adaptive frequency hopping transmission: During FHSS frequency hopping, the Bluetooth module, based on the adaptive frequency hopping rules of the Bluetooth 5.2 protocol and combined with the electromagnetic interference characteristics of the vehicle environment, pre-stores three different frequency hopping sequences, corresponding to low interference, medium interference, and high interference environments, respectively. During transmission, the Bluetooth module monitors parameters such as channel signal strength and bit error rate in real time, and automatically selects the matching frequency hopping sequence according to the monitoring results: when the electromagnetic interference in the vehicle environment is low (bit error rate < 0.5%), a sequence with a larger frequency hopping interval is used to improve transmission efficiency; when the interference increases (bit error rate between 0.5% and 1.5%), it switches to a sequence with a medium frequency hopping interval; when the interference is severe (bit error rate > 1.5%), it uses the sequence with the smallest frequency hopping interval and the strongest anti-interference capability.

[0058] Meanwhile, eight backup channels are preset. If the current transmission channel bit error rate exceeds 1.2% (the second threshold), the Bluetooth module will switch to the backup channel within 100μs without interrupting data transmission during the switching process, ensuring the continuity of data transmission in the complex electromagnetic environment of the vehicle. According to the test, in the scenario where the vehicle radar, motor and other equipment generate strong interference, the data transmission bit error rate is controlled within 0.3% and the transmission delay is stable at 9ms.

[0059] The specific implementation of the configurable fault tolerance mechanism is as follows: During the periodic verification process, if a synchronization error exceeding 1μs is detected, a recalibration process is triggered. In this embodiment, the user sets the maximum number of recalibration attempts to 3 and the timeout for a single calibration to 500ms through the operation interface of the main control terminal.

[0060] During the recalibration process, the FPGA records the time and result of each calibration: if the first calibration is completed within 300ms and the synchronization error recovers to within the threshold, normal sampling and transmission continue; if the first calibration times out or fails to meet the standard, the second calibration is automatically started; if all three calibrations fail to meet the standard or there are two timeouts, the sampling operation is stopped immediately, and the device's built-in buzzer alarm is triggered, and an alarm message is sent to the main control terminal to prompt the user to check the device status or environmental interference, so as to avoid the device getting stuck in an infinite calibration loop and thus improve the reliability of the system in complex vehicle testing scenarios.

[0061] Step S5: Dynamic Low Power Consumption Adjustment

[0062] Consistent with the low-power adjustment logic of Embodiment 1, the device in this embodiment enters a low-power state after the synchronization accuracy meets the standard. According to actual vehicle testing, the device can work continuously for 9 hours, meeting the long-term signal acquisition requirements during vehicle road testing.

[0063] This embodiment further improves the applicability and reliability of the method in complex electromagnetic environments by optimizing the anti-interference design and fault tolerance mechanism of Bluetooth transmission. The core indicators such as synchronization accuracy and transmission delay meet the testing requirements of vehicle electronic control systems, providing a stable and efficient measurement solution for vehicle electronic research and development and debugging.

[0064] The basic principles of this application have been described above with reference to specific embodiments. It should be understood that the specific details disclosed above are for illustrative and illustrative purposes only, and are not intended to limit the scope of protection of this invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A high-precision multi-channel data synchronous transmission method for a Bluetooth wireless oscilloscope, characterized in that, Includes the following steps: S1: Based on a precise time protocol, master-slave clock synchronization is performed between the acquisition device and multiple acquisition channels to establish a unified global reference clock; S2: For each signal acquisition channel, detect its inherent delay, and calculate the dynamic time compensation value of the channel based on the inherent delay and the ambient temperature parameter; S3: Based on the global reference clock and the dynamic time compensation value of each channel, control all channels to start synchronous sampling, and compress and encapsulate the sampled multi-channel data. S4: Transmits the encapsulated data to the main control terminal via Bluetooth wireless link, and periodically verifies and maintains the synchronization sampling timing of each channel during the transmission process.

2. The method of claim 1, wherein, In step S1, the master-slave clock synchronization is performed using the PTP protocol based on IEEE 1588v2, and the clock deviation is controlled within the first precision range.

3. The method of claim 1, wherein, In step S2, the inherent delay of each signal acquisition channel is detected, including sending a known test pulse signal to each channel and recording the time difference from sending to receiving, which is the inherent delay of the channel.

4. The method of claim 3, wherein, In step S2, the dynamic time compensation value is calculated, which specifically includes: determining the maximum value among all the inherent delays of all channels; and calculating the dynamic time compensation value specific to each channel based on the difference between the inherent delay of each channel and the maximum inherent delay, combined with a compensation factor associated with the real-time ambient temperature.

5. The method of claim 1, wherein, In step S3, the sampled data is compressed and encapsulated, specifically including: performing multi-scale decomposition and entropy coding on the data to achieve adaptive data compression within a first range; and generating a check code for the compressed data, and encapsulating the compressed data and the check code.

6. The method of claim 1, wherein, In step S4, when transmitting via Bluetooth wireless link, adaptive frequency hopping technology is used to select the transmission channel; if the transmission error rate of the current channel exceeds the second threshold, it is dynamically switched to the backup channel and the Bluetooth mode that supports enhanced data rate is used for transmission.

7. The method of claim 1, wherein, In step S4, periodic verification and maintenance are performed, specifically including: verifying at fixed time intervals whether the actual synchronization error between each channel exceeds the third threshold; if it does not exceed the threshold, the current state is maintained; if it exceeds the threshold, the recalibration process for steps S2 and S3 is triggered.

8. The method of claim 1, wherein, The method further includes step S5: when the periodic verification confirmation in step S4 confirms that the synchronization error does not exceed the third threshold, control some modules of the Bluetooth wireless oscilloscope to enter a low-power state.

9. The method of claim 7, wherein, The recalibration process supports user-defined maximum number of retries, and each calibration process has timeout protection; when the number of retries reaches the maximum or the calibration times out, sampling stops and an alarm is triggered.