Oscilloscope and signal display method and device thereof

文档序号:663676 发布日期:2021-04-27 浏览:17次 中文

阅读说明:本技术 一种示波器的信号显示方法、装置和示波器 (Oscilloscope and signal display method and device thereof ) 是由 刘福奇 钟隆辉 周先冲 于 2020-11-27 设计创作,主要内容包括:本发明实施例涉及一种示波器的信号显示方法、装置和示波器,所述方法包括:从车辆中采集待测信号;在所述待测信号中检索至少两个有用信号,并记录所述有用信号的波形以及所述有用信号的时长;记录至少两个所述有用信号中的相邻两个有用信号之间的时间间隔;根据所述有用信号的波形,所述有用信号的时长以及所述时间间隔,将至少两个所述有用信号拼接得到重组信号;显示所述重组信号。本发明实施例在不增加存储容量的基础上,由于只存储仅仅包括有用信号的重组信号,因此,相比同等深度条件的示波器屏幕,可以显示更多有用信号,而且保留了有用信号之间的间隔信息。(The embodiment of the invention relates to a signal display method and device of an oscilloscope and the oscilloscope, wherein the method comprises the following steps: collecting a signal to be detected from a vehicle; retrieving at least two useful signals in the signals to be detected, and recording the waveforms of the useful signals and the duration of the useful signals; recording a time interval between two adjacent useful signals of at least two of said useful signals; splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval; displaying the recombined signal. On the basis of not increasing the storage capacity, the embodiment of the invention only stores the recombined signal only comprising the useful signal, so that more useful signals can be displayed compared with an oscilloscope screen under the same depth condition, and the interval information between the useful signals is reserved.)

1. A signal display method of an oscilloscope is characterized by being applied to the oscilloscope, and the method comprises the following steps:

collecting a signal to be detected from a vehicle;

retrieving at least two useful signals in the signals to be detected, and recording the waveforms of the useful signals and the duration of the useful signals;

recording a time interval between two adjacent useful signals of at least two of said useful signals;

splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period;

displaying the recombined signal.

2. The method of claim 1, wherein after collecting the signal under test from the vehicle, the method further comprises:

determining a signal judgment threshold according to a noise signal in the signal to be detected;

the retrieving of at least two useful signals in the signal under test comprises:

and detecting at least two useful signals in the signals to be detected according to the signal judgment threshold value.

3. The method of claim 2, wherein said retrieving at least two useful signals from said signal under test and recording the waveforms of said useful signals and the durations of said useful signals comprises:

according to the signal judgment threshold value, searching the starting positions of at least two useful signals in the signal to be detected, and recording the starting time nodes of the useful signals;

determining the end position of the useful signal according to the signal judgment threshold value, and recording the end time node of the useful signal;

determining the waveform of the useful signal according to the starting position and the ending position;

and determining the duration of the useful signal according to the starting time node and the ending time node.

4. The method according to claim 3, wherein said splicing at least two of said useful signals into a recombined signal according to the waveform of said useful signal, the duration of said useful signal and said time interval comprises:

and splicing at least two useful signals according to the starting position, the starting time node, the ending position and the ending time node of each useful signal and the time interval between every two adjacent useful signals to obtain a recombined signal.

5. The method of claim 1, wherein the time interval between two adjacent useful signals is a time interval between peaks of waveforms of the two adjacent useful signals.

6. The method of claim 1, wherein after said acquiring a signal under test from a vehicle, said method further comprises:

and inputting the signal to be tested into an internal memory.

7. The method of claim 6, further comprising:

after recording the start time node of the useful signal, or

After recording the end time node of the useful signal, or

After recording the time interval, judging whether the starting time node, the ending time node or the time node recording the time interval reaches a screen refreshing period;

and when the starting time node, the ending time node or the time node recording the time interval reaches the screen refreshing period, outputting a noise signal from the internal memory, wherein the noise signal is signal data except the useful signal in the signal to be detected.

8. The method of any one of claims 1 to 7, wherein after said displaying the recombined signal, the method further comprises:

when a signal reduction instruction is received, acquiring the recombined signal;

and analyzing the recombined signal to obtain the starting position, the ending position, the starting time node, the ending time node of the useful signal and the time interval between every two adjacent useful signals.

9. A signal storage device for an oscilloscope, the signal storage device being applied to the oscilloscope, the device comprising:

the acquisition module is used for acquiring a signal to be detected from a vehicle;

the retrieval recording module is used for retrieving at least two useful signals from the signals to be detected and recording the waveforms of the useful signals and the duration of the useful signals;

the time interval recording module is used for recording the time interval between two adjacent useful signals in at least two useful signals;

the splicing module is used for splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refreshing period;

and the display module is used for displaying the recombined signal.

10. An oscilloscope, the oscilloscope comprising:

at least one processor, and

a memory communicatively coupled to the processor, the memory storing instructions executable by the at least one processor to enable the at least one processor to perform the method of any of claims 1-8.

11. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by an oscilloscope, cause the oscilloscope to perform the method of any of claims 1-8.

Technical Field

The embodiment of the invention relates to the technical field of oscilloscopes, in particular to a signal display method and device of an oscilloscope and the oscilloscope.

Background

With the continuous development of automobile technology, automobile electrical systems are more and more, and once an automobile system has a problem, the problem needs to be checked to be solved. The measurement of signals is the key for finding problems, the oscilloscope is used as a main measuring tool, and the oscilloscope is a common instrument in electronic measurement and can visually display the waveform change of the signals to be measured.

The oscilloscope can measure signal characteristics such as amplitude, frequency, phase, frequency spectrum and the like of a signal, the deeper the storage depth of the oscilloscope is, the more complete the data captured at one time is, and the more easy the characteristic analysis is carried out on the signal so as to judge whether the signal is normal or not.

However, since the storage capacity is limited, the larger the capacity is, the higher the cost is, and the more complicated the control is, there is a need to provide an oscilloscope which can effectively increase the storage depth without increasing the storage capacity, and can display more useful signals under the same screen display interval condition.

Disclosure of Invention

The embodiment of the invention aims to provide a signal display method and device of an oscilloscope and the oscilloscope, which can improve the effective storage depth on the premise of not increasing new storage capacity, thereby displaying more useful signals in the same screen display interval.

In a first aspect, an embodiment of the present invention provides a signal display method for an oscilloscope, which is applied to the oscilloscope; the method comprises the following steps:

collecting a signal to be detected from a vehicle;

retrieving at least two useful signals in the signals to be detected, and recording the waveforms of the useful signals and the duration of the useful signals;

recording a time interval between two adjacent useful signals of at least two of said useful signals;

splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period;

displaying the recombined signal.

In some embodiments, after the signal under test is collected from the vehicle, the method further comprises:

determining a signal judgment threshold according to a noise signal in the signal to be detected;

the retrieving of at least two useful signals in the signal under test comprises:

and detecting at least two useful signals in the signals to be detected according to the signal judgment threshold value.

In some embodiments, the retrieving at least two useful signals from the signal to be measured and recording the waveforms of the useful signals and the duration of the useful signals includes:

according to the signal judgment threshold value, searching the starting positions of at least two useful signals in the signal to be detected, and recording the starting time nodes of the useful signals;

determining the end position of the useful signal according to the signal judgment threshold value, and recording the end time node of the useful signal;

determining the waveform of the useful signal according to the starting position and the ending position;

and determining the duration of the useful signal according to the starting time node and the ending time node.

In some embodiments, the splicing at least two useful signals according to the waveform of the useful signal, the duration of the useful signal and the time interval to obtain a recombined signal, wherein the duration of the recombined signal is the sum of the durations of at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period, includes:

and splicing at least two useful signals according to the starting position, the starting time node, the ending position and the ending time node of each useful signal and the time interval between every two adjacent useful signals to obtain a recombined signal.

In some embodiments, the time interval between the two adjacent useful signals is a time interval between peaks of waveforms of the two adjacent useful signals.

In some embodiments, after the collecting the signal under test from the vehicle, the method further comprises:

and inputting the signal to be tested into an internal memory.

In some embodiments, the method further comprises:

after recording the start time node of the useful signal, or

After recording the end time node of the useful signal, or

After recording the time interval, judging whether the starting time node, the ending time node or the time node recording the time interval reaches a screen refreshing period;

and when the starting time node, the ending time node or the time node recording the time interval reaches the screen refreshing period, outputting a noise signal from the internal memory, wherein the noise signal is signal data except the useful signal in the signal to be detected.

In some embodiments, after said displaying the recombined signal, the method further comprises:

when a signal reduction instruction is received, acquiring the recombined signal;

and analyzing the recombined signal to obtain the starting position, the ending position, the starting time node, the ending time node of the useful signal and the time interval between every two adjacent useful signals.

In a second aspect, an embodiment of the present invention provides a signal storage apparatus for an oscilloscope, which is applied to the oscilloscope, and the apparatus includes:

the determining module is used for determining a signal judgment threshold value;

the acquisition module is used for acquiring a signal to be detected from a vehicle;

the retrieval recording module is used for retrieving at least two useful signals from the signals to be detected and recording the waveforms of the useful signals and the duration of the useful signals;

the time interval recording module is used for recording the time interval between two adjacent useful signals in at least two useful signals;

the splicing module is used for splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refreshing period;

and the display module is used for displaying the recombined signal.

In a third aspect, an embodiment of the present invention provides an oscilloscope, where the oscilloscope includes:

at least one processor, and

a memory communicatively coupled to the at least one processor, the memory storing instructions executable by the at least one processor to enable the at least one processor to perform the method described above.

In a fourth aspect, embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by an oscilloscope, cause the oscilloscope to perform the method described above.

According to the signal display method and device of the oscilloscope and the oscilloscope, the signal to be detected is collected from a vehicle, at least two useful signals are retrieved from the signal to be detected, and the waveform of the useful signals and the duration of the useful signals are recorded; and recording a time interval between two adjacent useful signals in the at least two useful signals, splicing the at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period, so that all useful signals except noise signals are obtained, and the compression of the signal to be detected is realized. When the recombined signals are displayed, on the basis of not increasing the storage capacity, only the recombined signals only including the useful signals are stored, so that more useful signals can be displayed compared with an oscilloscope screen with the same depth condition, and the interval information between the useful signals is reserved.

Drawings

One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.

FIG. 1 is a schematic flow chart diagram of one embodiment of a method for signal display on an oscilloscope of the present invention;

FIG. 2 is a waveform diagram of a signal to be measured according to an embodiment of a signal display method of an oscilloscope of the present invention;

FIG. 3a is a waveform diagram of one embodiment of a signal display method of an oscilloscope of the present invention;

FIG. 3b is a waveform diagram of one embodiment of a signal display method of an oscilloscope of the present invention;

FIG. 3c is a waveform diagram of one embodiment of a signal display method of an oscilloscope of the present invention;

FIG. 4 is a schematic diagram of the structure of one embodiment of a signal storage device of an oscilloscope of the present invention;

FIG. 5 is a schematic diagram of one embodiment of a signal storage device of an oscilloscope of the present invention;

fig. 6 is a schematic diagram of the hardware configuration of a controller in one embodiment of an oscilloscope of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The signal display method and device of the oscilloscope, provided by the embodiment of the invention, can be applied to the oscilloscope. Wherein, the oscilloscope can be an automobile oscilloscope.

It can be understood that the oscilloscope is provided with the controller as a main control center, and the effective storage depth is improved on the premise of not increasing new storage capacity, so that more useful signals can be displayed in the same screen display interval.

Referring to fig. 1, fig. 1 is a schematic flow chart of a signal display method of an oscilloscope according to an embodiment of the present invention, where the method may be executed by a controller 13 in the oscilloscope, as shown in fig. 1, and the method is applied to the oscilloscope, and the method includes:

101: and collecting a signal to be measured from the vehicle.

Taking an automobile oscilloscope as an example, when analyzing an automobile fault, a fault signal of the automobile needs to be analyzed, and a complete fault signal waveform needs to be captured, so that a very deep storage capacity is required to store corresponding waveform signal data.

