Signal processing method, chip, signal display device and storage medium

By calculating the display point position and arrangement order, and setting the sub-waveform energy according to the distance, the vivid display of analog waveforms in digital signal processing is achieved, which solves the problem of poor waveform vitality in digital signal processing technology, and improves the smoothness of the waveform and the global afterglow effect of the waveform .

CN114252672BActive Publication Date: 2024-11-15RIGOL TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111337254.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-11-15
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

The analog waveforms drawn by existing digital signal processing technologies have poor vividness and lack vividness and realistic performance.

Method used

By acquiring multi-point data signals, calculating the position and arrangement order of display points, determining the distance between adjacent display points, and setting the energy of sub-waveforms according to the distance, thereby realizing distance-based light and dark display, forming main waveform lines and waveform shadows Halo, gradually attenuate and superimpose, improving the smoothness and global afterglow effect of the waveform.

Benefits of technology

The vividness and realistic improvement of waveform display is achieved, making the waveform more smooth and vivid, forming an intra-frame and global afterglow effect, significantly improving the display quality of simulated waveforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114252672B_ABST
    Figure CN114252672B_ABST
Patent Text Reader

Abstract

The present application relates to a signal processing method, a chip, a signal display device and a storage medium. The signal processing method includes: obtaining a plurality of point data signals, the point data signals include a first point signal of a first channel and a second point signal of a second channel; obtaining the position and arrangement order of display points according to the first point signal and the second point signal; obtaining the distance between adjacent display points according to the position and arrangement order of display points; obtaining the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the greater the distance between adjacent display points, the smaller the energy of each sub-waveform between adjacent display points. The present application can well fit the waveform of the analog display device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal display technology, and in particular to a signal processing method, a chip, a signal display device and a storage medium. Background Art

[0002] With the development of display devices such as oscilloscopes, digital signal processing technology has emerged. This technology amplifies and attenuates the analog waveform through the front end and inputs it into the analog-to-digital converter (ADC). The waveform is then finally drawn on the display through mathematical operations and other processing.

[0003] However, the waveform drawn by currently using digital signal processing technology is dull and lacks liveliness. Summary of the invention

[0004] Based on this, it is necessary to provide a signal processing method, chip, signal display device and storage medium that can well fit the waveform of the analog display device in order to address the above technical problems.

[0005] A signal processing method, the method comprising:

[0006] Acquire a plurality of point data signals, wherein the point data signals include a first point signal of a first channel and a second point signal of a second channel;

[0007] Acquire the positions and arrangement order of display points according to the first point signal and the second point signal;

[0008] According to the positions and arrangement order of the display points, obtaining the distance between adjacent display points;

[0009] The energy of each sub-waveform between adjacent display points is obtained according to the distance between adjacent display points. The greater the distance between adjacent display points, the smaller the energy of each sub-waveform between adjacent display points.

[0010] The above-mentioned signal processing method first determines the distance between adjacent display points through the first point signal of the first channel and the second point signal of the second channel, and then obtains the energy of each sub-waveform between the adjacent display points according to the distance between the adjacent display points. The larger the distance between the adjacent display points, the smaller the energy of each sub-waveform between the adjacent display points, thereby realizing distance-based light and dark display, so that the waveform display is more vivid and realistic.

[0011] In one embodiment, the sub-waveform includes a main waveform line and a waveform halo, and the waveform halo surrounds the main waveform line;

[0012] The step of acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points comprises:

[0013] The energy of the main waveform line of each sub-waveform is obtained according to the distance between adjacent display points;

[0014] The energy of the corresponding waveform halo is obtained according to the energy of the main waveform line of each sub-waveform. Within the same sub-waveform, the energy of the waveform halo decreases from the main waveform line to the outside.

[0015] At this time, the waveform can be made smoother.

[0016] In one embodiment, after obtaining the positions and arrangement order of display points according to the first point signal and the second point signal, the method further includes:

[0017] According to the arrangement sequence of the display points, a first display timing of each sub-waveform between adjacent display points is obtained.

[0018] In one embodiment, after acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes:

[0019] According to the first display timing of each sub-waveform, the energy of each sub-waveform is attenuated one by one.

[0020] At this time, intra-frame afterglow can be formed.

[0021] In one embodiment, acquiring a plurality of point data signals comprises:

[0022] Acquire at least two groups of point data signals, wherein one group of point data signals forms a frame of waveform diagram, and the waveform diagram includes a plurality of sub-waveforms;

[0023] After acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes:

[0024] Acquire a second display timing of at least two frames of waveform images corresponding to the at least two groups of point data signals;

[0025] According to the second display timing, the energy of each sub-waveform of each frame waveform diagram is gradually attenuated.

[0026] At this time, a global afterglow effect can be formed.

