CN113406376A - Waveform channel adjusting method, digital oscilloscope and readable storage medium - Google Patents

Waveform channel adjusting method, digital oscilloscope and readable storage medium Download PDF

Info

Publication number
CN113406376A
CN113406376A CN202110694916.1A CN202110694916A CN113406376A CN 113406376 A CN113406376 A CN 113406376A CN 202110694916 A CN202110694916 A CN 202110694916A CN 113406376 A CN113406376 A CN 113406376A
Authority
CN
China
Prior art keywords
value
amplitude
limit value
lower limit
upper limit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110694916.1A
Other languages
Chinese (zh)
Other versions
CN113406376B (en
Inventor
万良敏
田洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Lujiu Juntong Technology Co ltd
Original Assignee
Chengdu Lujiu Juntong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Lujiu Juntong Technology Co ltd filed Critical Chengdu Lujiu Juntong Technology Co ltd
Priority to CN202110694916.1A priority Critical patent/CN113406376B/en
Publication of CN113406376A publication Critical patent/CN113406376A/en
Application granted granted Critical
Publication of CN113406376B publication Critical patent/CN113406376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • G01R13/0209Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form in numerical form
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • G01R13/0218Circuits therefor
    • G01R13/0272Circuits therefor for sampling

Abstract

The application relates to a waveform channel adjusting method, a digital oscilloscope and a readable storage medium, wherein the adjusting method comprises the following steps: sampling the access signal according to a preset sampling frequency to acquire a first amplitude value of the access signal; if the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, increasing the sampling frequency according to a first adjustment strategy; continuously acquiring a preset number of second amplitude values of the access signal based on the new sampling frequency, comparing the second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the range of the second amplitude values exceeding the upper limit value and the lower limit value is larger than a preset threshold value, increasing the gear of the current waveform channel according to a second adjustment strategy; and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to a preset threshold value, adjusting to a preset sampling frequency to sample the access signal. The gear of the current waveform channel is enlarged, so that the gear is matched with the access signal.

Description

Waveform channel adjusting method, digital oscilloscope and readable storage medium
Technical Field
The present application relates to the field of power electronics technologies, and in particular, to a method for adjusting a waveform channel, a digital oscilloscope, and a readable storage medium.
Background
Digital oscilloscopes typically operate in an optimum state to match the incoming signal by automatically setting up functions. Specifically, the digital oscilloscope firstly detects an amplitude value and a frequency value of an access signal, then automatically adjusts the gear and the offset of a waveform channel of the digital oscilloscope according to the amplitude value, and adjusts the time base of the digital oscilloscope according to the frequency value.
In the process of automatically adjusting the gear of the waveform channel, because the digital oscilloscope is a time domain measuring device, the displayed waveform is a complete waveform of a screen under general conditions; a screen corresponds to a waveform that is not necessarily a captured waveform, but a waveform within a period of time, such as a frame waveform; one frame of waveform comprises waveform data which is far larger than two points, so that a sampling unit of the digital oscilloscope is required to transmit multi-point waveform data to a software processing unit every time; after the amplitude values of the data are calculated by the software processing unit, corresponding gear adjustment is carried out on the waveform channel. The inventor considers that repeatedly updating the gear of the waveform channel is complicated.
Disclosure of Invention
In order to better adjust the gear of the waveform channel, the application provides an adjusting method of the waveform channel, a digital oscilloscope and a readable storage medium.
In a first aspect, the present application provides a method for adjusting a waveform channel, which adopts the following technical scheme:
a method for adjusting a waveform channel comprises the following steps:
sampling the access signal according to a preset sampling frequency to acquire a first amplitude value of the access signal;
comparing the first amplitude value with the upper limit value and the lower limit value of the current waveform channel, and if the first amplitude value exceeds the range of the upper limit value and the lower limit value, increasing the sampling frequency according to a first adjustment strategy;
continuously acquiring a preset number of second amplitude values of an access signal based on a new sampling frequency, comparing the second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the upper limit value and the lower limit value is greater than a preset threshold value, increasing the gear of the current waveform channel according to a second adjustment strategy; and the number of the first and second groups,
and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to a preset threshold value, adjusting to a preset sampling frequency to sample the access signal.
By adopting the technical scheme, the first amplitude value is acquired according to the preset sampling frequency, and when the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, the sampling frequency is increased, so that the access signal can be more densely sampled when the first amplitude value exceeds the range of the upper limit value and the lower limit value, and the second amplitude values in the preset number are acquired after the abnormal first amplitude value; and when the proportion of the range of the second amplitude value exceeding the upper and lower limit values exceeds a preset threshold value, the gear of the current waveform channel is increased, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
Optionally, the adjusting method further includes the following steps:
and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value, and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, reducing the current gear of the waveform channel according to a third adjustment strategy.
By adopting the technical scheme, when the first amplitude value is located in the range of the upper limit value and the lower limit value of the current waveform channel and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the gear of the current waveform channel is reduced, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
Optionally, in the step of acquiring the first amplitude value, the method further includes:
receiving sampling values of each sampling moment of the access signal in real time;
obtaining a first amplitude value according to the sampling value and a preset calculation strategy, and updating the first amplitude value of the access signal in real time;
and storing the updated first amplitude value in a register for comparison between the first amplitude value and the limit value of the current waveform channel.
By adopting the technical scheme, the first amplitude value is obtained by updating in real time, so that the transmission and processing of multi-point waveform data are not needed in the iterative process of the first amplitude value, and the gear adjustment speed of the current waveform channel is improved.
Optionally, before the step of receiving the sampling value of each sampling time of the access signal in real time, the method further includes:
judging whether the access signal is stable or not, and outputting a sampling instruction after the access signal is stable;
and executing the step of receiving sampling values of each sampling moment of the access signal in real time based on the sampling instruction.
By adopting the technical scheme, the access signal is sampled after being stabilized, and the useless multiple execution of comparison and adjustment caused by fluctuation during the just access can be reduced.
Optionally, the second adjustment policy includes the following steps:
establishing a first corresponding relation library of the proportion of the range of the second amplitude value exceeding the upper and lower limit values and different upshifts;
and selecting a corresponding upshifting gear from the first corresponding relation library according to the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value, and adjusting the current waveform channel according to the upshifting gear.
By adopting the technical scheme, the first corresponding relation library is established, and the gear of the current waveform channel can be better enlarged.
Optionally, the third adjustment policy includes the following steps:
establishing a second corresponding relation library of the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value and different reduction gears;
and selecting a corresponding reduction gear from the second corresponding relation library according to the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value, and adjusting the current waveform channel according to the reduction gear.
By adopting the technical scheme, the second corresponding relation library is established, which is beneficial to better reducing the gear of the current waveform channel.
In a second aspect, the present application provides a digital oscilloscope, which adopts the following technical scheme:
a digital oscilloscope comprises an amplitude acquisition module, an amplitude processing module and a first adjusting module,
the amplitude acquisition module is used for sampling the access signal according to a preset sampling frequency so as to acquire a first amplitude value of the access signal;
the amplitude processing module is connected with the amplitude acquisition module and used for receiving the first amplitude value, comparing the first amplitude value with the upper limit value and the lower limit value of the current waveform channel, and if the first amplitude value exceeds the range of the upper limit value and the lower limit value, increasing the sampling frequency according to a first adjustment strategy;
the first adjusting module is respectively connected with the amplitude acquiring module and the amplitude processing module, and is used for receiving the new sampling frequency and controlling the amplitude acquiring module to continuously acquire a preset number of second amplitude values of the access signal according to the new sampling frequency; the first adjusting module compares the plurality of second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the upper limit value and the lower limit value is larger than a preset threshold value, the current gear of the waveform channel is increased according to a second adjusting strategy; and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to a preset threshold value, adjusting to a preset sampling frequency to sample the access signal.
By adopting the technical scheme, the amplitude acquisition module acquires the first amplitude value according to the preset sampling frequency; the amplitude processing module increases the sampling frequency when the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, so that access signals can be more densely sampled when the first amplitude value exceeds the range of the upper limit value and the lower limit value, and a preset number of second amplitude values are acquired after the abnormal first amplitude value; when the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value exceeds a preset threshold value, the first adjusting module enlarges the gear of the current waveform channel, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
Optionally, the system further comprises a second adjusting module,
and the second adjusting module is connected with the amplitude acquiring module and used for receiving the first amplitude value, and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the current gear of the waveform channel is adjusted to be smaller according to a third adjusting strategy.
By adopting the technical scheme, when the first amplitude value is within the range of the upper limit value and the lower limit value of the current waveform channel and the proportion of the peak-to-peak value in the first amplitude value within the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the gear of the current waveform channel is reduced, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
In a third aspect, the present application provides a readable storage medium, which adopts the following technical solutions:
a readable storage medium storing a computer program that can be loaded by a processor and that executes any one of the above-described waveform channel adjustment methods.
In summary, the present application includes at least one of the following beneficial technical effects:
1. acquiring a first amplitude value according to a preset sampling frequency, and increasing the sampling frequency when the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, so that access signals can be more densely sampled when the first amplitude value exceeds the range of the upper limit value and the lower limit value, and a preset number of second amplitude values are acquired after the abnormal first amplitude value; when the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value exceeds a preset threshold value, the gear of the current waveform channel is increased, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted;
2. when the first amplitude value is located in the range of the upper limit value and the lower limit value of the current waveform channel and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the gear of the current waveform channel is reduced, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
Drawings
FIG. 1 is a flow chart of a method of one embodiment of the present application;
FIG. 2 is a system block diagram of one embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1-2 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the application discloses a method for adjusting a waveform channel. Referring to fig. 1, the adjusting method includes the steps of:
and S1, sampling the access signal according to a preset sampling frequency to acquire a first amplitude value of the access signal.
In this application, the step of obtaining the first amplitude value further includes the following steps:
and S11, receiving the sampling values of the access signal at each sampling moment in real time.
Specifically, before the step S11, the method further includes: judging whether the access signal is stable or not, and outputting a sampling instruction after the access signal is stable; and based on the sampling instruction, executing the step of receiving sampling values of each sampling moment of the access signal in real time.
In practical applications, a certain fluctuation exists at the beginning of signal access. Sampling the access signal after the access signal is stabilized can reduce the number of times of useless execution of comparison and adjustment caused by fluctuation during the just-in-time access.
And S12, obtaining the first amplitude value according to the sampling value and a preset calculation strategy, and updating the first amplitude value of the access signal in real time.
It should be noted that the preset calculation strategy may adopt a database in which the acquired value and the first amplitude value are established, and the first amplitude value corresponding to the sampled value is retrieved from the database according to the acquired sampled value. In other embodiments, the preset calculation strategy may be a calculation formula, and the first amplitude value is calculated according to the obtained sampling value; it is not particularly limited and may be determined according to the specific circumstances.
And S13, storing the updated first amplitude value in a register for comparison between the first amplitude value and the limit value of the current waveform channel.
When the comparison is performed for the first time, the current waveform channel may be a preset channel, such as a default channel during the production of the device or an initial channel set by an operator when the device is used; or the channel can be a history common channel, namely the channel with the most use times in the history record, or the channel used last time in the history record; it is not particularly limited and may be determined according to the specific circumstances. When the comparison is subsequently performed, the current waveform channel will be the channel obtained from the previous adjustment.
In the application, the first amplitude value is obtained by updating in real time, so that the transmission and processing of multi-point waveform data are not needed in the iteration process of the first amplitude value, and the gear adjustment speed of the current waveform channel is improved.
And S2, comparing the first amplitude value with the upper and lower limit values of the current waveform channel, and if the first amplitude value exceeds the range of the upper and lower limit values, increasing the sampling frequency according to a first adjustment strategy.
It should be noted that, for example, the preset sampling frequency is 5 times/min, and after the sampling frequency is increased by the first adjustment strategy, the new sampling frequency is 20 times/min.
And S3, continuously acquiring a preset number of second amplitude values of the access signal based on the new sampling frequency, comparing the second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the upper limit value and the lower limit value is larger than a preset threshold value, increasing the gear of the current waveform channel according to a second adjustment strategy.
It should be noted that, for example, if the new sampling frequency is 20 times/min, the preset number is 20, that is, 20 second amplitude values need to be respectively compared with the upper and lower limit values of the current waveform channel.
In this application, the second adjustment strategy includes the following steps:
and S31, establishing a first corresponding relation library of the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value and different upshifts.
And S32, selecting a corresponding upshifting gear from the first corresponding relation library according to the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value, and adjusting the current waveform channel according to the upshifting gear.
In the application, the first corresponding relation library is established, and the corresponding upshifting gear is taken from the first corresponding relation library according to the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value, so that the upshifting of the gear of the current waveform channel is facilitated. In other embodiments, other methods can be adopted to obtain the gear to be increased; it is not particularly limited and may be determined according to the specific circumstances.
And S4, if the proportion of the range of the second amplitude value exceeding the upper and lower limit values is less than or equal to the preset threshold value, adjusting to a preset sampling frequency to sample the access signal.
It should be noted that the limit values of the current waveform channel include an upper limit value and a lower limit value, where the upper limit value and the lower limit value are the upper limit value and the lower limit value that can be displayed by the current waveform channel; if the maximum value and the minimum value of the waveform displayed by the current waveform channel exceed the range of the upper limit value and the lower limit value, for example, the maximum value is greater than the upper limit value, or the minimum value is less than the lower limit value, the current waveform channel cannot completely display the waveform, and a certain peak and/or a trough of the waveform can be missed.
The threshold value is the lower limit of the proportion of the difference between the maximum value and the minimum value of the waveform which can be displayed by the current waveform channel in the range of the upper limit value and the lower limit value; if the proportion of the peak-to-peak value of the waveform displayed in the current waveform channel within the range of the upper limit value and the lower limit value is smaller than the threshold value, the actual display height of the waveform in the current waveform channel is lower, and the display effect is affected.
The adjusting method further comprises the following steps: and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value, and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the gear of the current waveform channel is reduced according to a third adjustment strategy.
It should be noted that the third adjustment strategy includes the following steps: establishing a second corresponding relation library of the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value and different reduction gears; and selecting a corresponding reduction gear from the second corresponding relation library according to the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value, and adjusting the current waveform channel according to the reduction gear.
In the application, the second corresponding relation library is established, so that the gear of the current waveform channel can be better adjusted to be smaller. When the first amplitude value is located in the range of the upper limit value and the lower limit value of the current waveform channel and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the gear of the current waveform channel is reduced, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
The implementation principle of the adjustment method of the waveform channel in the embodiment of the application is as follows: acquiring a first amplitude value according to a preset sampling frequency, and increasing the sampling frequency when the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, so that access signals can be more densely sampled when the first amplitude value exceeds the range of the upper limit value and the lower limit value, and a preset number of second amplitude values are acquired after the abnormal first amplitude value; and when the proportion of the range of the second amplitude value exceeding the upper and lower limit values exceeds a preset threshold value, the gear of the current waveform channel is increased, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
The embodiment of the application also discloses a digital oscilloscope. Referring to fig. 2, the digital oscilloscope includes an amplitude acquisition module, an amplitude processing module and a first adjustment module, where the amplitude acquisition module is configured to sample an access signal according to a preset sampling frequency to acquire a first amplitude value of the access signal; the amplitude processing module is connected with the amplitude acquisition module and used for receiving the first amplitude value, comparing the first amplitude value with the upper limit value and the lower limit value of the current waveform channel, and if the first amplitude value exceeds the range of the upper limit value and the lower limit value, increasing the sampling frequency according to a first adjustment strategy.
The first adjusting module is respectively connected with the amplitude acquiring module and the amplitude processing module and is used for receiving a new sampling frequency and controlling the amplitude acquiring module to continuously acquire a preset number of second amplitude values of the access signal according to the new sampling frequency; the first adjusting module compares the plurality of second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the range of the upper limit value and the lower limit value is larger than a preset threshold value, the gear of the current waveform channel is increased according to a second adjusting strategy; and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to the preset threshold value, adjusting to the preset sampling frequency to sample the access signal.
The digital oscilloscope further comprises a second adjusting module, wherein the second adjusting module is connected with the amplitude acquisition module and used for receiving the first amplitude value, and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the current gear of the waveform channel is adjusted to be smaller according to a third adjusting strategy.
The second adjustment module comprises a second corresponding unit and a second adjustment unit, wherein the second corresponding unit is used for establishing a second corresponding relation library of the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value and different reduction gears; the second adjusting unit is connected with the second corresponding unit and used for receiving the second corresponding relation library, selecting a corresponding reduction gear from the second corresponding relation library according to the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value, and adjusting the current waveform channel according to the reduction gear. The second corresponding relation library is established, so that the gear of the current waveform channel can be well adjusted to be small.
In this application, the second adjustment module is located the upper and lower limit value range of current waveform channel at first amplitude value, and when the shared proportion of peak-to-peak value in the first amplitude value in the range of upper and lower limit value is less than the threshold value in the limit value, transfers down the gear of current waveform channel, makes current waveform channel and access signal phase-match, the gear of adjustment waveform channel that like this can be better.
The amplitude acquisition module comprises a sampling receiving unit, an amplitude updating unit and an amplitude storage unit, wherein the sampling receiving unit is used for receiving sampling values of each sampling moment of the access signal in real time; the amplitude updating unit is connected with the sampling receiving unit and used for receiving the sampling value, obtaining a first amplitude value according to the sampling value and a preset calculation strategy, and updating the first amplitude value of the access signal in real time; the amplitude storage unit is connected with the amplitude updating unit and used for receiving the first amplitude value and storing the updated first amplitude value in the register so as to compare the first amplitude value with the limit value of the current waveform channel.
In the application, the first amplitude value is obtained by updating in real time, so that the transmission and processing of multi-point waveform data are not needed in the iteration process of the first amplitude value, and the gear adjustment speed of the current waveform channel is improved.
The amplitude acquisition module further comprises an instruction output unit, wherein the instruction output unit is used for judging whether the access signal is stable or not, outputting a sampling instruction after the access signal is stable, and executing the step of receiving sampling values of the access signal at each sampling moment in real time based on the sampling instruction. According to the method and the device, the access signal is sampled after being stabilized, and multiple useless execution of comparison and adjustment caused by fluctuation during access can be reduced.
The first adjusting module comprises a first corresponding unit and a first adjusting unit, wherein the first corresponding unit is used for establishing a first corresponding relation library of the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value and different increasing gears; the first adjusting unit is connected with the first corresponding unit and used for receiving the first corresponding relation library, selecting a corresponding upshifting gear from the first corresponding relation library according to the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value, and adjusting the current waveform channel according to the upshifting gear. By establishing the first corresponding relation library, the gear of the current waveform channel can be enlarged better.
The implementation principle of the digital oscilloscope in the embodiment of the application is as follows: the amplitude processing module increases the sampling frequency when the first amplitude value exceeds the range of the upper limit value and the lower limit value of the current waveform channel, so that access signals can be more densely sampled when the first amplitude value exceeds the range of the upper limit value and the lower limit value, and a preset number of second amplitude values are acquired after the abnormal first amplitude value; when the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value exceeds a preset threshold value, the first adjusting module enlarges the gear of the current waveform channel, so that the current waveform channel is matched with the access signal, and the gear of the waveform channel can be better adjusted.
The embodiment of the application also discloses a readable storage medium, which stores a computer program capable of being loaded by a processor and executing any one of the above adjusting methods of the waveform channel.
The foregoing is a preferred embodiment of the present application and is not intended to limit the scope of the application in any way, and any features disclosed in this specification (including the abstract and drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Claims (9)

1. A method for adjusting a waveform channel is characterized by comprising the following steps:
sampling the access signal according to a preset sampling frequency to acquire a first amplitude value of the access signal;
comparing the first amplitude value with the upper limit value and the lower limit value of the current waveform channel, and if the first amplitude value exceeds the range of the upper limit value and the lower limit value, increasing the sampling frequency according to a first adjustment strategy;
continuously acquiring a preset number of second amplitude values of an access signal based on a new sampling frequency, comparing the second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the upper limit value and the lower limit value is greater than a preset threshold value, increasing the gear of the current waveform channel according to a second adjustment strategy; and the number of the first and second groups,
and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to a preset threshold value, adjusting to a preset sampling frequency to sample the access signal.
2. The method for adjusting waveform channels according to claim 1, further comprising the steps of:
and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value, and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, reducing the current gear of the waveform channel according to a third adjustment strategy.
3. The method according to claim 1 or 2, wherein the step of obtaining the first amplitude value further comprises:
receiving sampling values of each sampling moment of the access signal in real time;
obtaining a first amplitude value according to the sampling value and a preset calculation strategy, and updating the first amplitude value of the access signal in real time;
and storing the updated first amplitude value in a register for comparison between the first amplitude value and the limit value of the current waveform channel.
4. The method for adjusting waveform channels according to claim 3, wherein the step of receiving the sampled values of the access signal at the sampling time points in real time further comprises:
judging whether the access signal is stable or not, and outputting a sampling instruction after the access signal is stable;
and executing the step of receiving sampling values of each sampling moment of the access signal in real time based on the sampling instruction.
5. The method according to claim 1, wherein the second adjustment strategy comprises the following steps:
establishing a first corresponding relation library of the proportion of the range of the second amplitude value exceeding the upper and lower limit values and different upshifts;
and selecting a corresponding upshifting gear from the first corresponding relation library according to the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value, and adjusting the current waveform channel according to the upshifting gear.
6. The method according to claim 2, wherein the third adjustment strategy comprises the following steps:
establishing a second corresponding relation library of the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value and different reduction gears;
and selecting a corresponding reduction gear from the second corresponding relation library according to the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value, and adjusting the current waveform channel according to the reduction gear.
7. A digital oscilloscope is characterized by comprising an amplitude acquisition module, an amplitude processing module and a first adjusting module,
the amplitude acquisition module is used for sampling the access signal according to a preset sampling frequency so as to acquire a first amplitude value of the access signal;
the amplitude processing module is connected with the amplitude acquisition module and used for receiving the first amplitude value, comparing the first amplitude value with the upper limit value and the lower limit value of the current waveform channel, and if the first amplitude value exceeds the range of the upper limit value and the lower limit value, increasing the sampling frequency according to a first adjustment strategy;
the first adjusting module is respectively connected with the amplitude acquiring module and the amplitude processing module, and is used for receiving the new sampling frequency and controlling the amplitude acquiring module to continuously acquire a preset number of second amplitude values of the access signal according to the new sampling frequency; the first adjusting module compares the plurality of second amplitude values with the upper limit value and the lower limit value of the current waveform channel respectively, and if the proportion of the second amplitude values exceeding the upper limit value and the lower limit value is larger than a preset threshold value, the current gear of the waveform channel is increased according to a second adjusting strategy; and if the proportion of the range of the second amplitude value exceeding the upper limit value and the lower limit value is less than or equal to a preset threshold value, adjusting to a preset sampling frequency to sample the access signal.
8. The digital oscilloscope of claim 7, further comprising a second adjustment module,
and the second adjusting module is connected with the amplitude acquiring module and used for receiving the first amplitude value, and if the first amplitude value does not exceed the range of the upper limit value and the lower limit value and the proportion of the peak-to-peak value in the first amplitude value in the range of the upper limit value and the lower limit value is smaller than the threshold value in the limit values, the current gear of the waveform channel is adjusted to be smaller according to a third adjusting strategy.
9. A readable storage medium, characterized by: a computer program which can be loaded by a processor and which performs the method according to any one of claims 1 to 7.
CN202110694916.1A 2021-06-22 2021-06-22 Waveform channel adjusting method, digital oscilloscope and readable storage medium Active CN113406376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110694916.1A CN113406376B (en) 2021-06-22 2021-06-22 Waveform channel adjusting method, digital oscilloscope and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110694916.1A CN113406376B (en) 2021-06-22 2021-06-22 Waveform channel adjusting method, digital oscilloscope and readable storage medium

Publications (2)

Publication Number Publication Date
CN113406376A true CN113406376A (en) 2021-09-17
CN113406376B CN113406376B (en) 2024-03-26

Family

ID=77682475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110694916.1A Active CN113406376B (en) 2021-06-22 2021-06-22 Waveform channel adjusting method, digital oscilloscope and readable storage medium

Country Status (1)

Country Link
CN (1) CN113406376B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506223B1 (en) * 1991-02-06 1997-08-13 Hewlett-Packard Company Very fast autoscale topology for digitizing oscilloscopes
CN101666818A (en) * 2009-07-21 2010-03-10 秦轲 Method for detecting signal by oscilloscope
CN104407190A (en) * 2014-11-26 2015-03-11 电子科技大学 Fully-digital random sampling method
CN108918937A (en) * 2018-09-13 2018-11-30 北京数采精仪科技有限公司 A kind of general card oscillograph based on pci interface
CN109085403A (en) * 2017-06-14 2018-12-25 北京普源精电科技有限公司 A kind of method of adjustment and digital oscilloscope of undulating path
CN212060395U (en) * 2020-02-27 2020-12-01 武汉大学 Digital oscilloscope supporting real-time sampling and equivalent sampling
CN112129983A (en) * 2020-09-25 2020-12-25 中北大学 Waveform recovery data processing method based on equal time interval equivalent sampling

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506223B1 (en) * 1991-02-06 1997-08-13 Hewlett-Packard Company Very fast autoscale topology for digitizing oscilloscopes
CN101666818A (en) * 2009-07-21 2010-03-10 秦轲 Method for detecting signal by oscilloscope
CN104407190A (en) * 2014-11-26 2015-03-11 电子科技大学 Fully-digital random sampling method
CN109085403A (en) * 2017-06-14 2018-12-25 北京普源精电科技有限公司 A kind of method of adjustment and digital oscilloscope of undulating path
CN108918937A (en) * 2018-09-13 2018-11-30 北京数采精仪科技有限公司 A kind of general card oscillograph based on pci interface
CN212060395U (en) * 2020-02-27 2020-12-01 武汉大学 Digital oscilloscope supporting real-time sampling and equivalent sampling
CN112129983A (en) * 2020-09-25 2020-12-25 中北大学 Waveform recovery data processing method based on equal time interval equivalent sampling

Also Published As

Publication number Publication date
CN113406376B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
EP1589748B1 (en) Apparatus, method, and program for processing image
US8073091B2 (en) Signal processing method and circuit to convert analog signal to digital signal
EP3133476A1 (en) Signal to noise ratio parameter optimization method and apparatus
CN115441943A (en) Universal digital signal processing waveform machine learning control application
CN1290921A (en) Equipment for evening screen light level for maintaining ferro-electric liquid crystal display
CN113406376A (en) Waveform channel adjusting method, digital oscilloscope and readable storage medium
US7061281B2 (en) Methods and devices for obtaining sampling clocks
CN107068034A (en) A kind of method and device of screen display brightness adjustment
US7339985B2 (en) Zero crossing method of symbol rate and timing estimation
JP2007011686A (en) Plant information processing system and plant information processing method
CN111736648A (en) Output voltage control method and device and terminal equipment
CN115359747B (en) Screen flashing test equipment and screen flashing test method
US10476704B2 (en) Equalizer for limited intersymbol interference
CN116363984A (en) Display screen flicker correction method and correction system
EP3961615A1 (en) Image display device, image display system, image display method, and computer program
CN111929481B (en) Display method of oscilloscope amplification area and oscilloscope
CN111983338B (en) Test method and test system
CN106846433B (en) Signal change diagram drawing method and device and electronic equipment
CN109145728B (en) Afterglow blanking method and device and computer readable storage medium
CN115299013A (en) Channel tracking method and related equipment thereof
DE10242343A1 (en) Multi-interpolated data recovery with a relatively low sampling rate
CN112822485A (en) Reproduction rate debugging method and device and display equipment
CN115209135B (en) Electromagnetic leakage video detection and restoration system
EP3376726A1 (en) Equalizer for limited intersymbol interference
CN108414832B (en) Abnormal signal spectrum parameter detection method based on image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant