Method and system for improving waveform data display refresh rate of oscilloscope and medium

By amplifying, reducing and translating waveform data in the lower computer FPGA of the oscilloscope, and storing the processing results in the cache space, the problem of extending the refresh time of the traditional oscilloscope waveform display is solved, and more efficient waveform data processing and display is achieved.

CN119986079APending Publication Date: 2025-05-13BEIJING AEROSPACE MEASUREMENT & CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411972702.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When traditional oscilloscopes process waveform data at large quantities of sampling points, the upper computer processing time is extended, resulting in the extended refresh time interval of waveform display, affecting measurement efficiency.

Method used

The waveform amplification, reduction and translation process are performed in the lower computer FPGA, and the processed pixel position information is stored in the cache space in advance, and the upper computer directly reads the data in the cache space for display.

Benefits of technology

By processing waveform data in FPGA, the data processing efficiency is improved, the refresh time of waveform data is shortened, and the measurement efficiency of the oscilloscope is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119986079A_ABST
    Figure CN119986079A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic testing, in particular to a method, a system and a medium for improving the waveform data display refresh rate of an oscilloscope, which can process waveform amplification, waveform compression and waveform translation processing functions in an FPGA (Field Programmable Gate Array) and improve the processing efficiency. Collected data of waveform amplification, reduction and translation operations are processed into waveform pixel display array position information in advance in a lower computer, and then the waveform pixel display array position information is stored in a waveform amplification display cache space, a waveform reduction display cache space and a waveform translation display cache space respectively. And the upper computer directly reads the pixel display position information in the corresponding cache space, and directly displays the pixel display position information on the display screen, so that the data processing and display efficiency is greatly improved, and the waveform data refreshing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic testing technology, and in particular to a method, system and medium for improving the refresh rate of oscilloscope waveform data display. Background Art

[0002] In the circuit board test and fault diagnosis system in the field of signal test and measurement technology, the digital oscilloscope can perform measurement functions such as analog signal acquisition, acquisition signal processing, and acquisition signal display. When the signal acquisition is completed, the waveform amplitude signal and time information of the current acquisition signal can be displayed in the time domain. When it is necessary to measure the details of the current acquisition waveform signal, it is necessary to perform waveform amplification, waveform reduction, and waveform translation operations on it. Through these three methods, the details of the acquired data waveform can be observed and measured to obtain relevant key information.

[0003] In traditional oscilloscopes, after the acquisition is completed, all or part of the acquired data is transferred to the host computer for storage. When the user wants to zoom in and pan the data waveform, the host computer software will reorder the stored data, and then zoom in, compress, pan, and display it on the display screen. However, as the number of sampling points increases, the host computer processing time increases, and the waveform display refresh time interval is also extended, which affects the measurement efficiency and fails to achieve the purpose of fast measurement. Summary of the invention

[0004] In view of this, the present invention provides a method for improving the refresh rate of oscilloscope waveform data display, which can process waveform amplification, waveform compression, and waveform translation processing functions in FPGA, thereby improving processing efficiency.

[0005] To achieve the above purpose, the technical solution of the present invention is as follows:

[0006] A method for increasing the refresh rate of waveform data display of an oscilloscope, comprising:

[0007] In the lower computer FPGA, preset parameters are generated according to the zoom-in parameters, zoom-out parameters, shift parameters and step values ​​set in the current operation interface;

[0008] According to the preset parameters, the collected data is read from the DDR memory chip, and waveform amplification, reduction and translation processing are performed simultaneously in the lower computer FPGA, and the processed pixel position information is stored in the corresponding cache space respectively;

[0009] The host computer reads the pixel position information from the corresponding display pre-cache space and displays it directly according to the final enlargement parameter, final reduction parameter and final shift parameter set by the user.

[0010] Among them, the enlargement parameter N, reduction parameter L and shift parameter D are set according to the current operation interface; the step value of the interface parameter setting is m; then the parameters sent down are the preset parameters: enlargement parameter N+m, reduction parameter L+m, shift parameter D+m.

[0011] The buffer space includes a waveform magnification display buffer space, a waveform reduction display buffer space and a waveform translation display buffer space.

[0012] Among them, parallel data processing is used in the lower computer FPGA to configure parameters in advance and perform data display processing in real time according to the current oscilloscope waveform operation parameters and the step value of parameter change.

[0013] When the user adjusts the waveform display parameters, the host computer directly calls the data in the corresponding display pre-buffer space for display.

[0014] The present invention also provides a system for an oscilloscope, for implementing the method of the present invention, comprising:

[0015] The lower computer FPGA is configured to generate preset parameters according to the parameters and step values ​​set in the current operation interface, process the waveform data based on the preset parameters, and store the processing results in the corresponding cache space;

[0016] The host computer is configured to read data from the corresponding buffer space and display the waveform on the display according to the parameters finally set by the user.

[0017] The lower computer FPGA is further configured to utilize parallel data processing capabilities to configure parameters in advance and perform data display processing in real time according to current oscilloscope waveform operation parameters and step values ​​of parameter changes.

