Signal analysis interaction method, apparatus, electronic device and storage medium

By displaying the signal analysis project configuration interface and image display area on the screen of the electronic measurement instrument, users can quickly select and configure the analysis project, solving the problem of cumbersome and time-consuming traditional signal analysis operations and improving the analysis efficiency.

WO2025044383A1PCT designated stage expired Publication Date: 2025-03-06RIGOL TECHNOLOGIES (BEIJING) INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/097887
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-30
Filing Date
2024-06-07
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

The existing electronic measuring instruments are cumbersome to operate during signal testing, and require multiple hierarchical menus to set channels, measurement ranges and functional options, which are time-consuming and inefficient.

Method used

A signal analysis interactive method is provided, by displaying the signal analysis item configuration interface on the screen, obtaining the user's control operations, determining the analysis item to be executed, and displaying the selection in the image display area to select the parameters of the signal, so as to quickly configure and execute the analysis item.

Benefits of technology

It improves the operational flexibility and convenience of signal analysis, reduces operating steps, and improves the efficiency of signal analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024097887_06032025_PF_FP_ABST
    Figure CN2024097887_06032025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a signal analysis interaction method, a signal analysis apparatus, an electronic device and a computer-readable storage medium. The method comprises: displaying in a screen a signal analysis project configuration interface; by means of the analysis project configuration interface, acquiring a first control operation, so as to determine an analysis project to be executed; according to an acquired signal, displaying a waveform image of at least one signal; in response to a second control operation, displaying a selected region, the selected region being used for indicating a region selected by the second control operation; according to an image within the selected region, obtaining parameters of a signal selected by the second control operation; and, according to the parameters of the signal, executing said analysis project, and displaying an execution result.
Need to check novelty before this filing date? Find Prior Art

Description

Signal analysis interaction method, device, electronic device and storage medium

[0001] Related applications

[0002] This application claims priority to Chinese patent application number 2023111076925, filed on August 30, 2023, entitled “Signal Analysis Interaction Method, Device, Electronic Device and Storage Medium,” the entire text of which is hereby incorporated by reference. Technical Field

[0003] The present application relates to the field of signal analysis technology, and in particular to a signal analysis interaction method, a signal analysis device, an electronic device, and a computer-readable storage medium. Background Art

[0004] In the field of electronic measurement technology, electronic measuring instruments such as oscilloscopes and spectrum analyzers are widely used. They can transform invisible electrical signals such as voltage and current into visible waveforms for display, facilitating the study of the changing processes of various electrical phenomena. In order to display the waveforms of various signals using electronic measuring instruments, it is necessary to set test parameters for each waveform to detect the signal quality of the corresponding electrical signal.

[0005] Currently, when using these electronic measuring instruments for signal testing, it is necessary to navigate through multiple levels of menus to obtain the desired operation. For example, setting channels, measurement ranges, and function options step by step from the start menu is cumbersome, time-consuming, and inefficient.

[0006] Summary of the Invention

[0007] In view of this, embodiments of the present application provide a signal analysis interaction method, a signal analysis device, an electronic device, and a computer-readable storage medium to solve at least one problem existing in the background technology.

[0008] In a first aspect, an embodiment of the present application provides a signal analysis interaction method, which is applied to a signal analysis device including a screen, and includes:

[0009] Displaying a signal analysis project configuration interface on the screen;

[0010] Obtaining a first control operation through the analysis project configuration interface to determine an analysis project to be executed;

[0011] Displaying a waveform image of the at least one signal in an image display area of ​​a screen according to the acquired at least one signal;

[0012] In response to a second control operation, displaying a selection area in the image display area of ​​the screen; the selection area is used to indicate the area selected by the second control operation in the image display area;

[0013] obtaining parameters of the signal selected by the second control operation according to the image in the selected area;

[0014] The analysis item to be executed is executed according to the parameters of the signal, and the execution result is displayed.

[0015] In conjunction with the first aspect of the present application, in an optional implementation manner, the signal parameter includes a channel list of the signal;

[0016] The obtaining of the parameter of the signal selected by the second control operation according to the image in the selected area includes: obtaining the pixel color of the image in the selected area;

[0017] The channel list is determined according to the correspondence between the pixel colors and the channels of the signal.

[0018] In combination with the first aspect of the present application, in an optional embodiment, obtaining the pixel color of the image in the selected area includes: selecting at least one column of pixels in the selected area, and determining the pixel color of the image in the selected area based on the color of the column of pixels.

[0019] In conjunction with the first aspect of the present application, in an optional implementation manner, the parameter of the signal includes a first signal range and a second signal range;

[0020] The obtaining of the parameter of the signal selected by the second control operation according to the image in the selected area includes: determining a first signal range and a second signal range according to a horizontal range and a vertical range of the image in the selected area, respectively.

[0021] In combination with the first aspect of the present application, in an optional implementation manner, the signal parameter includes a channel list of the signal; and the channel list is determined according to the first signal range and the second signal range.