[0027] In one embodiment, after obtaining the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes:

[0028] When at least two sub-waveforms intersect, the energies of the at least two intersecting sub-waveforms are superimposed to obtain the energy at the intersection position.

[0029] At this time, the superposition of energy makes the waveform display more vivid and realistic.

[0030] A signal processing chip is used to implement the steps of the above method.

[0031] A signal display device, comprising:

[0032] A signal acquisition module, used for acquiring the measured signal and converting the measured signal into the point data signal;

[0033] A signal processing chip, connected to the signal acquisition module, for implementing the steps of the above method;

[0034] A display module is connected to the signal processing chip and is used to display the sub-waveform image.

[0035] In one embodiment,

[0036] The signal acquisition module comprises:

[0037] An analog-to-digital conversion unit, used for collecting a measured signal and converting the measured signal into a digital signal;

[0038] A field programmable gate array unit, connected to the analog-to-digital conversion unit and the signal processing chip, and used for compressing and extracting the digital signal to form the point data signal;

[0039] and / or,

[0040] The signal processing chip includes a graphics processor.

[0041] A computer-readable storage medium stores a computer program. In one embodiment, the computer program implements the steps of the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figures 1 to 5 Schematic diagram of the flow of signal processing methods in different embodiments;

[0043] Figure 6 FIG. 4 is a structural block diagram of a signal display device in an embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0046] 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 belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0047] It can be understood that the terms "first", "second", etc. used in the present application can be used herein to describe various point signals, but these point signals are not limited by these terms.

[0048] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element, or connected to the other element through an intermediate element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is transmission of electrical signals or data between the connected objects.

[0049] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0050] In one embodiment, see Figure 1 , provides a signal processing method, comprising:

[0051] Step S100 , obtaining a plurality of point data signals, where the point data signals include a first point signal of a first channel and a second point signal of a second channel.

[0052] Specifically, the analog-to-digital conversion unit can simultaneously collect U x and U y Two measured signals, U x and U y The signals are collected through the first channel and the second channel of the analog-to-digital conversion unit respectively.

[0053] Afterwards, the analog-to-digital conversion unit converts the measured signal U collected by the first channel into xPerform analog-to-digital conversion to form U x The corresponding digital signal, and the measured signal U collected by the second channel y Perform analog-to-digital conversion to form U y The corresponding digital signal.

[0054] Afterwards, U x The corresponding digital signal obtains the first point signal u x , by U y The corresponding digital signal can obtain the second point signal u y .

[0055] Step S200, obtaining the positions and arrangement order of display points according to the first point signal and the second point signal.

[0056] The first signal u x With the second point signal u y Corresponding to the measured signal U x with U y , from which the position of the display point (u x ,u y ). Display the position of the point (u x ,u y ) is converted to (U x , U y ) for actual display.

[0057] At the same time, the analog-to-digital conversion unit collects multiple groups of U x with U y , thereby forming multiple display points, and the arrangement order of each display point can be based on each group U x with U y The corresponding first point signal u x With the second point signal u y The acquisition time of each group U x with U y The corresponding first point signal u x With the second point signal u y The acquisition time of each group U is calculated by the analog-to-digital conversion unit x with U y The collection time is determined by

[0058] Step S400, obtaining the distance between adjacent display points according to the positions and arrangement order of the display points.

[0059] As an example, the position of the first display point can be (u x1 ,u y1 ), the corresponding actual display position is (U x1 , U y1), the position of the second display point can be (u x2 ,u y2 ), the corresponding actual display position is (U x2 , U y2 ), the distance between adjacent display points in subsequent display is {[(U x2 )-(U x1 )] 2 +[(U y2 )-(U y1 )] 2} is the square root of .

[0060] In this way, the distance between adjacent display points can be obtained.

[0061] Step S500, acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the greater the distance between adjacent display points, the smaller the energy of each sub-waveform between adjacent display points.

[0062] The sub-waveforms between adjacent display points constitute the entire display waveform diagram.

[0063] In this embodiment, the distance between adjacent display points is first determined by the first point signal of the first channel and the second point signal of the second channel, and then the energy of each sub-waveform between the adjacent display points is obtained according to the distance between the adjacent display points. The larger the distance between the adjacent display points, the smaller the energy of each sub-waveform between the adjacent display points, thereby realizing distance-based light and dark display, making the waveform display more vivid and realistic.

[0064] In one embodiment, each sub-waveform between adjacent display points is designed to include a main waveform line and a waveform halo, and the waveform halo surrounds the main waveform line.

[0065] At this time, see Figure 2 , step S500 includes:

[0066] Step S510, obtaining the energy of the main waveform line of each sub-waveform according to the distance between adjacent display points.