[0018] The buffer space includes a waveform magnification display buffer space, a waveform reduction display buffer space and a waveform translation display buffer space.

[0019] The host computer is further configured to directly call the data in the corresponding display pre-buffer space for rapid display when the user adjusts the waveform display parameters, so as to increase the waveform data display refresh rate.

[0020] The present invention also provides a non-transitory computer-readable medium containing instructions, which, when executed, cause a computer to perform the method of the present invention.

[0021] Beneficial effects:

[0022] 1. The method of the present invention processes the collected data of waveform magnification, reduction, and translation operations in advance in the lower computer into waveform pixel display array position information, and then stores them in the waveform magnification display cache space, the waveform reduction display cache space, and the waveform translation display cache space respectively. When the waveform needs to be displayed, the upper computer directly reads the pixel display position information in the corresponding cache space and displays it directly on the display screen, which greatly improves the efficiency of data processing and display, and improves the refresh efficiency of waveform data.

[0023] 2. In the method of the present invention, by utilizing the high efficiency advantage of FPGA parallel data processing in the lower computer, the waveform amplification, waveform compression, and waveform translation processing functions are processed in the FPGA, thereby improving the processing efficiency; according to the parameters of the waveform display of the current oscilloscope interface, the three parameter values ​​of waveform amplification, waveform reduction, and waveform translation that may appear next time are pre-configured, and according to the configuration parameters, the collected data is read and processed into the pixel display position information of the waveform on the display screen, which is stored in the waveform amplification display cache space, waveform reduction display cache space, and waveform translation display cache space respectively. When the waveform data refresh time arrives, the data in the corresponding cache space is directly read, and the waveform data position information is directly mapped to the pixel points of the display screen to realize the direct display of the waveform, thereby greatly improving the data display processing efficiency.

[0024] 3. In the system of the present invention, the collected data of waveform magnification, reduction, and translation operations are processed into waveform pixel display array position information in advance in the lower computer, and then stored in the waveform magnification display cache space, waveform reduction display cache space, and waveform translation display cache space respectively. When the waveform needs to be displayed, the upper computer directly reads the pixel display position information in the corresponding cache space and displays it directly on the display screen, which greatly improves the efficiency of data processing and display, and improves the refresh efficiency of waveform data.

[0025] 4. The system of the present invention is used to implement the method of the present invention. By utilizing the high efficiency advantage of FPGA parallel data processing in the lower computer, the waveform amplification, waveform compression, and waveform translation processing functions are processed in the FPGA, thereby improving the processing efficiency; according to the parameters of the waveform display of the current oscilloscope interface, the three parameter values ​​of waveform amplification, waveform reduction, and waveform translation that may appear next time are pre-configured, and according to the configuration parameters, the collected data is read and processed into the pixel display position information of the waveform on the display screen, which is stored in the waveform amplification display cache space, the waveform reduction display cache space, and the waveform translation display cache space respectively. When the waveform data refresh time arrives, the data in the corresponding cache space is directly read, and the waveform data position information is directly mapped to the pixel points of the display screen to realize the direct display of the waveform, thereby greatly improving the data display processing efficiency.

[0026] 5. In the device of the present invention, the collected data of the waveform magnification, reduction, and translation operations are processed into waveform pixel display array position information in advance in the lower computer, and then stored in the waveform magnification display cache space, the waveform reduction display cache space, and the waveform translation display cache space respectively. When the waveform needs to be displayed, the upper computer directly reads the pixel display position information in the corresponding cache space and displays it directly on the display screen, which greatly improves the efficiency of data processing and display, and improves the refresh efficiency of waveform data.

[0027] 6. In the device of the present invention, by utilizing the high efficiency advantage of FPGA parallel data processing in the lower computer, the waveform amplification, waveform compression, and waveform translation processing functions are processed in the FPGA, thereby improving the processing efficiency; according to the parameters of the waveform display of the current oscilloscope interface, the three parameter values ​​of waveform amplification, waveform reduction, and waveform translation that may appear next time are pre-configured, and according to the configuration parameters, the collected data is read and processed into the pixel display position information of the waveform on the display screen, which is stored in the waveform amplification display cache space, waveform reduction display cache space, and waveform translation display cache space respectively. When the waveform data refresh time arrives, the data in the corresponding cache space is directly read, and the waveform data position information is directly mapped to the pixel points of the display screen to realize the direct display of the waveform, thereby greatly improving the data display processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0030] The present invention provides a method for improving the refresh rate of waveform data display of an oscilloscope, by processing the data of waveform data amplification, reduction, and translation operation into pixel position information of the waveform on the display screen in advance in the lower computer FPGA, and then storing the pixel display position information in the waveform amplification display cache space, the waveform reduction display cache space, and the waveform translation display cache space respectively, and the upper computer directly caches the position information in the space for display. The process is as follows Figure 1 As shown, the following steps are included:

[0031] Step 1: According to the current operation interface settings, the enlargement parameter N, the reduction parameter L and the shift parameter D; the step value of the interface parameter setting is m; then the parameters issued are the preset parameters: enlargement parameter N+m, reduction parameter L+m, shift parameter D+m;

[0032] Step 2: According to preset parameters, the corresponding collected data is read from the DDR memory chip of the oscilloscope, and waveform amplification, reduction, and translation processing are performed simultaneously, and the displayed pixel position information is stored in the corresponding cache space;

[0033] Step 3: The host computer reads the pixel display position information in the corresponding display pre-cache space according to the final enlargement parameter Nf, reduction parameter Lf and shift parameter Df set by the user, and displays it directly.

[0034] It can be seen that the method of the present invention takes advantage of the parallel data processing in the lower computer FPGA. In the lower computer, according to the current oscilloscope waveform operation parameters and the step value of the parameter change in real time, the parameters of the step value operation are configured in advance into the lower computer, and the data display processing is performed, and then stored in the waveform enlargement display cache space, the waveform reduction display cache space, and the waveform translation display cache space. When the user changes the waveform display parameters, the data of the corresponding display pre-cache space is directly retrieved and directly displayed on the screen, thereby achieving the purpose of improving the data waveform display.

[0035] The present invention also provides a system for an oscilloscope, which can execute the method for improving the refresh rate of oscilloscope waveform data display provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. The present invention includes:

[0036] The lower computer FPGA is configured to generate preset parameters according to the parameters and step values ​​set in the current operation interface, process the waveform data based on the preset parameters, and store the processing results in the corresponding cache space;

[0037] The host computer is configured to read data from the corresponding buffer space and display the waveform on the display according to the parameters finally set by the user.

[0038] The lower computer FPGA is further configured to utilize parallel data processing capabilities to configure parameters in advance and perform data display processing in real time according to current oscilloscope waveform operation parameters and step values ​​of parameter changes.

[0039] The buffer space includes a waveform magnification display buffer space, a waveform reduction display buffer space and a waveform translation display buffer space.

[0040] The host computer is further configured to directly call the data in the corresponding display pre-buffer space for rapid display when the user adjusts the waveform display parameters, so as to increase the waveform data display refresh rate.

[0041] As another aspect, the present application also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium may be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present application for increasing the refresh rate of oscilloscope waveform data display.

[0042] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for increasing the refresh rate of oscilloscope waveform data display, characterized in that: include: In the lower computer FPGA, preset parameters are generated according to the zoom-in parameters, zoom-out parameters, shift parameters and step values ​​set in the current operation interface; According to the preset parameters, the collected data is read from the DDR memory chip, and waveform amplification, reduction and translation processing are performed simultaneously in the lower computer FPGA, and the processed pixel position information is stored in the corresponding cache space respectively; The host computer reads the pixel position information from the corresponding display pre-cache space and displays it directly according to the final enlargement parameter, final reduction parameter and final shift parameter set by the user.

2. The method according to claim 1, characterized in that According to the zoom parameter N, zoom parameter L and shift parameter D set in the current operation interface; the step value of the interface parameter setting is m; the parameters sent down are the preset parameters: zoom parameter N+m, zoom parameter L+m, shift parameter D+m.

3. The method according to claim 1 or 2, characterized in that: The buffer space includes a waveform magnification display buffer space, a waveform reduction display buffer space and a waveform translation display buffer space.

4. The method according to claim 3, characterized in that By utilizing parallel data processing in the lower computer FPGA, the parameters are configured in advance and the data display processing is performed in real time according to the current oscilloscope waveform operation parameters and the step value of the parameter change.

5. The method according to claim 4, characterized in that When the user adjusts the waveform display parameters, the host computer directly calls the data in the corresponding display pre-cache space for display.

6. A system for an oscilloscope, characterized in that, Used to implement the method according to any one of claims 1 to 5, comprising: The lower computer FPGA is configured to generate preset parameters according to the parameters and step values ​​set in the current operation interface, process the waveform data based on the preset parameters, and store the processing results in the corresponding cache space; The host computer is configured to read data from the corresponding buffer space and display the waveform on the display according to the parameters finally set by the user.

7. The system according to claim 6, characterized in that The lower computer FPGA is further configured to utilize parallel data processing capabilities to configure parameters in advance and perform data display processing in real time according to current oscilloscope waveform operation parameters and step values ​​of parameter changes.

8. The system according to claim 6 or 7, characterized in that: The buffer space includes a waveform magnification display buffer space, a waveform reduction display buffer space and a waveform translation display buffer space.

9. The system according to claim 6, characterized in that The host computer is further configured to directly call the data in the corresponding display pre-buffer space for rapid display when the user adjusts the waveform display parameters, so as to increase the waveform data display refresh rate.

10. A non-transitory computer-readable medium containing instructions, characterized in that: When the instructions are executed, the computer is caused to perform the method according to any one of claims 1 to 5.