When signal characteristic analysis is carried out on a fault signal of an automobile, the signal characteristics mainly comprise the following two points: 1. the time ratio of the useful signal is short, and the time ratio of the noise signal is long; 2. the different useful signals also occur randomly for short periods of time and their time intervals are also important information. As shown in fig. 2, fig. 2 is a waveform diagram of a signal to be measured, where the waveform of the signal to be measured includes a useful signal and a noise signal.

The useful signal is a signal for transmitting information required by a user, or a signal for allowing a receiving device to generate a preset action after receiving the signal.

The noise signal is relative to a specific information requirement, and the frequency, the amplitude and the phase of the noise signal are random.

In some embodiments, after the oscilloscope collects the signal to be measured from the vehicle, the method may further include:

and determining a signal judgment threshold according to the noise signal in the signal to be detected.

When the signal judgment threshold is determined, the signal judgment threshold is determined according to the noise signal in the signal to be detected, specifically, after the oscilloscope collects the signal to be detected from the vehicle, the waveform of the signal to be detected can be displayed through the oscilloscope, and it can be determined that the amplitude of the useful signal needs to be greater than 3 times of the amplitude of the noise signal, so that 3 times of the noise signal can be used as a judgment standard and used as the signal judgment threshold.

It can be understood that, different signals to be detected correspond to different signal judgment thresholds, the signals to be detected can be firstly input into an oscilloscope for display, and the relationship between the useful signals and the noise signals is preliminarily judged, so that the signal judgment thresholds are determined.

In some embodiments, after the oscilloscope collects the signal to be measured from the vehicle, the method may further include:

and inputting the signal to be tested into an internal memory.

An oscilloscope acquisition software FPGA is arranged in the oscilloscope, a digital signal to be detected is obtained after analog-to-digital conversion of a signal to be detected at the front end, and then the digital signal to be detected is stored in the internal memory.

The internal memory may be a First-in First-out queue (FIFO), which is a First-in First-out data buffer and is very simple to use.

And 102, retrieving at least two useful signals in the signal to be detected, and recording the waveforms of the useful signals and the duration of the useful signals.

In some embodiments, retrieving at least two useful signals from the signal under test may include:

and detecting at least two useful signals in the signals to be detected according to the signal judgment threshold value.

Specifically, after the signal decision threshold is determined, useful signals in the signal to be measured are retrieved according to the signal decision threshold, and at least 2 useful signals are retrieved.

In some embodiments, the retrieving at least two useful signals from the signal to be measured and recording the waveforms of the useful signals and the time lengths of the useful signals may include:

according to the signal judgment threshold value, searching the starting positions of at least two useful signals in the signal to be detected, and recording the starting time nodes of the useful signals;

determining the end position of the useful signal according to the signal judgment threshold value, and recording the end time node of the useful signal;

determining the waveform of the useful signal according to the starting position and the ending position;

and determining the duration of the useful signal according to the starting time node and the ending time node.

Specifically, according to the signal judgment threshold, starting positions of at least two useful signals are searched in the signal to be detected, and starting time nodes of the useful signals are recorded.

Since the signal determination threshold can be 3 times the amplitude of the useful signal as the amplitude of the noise signal, according to the signal determination threshold, the start position of the first useful signal and the start time node t0 of the first useful signal in the signal to be detected can be retrieved, and according to the signal determination threshold, the end position of the first useful signal and the end time node t1 of the first useful signal can be determined, and also according to the signal determination threshold, the start position of the second useful signal and the start time node t2 of the second useful signal can be retrieved, and according to the signal determination threshold, the end position of the second useful signal and the end time t3 of the second useful signal can be determined, and so on, so as to retrieve the start position, the start time node, the end time node, and the like of each useful signal in the at least two useful signals, An end position and an end time node.

Determining the waveform of the useful signal according to the starting position and the ending position; and determining the duration of the useful signal according to the starting time node and the ending time node, so that the waveform of the useful signal and the duration of the useful signal can be recorded.

According to the signal judgment threshold, the starting position, the starting time node, the ending position, the ending time node, the waveform and the duration of a plurality of useful signals can be retrieved, and the waveform and the duration of each useful signal are recorded.