[0067] Here, the energy of the main waveform line is determined first, so as to facilitate setting the energy of the waveform halo in sequence from the main waveform line outward.

[0068] Step S520, obtaining the energy of the corresponding waveform halo according to the energy of the main waveform line of each sub-waveform, and within the same sub-waveform, the energy of the waveform halo decreases from the main waveform line outward.

[0069] After the energy of the main waveform line is determined, the energy of the waveform halo is set to decrease from the main waveform line outwards in sequence, thereby forming a waveform halo. Therefore, this embodiment can make the waveform smoother.

[0070] As an example, within the same sub-waveform, the energy of the main waveform line and the energy of the waveform halo can be made to obey Gaussian distribution according to a computer algorithm.

[0071] In one embodiment, after step S200, see Figure 3 , also includes:

[0072] Step S300 , obtaining the first display timing of each sub-waveform between adjacent display points according to the arrangement order of the display points.

[0073] As described above, the arrangement order of each display point can be determined by the analog-to-digital conversion unit for each group U x with U y The first display timing of each sub-waveform can be determined according to the arrangement order of the display points, so that the first display timing of each sub-waveform can be consistent with the collection timing of the measured signal by the analog-to-digital conversion unit.

[0074] It is understandable that the order of step S300, step S400 and step S500 is not limited.

[0075] Furthermore, in this embodiment, after step S500, the following steps are further included:

[0076] Step S600 , according to the first display timing of each sub-waveform, the energy of each sub-waveform is attenuated one by one.

[0077] At this time, the sub-waveform displayed first may gradually darken and then disappear, and the sub-waveform displayed later may gradually darken and then disappear, thereby forming afterglow within the frame.

[0078] In one embodiment, see Figure 4 , step S100 includes:

[0079] At least two groups of point data signals are acquired, one group of point data signals forms a frame of waveform diagram, and the waveform diagram includes a plurality of sub-waveforms.

[0080] At this time, the two groups of point data signals obtained can form at least two frames of waveform diagrams.

[0081] After step S500, the method further includes:

[0082] Step S700, obtaining a second display timing of at least two frames of waveform graphs corresponding to at least two groups of point data signals.

[0083] Specifically, the second display timing of each frame waveform graph corresponding to each group of point data signals may be determined according to the acquisition timing of each group of point data signals.

[0084] Step S800 , according to the second display timing, the energy of each sub-waveform of each frame waveform is attenuated one by one.

[0085] At this time, the waveform graph of the previous frame displayed first may gradually darken and then disappear, and then the waveform graph of the next frame displayed may gradually darken and then disappear, thereby forming a global afterglow effect.

[0086] In one embodiment, after step S500, see Figure 5 , also includes:

[0087] Step S900: When at least two sub-waveforms intersect, the energies of the at least two intersecting sub-waveforms are superimposed to obtain the energy at the intersection position.

[0088] Further, each sub-waveform is displayed in a different time sequence. At this time, if the energy of each sub-waveform is attenuated according to the above embodiment, the energy of at least two intersecting sub-waveforms at the same time is superimposed to obtain the energy at the intersection position.

[0089] This embodiment makes the waveform display more vivid and realistic by superimposing energy.

[0090] It should be understood that although Figure 1-Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps.

[0091] These steps may be performed in other orders. Figure 1-Figure 5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0092] In one embodiment, a signal processing chip is also provided, comprising steps for implementing any of the above methods.

[0093] In one embodiment, a signal display device is further provided, including a signal acquisition module 100 , a signal processing chip 200 and a display module 300 .

[0094] The signal acquisition module 100 is used to acquire the measured signal and convert the measured signal into a point data signal.

[0095] The signal processing chip 200 is used to implement the steps of any one of the above methods.

[0096] The display module 300 is connected to the signal processing chip 200 and is used to display the sub-waveform image. As an example, the display module 300 may be a liquid crystal display.

[0097] In one embodiment, the signal acquisition module 100 includes an analog-to-digital conversion unit 110 and a field programmable gate array unit 120 .

[0098] The analog-to-digital conversion unit 110 is used to collect the measured signal and convert the measured signal into a digital signal.

[0099] The field programmable gate array unit 120 is connected to the analog-to-digital conversion unit 110 and the signal processing chip 200 and is used to compress and extract the digital signal to form a point data signal.

[0100] As an example, the analog-to-digital conversion unit 110 may have a first channel and a second channel. The field programmable gate array unit 120 may include a sampling subunit 121 and a compression subunit 122 .

[0101] Specifically, the analog-to-digital conversion unit 110 can simultaneously collect U x and U y Two measured signals, U x and U y The signals are collected through the first channel and the second channel of the analog-to-digital conversion unit 110 respectively.