[0022] In combination with the first aspect of the present application, in an optional implementation, after obtaining the first control operation through the analysis project configuration interface and determining the analysis projects to be executed, it also includes: displaying a list of the analysis projects to be executed.

[0023] In conjunction with the first aspect of the present application, in an optional implementation manner, the waveform of the at least one signal includes a time domain waveform or a frequency domain waveform;

[0024] The signal parameters corresponding to the time domain waveform include time range, amplitude range, channel identification and / or signal data;

[0025] The signal parameter frequency range, signal power, channel identification and / or signal data corresponding to the frequency domain waveform.

[0026] In a second aspect, an embodiment of the present application provides a signal analysis device, comprising:

[0027] a display unit configured to display a signal analysis project configuration interface on a screen, and to display a waveform image of the at least one signal in an image display area of ​​the screen according to the at least one acquired signal;

[0028] a control operation acquiring unit configured to acquire a first control operation through the analysis item configuration interface, determine an analysis item to be executed, and acquire a second control operation;

[0029] The display unit is further configured to display a selection area in the image display area of ​​the screen in response to a second control operation; the selection area is used to indicate an area selected by the second control operation in the image display area;

[0030] The processing unit is configured to obtain parameters of the signal selected by the second control operation according to the image in the selected area; execute the analysis item to be executed according to the parameters of the signal, and control the display unit to display the execution result.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the signal analysis interaction method described in any one of the above aspects are implemented.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the signal analysis interaction method described in any one of the above aspects.

[0033] The signal analysis interaction method, signal analysis device, electronic device, and computer-readable storage medium provided in the embodiments of the present application utilize an analysis project configuration interface to obtain a first control operation to set the desired analysis project, and obtain a second control operation to determine the signal waveform to be analyzed, which is selected in the image display area of ​​the screen. This allows for free configuration of the analysis project of interest to the user and quick selection of the signal to be analyzed. This solves the technical issues of traditional signal analysis, which requires multiple interactions, is cumbersome, time-consuming, and inefficient, and improves the operational flexibility and convenience of waveform analysis, thereby increasing the efficiency of signal analysis.

[0034] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0036] FIG1 is a schematic diagram of a signal analysis interaction method provided by an embodiment of the present application;

[0037] FIG2 is a schematic diagram of an analysis project configuration interface provided by an embodiment of the present application;

[0038] FIG3 is a schematic diagram showing a list of analysis items provided in an embodiment of the present application;

[0039] FIG4 is a schematic diagram of an image display area 1 in an embodiment of the present application;

[0040] FIG5 is a second schematic diagram of an image display area in one embodiment of the present application;

[0041] FIG6 is a schematic diagram of waveform overlap in one embodiment of the present application;

[0042] FIG7 is a schematic diagram showing analysis results in one embodiment of the present application;

[0043] FIG8 is a first schematic diagram of a signal analysis device provided by an embodiment of the present application;

[0044] FIG9 is a second schematic diagram of a signal analysis device provided in one embodiment of the present application;

[0045] FIG10 is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] To make the technical solutions and beneficial effects of this application more clearly understood, the technical solutions in the embodiments of this application are clearly and completely described below by listing specific embodiments. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this application.

[0048] It should be understood that the terms "first," "second," and so forth, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are used solely to distinguish a first element from another element. For example, a first resistor could be referred to as a second resistor, and similarly, a second resistor could be referred to as a first resistor, without departing from the scope of this application. A first resistor and a second resistor are both resistors, but they are not the same resistor. When describing "first," it does not necessarily imply the presence of a "second," nor does discussing "second" necessarily imply the presence of a first element, component, region, layer, or portion. When used herein, the singular forms "a," "an," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. "A plurality" means more than two, unless otherwise specifically defined. It should also be understood that the term "comprising," when used in this specification, specifies the presence of the stated features, but does not preclude the presence or addition of one or more other features. As used herein, the term "and / or" includes any and all combinations of the associated listed items.

[0049] It is understood that in the context of this application, "connection" means that electrical signals or data can be transmitted between the connected end and the connected end, and can be understood as "electrical connection", "communication connection", etc. In the context of this application, "A and B are directly connected" means that no components other than wires are between A and B.

[0050] The signal analysis interaction method and signal analysis device provided in the embodiments of the present application can be applied to electronic measuring instruments, such as oscilloscopes, spectrum analyzers, frequency meters, and other equipment.

[0051] Referring to FIG1 , a signal analysis interaction method is applied to a signal analysis device including a screen, and the method includes the following steps:

[0052] S10, displaying the signal analysis project configuration interface on the screen. The signal analysis project configuration interface includes two or more analysis project selection controls. The analysis project configuration interface is used to show the user the analysis functions that the device can achieve, so that the user can intuitively determine the project to be analyzed through visual interaction. Optionally, the analysis project configuration interface includes different functional areas, which are divided according to the analysis function area. The functional area includes at least one selection control for obtaining the user's control operation to determine the analysis project selected by the user. Optionally, the selection control includes: a text input box, a button control, a check box control, a radio control, a drop-down selection control, a list control, etc. Optionally, the screen includes a touch screen or a non-touch screen. The method of obtaining the user's control operation includes using an input device such as a mouse, keyboard or touch screen to obtain the analysis project corresponding to the selection control selected by the user.

[0053] Figure 2 shows a possible analysis project configuration interface, which includes multiple functional areas: automatic measurement, mathematical operations, bus decoding, and complex analysis. Each functional area includes multiple corresponding function selection controls. The automatic measurement area includes measurement items 1 through 5, representing maximum, amplitude, average, frequency, and overshoot, respectively. The mathematical operations area includes mathematical operations 1 through 5, representing addition, subtraction, multiplication, division, and AND, respectively. The bus decoding area includes bus 1 through bus 5, representing IIC, SPI, UART, CAN, and LIN, respectively. The complex analysis area includes regional screenshots, Bode plot analysis, manual cursors, histogram analysis, power supply analysis, Lissajous analysis, and real-time spectrum. The number and content of the functional areas and selection controls can be customized. Optionally, the selection controls in Figure 2 include checkboxes. It should be understood that the control type is customized, and different types of controls can be combined in any way.

[0054] S20: Obtain a first control operation through the analysis project configuration interface and determine the analysis project to be executed. The user's first control operation is received via multiple selection controls in the analysis project configuration interface. Optionally, the user performs the first control operation via an input device such as a touch screen, keyboard, mouse, or voice input. The analysis project configuration interface includes multiple selection controls to receive the user's first control operation. Optionally, the selection controls include multiple different types to receive different types of first control operations. Referring to Figure 2, a checkbox control is used to receive a selection control operation for a functional area. When the corresponding checkbox in the functional area is selected, the selection control operation has been received. Selecting the histogram analysis checkbox in the complex analysis functional area indicates that the histogram analysis analysis item has been selected. Selecting the checkbox in the automatic measurement functional area, and selecting both measurement items 1 and 2 in the functional area, indicates that the analysis functions for measurement items 1 and 2 have been selected. Optionally, the color of the selection control changes after receiving the control operation. As shown in Figure 2, the color of the selection controls for measurement items 1 and 2 changes from white to blue after receiving the control operation. Optionally, the selection control in FIG2 includes a check control. When a control is selected, the rectangular frame of the control is filled with color.

[0055] Analysis projects include single-channel analysis projects, dual-channel interactive analysis projects, and / or multi-channel interactive analysis projects. Optionally, single-channel analysis projects, dual-channel interactive analysis projects, and / or multi-channel interactive analysis projects are displayed on the analysis project configuration interface as needed. Single-channel functions are functions that can be achieved by analyzing or measuring parameters of a single channel signal. Dual-channel interactive functions are functions that require interactive processing of two or more channel signals. For time domain waveforms, single-channel function options include: measurement analysis, cursor analysis, ZOOM magnification, histogram analysis, regional decoding, single-channel frequency counter analysis, single-channel digital voltmeter analysis, and fast Fourier transform (FFT) operation analysis.

[0056] The measurement and analysis function is used to obtain one or more of the following waveform parameters for the selected channel signal within the entire image display area or within a selected area: period, frequency, rise time, fall time, positive pulse width, negative pulse width, positive duty cycle, negative duty cycle, number of positive pulses, number of rising edges, number of falling edges, maximum value, minimum value, positive slope, negative slope, maximum amplitude, minimum amplitude, peak-to-peak value, top value, bottom value, average value, effective value, etc. For example, the entire image display area ranges from -800ns ≤ t to 1500ns.

[0057] Cursor measurement is used to obtain the following parameters of the selected channel signal and the selected waveform range: peak-to-peak value, period, frequency, time range, etc. For example, the selected waveform range is: -500ns≤t≤500ns, -300mV≤a≤200mV.

[0058] Zoom is used to magnify the selected channel signal or waveform range within the entire image display area, or automatically zoom in on the selected channel for a clearer waveform display. Histogram analysis counts the number of instantaneous amplitude occurrences of each waveform sample value to understand the waveform structure. The histogram is rotated so that its amplitude scale is vertical to match the waveform and then superimposed on the signal waveform. Regional decoding translates the selected protocol message signal into its corresponding data meaning. FFT analysis performs a Fast Fourier Transform on the selected signal to obtain frequency domain information.