Recording 103 the time interval between two adjacent useful signals of at least two of said useful signals.

After recording the waveform of the useful signal and the time length of the useful signal, the time interval between two adjacent useful signals of at least two useful signals is also recorded. The time interval between two adjacent useful signals is the time interval between the wave peaks of the wave forms of the two adjacent useful signals.

For example, two adjacent useful signals include a first useful signal and a second useful signal, and a time node where a peak of the first useful signal is located and a time node where a peak of the second useful signal is located can be obtained; determining a time interval between the first useful signal and the second useful signal according to a time node where a peak of the first useful signal is located and a time node where a peak of the second useful signal is located; the time interval is recorded.

Specifically, as shown in fig. 2, in any two adjacent useful signals, a time interval between the first useful signal and the second useful signal is determined according to a time node where a peak of the first useful signal is located and a time node where a peak of the second useful signal is located, where the time interval between the first useful signal and the second useful signal is T1, and the time interval between the second useful signal and the third useful signal is T2. T1 and T2 may not be consistent, but both T1 and T2 need to be recorded.

And recording the waveforms and the durations of all useful signals in the signals to be detected and the time intervals of every two adjacent useful signals to obtain the position relation of each useful signal in the signals to be detected and the time and position correlation among the useful signals.

104: splicing at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period.

In some embodiments, the splicing at least two useful signals according to the waveform of the useful signal, the duration of the useful signal and the time interval to obtain a recombined signal, wherein the duration of the recombined signal is the sum of the durations of at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period, includes:

and splicing at least two useful signals according to the starting position, the starting time node, the ending position and the ending time node of each useful signal and the time interval between every two adjacent useful signals to obtain a recombined signal.

The duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to the screen refresh period.

An important parameter for measuring oscilloscope performance is the waveform refresh rate, expressed in terms of waveform number/second (wfms/s). The sampling rate characterizes how fast the oscilloscope samples the input waveform or within a period. The capture rate of the waveform reflects the speed at which the oscilloscope collects the waveform.

All oscilloscopes have a so-called dead time, i.e. the time interval between two consecutive acquisitions of the waveform. The dead time of the oscilloscope is inherent because the previously acquired waveform is processed before the next waveform is sampled. The signal waveform at the dead time is ignored. This presents a statistical problem of capturing randomness and small probability events due to the dead time of the oscilloscope. The larger the waveform refresh rate, the more likely it is to capture signal waveforms that are difficult to find.

The waveform refresh rate corresponds to the screen refresh period of the oscilloscope, and therefore, if the recombined useful signals are to be displayed in the same screen display interval, the duration of the recombined signals needs to be less than or equal to the screen refresh period, and in order to display more recombined useful signals, the duration of the recombined signals needs to be the sum of the durations of at least two useful signals.

As shown in fig. 3b, under the condition that the duration of the recombined signal is less than or equal to the screen refresh period, the useful signals W1, W2, W3, W4, W5 and W6 are obtained, and the waveforms of the recombined signal shown in fig. 3c are obtained by combining the useful signals W1, W2, W3, W4, W5 and W6 according to the start position, start time node, end position and end time node of the useful signal W1, the time interval between the useful signal W1 and the useful signal W2, and the start position, start time node, end position and end time node of the useful signal W2 and the time interval … … between the useful signal W2 and the useful signal W3. The framed part in fig. 3a is the same storage depth as the screen display interval of fig. 3c with the same condition, and it is obvious that, compared with the original measured waveform of fig. 3a, the storage capacity occupied by the reconstructed signal during storage is smaller than that occupied by the signal to be measured, and the screen with the same condition can display more useful signals.

105: displaying the recombined signal.

In particular, after obtaining the waveform of the recombined signal as in fig. 3c, the recombined waveform is stored.

Because there is no noise signal in the recombined signal, the storage capacity occupied by the recombined signal during storage is smaller than that occupied by the signal to be measured, the screen can display more useful signals under the same condition, and the recombined signal retains the interval information between the useful signals.

