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

By displaying the signal waveform image on the screen of the electronic measuring instrument and allowing users to select selections in the image display area, and automatically matching the function options, the problem of cumbersome signal analysis operation in the prior art is solved, and the analysis efficiency and operation convenience are improved.

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

Patent Information

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

AI Technical Summary

Technical Problem

The existing electronic measuring instruments are cumbersome to operate during signal testing, and they need to set channels, measurement ranges and functional options through multiple hierarchical menus, which consumes time and is inefficient in work.

Method used

By displaying the waveform image of the signal on the screen of the signal analysis device, the user can select a selection in the image display area, determine the channel list of the signal based on the images in the selection, and automatically match the corresponding function options to intuitively prompt the user to perform the analysis function currently.

Benefits of technology

It simplifies the operation process of signal analysis, improves work efficiency, reduces the possibility of selection errors, and enhances the operational flexibility and convenience of waveform analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024070715_06032025_PF_FP_ABST
    Figure CN2024070715_06032025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to a signal analysis interaction method and a signal analysis apparatus. The method comprises: on the basis of an acquired signal, displaying an image of at least one waveform of the signal in an image display area of a screen; in response to a first control operation, displaying a selected area in the image display area, wherein the selected area is used for indicating an area selected on the basis of the first control operation in the image display area; on the basis of the image in the selected area, determining a channel list of a signal selected on the basis of the first control operation; and on the basis of the channel list, displaying a function option to be executed.
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 202311107749.1, 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. These instruments 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. To display the waveforms of various signals using an electronic measuring instrument, 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 an image of at least one waveform of the signal in an image display area of ​​the screen according to the acquired signal;

[0010] In response to a first control operation, a selection area is displayed in the image display area; the selection area is used to indicate the area selected by the first control operation in the image display area;

[0011] determining a channel list of signals selected by the first control operation according to the image in the selected area;

[0012] According to the channel list, function options to be executed are displayed.

[0013] In conjunction with the first aspect of the present application, in an optional implementation manner, displaying function options to be executed according to the channel list includes:

[0014] Automatically match corresponding function options according to the number of channels and / or channel identifiers in the channel list.

[0015] In conjunction with the first aspect of the present application, in an optional implementation manner, determining the channel list of the signal selected by the first control operation according to the image in the selected area includes:

[0016] Get 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 conjunction with the first aspect of the present application, in an optional implementation manner, obtaining the pixel color of the image in the selected area includes:

[0019] At least one column of pixels is selected in the selected area, and the pixel colors of the image in the selected area are determined according to the colors of the column of pixels.

[0020] In conjunction with the first aspect of the present application, in an optional implementation manner, determining the channel list of the signal selected by the first control operation according to the image in the selected area includes:

[0021] 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;

[0022] The channel list is determined according to the first signal range and the second signal range.

[0023] In conjunction with the first aspect of the present application, in an optional implementation manner, after displaying the function options to be executed according to the channel list, the method further includes:

[0024] In response to a second control operation on the function option to be executed, determining a function to be executed;

[0025] Obtaining signal parameters selected by the selected area according to the horizontal range and / or vertical range of the image in the selected area;

[0026] Executing the function to be executed according to the signal parameter;

[0027] The execution result is displayed in the image display area.

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

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

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

[0031] In a second aspect, an embodiment of the present application provides a signal analysis device for implementing the steps of the signal analysis interaction method described in any one of the first aspects above.

[0032] 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 first aspects are implemented.

[0033] 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 first aspects above.

[0034] The signal analysis interaction method, analysis device, electronic device, and computer-readable storage medium provided in the embodiments of the present application obtain a first control operation from the user, display a selection in the image display area, obtain a channel list of the signal selected by the first control operation, and then automatically match the corresponding function options to be executed according to the channel list, and adaptively display the currently executable function options for the currently selected signal to prompt the user. In this way, when performing signal analysis, there is no need to determine the channel waveform, measurement range, analysis function, and other parameters to be analyzed by selecting multiple levels of menus in sequence. The user can be intuitively prompted with the currently executable analysis function options, which facilitates user selection and avoids reminders after making an incorrect selection. This solves the technical problems of cumbersome, time-consuming, and inefficient operations during signal analysis, improves the operational flexibility and convenience of waveform analysis, and improves the efficiency of signal analysis.

[0035] 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

[0036] 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:

[0037] FIG1 is a flow chart of a signal analysis interaction method according to an embodiment of the present application;

[0038] FIG2 is a schematic diagram of an image display area according to an embodiment of the present application;

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

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

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

[0042] FIG6 is a fourth schematic diagram of an image display area in one embodiment of the present application;

[0043] FIG7 is a fifth schematic diagram of an image display area in one embodiment of the present application;

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

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

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

[0047] 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.

[0048] 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.

[0049] 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.

[0050] The signal analysis interaction method provided in the embodiment of the present application can be applied to a signal analysis device, wherein the signal analysis device can specifically be an electronic measuring instrument, such as an oscilloscope, a spectrum analyzer, a frequency meter, and the like.

[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] S110 , displaying an image of at least one waveform of a signal in an image display area of ​​a screen according to the acquired signal.

[0053] Before displaying the signal waveform, the signal to be analyzed is first acquired. The signal can come from more than one channel. Optionally, a signal waveform comes from one channel. Optionally, the waveform includes a time domain waveform or a frequency domain waveform.

[0054] Various types of display screens capable of displaying images are used as image display areas. Display screens may include CRT screens, liquid crystal screens, LED screens, LCD screens, touch screen screens, and the like. The image display area includes a plurality of pixels. The image is displayed by changing the color and brightness of the pixels. The image may 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 (abscissa) and a vertical coordinate (ordinate). 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.

[0055] The physical meaning of coordinate positions varies depending on the measurement device or 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.

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

[0057] Optionally, the signal data is read from a memory, where the storage unit pre-stores the signal data to be processed; or, the signal data is obtained by real-time processing of the signal collected from the input port. Exemplarily, the signal data acquisition method 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, amplify or attenuate the analog signal, and output a signal of appropriate amplitude; then, the signal output by the analog signal processing unit is analog-to-digital converted to a digital signal output; then, the digital signal is collected and cached in a 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.

[0058] The waveform image includes a waveform portion and a background portion. Figure 2 is a schematic diagram of an image display area in an embodiment of the present application, which shows a partial image display area of ​​a display screen, wherein the horizontal axis represents time in nanoseconds (ns), and the vertical axis represents amplitude in millivolts (mV). Two waveform images ① and ② are displayed in the image display area. The color of waveform ① is, for example, yellow, and is represented by a first pixel value; the color of waveform ② is, for example, red, and is represented by a second pixel value. The background in the image display area is black, and is represented by a third pixel value.

[0059] It is understandable that the number of waveforms displayed in the image display area is not limited, and can be two as shown in FIG2 , 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.

[0060] S120 , in response to the first control operation, displaying a selected area in the image display area; the selected area is used to indicate an area selected in the image display area by the first control operation.

[0061] The user uses a first control operation to draw a selection within the image display area or select a certain area. Through the first control operation, the user can select the waveform to be analyzed. The first control operation can be implemented by a keyboard, a mouse, a microphone, a gesture recognition device, a touch screen display or a touchpad, etc., and this application is not limited to this.

[0062] The selection is used to identify the area drawn by the user, or the area demarcated. The area may contain an image of the waveform of the signal you want to analyze, such as the waveform image of a certain channel or several channels. The selection can be a closed area or a non-closed area. The selection mark can be a regular shape, such as a rectangle, circle, ellipse, etc.; it can also be an irregular shape, such as a hand-drawn circle, or a shape surrounded by multiple line segments or arcs to form a certain area. By displaying the selection in the image display area, it is convenient for the user to determine whether the current selection is the area you want to select in a what-you-see-is-what-you-get manner. The selection can be one or more than two. In this way, the user can intuitively and flexibly select the waveform to be analyzed.

[0063] Optionally, the selection area is obtained by changing the icon position of 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 the selection area, the icon can track the position of the finger or stylus on the image display area and change with the position, such as forming a moving track. 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 change of the selected pixel point. The icon can be a pattern such as an arrow, circle, or cross of a certain color.

[0064] 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.

[0065] Optionally, the method for drawing the selection area is: select two pixel points in the image display area, and the positions of the two pixel points are displayed by an icon. The coordinate values ​​of the two pixel points are used as the diagonal vertices of a rectangle, the four sides of the rectangle are parallel to the horizontal coordinate and the vertical coordinate, and the rectangle is determined as the first instruction information, and the area demarcated by it is the selection area. As shown in Figure 2, the white solid line box is the drawn first instruction information, and the area demarcated by the white solid line box is the selection area. Alternatively, multiple pixel points are selected in the image display area, the selected pixel points are connected in sequence, and the area enclosed by the sequential connections is determined as the selection area. The image range of the selection area can be determined by obtaining the pixel coordinates of the selection area identifier.

[0066] 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 a 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 a 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.

[0067] 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.

[0068] S130: Determine a channel list of the signal selected by the first control operation according to the image in the selected area.

[0069] The user uses the first control operation to draw or demarcate an area in the image display area, including an image of the waveform of the signal to be analyzed. Based on the image of the waveform in the area, the channel list of the signal selected by the first control operation is determined. Optionally, the channel list includes information such as the number and / or identification of the channels. Optionally, the channel list is determined by counting the color values ​​of the image pixels in the area. Each channel corresponds to a different color to facilitate the display of the waveform image. Therefore, by determining the pixel color values ​​of the image in the area, the number of channels, identification and other information can be determined. Specifically, the following steps are included:

[0070] [Corrected 02.09.2024 according to Rule 91] S1311, 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 based on the color value. The horizontal coordinate range of the selected area delineated by the white solid line box in Figure 2 is [-50ns, 50ns], and the vertical coordinate range is [-200mV, 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 these 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.

[0071] S1313, 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 selection area, the channel list selected in the selection area can be determined based on its correspondence with the channel signal. The channel list includes information such as the number of channels, identification, and gear position. In Figure 2, the color values ​​of waveform images ① and ② are #FFDD55 and #FF3333, respectively. There are two types of pixel colors in the selection area, and the corresponding channel identifications are CH1 and CH3.

[0072] Optionally, the step of counting the types of pixel colors further includes: S1312, selecting at least one column of pixels in the selected area, counting the colors of the pixels in that column, and obtaining the pixel colors of the image in the selected area. The image data is stored in a two-dimensional array, where 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 array value corresponds to the color value of the pixel at that coordinate position. Optionally, the column containing the longitudinal axis of symmetry of the selected area 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 calculation speed.

[0073] Optionally, determining the channel list by comparing the data range of the signal includes the following steps:

[0074] [Corrected 02.09.2024 according to Rule 91] S1321: The first signal range and second signal range are determined based on the horizontal and vertical ranges of the image in the selected area. The horizontal and vertical coordinates of a 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 moment in the signal, and the vertical coordinate of each pixel corresponds to the amplitude of the signal. For a frequency-domain waveform, when displaying signal data, the horizontal coordinate of each pixel in the image corresponds to a different frequency in the signal, and the vertical coordinate of each pixel corresponds to the power of the signal. The horizontal range of the image in the selected area can be used to determine the starting and ending times, or the starting and ending 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 2, for the time-domain waveform image, the selected area is demarcated by a solid white box. Based on the aforementioned correspondence between the image and waveform, we obtain the first signal range: time t, -50ns ≤ t ≤ 50ns; and the second signal range: amplitude a, -200mV ≤ a ≤ 300mV. For the frequency domain waveform image, as shown in Figure 6, the selected area is demarcated by the dashed box. The first signal range is approximately 1.9MHz, and the second signal range is approximately 6dBm.

[0075] S1322, 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 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 2, the signal data range of the selected area is: time t, -50ns≤t≤50ns; amplitude a, -200mV≤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.

[0076] When waveform images overlap, the channel list cannot be determined by image pixel color. As shown in Figure 3, the waveforms of channels 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.

[0077] S140: Displaying function options to be executed based on the determined channel list. The function options are automatically matched based on the selected channel list and vary depending on the selected channel. The function options may be provided to the user via a menu displayed in an image display area or via voice announcement, and this application does not limit this.

[0078] Optionally, the automatic matching method of the function options includes: automatically matching the corresponding function options according to the number of channels and / or channel identifiers in the channel list. The function options include single-channel function options, dual-channel interactive function options and / or multi-channel interactive function options. The single-channel function is a function that can be achieved by performing analysis or parameter measurement on a single channel signal. The dual-channel or multi-channel interactive function is a function that requires the interactive processing of two or more channel signals. Determine the number of channels in the channel list. If the number of channels is 1, display the first function option; if the number of channels is greater than or equal to 2, display the second function option.

[0079] If the determined channel list only contains a certain channel, the corresponding first function option (single-channel function option) is displayed according to the channel list. For time domain waveforms, the single-channel function options include: measurement analysis, cursor analysis, ZOOM magnification, histogram analysis, regional decoding, single-channel frequency meter analysis, single-channel digital voltmeter analysis, and fast Fourier transform (FFT) operation analysis, etc. Figure 4 is a second schematic diagram of the image display area in an embodiment of the present application, which shows the function options of a single channel / single waveform. The rectangular box in the figure is a selection area mark drawn by the user, and the selection menu is on the right side of the rectangular box. If only one waveform of channel CH1 is selected in the selection area, only the function options that match the channel are displayed in the selection menu, such as: function option 1, function option 2, function option 3, function option 4, function option 5, function option 6...function option n. Optionally, function option 1, function option 2, function option 3, function option 4, function option 5, function option 6, ... function option n are: CH1 area analysis FFT, CH1 full screen analysis FFT, CH1 area measurement analysis, CH1 area cursor analysis, CH1 area ZOOM, CH1 area histogram, CH1 area decoding analysis, CH1 eye diagram analysis, and CH1 jitter analysis.

[0080] 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 1400ns.

[0081] 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.

[0082] 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.

[0083] If the determined channel list contains more than two channels / waveforms, the corresponding second function option (dual-channel or multi-channel function option) is displayed according to the channel list. The second function option may include the first function option, as well as display dual-channel interactive function options, such as Math operation, dual-channel measurement, Lissajous curve, power quality analysis, multi-channel trigger configuration or decoding configuration, etc. Dual-channel measurement is used to obtain information such as waveform delay and phase of the two selected channels. Math operation is 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 operations. Lissajous curves are used to obtain the synthetic trajectory of two sinusoidal vibrations along mutually perpendicular directions, and the frequency ratio and phase difference of the two signals can be measured. Power quality analysis is used to analyze power quality based on the selected channel, for example, channel CH1 is used as voltage and channel CH3 is used as current. The selected waveform range can be analyzed, and the waveform data of the entire image display area can also be analyzed. Multi-channel trigger configuration or decoding configuration is used to configure trigger signals. For example, when configuring IIC (I2C) protocol triggering or decoding, channel CH1 is used as the trigger clock and channel CH3 is used as the data.

[0084] As shown in Figure 2, 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, and to the right of the box is a selection menu. The function menu to the right of the box automatically matches available analysis items based on the channel signals in the selection. For the waveforms of the selected channels CH1 and CH3, Function Options 1, Function Option 2, and Function Option n are: CH1 and CH3 Addition, CH1 and CH3 Phase Measurement, CH1 and CH3 Delay Measurement, CH1 and CH3 Lissajous Plot Analysis, CH1 and CH3 Power Quality, and CH1 and CH3 Triggering.

[0085] Optionally, for frequency domain waveforms, see Figure 6 . Function options 1, 2, ..., and n in the first function option (single-channel function option) include: amplification, regional peak (Peak), signal-to-noise ratio (SNR), bandwidth, power measurement, etc. Referring to Figure 7 , the second function option includes the aforementioned first function option, as well as mathematical operations, normalization, and mutual replication. Mathematical operations optionally include addition, subtraction, multiplication, division, logarithm, and exponential operations. As shown in Figure 7 , the selection area includes three waveforms ⑦, ⑧, and ⑨. Mathematical operations, for example, are operations between waveforms ⑦, ⑧, and ⑨.

[0086] After displaying the function options to be executed according to the channel list, the method further includes step: S151, determining the function to be executed in response to a second control operation on the function options to be executed. The second control operation is an operation of the user determining the desired function to be executed from the displayed function options to be executed. The second control operation can be implemented by using a mouse, a touch screen or a touchpad, or by using a microphone to collect voice instructions, and this application is not limited to this. Optionally, the function options determined by the user on the selection menu are obtained through an input device such as a mouse, a touch screen or a touchpad to determine the analysis function desired by the user.

[0087] S152: Execute the function to be executed based on the signal parameters in the channel list. At least one waveform of the signal includes a time domain waveform or a frequency domain waveform. Signal parameters corresponding to the time domain waveform include time range, amplitude range, channel identifier, and / or signal data. Signal parameters corresponding to the frequency domain waveform include frequency range, signal power, channel identifier and / or signal data, bandwidth, center frequency, etc. The function to be executed is executed by calling various functional modules of the instrument. Different signal parameters are selected for transmission depending on the function being 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, for example, 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, for example, the horizontal range [-500ns, 500ns], 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, for example, [-500ns, 500ns].

[0088] Optionally, the analysis results are displayed in the image display area. See Figure 5 , where the image display area is divided into two areas: the left area displays the waveform, and the right area displays the analysis results. After the user selects the CH1 and CH3 Lissajous curves option, the analysis results are displayed in the right area.

[0089] In one possible implementation, automatic matching of function options includes automatic matching through user customization. Optionally, the user can set which function options are displayed based on their preferences, frequency of use of each function, project needs, and so on. For example, if area measurement and area math operations are frequently used functions, only these commonly used function options will be presented to the user after determining the channel signal. For another example, if a digital voltmeter is a function that will be required for a project in the near future, this function may be set as a recommended function option for the user.

[0090] In one possible embodiment, the automatic matching of function options includes automatic matching using an automatic matching algorithm. The automatic matching algorithm calculates the frequency of use of various functions on a particular instrument or by a particular user, identifies frequently used functions as frequently used functions, and recommends function options for these functions to the user.

[0091] Another embodiment of the present application provides a signal analysis device for implementing the above-mentioned signal analysis interaction method. Optionally, referring to FIG8 , the signal analysis device includes:

[0092] Display unit 601 is configured to display at least one waveform image of the acquired signal within the image display area of ​​the screen. Optionally, display unit 601 is further configured to display a selection area identifier, function options, and / or signal processing results. Optionally, the displayed signal processing result is the processing result corresponding to the function option selected by the user, or the processing result obtained after processing according to the recommended function option. Optionally, the processing result is the result corresponding to a specific function option, or the results corresponding to multiple function options.

[0093] The selection area drawing unit 603 is configured to respond to the first control operation so that the display unit 601 displays the selection area in the image display area. The selection area drawing unit 603 is also configured to respond to the second control operation on the function option to be executed to determine the function to be executed. The selection area drawing unit 603 includes a mouse, a touchpad, or a touch screen.

[0094] The processing unit 602 is configured to determine a channel list of the signal selected by the first control operation according to the image in the selected area; and display function options to be executed according to the channel list.

[0095] The processing unit 602 is further configured to: execute the function to be executed according to the signal parameters of the channel list; and display the analysis result in the image display area.

[0096] In an optional embodiment, displaying function options to be executed according to the channel list includes:

[0097] The number of channels in the channel list is determined. If the number of channels is 1, a first function option is displayed; if the number of channels is greater than or equal to 2, a second function option is displayed.

[0098] In an optional embodiment, determining a channel list of the signal selected by the first control operation according to the image in the selected area includes:

[0099] Get the pixel color of the image in the selection; determine the channel list based on the correspondence between the pixel color and the signal channel.

[0100] 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.

[0101] In an optional embodiment, a channel list of a signal selected by a first control operation is determined based on an image in a selected area, including: determining a first signal range and a second signal range based on a horizontal range and a vertical range of the image in the selected area, respectively; and determining a channel list based on the first signal range and the second signal range.

[0102] In an optional embodiment, after displaying the function options to be executed according to the channel list, it also includes: determining the function to be executed in response to a second control operation on the function options to be executed; and executing the function to be executed according to the signal parameters of the channel list.

[0103] In an optional embodiment, at least one waveform of the 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.

[0104] 9 , in an optional embodiment, the signal analysis device further includes a measurement signal input port 604 for receiving a measurement signal.

[0105] In an optional embodiment, the signal analysis device further includes an analog signal processing unit 605 for controlling the gain and offset of the analog signal input, amplifying or attenuating the analog signal, thereby generating a signal of appropriate amplitude, and outputting the signal to the analog-to-digital conversion unit.

[0106] In an optional embodiment, the signal analysis device further includes an analog-to-digital conversion unit 606 for receiving the signal from the analog front end and converting the signal into a digital signal.

[0107] In an optional embodiment, the signal analysis device further includes a digital signal acquisition and processing unit 607 for acquiring and buffering digital signals in a memory, overlapping multiple acquired signals, and performing data processing such as compression, filtering, or interpolation to obtain waveform data. Different analog front-end signals are indicated by different colors.

[0108] In an optional embodiment, the signal analysis device further includes a storage unit 608 for storing the waveform data output by the digital signal acquisition and processing unit.

[0109] In an optional embodiment, the signal analysis device further includes a memory 609 for storing cache data of the application and the display screen.

[0110] 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.

[0111] An embodiment of the present application also provides an electronic device. Figure 10 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 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.

[0112] 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.

[0113] 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, only a part of the components of the electronic device 800 related to the present application is shown in Figure 8, and components such as a bus, an input device / output interface, etc. are omitted. 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.

[0114] 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).

[0115] 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.

[0116] [Corrected 02.09.2024 according to Rule 91] 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 application. 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 application shall be subject to 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 an image of at least one waveform of the signal in an image display area of ​​the screen according to the acquired signal; In response to a first control operation, displaying a selection area in the image display area; The selected area is used to indicate the area selected by the first control operation in the image display area; Determine a channel list of the signal selected by the first control operation according to the image in the selected area; According to the channel list, function options to be executed are displayed.

2. The signal analysis interactive method according to claim 1, wherein: The displaying of function options to be executed according to the channel list includes: The corresponding function options are automatically matched according to the channel quantity and / or channel identification in the channel list.

3. The signal analysis interactive method according to claim 1, wherein: The determining, according to the image in the selected area, a channel list of the signal selected by the first control operation comprises: Get 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.

4. The signal analysis interactive method according to claim 3, 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.

5. The signal analysis interactive method according to claim 1, wherein: The determining, according to the image in the selected area, a channel list of the signal selected by the first control operation comprises: Determine 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; 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 displaying the function options to be executed according to the channel list, the method further includes: In response to a second control operation on the function option to be executed, determining a function to be executed; The determined function to be executed is executed according to the signal parameters of the channel list.

7. The signal analysis interactive method according to claim 1, wherein: At least one waveform of the 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, used to implement any one of the signal analysis interaction methods of claims 1 to 7.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of any one of the signal analysis interaction methods of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of any one of the signal analysis interaction methods of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and device for arrangement and operation of signal channels of touch oscilloscope

    CN103901244A

  • Touch digital oscilloscope and waveform selection method thereof

    CN110441572A

  • Screen operation method and device, oscilloscope and storage medium

    CN112181251A

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

    CN117149029A

  • Object oriented graphical user interface for a test and measurement instrument

    US11687213B1