[0102] Afterwards, the analog-to-digital conversion unit 110 converts the measured signal U collected by the first channel into x Perform analog-to-digital conversion to form U x The corresponding digital signal is sent to the field programmable gate array unit 120, and the measured signal U collected by the second channel is y Perform analog-to-digital conversion to form U y The corresponding digital signal is sent to the field programmable gate array unit 120.

[0103] The sampling subunit 121 of the field programmable gate array unit is connected to the U x The corresponding digital signal and y The corresponding digital signal is sampled.

[0104] Afterwards, the compression subunit 122 performs the x The corresponding digital signal is compressed and extracted to form the first point signal u x And send it to the signal processing chip 200. At the same time, the compression subunit 122 y The corresponding digital signal is compressed and extracted to form a second point signal uy and sent to the signal processing chip 200 .

[0105] The computing power of the central processing unit (CPU) used in display devices such as oscilloscopes is usually not enough to refresh the digital signals acquired and converted by the high-speed ADC. In this case, an external computing integrated circuit (IC) such as a field programmable gate array (FPGA) is used for auxiliary computing to effectively draw the waveform.

[0106] Of course, when the computing power of the central processing unit (CPU) is sufficient, the FPGA may not be provided.

[0107] In one embodiment, the signal processing chip 200 includes a graphics processing unit (GPU). The GPU has good graphics processing capabilities, thereby facilitating the implementation of corresponding functions of the signal processing chip.

[0108] Of course, the present application is not limited to this, and the signal processing chip may also include FPGA, etc.

[0109] For the specific limitations of the signal processing chip and the signal display device, please refer to the limitations of the signal processing method above, which will not be repeated here. Each module in the above-mentioned signal display device can be implemented in whole or in part by software, hardware and 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 in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0110] In one embodiment, a computer-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0111] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed 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 the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can 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).

[0112] In the description of this specification, the description of reference terms such as "one embodiment" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.

[0113] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A signal processing method, characterized in that: The method comprises: Acquire a plurality of point data signals, wherein the point data signals include a first point signal of a first channel and a second point signal of a second channel; Acquire the positions and arrangement order of display points according to the first point signal and the second point signal; According to the positions and arrangement order of the display points, obtaining the distance between adjacent display points; According to the distance between adjacent display points, the energy of each sub-waveform between adjacent display points is obtained, and the greater the distance between adjacent display points, the smaller the energy of each sub-waveform between adjacent display points; The sub-waveform includes a main waveform line and a waveform halo, and the waveform halo surrounds the main waveform line; The step of acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points comprises: The energy of the main waveform line of each sub-waveform is obtained according to the distance between adjacent display points; The energy of the corresponding waveform halo is obtained according to the energy of the main waveform line of each sub-waveform. Within the same sub-waveform, the energy of the waveform halo decreases from the main waveform line to the outside.

2. The signal processing method according to claim 1, characterized in that: After obtaining the positions and arrangement order of display points according to the first point signal and the second point signal, the method further includes: According to the arrangement sequence of the display points, a first display timing of each sub-waveform between adjacent display points is obtained.

3. The signal processing method according to claim 2, characterized in that: After acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes: According to the first display timing of each sub-waveform, the energy of each sub-waveform is attenuated one by one.

4. The signal processing method according to claim 1, characterized in that: The obtaining of a plurality of point data signals comprises: Acquire at least two groups of point data signals, wherein one group of point data signals forms a frame of waveform diagram, and the waveform diagram includes a plurality of sub-waveforms; After acquiring the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes: Acquire a second display timing of at least two frames of waveform images corresponding to the at least two groups of point data signals; According to the second display timing, the energy of each sub-waveform of each frame waveform diagram is gradually attenuated.

5. The signal processing method according to claim 1, characterized in that: After obtaining the energy of each sub-waveform between adjacent display points according to the distance between adjacent display points, the method further includes: When at least two sub-waveforms intersect, the energies of the at least two intersecting sub-waveforms are superimposed to obtain the energy at the intersection position.

6. A signal processing chip, characterized in that: Steps for implementing the method according to any one of claims 1 to 5.

7. A signal display device, characterized in that: The device comprises: A signal acquisition module, used for acquiring the measured signal and converting the measured signal into the point data signal; A signal processing chip, connected to the signal acquisition module, used to implement the steps of any one of the methods of claims 1 to 5; A display module is connected to the signal processing chip and is used to display the sub-waveform image.

8. The signal display device according to claim 7, characterized in that: The signal acquisition module comprises: An analog-to-digital conversion unit, used for collecting a measured signal and converting the measured signal into a digital signal; A field programmable gate array unit, connected to the analog-to-digital conversion unit and the signal processing chip, and used for compressing and extracting the digital signal to form the point data signal; and / or, The signal processing chip includes a graphics processor.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.