According to the embodiment of the invention, a signal to be detected is collected from a vehicle, at least two useful signals are retrieved from the signal to be detected, and the waveform of the useful signals and the duration of the useful signals are recorded; and recording a time interval between two adjacent useful signals in the at least two useful signals, splicing the at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period, so that all useful signals except noise signals are obtained, and the compression of the signal to be detected is realized. When the recombined signals are displayed, on the basis of not increasing the storage capacity, only the recombined signals only including the useful signals are stored, so that more useful signals can be displayed compared with an oscilloscope screen with the same depth condition, and the interval information between the useful signals is reserved.

In some of these embodiments, the method further comprises:

after recording the start time node of the useful signal, or

After recording the end time node of the useful signal, or

After recording the time interval, judging whether the starting time node, the ending time node or the time node recording the time interval reaches a screen refreshing period;

and when the starting time node, the ending time node or the time node recording the time interval reaches the screen refreshing period, outputting a noise signal from the internal memory, wherein the noise signal is signal data except the useful signal in the signal to be detected.

Specifically, since the display device of the oscilloscope has a fixed screen refresh period, when the start time node, the end time node, or the time node recording the time interval reaches the screen refresh period, a noise signal is output from the internal memory, where the noise signal is signal data of the signal to be detected except for the useful signal.

Because the noise signal is output, only the useful signal is equivalently kept, and the time length of one-time complete signal acquisition can be greatly prolonged on the basis of not increasing the storage capacity. The amplitude of the boosting depends on the ratio of noise between two useful signals to the whole signal period, in practical tests, the useful signals are generally short-time pulse signals, the duty ratio of the signals is below 1%, and in this case, the storage depth can be equivalently boosted by 100 times.

In some of these embodiments, after said displaying the recombined signal, the method further comprises:

when a signal reduction instruction is received, acquiring the recombined signal;

and analyzing the recombined signal to obtain the starting position, the ending position, the starting time node, the ending time node of the useful signal and the time interval between every two adjacent useful signals.

Specifically, when a worker needs to check a stored recombined signal, the worker can directly check the recombined signal, or can click a reduction button, and an oscilloscope obtains the recombined signal when receiving a signal reduction instruction; and analyzing the recombined signal to obtain the starting position, the ending position, the starting time node, the ending time node of the useful signal and the time interval between every two adjacent useful signals, thereby obtaining original signal data.

Accordingly, as shown in fig. 4, an embodiment of the present invention further provides a signal storage device for an oscilloscope, which may be used in the oscilloscope, where the signal storage device 700 for an oscilloscope includes:

the acquisition module 701 is used for acquiring a signal to be detected from a vehicle;

a retrieval and recording module 702, configured to retrieve at least two useful signals from the signal to be detected, and record waveforms of the useful signals and durations of the useful signals;

a time interval recording module 703, configured to record a time interval between two adjacent useful signals of the at least two useful signals;

a splicing module 704, configured to splice at least two useful signals to obtain a recombined signal according to the waveform of the useful signal, the duration of the useful signal, and the time interval, where the duration of the recombined signal is the sum of the durations of at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period;

a display module 705 for displaying the recombined signal.

According to the embodiment of the invention, a signal to be detected is collected from a vehicle, at least two useful signals are retrieved from the signal to be detected, and the waveform of the useful signals and the duration of the useful signals are recorded; and recording a time interval between two adjacent useful signals in the at least two useful signals, splicing the at least two useful signals to obtain a recombined signal according to the waveform of the useful signals, the duration of the useful signals and the time interval, wherein the duration of the recombined signal is the sum of the durations of the at least two useful signals, and the duration of the recombined signal is less than or equal to a screen refresh period, so that all useful signals except noise signals are obtained, and the compression of the signal to be detected is realized. When the recombined signals are displayed, on the basis of not increasing the storage capacity, only the recombined signals only including the useful signals are stored, so that more useful signals can be displayed compared with an oscilloscope screen with the same depth condition, and the interval information between the useful signals is reserved.

In another embodiment, after acquiring the signal to be measured from the vehicle, referring to fig. 5, the signal storage device 700 of the oscilloscope includes a determining module 706 for:

determining a signal judgment threshold according to a noise signal in the signal to be detected;

the retrieving of at least two useful signals in the signal under test comprises:

and detecting at least two useful signals in the signals to be detected according to the signal judgment threshold value.

In other embodiments, the retrieve records module 702 is further configured to:

according to the signal judgment threshold value, searching the starting positions of at least two useful signals in the signal to be detected, and recording the starting time nodes of the useful signals;

determining the end position of the useful signal according to the signal judgment threshold value, and recording the end time node of the useful signal;

determining the waveform of the useful signal according to the starting position and the ending position;

and determining the duration of the useful signal according to the starting time node and the ending time node.

In other embodiments, the splicing module 704 is further configured to:

and splicing at least two useful signals according to the starting position, the starting time node, the ending position and the ending time node of each useful signal and the time interval between every two adjacent useful signals to obtain a recombined signal.

In some embodiments, the time interval between two adjacent useful signals is the time interval between peaks of waveforms of the two adjacent useful signals.

In some embodiments, referring to fig. 5, the oscilloscope signal storage device 700 further comprises:

an input module 707 for:

and inputting the signal to be tested into an internal memory.

In some embodiments, referring to fig. 5, the oscilloscope signal storage device 700 further comprises:

an output module 708 to:

after recording the start time node of the useful signal, or

After recording the end time node of the useful signal, or

After recording the time interval, judging whether the starting time node, the ending time node or the time node recording the time interval reaches a screen refreshing period;

and when the starting time node, the ending time node or the time node recording the time interval reaches the screen refreshing period, outputting a noise signal from the internal memory, wherein the noise signal is signal data except the useful signal in the signal to be detected.

In some embodiments, referring to fig. 5, the oscilloscope signal storage device 700 further comprises:

the parsing module 709 is configured to obtain the recombined signal when a signal reduction instruction is received;

and analyzing the recombined signal to obtain the starting position, the ending position, the starting time node, the ending time node of the useful signal and the time interval between every two adjacent useful signals.

It should be noted that the above-mentioned apparatus can execute the method provided by the embodiments of the present application, and has corresponding functional modules and beneficial effects for executing the method. For technical details which are not described in detail in the device embodiments, reference is made to the methods provided in the embodiments of the present application.

Fig. 6 is a schematic diagram of a hardware structure of a controller in an embodiment of an oscilloscope, and as shown in fig. 6, the controller 13 includes:

one or more processors 131, memory 132. Fig. 6 illustrates an example of one processor 131 and one memory 132.

The processor 131 and the memory 132 may be connected by a bus or other means, and fig. 6 illustrates the connection by the bus as an example.

The memory 132, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the signal display method of the oscilloscope in the embodiment of the present application (for example, the acquisition module 701, the retrieval recording module 702, the time interval recording module 703, the splicing module 704, the display module 705, the determination module 706, the input module 707, the output module 708, and the parsing module 709 shown in fig. 4 to 5). The processor 131 executes various functional applications of the controller and data processing, i.e., a signal display method of the oscilloscope implementing the above-described method embodiments, by running the nonvolatile software program, instructions, and modules stored in the memory 132.

The memory 132 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a signal storage device of the oscilloscope, and the like. Further, the memory 132 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 132 may optionally include memory located remotely from processor 131, which may be connected to the oscilloscope via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The one or more modules are stored in the memory 132 and, when executed by the one or more processors 131, perform the method for signal display of an oscilloscope in any of the method embodiments described above, e.g., performing the method steps 101-105 of fig. 2 described above; the functions of the modules 701 and 705 in fig. 4 and the functions of the modules 701 and 709 in fig. 5 are realized.

The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.

Embodiments of the present application provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, such as one processor 131 in fig. 6, to enable the one or more processors to perform the signal display method of the oscilloscope in any of the above method embodiments, such as performing the method steps 101 to 105 in fig. 2 described above; the functions of the modules 701 and 705 in fig. 4 and the functions of the modules 701 and 709 in fig. 5 are realized.

The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种噪声整形SAR ADC以及一种SOC

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类