Oscilloscope parameter measurement and analysis method and system based on multifunctional display
By adopting a multi-function display method in the oscilloscope, including analysis of histograms, trend charts and spectrograms, the problem that traditional oscilloscopes cannot observe and analyze parameter measurement results in real time is solved, the data analysis function is improved, user operations are simplified and the user's operation is provided. More intuitive results display.
Patent Information
- Application Number
- CN202411043700.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-12
AI Technical Summary
Traditional oscilloscopes cannot observe and analyze the long-term trend of oscilloscope parameter measurement results in real time, which increases the user's workload and cannot provide rich parameter measurement data characteristics, making it difficult to obtain operating status information in the intelligent monitoring and fault diagnosis of the equipment.
Using a multi-function display method, the oscilloscope parameter measurement data is quantized and graphically displayed through histograms, trend charts and spectrograms, the histogram is updated in real time, the trend is analyzed statistically, and the spectrum analysis is used using fast Fourier transform to obtain parameter measurements. Frequency characteristics of data.
It improves the analysis function of oscilloscope data mining, provides intuitive parameter measurement results, simplifies users' understanding of data distribution, changing trends and frequency characteristics, and reduces the workload of manual analysis.
Smart Images

Figure CN118937764A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of data measurement and processing, and in particular relates to an oscilloscope parameter measurement and analysis method and system based on multi-function display. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Oscilloscopes are important instruments in the field of electronic measurement. They can display the waveform of the measured signal, capture waveform data, and analyze and process complex signals. As the frequency range of modern electronic signals continues to expand, and the complexity and diversity continue to increase, simple data display can no longer meet the work needs of engineers. Oscilloscopes are required to have rich and powerful data analysis functions. The parameter measurement function of the oscilloscope is a quantitative analysis of waveform data to obtain information such as the period, frequency, rise time, and peak value of the electrical signal. Dozens of parameters can be measured. Analyzing the parameter measurement results and displaying them graphically can clearly grasp the data situation and the law of change. It is an indispensable form of display for the measurement function of the oscilloscope.
[0004] According to the inventors, traditional oscilloscopes only display basic analysis data such as the current value and the maximum and minimum values for parameter measurement results, and are unable to observe long-term changes in the measurement items and change trends; when it is necessary to analyze and debug the circuit in combination with the oscilloscope parameter measurement results, it is necessary to manually perform statistical analysis of the oscilloscope parameter measurement results to detect the stability and noise level of the circuit. At the same time, in the process of intelligent monitoring and fault diagnosis of the equipment, traditional oscilloscopes cannot obtain the operating status of the equipment and the change trend of the measurement parameters based on the measurement results, and manual analysis is required, which increases the workload of the user. Existing oscilloscopes can only display the most basic parameter measurement signals, and are unable to know the potential significance of the oscilloscope parameter measurement signals, and are unable to provide rich parameter measurement data features. Summary of the invention
[0005] To solve the above problems, the present invention proposes an oscilloscope parameter measurement and analysis method and system based on a multi-functional display, which adopts a variety of graphic statistical functions to perform quantitative analysis of oscilloscope parameter measurement, analyzes and graphically displays the parameter measurement results, obtains intuitive oscilloscope parameter measurement results, and improves the analysis function of oscilloscope data mining.
[0006] According to some embodiments, a first solution of the present invention provides an oscilloscope parameter measurement and analysis method based on a multi-function display, which adopts the following technical solution:
[0007] An oscilloscope parameter measurement and analysis method based on multi-function display, comprising:
[0008] Acquire oscilloscope parameter measurement data including at least measurement time and device data information during the measurement time;
[0009] Analyze the acquired parameter measurement data and obtain the multi-function display results of the oscilloscope;
[0010] Among them, the multifunctional display results of the oscilloscope obtained include at least a histogram, a trend graph and a spectrum graph; the histogram is used to display the data distribution of parameter measurement, and is updated in real time as the acquired measurement time and device data information change; the trend graph is used to display the changing trend of the parameter measurement data; the spectrum graph is used to display the frequency characteristics of the parameter measurement data, perform spectrum analysis on the acquired parameter measurement data, explore the frequency distribution of the parameter measurement data, and obtain the frequency characteristics of the parameter measurement data.
[0011] As a further technical limitation, the histogram is a histogram statistical analysis chart based on the acquired parameter measurement data. All device data information within a measurement time is accumulated to obtain the original histogram, and the original histogram is superimposed on the new histogram to update the histogram in real time.
[0012] Furthermore, in the process of real-time updating of the histogram, the acquired device data information at the current moment is compared with the maximum value of the parameter measurement data in the histogram at the previous moment to obtain the maximum value of all parameter measurement data up to the current moment, the data range of the histogram is updated, and a new histogram is drawn in combination with the device data information at the current moment. The histogram at the previous moment is added to the drawn new histogram, and the data distribution of the histogram at the previous moment is obtained based on the maximum value of all parameter measurement data up to the current moment and the histogram graphic interval at the previous moment. The histogram is updated in real time based on the obtained data distribution of the histogram at the previous moment and the drawn new histogram.
[0013] As a further technical limitation, with the acquired measurement time as the horizontal axis and the device data information at each moment of the measurement time as the vertical axis, the acquired parameter measurement data is statistically analyzed to obtain a trend graph reflecting the change trend of the parameter measurement data.
[0014] As a further technical limitation, spectrum analysis is performed on the acquired parameter measurement data through fast Fourier transform, the frequency distribution of the parameter measurement data is mined, the frequency characteristics of the parameter measurement data are obtained, and a measurement analysis spectrum diagram is obtained based on the obtained frequency characteristics.
[0015] As a further technical limitation, the obtained multifunctional display result of the oscilloscope also includes a digital display graph for displaying parameter measurement data results.
[0016] According to some embodiments, a second solution of the present invention provides an oscilloscope parameter measurement and analysis system based on a multi-function display, which adopts the following technical solution:
[0017] An oscilloscope parameter measurement and analysis system based on multi-function display, comprising:
[0018] An acquisition module configured to acquire oscilloscope parameter measurement data including at least a measurement time and device data information within the measurement time;
[0019] An analysis module configured to analyze the acquired parameter measurement data to obtain a multi-function display result of the oscilloscope;
[0020] Among them, the multifunctional display results of the oscilloscope obtained include at least a histogram, a trend graph and a spectrum graph; the histogram is used to display the data distribution of parameter measurement, and is updated in real time as the acquired measurement time and device data information change; the trend graph is used to display the changing trend of the parameter measurement data; the spectrum graph is used to display the frequency characteristics of the parameter measurement data, perform spectrum analysis on the acquired parameter measurement data, explore the frequency distribution of the parameter measurement data, and obtain the frequency characteristics of the parameter measurement data.
[0021] According to some embodiments, a third solution of the present invention provides a computer-readable storage medium, which adopts the following technical solution:
[0022] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in the first solution of the present invention.
[0023] According to some embodiments, a fourth solution of the present invention provides an electronic device, which adopts the following technical solution:
[0024] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in the first solution of the present invention are implemented.
[0025] According to some embodiments, a fifth solution of the present invention provides a computer program product, which adopts the following technical solution:
[0026] A computer program product includes software codes, wherein the program in the software codes executes the steps in the oscilloscope parameter measurement and analysis method based on multi-function display as described in the first solution of the present invention.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] The present invention provides users with histogram statistical analysis results of measurement parameters by performing histogram statistics on measurement parameter data and presenting them graphically; presents the changing trend of measurement data over time in a graphical manner, providing users with analysis results of the changing trend of data over time within a period of time, providing convenience for users; analyzes and displays the spectrum characteristics of signals, detects frequency components, and provides convenience for communication engineering users.
[0029] The present invention adopts a variety of graphic statistical functions to perform quantitative analysis of oscilloscope parameter measurement, analyzes and graphically displays the parameter measurement results, obtains intuitive oscilloscope parameter measurement results, and improves the analysis function of oscilloscope data mining. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0031] Figure 1 A multifunctional display block diagram of parameter measurement and analysis in Embodiment 1 of the present invention;
[0032] Figure 2 This is a flow chart of obtaining a parameter measurement analysis histogram in Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0033] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0034] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0035] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0036] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0037] Embodiment 1
[0038] Embodiment 1 of the present invention introduces an oscilloscope parameter measurement and analysis method based on multi-function display.
[0039] In order to fully explore the characteristics of oscilloscope parameter measurement data, enable the oscilloscope to have rich data analysis functions, and provide convenience for users, this embodiment proposes an oscilloscope parameter measurement and analysis method based on a multi-function display, further statistics and analysis are performed on the oscilloscope measurement parameters, and the parameter measurement data over a long period of time are continuously accumulated to obtain a histogram to reflect the distribution of the measured signal over a long period of time; the fluctuation of the measurement data over time is plotted into a trend graph to facilitate users to observe the changes in the data; and the spectrum analysis of the measurement data is performed to obtain a spectrum graph to explore the frequency characteristics of the data.
[0040] The multi-function display block diagram of the parameter measurement and analysis obtained by the oscilloscope parameter measurement and analysis method based on the multi-function display in this embodiment is as follows: Figure 1 As shown, compared with the traditional oscilloscope display, it mainly includes three types: measurement analysis histogram, measurement analysis trend chart and measurement analysis spectrum chart.
[0041] (1) Measurement and analysis histogram
[0042] The measurement and analysis histogram is to make a histogram statistical analysis of the parameter measurement data, accumulate and display all the data within a period of time, retain the histogram drawing data, and then superimpose the original histogram on the new histogram, avoiding the accumulation of data over a long period of time. The large amount of data affects the speed of histogram drawing, greatly improving the drawing rate, and realizing histogram data analysis over a long period of time.
[0043] The histogram in this embodiment is a histogram statistical analysis chart based on the acquired parameter measurement data. All device data information within a measurement time is accumulated to obtain the original histogram, and the original histogram is superimposed on the new histogram to update the histogram in real time.
[0044] Specifically, in the process of real-time updating of the histogram, the acquired device data information at the current moment is compared with the maximum value of the parameter measurement data in the histogram at the previous moment, the maximum value of all parameter measurement data up to the current moment is obtained, the data range of the histogram is updated, and a new histogram is drawn in combination with the device data information at the current moment, and the histogram at the previous moment is added to the drawn new histogram, and the data distribution of the histogram at the previous moment is obtained based on the maximum value of all parameter measurement data up to the current moment and the histogram graphic interval at the previous moment, and the histogram is updated in real time based on the obtained data distribution of the histogram at the previous moment and the drawn new histogram.
[0045] The process of obtaining parameter measurement analysis histogram is as follows: Figure 2As shown, specifically, the number of fixed columns of the histogram is set to 200, and the collected data data[i] is compared with the maximum value nMax and the minimum value nMin of the previous histogram to obtain the latest maximum and minimum values nMax and nMin of all the data. First, a histogram is drawn for the collected data, and the vertical coordinate is marked as y[i], i=0,1,2,…200. For the original histogram, the original histogram data distribution is calculated according to the retained original histogram minimum value nMin and the interval of each column of the original histogram. The vertical coordinate is y_pre[i], i=0,1,2,3,…200, and it is drawn into the existing histogram, that is, y[i]+=y_pre[i], i=0,1,2,3…200. The histogram is updated for each collection, so that all the collected data information can be retained.
[0046] (2) Measurement and analysis trend chart
[0047] With the acquired measurement time as the horizontal coordinate and the device data information at each moment of the measurement time as the vertical coordinate, the acquired parameter measurement data is statistically analyzed to obtain a trend graph reflecting the change trend of the parameter measurement data.
[0048] This embodiment analyzes all parameter measurement data collected each time; when the number of parameter measurement data collected is 1, no analysis is performed, and at this time, the measurement analysis trend graph cannot be obtained.
[0049] (3) Measurement and analysis of spectrum
[0050] This embodiment uses fast Fourier transform (FFT) to perform spectrum analysis on the acquired parameter measurement data, explores the frequency distribution of the parameter measurement data, and obtains the frequency characteristics of the parameter measurement data, that is, obtains a measurement analysis spectrum diagram; specifically:
[0051] Assume that the collected data is a finite length sequence of length N, which must satisfy N = 2 m , m=1,2,3,...otherwise fill in 0 to occupy the place; This embodiment adopts the standard discrete Fourier transform as shown in formula (1), that is,
[0052]
[0053] Among them, X(k) is a finite sequence of length N, let Using its symmetry, we can get the fast Fourier transform (FFT) as shown in formula (2), that is,
[0054]
[0055] make when exist Formula (3) and formula (4) can be obtained from formula (2), namely
[0056]
[0057] It can be obtained that F and G are both recursive functions of X. According to formula (3) and formula (4), fast Fourier transform can be performed to obtain the frequency characteristics of the measurement parameters.
[0058] It should be noted that when the number of parameter measurement data collected is 1, spectrum analysis will not be performed, and a measurement analysis spectrum diagram cannot be obtained at this time.
[0059] This embodiment uses a histogram to plot parameter measurement results, showing the distribution of measurement data over a long period of time, and provides data distribution range and high-frequency distribution; uses a trend chart to plot parameter measurement results, showing the change of measurement data over time; draws a spectrum diagram of parameter measurement results, and through FFT spectrum transformation, shows the frequency characteristics of data, improving the statistical analysis capability of the oscilloscope;
[0060] This embodiment uses a variety of graphic statistical functions to perform quantitative analysis of oscilloscope parameter measurement, analyzes and graphically displays the parameter measurement results, obtains intuitive oscilloscope parameter measurement results, and improves the analysis function of oscilloscope data mining.
[0061] Embodiment 2
[0062] The second embodiment of the present invention introduces an oscilloscope parameter measurement and analysis system based on a multi-functional display.
[0063] An oscilloscope parameter measurement and analysis system based on multi-function display, comprising:
[0064] An acquisition module configured to acquire oscilloscope parameter measurement data including at least a measurement time and device data information within the measurement time;
[0065] An analysis module configured to analyze the acquired parameter measurement data to obtain a multi-function display result of the oscilloscope;
[0066] Among them, the multifunctional display results of the oscilloscope obtained include at least a histogram, a trend graph and a spectrum graph; the histogram is used to display the data distribution of parameter measurement, and is updated in real time as the acquired measurement time and device data information change; the trend graph is used to display the changing trend of the parameter measurement data; the spectrum graph is used to display the frequency characteristics of the parameter measurement data, perform spectrum analysis on the acquired parameter measurement data, explore the frequency distribution of the parameter measurement data, and obtain the frequency characteristics of the parameter measurement data.
[0067] The detailed steps are the same as those of the oscilloscope parameter measurement and analysis method based on multi-function display provided in the first embodiment, and will not be repeated here.
[0068] Embodiment 3
[0069] Embodiment 3 of the present invention provides a computer-readable storage medium.
[0070] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in Embodiment 1 of the present invention.
[0071] The detailed steps are the same as those of the oscilloscope parameter measurement and analysis method based on multi-function display provided in the first embodiment, and will not be repeated here.
[0072] Embodiment 4
[0073] A fourth embodiment of the present invention provides an electronic device.
[0074] An electronic device comprises a memory, a processor and a program stored in the memory and running on the processor, wherein when the processor executes the program, the steps in the oscilloscope parameter measurement and analysis method based on multi-function display as described in Embodiment 1 of the present invention are implemented.
[0075] The detailed steps are the same as those of the oscilloscope parameter measurement and analysis method based on multi-function display provided in the first embodiment, and will not be repeated here.
[0076] Embodiment 5
[0077] Embodiment 5 of the present invention provides a computer program product.
[0078] A computer program product includes software codes, wherein the program in the software codes executes the steps in the oscilloscope parameter measurement and analysis method based on multi-function display as described in the first embodiment of the present invention.
[0079] The detailed steps are the same as those of the oscilloscope parameter measurement and analysis method based on multi-function display provided in the first embodiment, and will not be repeated here.
[0080] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. A method for measuring and analyzing oscilloscope parameters based on a multi-function display, characterized in that: include: Acquire oscilloscope parameter measurement data including at least measurement time and device data information during the measurement time; Analyze the acquired parameter measurement data and obtain the multi-function display results of the oscilloscope; The obtained multi-function display result of the oscilloscope at least includes a histogram, a trend graph and a spectrum graph; The histogram is used to display the data distribution of parameter measurement, and is updated in real time as the acquired measurement time and device data information change; the trend graph is used to display the changing trend of the parameter measurement data; the spectrum graph is used to display the frequency characteristics of the parameter measurement data, and the acquired parameter measurement data is subjected to spectrum analysis to explore the frequency distribution of the parameter measurement data and obtain the frequency characteristics of the parameter measurement data.
2. The oscilloscope parameter measurement and analysis method based on multi-function display as described in claim 1, characterized in that: The histogram is a histogram statistical analysis chart based on the acquired parameter measurement data. All device data information within a measurement time is accumulated to obtain the original histogram, and the original histogram is superimposed on the new histogram to perform real-time updating of the histogram.
3. The oscilloscope parameter measurement and analysis method based on multi-function display as described in claim 2, characterized in that: In the process of real-time updating of the histogram, the acquired device data information at the current moment is compared with the maximum value of the parameter measurement data in the histogram at the previous moment, the maximum value of all parameter measurement data up to the current moment is obtained, the data range of the histogram is updated, a new histogram is drawn in combination with the device data information at the current moment, the histogram at the previous moment is added to the drawn new histogram, the data distribution of the histogram at the previous moment is obtained based on the maximum value of all parameter measurement data up to the current moment and the histogram graphic interval at the previous moment, and the histogram is updated in real time based on the obtained data distribution of the histogram at the previous moment and the drawn new histogram.
4. The oscilloscope parameter measurement and analysis method based on multi-function display as described in claim 1, characterized in that: With the acquired measurement time as the horizontal coordinate and the device data information at each moment of the measurement time as the vertical coordinate, the acquired parameter measurement data is statistically analyzed to obtain a trend graph reflecting the change trend of the parameter measurement data.
5. The oscilloscope parameter measurement and analysis method based on multi-function display as described in claim 1, characterized in that: The obtained parameter measurement data is subjected to spectrum analysis through fast Fourier transform, the frequency distribution of the parameter measurement data is mined, the frequency characteristics of the parameter measurement data are obtained, and a measurement analysis spectrum diagram is obtained based on the obtained frequency characteristics.
6. The oscilloscope parameter measurement and analysis method based on multi-function display as described in claim 1, characterized in that: The obtained multifunctional display result of the oscilloscope also includes a digital display diagram for displaying parameter measurement data results.
7. An oscilloscope parameter measurement and analysis system based on multi-function display, characterized in that: include: An acquisition module configured to acquire oscilloscope parameter measurement data including at least a measurement time and device data information within the measurement time; An analysis module configured to analyze the acquired parameter measurement data to obtain a multi-function display result of the oscilloscope; The obtained multi-function display result of the oscilloscope at least includes a histogram, a trend graph and a spectrum graph; The histogram is used to display the data distribution of parameter measurement, and is updated in real time as the acquired measurement time and device data information change; the trend graph is used to display the changing trend of the parameter measurement data; the spectrum graph is used to display the frequency characteristics of the parameter measurement data, and the acquired parameter measurement data is subjected to spectrum analysis to explore the frequency distribution of the parameter measurement data and obtain the frequency characteristics of the parameter measurement data.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in any one of claims 1 to 6 are implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in any one of claims 1 to 6 are implemented.
10. A computer program product comprising software code, characterized in that The program in the software code executes the steps of the oscilloscope parameter measurement and analysis method based on multi-function display as described in any one of claims 1 to 6.