[0059] Dual-channel interactive analysis and / or multi-channel interactive analysis include: Math operations, dual-channel measurements, Lissajous plots, power quality analysis, multi-channel trigger configuration, or decoding configuration, among others. Dual-channel measurement is used to obtain waveform delay, phase, and other information for the two selected channels. Math operations are used to perform arithmetic or logical operations on the waveforms of the two selected channels. Arithmetic operations include addition, multiplication, division, and subtraction, and logical operations include AND, OR, and NOT. Lissajous plots are used to obtain the composite trajectory of two sinusoidal vibrations along mutually perpendicular directions, allowing the frequency ratio and phase difference of the two signals to be measured. Power quality analysis analyzes power quality based on the selected channel, for example, using channel CH1 as voltage and channel CH3 as current. The waveform data can be analyzed for a selected waveform range or the entire display area. Multi-channel trigger configuration or decoding configuration is used to configure trigger signals. For example, when configuring I2C (I2C) protocol triggering or decoding, channel CH1 can be used as the trigger clock and channel CH3 as the data.

[0060] As shown in the Error! Reference source not found, two channels, CH1 and CH3, and two waveforms, ① and ②, are selected in the selection. The rectangular box in the figure represents a user-drawn selection marker. Dual-channel interactive analysis projects analyze the waveforms of the selected channels, CH1 and CH3, for example: CH1 and CH3 addition, CH1 and CH3 phase measurement, CH1 and CH3 delay measurement, CH1 and CH3 Lissajous curve analysis, CH1 and CH3 power quality, and CH1 and CH3 triggering.

[0061] For frequency domain waveforms, single-channel analysis options include zoom, peak, signal-to-noise ratio (SNR), bandwidth, and power measurement. Dual-channel or multi-channel interactive analysis options include mathematical operations, normalization, and replication. Optional mathematical operations include addition, subtraction, multiplication, division, logarithm, and exponential.

[0062] Optionally, step S20 may be followed by step S21, where a list of pending analysis items is displayed. Once the pending analysis items are determined, the screen displays the list of pending analysis items, showing the user the selected analysis items for easy verification and review. As shown in Figure 3, the list of pending analysis items displayed on the screen includes: maximum value, average value, histogram analysis, and manual cursor analysis.

[0063] S30: Displaying a waveform image of the at least one acquired signal in the image display area of ​​the screen. Before displaying the signal waveform, the signal to be analyzed is first acquired. The signal may come from more than one channel. Optionally, each channel includes a signal waveform. Optionally, the waveform includes a time domain waveform or a frequency domain waveform. Optionally, step S30 may occur before or after step S10.

[0064] Various types of display screens capable of displaying images are used as image display areas, including CRT screens, liquid crystal screens, LED screens, LCD screens, touch screen screens, etc. The image display area includes multiple pixels. The image is displayed by changing the color and brightness of the pixels. The image can be a two-dimensional image or a three-dimensional image. Each pixel includes a coordinate position and a pixel attribute value. For a two-dimensional image, the coordinate position includes a horizontal coordinate and a vertical coordinate. For a three-dimensional image, the coordinate position is represented by three values ​​(x, y, z), where x, y, and z are the coordinate values ​​of the x-axis, y-axis, and z-axis, respectively, which have a common coordinate origin and are orthogonal to each other.

[0065] The physical meaning of coordinate positions varies depending on the measurement device or measurement object. Optionally, in a two-dimensional image, coordinate positions include horizontal and vertical coordinates. For example, for an oscilloscope, the horizontal coordinate represents time, and the vertical coordinate represents signal amplitude (V / mV), such as the amplitude of voltage or current. For a spectrum analyzer, the horizontal coordinate represents frequency, and the vertical coordinate represents signal power in decibels (dB). In a three-dimensional image, x represents time or frequency, y represents amplitude or power, and z represents the waveform number or channel number.

[0066] Different pixel color attributes are used to represent different waveforms in a waveform image. Optionally, color values ​​can be expressed in different color modes, such as RGB, HSB, grayscale, and bitmap. The RGB color mode represents colors composed of the three primary colors: red (R), green (G), and blue (B). The HSB color mode represents colors represented by hue (H), saturation (S), and brightness (B). The grayscale mode represents brightness using different grayscale levels, such as 0 to 255. The bitmap mode represents pixels in an image using black and white.

[0067] Optionally, the signal data is read from a memory, in which the signal data to be processed is pre-stored in the storage unit; or, the signal data is obtained after real-time processing of the signal collected from the input port. Exemplarily, the method for obtaining the signal data is as follows: first, a probe is used to sample the signal to obtain an analog input signal; then, an analog signal processing unit is used to control the gain and offset of the analog input signal, and the analog signal is amplified or attenuated, thereby outputting a signal of appropriate amplitude; then, the signal output by the analog signal processing unit is analog-to-digital converted to be converted into a digital signal output; then, the digital signal is collected and cached in the memory. The signals collected multiple times are overlapped, compressed, filtered, or interpolated, and then stored after data processing to obtain waveform data. Optionally, the signals of different analog signal processing units are marked with different colors.

[0068] The waveform image consists of the waveform portion and the background portion. Error! Reference source not found. This is the portion of the image display area on the screen. The horizontal axis represents time in nanoseconds (ns), and the vertical axis represents amplitude in millivolts (mV). The image display area displays two waveform images, ① and ②. Waveform ① is yellow and represents the first pixel value; waveform ② is red and represents the second pixel value. The background in the image display area is black and represents the third pixel value.

[0069] It is understood that the number of waveforms displayed in the image display area is not limited, and can be two as shown, or one, three, five, etc. There is also no limit to the type of waveform displayed, and it can be a rectangular wave, a triangle wave, a sine wave, or any other type of waveform.

[0070] S40. In response to the second control operation, a selection area is displayed in the image display area of ​​the screen; the selection area indicates the area selected in the image display area by the second control operation. Through the second control operation, the user draws a selection area or selects a specific area in the image display area. The selection area includes an image of the waveform of the signal to be analyzed selected by the second control operation, such as waveform images of a specific channel or multiple channels. Through the second control operation, the user can select the waveform to be analyzed.

[0071] The selection area can be a closed area or a non-closed area. The selection area identifier can be a regular shape, such as a rectangle, circle, triangle, ellipse, etc., refer to Figure 6. It can also be an irregular shape, such as a hand-drawn circle, a shape surrounded by multiple line segments or arcs to form a certain area. By displaying the selection area in the image display area, it is convenient for the user to determine whether the current selection area is the area desired to be selected in a what-you-see-is-what-you-get manner. The selection area can be one or more than two. Figure 4 shows three selection areas. The implementation method of the second control operation may include a keyboard, a mouse, a microphone, a gesture recognition device, a touch display screen or a touchpad, etc., and the present application has no restrictions on this. In this way, the user can intuitively and flexibly select the waveform to be analyzed.

[0072] Optionally, the selection area is obtained by changing the icon position in the image display area. The icon is used to track in real time the changes in the contact position when the image display area is touched, or the position of the pixel point selected in the image display area. Optionally, when the image display area is touched by a finger or a stylus to draw a selection area, the icon can track the position changes of the finger or stylus in the image display area, such as the movement trajectory. Alternatively, when a pixel point is selected in the image display area by a mouse and the mouse cursor is moved, the icon can display the position changes of the selected pixel point. The icon can be a pattern such as an arrow, circle, or cross of a certain color.

[0073] It can be understood that when the mouse cursor moves in the image display area, or the finger or stylus touches the image display area and moves in the image display area, the icon will turn into a line as the mouse cursor, finger or stylus moves to track its position change or movement trajectory, thereby forming a selection area mark.

[0074] Optionally, the selection area can be drawn by selecting two pixels in the image display area, with the locations of the two pixels indicated by icons. The coordinates of the two pixels are used as the diagonal vertices of a rectangle with four sides parallel to the horizontal and vertical coordinates, and the area defined by the rectangle is the selection area. Alternatively, multiple pixels can be selected in the image display area, and the selected points can be sequentially connected to form the enclosed area as the selection area. The image range of the selection area can be determined by obtaining the coordinates of the pixels identified by the selection area.

[0075] The pixel selection is achieved by operating an input device such as a mouse, a touch screen or a touchpad. Optionally, the operation method is: click the mouse button multiple times, or click the touch screen or touchpad, and the position of the icon in the image display area at each click is the selected pixel position. Alternatively, first press the mouse button, or press the touch screen or touchpad with a finger or stylus, and then drag the mouse, finger or stylus in a predetermined trajectory, and the position where the icon passes is the selected pixel position. Alternatively, first press the mouse button, or press the touch screen or touchpad with a finger or stylus, and then drag the mouse, finger or stylus in a predetermined trajectory, and then release the button, finger or stylus, and the position of the icon when the mouse button is pressed and released is the selected pixel position.

[0076] Through the above-mentioned visual operation mode, the waveform to be analyzed can be selected flexibly and conveniently, which simplifies the operation of the signal analysis instrument and improves the work efficiency of signal analysis.

[0077] S50, obtain the parameters of the signal selected by the second control operation based on the image in the selection area. The parameters of the signal include the channel list of the signal. The parameters of the signal also include the first signal range and the second signal range. The selection area drawn by the user through the second control operation or the selection area demarcated in the image display area includes an image of the waveform of the signal to be analyzed. Based on the image of the waveform in the selection area, determine the channel list of the signal selected by the second control operation. Optionally, the channel list includes information such as the number and / or identification of channels. The channel identification is used to indicate the channel to which the waveform belongs. Optionally, the channel list is determined by counting the color values ​​of the image pixels in the selection area. Each channel corresponds to a different color, so that the image of the waveform can be displayed differently. Therefore, by determining the pixel color values ​​of the image in the selection area, the number of channels, identification and other information can be determined. Specifically including the following steps:

[0078] S501, obtain the pixel color of the image in the selected area. The image data in the selected area includes the horizontal coordinate, vertical coordinate and pixel color value of each pixel point in the selected area. Since each channel corresponds to a different color value, the number and identification of the channels can be determined according to the color value. The horizontal coordinate range of the selected area demarcated by the white solid line box in Figure 4 is [-50ns, 50ns], and the vertical coordinate range is [-300mV, 300mV]. The selected area includes three colors, yellow and red represent waveform images ① and ② respectively, and black represents the background. The three codes #FFDD55, #FF3333, and #000000 are used to represent the above three colors respectively. The pixel color values ​​in the selected area are counted, and the color values ​​of the non-background are obtained as #FFDD55 and #FF3333.

[0079] S502, determine the channel list based on the correspondence between pixel colors and signal channels. When displaying waveform data as an image, the waveform of each channel is represented by a different pixel color value. After statistically obtaining the pixel color values ​​in the selected area, the channel list selected in the selected area can be determined based on the correspondence between them and the channel signals. The channel list includes information such as the number of channels, identification, and gear position. In Figure 4, the color values ​​of waveform images ① and ② are #FFDD55 and #FF3333 respectively. There are two types of pixel colors in the selected area, and the corresponding channel identifications are CH1 and CH3.

[0080] Optionally, step S501 also includes: S5011, selecting at least one column of pixels in the selected area, and determining the pixel color of the image in the selected area based on the color of the column of pixels. Counting the color types of the pixels in the column as the types of the pixel colors of the image in the selected area. The image data is stored in a two-dimensional array, the column index of the array corresponds to the horizontal coordinate of the image, the row index of the array corresponds to the vertical coordinate of the image, and the value of the array corresponds to the pixel color value at the coordinate position. Optionally, the column where the longitudinal symmetry axis of the selected area is located is selected for statistics. By selecting only one column in the selected area for statistics, statistical operations on all pixels in the selected area are avoided, thereby improving the operation speed.

[0081] Optionally, the signal parameters also include a first signal range, a second signal range, and signal data. For a time domain waveform, the first signal range and the second signal range are the time range and amplitude range, respectively; for a frequency domain waveform, the first signal range and the second signal range are the frequency range and signal power range, respectively.

[0082] S511: Determine a first signal range and a second signal range based on the horizontal and vertical ranges of the image in the selected area. The horizontal and vertical coordinates of the waveform image represent different physical meanings. For a time-domain waveform, when displaying signal data, the horizontal coordinate of each pixel in the image corresponds to a different time instant of the signal, and the vertical coordinate of each pixel corresponds to the signal amplitude. For a frequency-domain waveform, when displaying signal data, the horizontal coordinate of each pixel in the image corresponds to a different frequency of the signal, and the vertical coordinate of each pixel corresponds to the signal power. The horizontal range of the image in the selected area can be used to determine the start and end times, or the start and end frequencies, of the selected signal to be analyzed, i.e., the first signal range. The vertical range of the image in the selected area can be used to determine the amplitude range or power range of the selected signal to be analyzed, i.e., the second signal range. As shown in Figure 4, for the time-domain waveform image, the selected area is demarcated by a solid white box. Based on the above correspondence between the image and the waveform, the first signal range is obtained: time t, -50 ns ≤ t ≤ 50 ns; the second signal range is obtained: amplitude a, -300 mV ≤ a ≤ 300 mV. For the frequency domain waveform image, as shown in FIG5 , the selected area is demarcated by the dotted line frame, the first signal range is about 1.9 MHz, and the second signal range is about 6 dBm.

[0083] For some analysis projects, only the first and second signal ranges need to be obtained, such as ZOOM amplification.

[0084] Optionally, the channel list is determined by comparing the data range of the signal.

[0085] S512, determine the channel list according to the first signal range and the second signal range. From the acquired signals, compare whether the time and amplitude of each channel signal data fall within the selected data range. If so, it indicates that the channel signal is selected. First, find out the signal corresponding to the data in the first signal range in the data collected by each channel acquired. Then determine the signal channel corresponding to the data within the first signal range and the second signal range. As shown in Figure 4, the signal data range of the selected area is: time t, -50ns≤t≤50ns; amplitude a, -300mV≤a≤300mV. By comparing the acquired signal data, it can be seen that there are two channel signals CH1 and CH3 that fall within the signal data range of the selected area, then it can be determined that the channels selected in the selected area are the two channels CH1 and CH3.

[0086] When waveform images overlap, the channel list cannot be determined by image pixel color. As shown in Figure 6, the waveforms of channels ③ and ④ of CH1 and CH3 overlap. In this case, the channel list can be determined by comparing the channel signal data, effectively resolving the problem of waveform image overlap.

[0087] S60, execute the analysis items to be executed according to the parameters of the signal, and display the execution results. After the selection area is determined by the second control operation, the signal parameters in the selection area are automatically read, the determined analysis items to be executed are opened, and executed. The functions to be executed are executed by calling the various functional modules of the instrument. Different signal parameters are selected and transmitted according to the different functions executed. Optionally, if the function option determined by the second control operation is FFT operation, the data and horizontal range of the selected channel are transmitted, such as the horizontal range [-100us, 100us]; if the function option determined by the second control operation is cursor analysis, the data, horizontal range and vertical range of the selected channel are transmitted, such as the horizontal range [-500ns, 500ns] and the vertical range [-300mV, 200mV]; if the function option determined by the second control operation is ZOOM magnification, the horizontal range of the screen display area is transmitted, such as [-500ns, 500ns].

[0088] Optionally, the analysis results are displayed in the image display area. (See Error! Reference source not found.) The image display area simultaneously displays the signal waveform image and analysis results. The solid rectangle in the figure represents the selected area. The lower left portion of the figure shows the histogram analysis results, the upper right portion shows the manual cursor analysis results, and the lower right portion shows the average and maximum analysis results. The number of execution result display areas depends on the number of analysis items to be performed.

[0089] By obtaining the first control operation through the analysis project configuration interface to set the desired analysis project, and by obtaining the second control operation, the signal waveform to be analyzed is determined in the image display area of ​​the screen, which enables the user to freely configure the analysis project of interest and quickly select the signal to be analyzed. This solves the technical problems of traditional signal analysis that require multiple interactions to achieve, and the cumbersome, time-consuming and inefficient operation of signal analysis, improves the operational flexibility and convenience of waveform analysis, and improves the efficiency of signal analysis.

[0090] Another embodiment of the present application provides a signal analysis device for implementing the above-mentioned signal analysis interaction method. Optionally, see Error! Reference source not found. The signal analysis device includes:

[0091] The control operation acquisition unit 601 is configured to acquire a first control operation through the analysis project configuration interface and determine an analysis project to be executed.

[0092] Display unit 602 is configured to display a signal analysis project configuration interface on the screen. Display unit 602 is also configured to display a waveform image of the at least one acquired signal within the image display area of ​​the screen. Optionally, display unit 602 is also configured to display a selection area identifier, selection controls, and / or signal execution results. Optionally, the processing result is the result corresponding to a specific function option, or the results corresponding to multiple function options.

[0093] The control operation acquisition unit 601 is further configured to acquire a second control operation for selecting a signal waveform to be analyzed. In response to the second control operation, the display unit 602 displays a selection area in the image display area of ​​the screen; the selection area indicates the area selected in the image display area by the second control operation.

[0094] The processing unit 603 is configured to obtain the parameters of the signal selected by the second control operation according to the image in the selected area. The processing unit 603 is also configured to execute the analysis item to be executed according to the parameters of the signal and control the display unit to display the execution result.

[0095] In an optional embodiment, displaying the function options to be executed according to the channel list includes: determining the number of channels in the channel list, and if the number of channels is 1, displaying the first function option; if the number of channels is greater than or equal to 2, displaying the second function option.

[0096] In an optional embodiment, the parameters of the signal include a channel list of the signal; and the channel list is determined according to a correspondence between pixel colors and signal channels.

[0097] In an optional embodiment, obtaining the pixel color of the image in the selected area includes: selecting at least one column of pixels in the selected area, and determining the pixel color of the image in the selected area based on the color of the column of pixels.

[0098] In an optional embodiment, the parameters of the signal include a first signal range and a second signal range; obtaining the parameters of the signal selected by the second control operation according to the image in the selected area includes: determining the first signal range and the second signal range according to the horizontal range and vertical range of the image in the selected area respectively.

[0099] In an optional embodiment, the signal parameter includes a channel list of the signal; and the channel list is determined according to the first signal range and the second signal range.

[0100] In an optional embodiment, after obtaining the first control operation through the analysis project configuration interface and determining the analysis projects to be executed, the method further includes: displaying a list of analysis projects to be executed.

[0101] In an optional embodiment, the waveform of at least one signal includes a time domain waveform or a frequency domain waveform; the signal parameters corresponding to the time domain waveform include time range, amplitude range, channel identification and / or signal data; the signal parameters corresponding to the frequency domain waveform include frequency range, signal power, channel identification and / or signal data.

[0102] Reference error! Reference source not found. In an optional embodiment, the signal analysis device further includes a measurement signal input port 604 configured to receive a measurement signal.

[0103] In an optional embodiment, the signal analysis device further includes an analog signal processing unit 605, which is configured to control the gain and offset of the analog signal input, amplify or attenuate the analog signal, thereby generating a signal of appropriate amplitude, and output the signal to the analog-to-digital conversion unit.

[0104] In an optional embodiment, the signal analysis device further includes an analog-to-digital conversion unit 606 configured to receive a signal from the analog front end and convert the signal into a digital signal.

[0105] In an optional embodiment, the signal analysis device further includes a digital signal acquisition and processing unit 607 configured to acquire and cache digital signals in a memory, overlap multiple acquired signals, and perform data processing such as compression, filtering, or interpolation to obtain waveform data. Different analog front-end signals are indicated by different colors.

[0106] In an optional embodiment, the signal analysis device further includes a storage unit 608 configured to store the waveform data output by the digital signal acquisition and processing unit.

[0107] In an optional embodiment, the signal analysis device further includes a memory 609 configured to store application programs and cached data of the display screen.

[0108] For the specific definition of the signal analysis device, please refer to the definition of the signal analysis interaction method above, and will not be repeated here. The various modules in the above-mentioned signal analysis interaction method can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0109] An embodiment of the present application also provides an electronic device. Error! Reference source not found. Shown is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device 800 includes: one or more processors 801 and a memory 802; the memory 802 stores computer-executable instructions; the processor 801 is used to execute the computer-executable instructions to implement the steps in the signal analysis interaction method of any of the above embodiments. The processor 801 can be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and can control other components in the electronic device to perform the desired functions.

[0110] The memory 802 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 801 may execute the program instructions to implement the steps in the signal analysis interaction method of each embodiment of the present application described above and / or other desired functions.

[0111] In one example, the electronic device 800 may further include: an input device and an output device, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown in the figure). In addition, the input device may also include, for example, a keyboard, a mouse, a microphone, etc. The output device can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc. Of course, for simplicity, Figure 10 only shows a part of the components of the electronic device 800 related to the present application, and omits components such as a bus, an input device / output interface, etc. In addition, depending on the specific application, the electronic device 800 may also include any other appropriate components. In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned signal analysis interaction method are implemented.

[0112] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0113] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0114] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A signal analysis interaction method, the method being applied to a signal analysis device including a screen, the method comprising: Displaying a signal analysis project configuration interface on the screen; Acquire a first control operation through the analysis project configuration interface to determine the analysis project to be executed; Displaying a waveform image of the at least one signal in an image display area of ​​a screen according to the at least one signal acquired; In response to a second control operation, displaying a selection area in the image display area of ​​the screen; the selection area is used to indicate an area selected by the second control operation in the image display area; Obtaining parameters of the signal selected by the second control operation according to the image in the selected area; The analysis item to be executed is executed according to the parameters of the signal, and the execution result is displayed.

2. The signal analysis interactive method according to claim 1, wherein: The parameters of the signal include a channel list of the signal; The step of obtaining the parameter of the signal selected by the second control operation according to the image in the selected area includes: obtaining the pixel color of the image in the selected area; The channel list is determined according to the correspondence between the pixel colors and the channels of the signal.

3. The signal analysis interactive method according to claim 2, wherein: The step of obtaining the pixel color of the image in the selected area comprises: At least one column of pixels is selected in the selected area, and the pixel color of the image in the selected area is determined according to the color of the column of pixels.

4. The signal analysis interactive method according to claim 1, wherein: The parameters of the signal include a first signal range and a second signal range; The step of obtaining the parameter of the signal selected by the second control operation according to the image in the selected area comprises: determining a first signal range and a second signal range respectively according to a horizontal range and a vertical range of the image in the selected area.

5. The signal analysis interaction method according to claim 4, wherein: The parameters of the signal include a channel list of the signal; the channel list is determined according to the first signal range and the second signal range.

6. The signal analysis interactive method according to claim 1, wherein: After obtaining the first control operation through the analysis project configuration interface and determining the analysis project to be executed, the method further includes: A list of the analysis items to be executed is displayed.

7. The signal analysis interactive method according to claim 1, wherein: The waveform of the at least one signal includes a time domain waveform or a frequency domain waveform; The signal parameters corresponding to the time domain waveform include time range, amplitude range, channel identification and / or signal data; The signal parameter frequency range, signal power, channel identification and / or signal data corresponding to the frequency domain waveform.

8. A signal analysis device, comprising: A display unit, used to display a signal analysis project configuration interface on a screen, and to display a waveform image of the at least one signal in an image display area of ​​the screen according to the at least one signal acquired; A control operation acquisition unit, configured to acquire a first control operation through the analysis project configuration interface, determine an analysis project to be executed, and acquire a second control operation; The display unit is further used to display a selection area in the image display area of ​​the screen in response to a second control operation; the selection area is used to indicate an area selected by the second control operation in the image display area; A processing unit is used to obtain parameters of the signal selected by the second control operation according to the image in the selected area; execute the analysis item to be executed according to the parameters of the signal, and control the display unit to display the execution result.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the signal analysis interaction method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the signal analysis interaction method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Digital oscilloscope waveform display method and device

    CN108254607A

  • Touch digital oscilloscope and waveform selection method thereof

    CN110441572A

  • Dynamic electrocardiographic analysis method and device, computer equipment and storage medium

    CN112244865A

  • Signal analysis interaction method and device, electronic equipment and storage medium

    CN117075780A

  • Method for Selecting Waveforms on Electronic Test Equipment

    US20140240240A1