CN109142834A - Amplitude Weight Acquisition method and device thereof, oscillograph for track drafting - Google Patents

Amplitude Weight Acquisition method and device thereof, oscillograph for track drafting Download PDF

Info

Publication number
CN109142834A
CN109142834A CN201710464243.4A CN201710464243A CN109142834A CN 109142834 A CN109142834 A CN 109142834A CN 201710464243 A CN201710464243 A CN 201710464243A CN 109142834 A CN109142834 A CN 109142834A
Authority
CN
China
Prior art keywords
amplitude
point
accumulated value
value
weight
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
CN201710464243.4A
Other languages
Chinese (zh)
Other versions
CN109142834B (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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201710464243.4A priority Critical patent/CN109142834B/en
Publication of CN109142834A publication Critical patent/CN109142834A/en
Application granted granted Critical
Publication of CN109142834B publication Critical patent/CN109142834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/20Cathode-ray oscilloscopes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of amplitude Weight Acquisition method and device thereof drawn for track, oscillograph; amplitude weight corresponding to maximum amplitude point and minimum amplitude point by each sample track in amplitude weight distribution is denoted as top value and floors; then obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value; and according to the top value accumulated value and floors accumulated value, the corresponding amplitude weight accumulated value of each amplitude point at same sampling location is determined.In this method, pass through the two amplitude weights of the top value and floors of each sample track, obtain final amplitude weight accumulated value, in specific calculate, calculation amount is small, not related with the amplitude variation size of sample track, thus, it reduces and calculates the time, realize the waveform drawing of really high capture rate.

Description

Amplitude Weight Acquisition method and device thereof, oscillograph for track drafting
Technical field
The present invention relates to digital oscilloscope field more particularly to it is a kind of for track draw amplitude Weight Acquisition method and Its device, oscillograph.
Background technique
Display system in traditional analog oscilloscope uses CRT (cathode-ray tube) display, and CRT monitor is to utilize The activation effect of fluorescent powder shown, can be presented fluorescent effect when waveform trace is shown, i.e., waveform presents different bright Dark effect.
And the display system of current digital oscilloscope mostly uses liquid crystal display, displaying principle and CRT monitor are not Together, display screen itself does not have the waveform display function of fluorescent effect.And in order to also generate fluorescence effect in digital oscilloscope Fruit needs to carry out handling the data progress of sample track, be controlled by the brightness to pixel, to emulate depanning The fluorescent effect of quasi- display, this realization technology are referred to as digital phosphor technology.Main thought in the realization of digital phosphor technology, It is to be overlapped a plurality of sample track in same time window, it is more for amplitude frequency of occurrence at same sampling point position The brighter display of pixel, the fewer pixel of amplitude frequency of occurrence, which is more shown slinkingly, at same position shows, to generate fluorescent effect.
In specific implementation, the amplitude frequency of occurrence to a plurality of sample track in a time window is needed to unite Meter, also referred to as amplitude weight count, currently, carried out in such a way that traversal is cumulative when carrying out amplitude weight statistics, that is, It says, all sample tracks are overlapped the corresponding amplitude weight of all amplitude points at same sampling point position one by one.This Sample will lead to when waveform trace is drawn and take long time.Especially in the drafting mode of arrow pattern, need additional by adding It shows point, by horizontal direction is adjacent but the pixel of vertical direction jump connects, reaches the continuous effect in track, in this way, The amplitude amplitude of variation of adjacent pixel is bigger, and the time loss of amplitude weight statistics is bigger, in this way, causing in waveform trace Taken long time when drafting, and every time count consumed by the time be it is uncertain, be unable to satisfy the requirement of the high capture rate of waveform.
Summary of the invention
The present invention provides a kind of amplitude Weight Acquisition method and device thereof drawn for track, oscillograph, shortening is drawn Time processed provides the waveform drawing of the high capture rate of indifference.
The present invention provides a kind of amplitude Weight Acquisition methods drawn for track, comprising:
Amplitude weight distribution is obtained, the amplitude weight distribution is a plurality of sample track in same time window same Amplitude weight set at sampling location, the amplitude weight distribution are determined according to dot pattern or arrow pattern, wherein the width Being worth amplitude weight corresponding to the maximum amplitude point and minimum amplitude point of each sample track in weight distribution is top value and bottom Value;
The top value corresponding to same amplitude point of each sample track in the amplitude weight distribution and floors are carried out respectively It is cumulative, to obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively;
According to the top value accumulated value and floors accumulated value, the corresponding amplitude power of each amplitude point at same sampling location is determined Weight accumulated value.
Optionally, according to the top value accumulated value and floors accumulated value, determine that the amplitude weight at same sampling location is tired It is value added, comprising:
Since the top amplitude point of time window, it is cumulative that the corresponding amplitude weight of each amplitude point is successively obtained from top to bottom Value, wherein the corresponding amplitude weight accumulated value of current amplitude point are as follows: the corresponding amplitude weight accumulated value of previous amplitude point and current The sum of corresponding top value accumulated value of amplitude point, then subtract the corresponding floors accumulated value of previous amplitude point.
Optionally, according to the top value accumulated value and floors accumulated value, determine that the amplitude weight at same sampling location is tired It is value added, comprising:
Since the bottom end amplitude point of time window, it is cumulative that the corresponding amplitude weight of each amplitude point is successively obtained from bottom to up Value, wherein the corresponding amplitude weight accumulated value of current amplitude point are as follows: the corresponding amplitude weight accumulated value of previous amplitude point and current The sum of corresponding floors accumulated value of amplitude point, then subtract the corresponding top value accumulated value of previous amplitude point.
Optionally, the amplitude weight distribution is determined according to dot pattern, and the amplitude weight in the amplitude weight distribution is Amplitude frequency of occurrence.
Optionally, the amplitude weight distribution is determined according to arrow pattern, the amplitude weight in the amplitude weight distribution Changed according to the amplitude of neighbouring sample point and determined, and amplitude variation more small magnitude weight is bigger.
Optionally, further includes:
The display of waveform trace is carried out according to the amplitude weight accumulated value.
In addition, the present invention also provides a kind of amplitude Weight Acquisition devices drawn for track, comprising:
Amplitude weight distribution acquiring unit, for obtaining amplitude weight distribution, the amplitude weight distribution is the same time Amplitude weight set of a plurality of sample track at same sampling location in window, the amplitude weight distribution is according to dot pattern Or arrow pattern determines, wherein the maximum amplitude point and minimum amplitude point of each sample track in the amplitude weight distribution Corresponding amplitude weight is top value and floors;
Top value and floors summing elements, for each sample track in the amplitude weight distribution is right in same amplitude point The top value and floors answered add up respectively, to obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively;
Amplitude weight summing elements, for determining same sampling location according to the top value accumulated value and floors accumulated value Locate the corresponding amplitude weight accumulated value of each amplitude point.
Optionally, in the amplitude weight summing elements, since the top amplitude point of time window, from top to bottom successively Obtain the corresponding amplitude weight accumulated value of each amplitude point, wherein the currently corresponding amplitude weight accumulated value of amplitude point are as follows: previous width The sum of the corresponding amplitude weight accumulated value of value point top value accumulated value corresponding with current amplitude point, then subtract previous amplitude point and correspond to Floors accumulated value.
Optionally, in the amplitude weight summing elements, since the bottom end amplitude point of time window, from bottom to up successively Obtain the corresponding amplitude weight accumulated value of each amplitude point, wherein the currently corresponding amplitude weight accumulated value of amplitude point are as follows: previous width The sum of the corresponding amplitude weight accumulated value of value point floors accumulated value corresponding with current amplitude point, then subtract previous amplitude point and correspond to Top value accumulated value.
Optionally, further includes:
Track display unit, for carrying out the display of waveform trace according to the amplitude weight accumulated value.
In addition, being obtained the present invention also provides a kind of oscillograph including any of the above-described amplitude weight drawn for track Take device.
It is provided in an embodiment of the present invention to be used for amplitude Weight Acquisition method and device thereof, the oscillograph that track is drawn, by width In value weight distribution amplitude weight corresponding to the maximum amplitude point and minimum amplitude point of each sample track be denoted as top value and Floors then obtains the corresponding top value accumulated value of each amplitude point and floors accumulated value, and according to the top value accumulated value and floors Accumulated value determines the corresponding amplitude weight accumulated value of each amplitude point at same sampling location.In this method, sampled by each The two amplitude weights of the top value and floors of track obtain final amplitude weight accumulated value, in specific calculate, calculation amount It is small, it is not related with the amplitude variation size of sample track, thus, it reduces and calculates the time, realize the waveform of really high capture rate It draws.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the schematic diagram according to the time window of the oscillograph of the embodiment of the present invention;
Fig. 2 is the width according to dot pattern in the amplitude Weight Acquisition method provided in an embodiment of the present invention drawn for track It is worth the schematic diagram of weight distribution;
Fig. 3 is to be adopted according to arrow pattern in the amplitude Weight Acquisition method provided in an embodiment of the present invention drawn for track The location diagram of sample track consecutive points;
Fig. 4 for according to the embodiment of the present invention provide for track draw amplitude Weight Acquisition method in arrow pattern width It is worth the schematic diagram of weight distribution;
Fig. 5 is the schematic diagram that amplitude weight is cumulative in the prior art;
Fig. 6 is to be illustrated according to the process of the amplitude Weight Acquisition method provided in an embodiment of the present invention drawn for track Figure;
Fig. 7 is according to the top value of amplitude weight and the distribution schematic diagram of floors in the method for drafting of the embodiment of the present invention one;
Fig. 8 is the schematic diagram obtained according to amplitude weight accumulated value in the method for drafting of the embodiment of the present invention one;
The structural schematic diagram for the amplitude Weight Acquisition device drawn for track that Fig. 9 is provided according to embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
As the description in background technique, in digital display, by imitating the fluorescent effect of conformable display, aobvious The fluorescent effect of different brightness, also referred to as digital phosphor technology are presented on display screen curtain.In the track of the prior art is drawn, especially In vector drawing mode, there are draftings to take long time, and every time count consumed by the time be it is uncertain, be unable to satisfy wave The requirement of the high capture rate of shape.For this purpose, being applied to number the invention proposes a kind of method for drafting of the waveform trace in oscillograph In oscillograph, by way of changing weight statistics, greatly shortens and draw the time, and draw time indifference, meet waveform height The requirement of capture rate.
In embodiments of the present invention, it is necessary first to obtain amplitude weight distribution, amplitude weight distribution is same time window Amplitude weight set of the interior a plurality of sample track at the same sampling location, amplitude weight distribution can be under dot pattern Or under arrow pattern.
Typically, the period that a time window can be a display screen size is also possible to it as needed The period of his length, refering to what is shown in Fig. 1, the horizontal direction of the time window is sampling location, vertical direction is amplitude.Sampling Track can be obtained by trigger unit and measuring unit, and in a time window, trigger unit is repeatedly in same benchmark After point stablizes triggering, a plurality of sample track based on same datum mark, each sample track can be obtained by measuring unit It is the set of the sample point data obtained after once triggering, sample point data is the amplitude data corresponding to sampling location, due to The datum mark of triggering is identical, these a plurality of sample tracks are all based on the data acquisition system of identical sampling location.
In waveform display, there are the display pattern of dot pattern and arrow pattern, under dot pattern, sampled point and screen pixels For point to correspond, waveform trace is discrete point.And under arrow pattern, on the basis of dot pattern, horizontal direction The effective pixel points of adjacent but vertical direction jump are connected in the way of the additional display point of addition, to reach track company Continuous effect.The amplitude of sample track is usually binary numeral, and when showing on the display screen, display point is screen pixels Point, the height or pixels tall value of corresponding display screen, then amplitude and screen height will have mapping relations, by sampled point It corresponds with display point, in a specific example, the altitude range of screen is 0-479, and amplitude range is 0- 255, then the mapping relations of amplitude and screen height are y=1.875*x.
Amplitude weight distribution embodies the sampled point amplitude probability of occurrence of sample track, due to the difference of display pattern, sampling The amplitude weight distribution of track also can be different, amplitude weight distribution and the arrow pattern that will be described respectively under dot pattern below Under amplitude weight distribution.In following description given, to have 6 sample track W1, W2 ... W6, such as Fig. 1 in same time window Shown, sampled point is 6, and the range 1-8 behavior example of amplitude point is illustrated, i.e., is sampled, obtained respectively 6 sampling locations The amplitude data of 6 sample tracks of 6 sampling locations must be corresponded respectively to, the range of amplitude data is amplitude point 1- amplitude point 8.It is understood that the quantity of sampled point and amplitude point will be far longer than this quantity in specific application.
Under dot pattern, the number that amplitude weight can occur for amplitude at same sampling location a, amplitude occurs one Secondary, amplitude weight is denoted as 1, can be by amplitude of the traversal each sample track at the same sampling location, to determine The amplitude weight distribution of the sampling location, refering to what is shown in Fig. 2, for this six sample track W1, W2 ... W6 at the S1 of sampling location Amplitude weight, each amplitude frequency of occurrence for being classified as a sample track at the S1 of sampling location, such as sample track Amplitude of the W1 at the S1 of sampling location is R3, then, amplitude of the sample track W1 at the amplitude point R3 on the S1 column of sampling location Weight is denoted as 1, and similarly, sample track W2-W6 is on the S1 column of sampling location respectively at amplitude point R2, R3, R4, R4, R3 Amplitude weight is denoted as 1, and same method successively obtains the amplitude weight of these sample tracks at the S2-S6 of other sampling locations, i.e., The amplitude weight distribution that can get each sampling location under dot pattern obtains the width of 6 sampling locations in the specific example It is worth weight distribution, amplitude weight distribution can be stored in screen buffer in the form of display table.The amplitude weight distribution can be with The distribution for corresponding to the sampled point of amplitude, the height mapping relationship based on amplitude and screen are also possible to correspond to screen height The distribution of the display point of degree.
Under arrow pattern, due to needing horizontal direction is adjacent but the effective pixel points of vertical direction jump, using adding The additional mode for showing point is added to connect, therefore, amplitude weight is, amplitude change determining based on the variation of neighbouring sample point amplitude Change that more small magnitude weight is bigger, and amplitude weight is continuous in vertical direction, can be according to the difference in magnitude of neighbouring sample point, it can be with Amplitude weight is calculated or obtained by lookup table mode by function.
In some embodiments, the amplitude weight under arrow pattern is determined by way of tabling look-up, specifically, setting in advance Weight quantization table is set, referring to shown in following table table one, is preset in table a little away from the corresponding relationship with weighted value, in the table, point Difference away from the amplitude for corresponding to two adjacent sampled points, weight are the corresponding amplitude weight of the sampled point in the point away under.It should Weighted value in table embodies probability value when track is drawn, and point is higher away from smaller then weight, when track is shown with higher Brightness, it is to be understood that the weighted value in following table is merely illustrative, can according to need and other specific numerical value are arranged.
One weight of table quantifies table
Point away from Weight
0 100
1 50
2 33
3 25
4 20
5 16
6 14
7 12
Quantify table based on the weight, is adopted obtaining amplitude of each sample track at the same sampling location with previous It after the difference of amplitude at sample position, is searched from pre-set weight quantization table, obtains and the difference of amplitude is corresponding Point away from weight, amplitude weight using the weight as this track on the sampled point and previous sampled point line.
It is the location diagram of each sample track consecutive points with reference to the example of Fig. 3, is obtaining at the position sampled point S2 Amplitude weight when, first obtain sampling location S2 place sampled point and sampling location S1 at sampled point amplitude difference, in Fig. 3 In, the amplitude of sample track W1 sampled point at the S2 of sampling location is R3, and the amplitude of sampled point is at previous sampling location S1 R4, for the difference between the two corresponding points away from being 1, which is 50, then, sampling of the sample track W1 at the S2 of sampling location away from corresponding weight Amplitude weight on the line of sampled point at point S2 and sampling location S1 is 50, i.e. from amplitude point R3 to width at sampling location S2 Being worth the amplitude weight on the line of point R2 is 50, similarly, sampled point S2 of the sample track W2 at the S2 of sampling location and sampling Amplitude weight on the line of sampled point at the S1 of position is 33, sampled point S2 of the sample track W3 at the S2 of sampling location with adopt Amplitude weight on the line of sampled point at the S1 of sample position is 20, sampled point S2 of the sample track W4 the S2 of sampling location at and Amplitude weight on the line of sampled point at the S1 of sampling location is 20, the width of sample track W5 sampled point at the S2 of sampling location Being worth weight is 100, on the line of the sampled point at sampled point S2 of the sample track W6 at the S2 of sampling location and sampling location S1 Amplitude weight be 33, in this way, as shown in figure 4, just obtaining the width of each sample track W1-W6 sampled point at the S2 of sampling location It is worth weight distribution, same method successively obtains the amplitude weight of these sample tracks at the S3-S6 of other sampling locations Obtain amplitude weight distribution of each sample track W1-W6 at each sampling location under arrow pattern.
In the prior art, for each sampling location, by the amplitude weight distribution to each sample track by traveling Row traversal is cumulative, to obtain the final amplitude weight accumulated value of entire waveform.Refering to what is shown in Fig. 5, by the amplitude of sampling location S2 Weight distribution carries out the cumulative of all data line by line, obtains the amplitude weight accumulated value Comb2 of sampling location S2.If display column Height is R, and the quantity of sample track is W, then the complexity for calculating the time is (R*W+R).In addition, it is seen that in Vector Mode In formula, amplitude weighted value be with adjacent amplitude change it is related, amplitude variation it is bigger, amplitude weighted value is longer, and accumulation calculating disappears The time of consumption is also longer, and time-consuming when waveform trace being caused to be drawn is uncertain, is unable to satisfy the requirement of the high capture rate of waveform.
For this purpose, the embodiment of the present invention proposes new amplitude Weight Acquisition method, arrow pattern and point can be applied to The drafting of the waveform trace of mode, the drafting time is unrelated with sampled point amplitude variation size, when time window size determines, makes It obtains each time window and draws time consistency, meet the requirement of the high capture rate of waveform, and it is short to draw the time.It below will be respectively to arrow Method for drafting under amount mode and dot pattern is described.
Embodiment one
Refering to what is shown in Fig. 6, obtaining amplitude weight distribution in step S101, the amplitude weight distribution is same time window Amplitude weight set of a plurality of sample track at same sampling location in mouthful, the amplitude weight distribution is according to arrow pattern It determines, wherein width corresponding to the maximum amplitude point and minimum amplitude point of each sample track in the amplitude weight distribution Being worth weight is top value and floors.
In this embodiment, the waveform trace for carrying out arrow pattern is drawn, and amplitude weight distribution can use foregoing description In method obtain, be it is determining based on the variation of neighbouring sample point amplitude, it is bigger that amplitude changes more small magnitude weight, and amplitude is weighed Weight is continuous in vertical direction.
In the present embodiment, when carrying out subsequent accumulation calculating, merely with each sample track in amplitude weight distribution Amplitude weight corresponding to maximum amplitude point and minimum amplitude point, in this way, even if the variation of neighbouring sample point amplitude greatly, is counted cumulative When calculation, top value and floors are also only considered, so that the time is drawn in track not to be influenced by amplitude variation.
In a specific example, amplitude weight distribution as shown in Figure 4 is that each item samples rail at the S2 of sampling location The amplitude weight distribution of mark, only by amplitude weight corresponding to the maximum amplitude point of the sample track of each and minimum amplitude point It preserves, is used as subsequent accumulation calculating, for ease of description, they are denoted as top value and floors respectively.Such as Fig. 7 institute Show, is the top value of amplitude weight distribution shown in Fig. 4 and the schematic diagram of floors, it can be seen that at the S2 of sampling location, sample rail The top value of mark W1 is the corresponding amplitude weight 50 of amplitude point R3, floors is the corresponding amplitude weight 50 of amplitude point R4;Sample track The top value of W3 is the corresponding amplitude weight 20 of amplitude point R1, floors is the corresponding amplitude weight 20 of amplitude point R5;Sample track W5 An only numerical value, at this point, the top value of sample track W5 and floors are all the corresponding amplitude weight 100 of amplitude point R3.Specific In application, top value and floors can be stored respectively in top value register and floors register, when preservation, saves amplitude simultaneously Point position and the corresponding amplitude weighted value in amplitude point position.
In step S102, by top value and the bottom corresponding to same amplitude point of each sample track in the amplitude weight distribution Value adds up respectively, to obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively.
In this step, it obtains the corresponding top value accumulated value of each amplitude point in an amplitude weight distribution and floors is cumulative Value, top value accumulated value are each sample track top value accumulated value after being added all corresponding to the same amplitude point, floors Accumulated value is each sample track floors accumulated value after being added all corresponding to the same amplitude point.
It is the top value accumulated value of amplitude weight distribution shown in Fig. 4 with reference to shown in Fig. 8 (A) in a specific example P-top [i] and floors accumulated value P-btm [i], i correspond respectively to different amplitude point R1-R8, wherein amplitude point R1 from 1-8 Corresponding top value accumulated value P-top [1] is 53, floors accumulated value P-btm [1] is 0;In amplitude point R3, the width of sample track W5 Value weight 100 is that top value is floors again, then will add in the corresponding top value accumulated value of amplitude point R3 and floors accumulated value 100, top value accumulated value P-top [3] are, floors accumulated value P-btm [3] is respectively 150,133, likewise it is possible to obtain other The corresponding top value accumulated value of amplitude point and floors accumulated value.Top value accumulated value and floors accumulated value can be placed in caching, just The calculating of amplitude weight accumulated value in subsequent step.
In step S103, according to the top value accumulated value and floors accumulated value, each amplitude point at same sampling location is determined Corresponding amplitude weight accumulated value.
In amplitude weight distribution, since the amplitude weight on the line of top value to floors is the same, in this way, passing through Top value accumulated value and floors accumulated value can determine the amplitude weight accumulated value at same sampling location.
In some embodiments, with reference to shown in Fig. 8 (A), can since the top amplitude point R1 of time window, from it is upper it Under successively obtain the corresponding amplitude weight accumulated value of each amplitude point, the corresponding amplitude weight accumulated value P-S [i] of current amplitude point Are as follows: the corresponding amplitude weight accumulated value P-S [i-1] of previous amplitude point top value accumulated value P-top [i] corresponding with current amplitude point The sum of, then subtract the corresponding floors accumulated value P-btm [i-1] of previous amplitude point, the public affairs of current amplitude weight accumulated value P-S [i] Formula is expressed as follows:
P-S [i]=P-S [i-1]+P-top [i]-P-btm [i-1];Formula (1)
Wherein, for i from 1 to N, N is total line number of amplitude point.In specific calculate, each initial value setting are as follows: amplitude weight is tired Value added P-S [0]=0, top value accumulated value P-top [0]=0, floors accumulated value P-btm [0]=0.
With reference to shown in Fig. 8 (A), obtaining, the corresponding top value accumulated value of each amplitude point and floors at a sampling location are cumulative After value, pass through above-mentioned formula, so that it may obtain the corresponding amplitude weight accumulated value of each amplitude point at the sampling location.
In a specific example, top value accumulated value shown in Fig. 8 (A) and floors accumulated value are obtained, by above-mentioned Formula (1) is obtained with the corresponding amplitude weight accumulated value comb2 of each amplitude point, as shown in Fig. 8 (B).
It in further embodiments, can be since the bottom end amplitude point R8 of time window, under with reference to shown in Fig. 8 (A) It is supreme successively to obtain the corresponding amplitude weight accumulated value of each amplitude point, wherein the currently corresponding amplitude weight accumulated value of amplitude point P-S [l] are as follows: the corresponding amplitude weight accumulated value P-S [l-1] of previous amplitude point floors accumulated value P- corresponding with current amplitude point The sum of btm [l], then subtract the corresponding top value accumulated value P-top [l-1] of previous amplitude point.Current amplitude weight accumulated value P-S The formula of [l] is expressed as follows:
P-S [l]=P-S [l-1]+P-btm [l]-P-top [l-1];Formula (2)
Wherein, for l from 1 to N, N is total line number of amplitude point.In specific calculate, each initial value setting are as follows: amplitude weight is tired Value added P-S [0]=0, top value accumulated value P-top [0]=0, floors accumulated value P-btm [0]=0.
In a specific example, top value accumulated value shown in Fig. 8 (A) and floors accumulated value are obtained, by above-mentioned Formula (2) is obtained with the corresponding amplitude weight accumulated value comb2 of each amplitude point, as shown in Fig. 8 (B).
The amplitude weight accumulated value acquisition process at a sampling location is described in detail above, it is possible to understand that , by identical method, the amplitude weight accumulated value at other each sampling locations can be obtained, to obtain entire sampling The amplitude weight accumulated value of track, with the drafting for waveform trace.
In the cumulative value calculating method of the amplitude weight, if display column height is R, the quantity of sample track is W, then calculates The complexity of time is reduced to (2*W+R).When specific calculating, only by the maximum amplitude point of each sample track and most slightly The corresponding amplitude weight of value point, i.e. the two numerical value of top value and floors, carry out calculating and are obtained with final amplitude weight Accumulated value, in specific calculate, calculation amount is small, not related with the amplitude variation size of sample track, thus, it reduces and calculates Time realizes the waveform drawing of really high capture rate.
After the amplitude weight accumulated value for obtaining entire sample track, in step S104, it can be weighed according to the amplitude Weight accumulated value carries out the display of waveform trace.
After the amplitude weight accumulated value for obtaining entire sample track, the display of waveform trace is carried out, that is, shielding Tracing waveform is shown on curtain, in display, is controlled according to the light and shade that amplitude weight accumulated value carries out display point, amplitude weight is cumulative It is worth higher display point, there is higher display brightness, the lower display point of amplitude weight accumulated value is bright with darker display Degree.
Embodiment two
What is different from the first embodiment is that the present embodiment is the drafting for carrying out the waveform trace of dot pattern, will mainly retouch below The place for being different from embodiment one is stated, something in common will not be described in great detail.
In step S201, amplitude weight distribution is obtained, the amplitude weight distribution is that a plurality of in same time window is adopted Amplitude weight set of the sample track at same sampling location, the amplitude weight distribution are determined according to dot pattern, wherein described In amplitude weight distribution amplitude weight corresponding to the maximum amplitude point and minimum amplitude point of each sample track be top value and Floors.
In this embodiment, the waveform trace for carrying out dot pattern is drawn, and amplitude weight distribution can be using in foregoing description Method obtain, be the number that amplitude occurs at same sampling location, amplitude primary then amplitude weight occurs and is denoted as 1.
Since the waveform drawing in dot pattern is discrete point, in this embodiment, amplitude weight distribution is also discrete Point, that is to say, that each sample track all only corresponds to an amplitude weight at the same sampling location, in this way, with embodiment one Middle sample track only corresponds to the situation of a numerical value, in the amplitude weight distribution maximum amplitude point of each sample track and Amplitude weight corresponding to minimum amplitude point is the same value, i.e., top value and floors are all corresponding amplitude power at the sampling location Weight.
In specific example, refering to what is shown in Fig. 2, at the S1 of sampling location, width of the sample track W1 at amplitude point R3 Being worth weight is 1, then, the top value and floors of sample track W1 is all the corresponding amplitude weight 1 of amplitude point R3, similarly, other The top value and floors of sample track W2-W6 is also all the amplitude weight at corresponding amplitude point.
In step S202, by top value and the bottom corresponding to same amplitude point of each sample track in the amplitude weight distribution Value adds up respectively, to obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively.
In step S203, according to the top value accumulated value and floors accumulated value, each amplitude point at same sampling location is determined Corresponding amplitude weight accumulated value.
In step S204, the display of waveform trace is carried out according to the amplitude weight accumulated value.
The specific implementation process of step S202 to step S204, with the reality of step S102 in embodiment one to step S104 Existing, details are not described herein again.
The amplitude Weight Acquisition method of the embodiment of the present invention is described in detail above, institute in the embodiment of the present invention The method of description can be directly embedded into hardware, the combination for the software unit or both that processor executes, such as can be insertion In FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit in), when being realized in FPGA, it can be realized using parallel form, further increase the efficiency of operation.
In addition, correspondingly, the present invention also provides the amplitude Weight Acquisition dresses drawn for track for realizing the above method It sets, refering to what is shown in Fig. 9, including:
Amplitude weight distribution acquiring unit 300, for obtaining amplitude weight distribution, the amplitude weight distribution is with for the moment Between amplitude weight set of a plurality of sample track at same sampling location in window, the amplitude weight distribution is according to a mould Formula or arrow pattern determine, wherein the maximum amplitude point and minimum amplitude of each sample track in the amplitude weight distribution The corresponding amplitude weight of point is top value and floors;
Top value and floors summing elements 310 are used for each sample track in the amplitude weight distribution in same amplitude point Corresponding top value and floors adds up respectively, cumulative to obtain the corresponding top value accumulated value of each amplitude point and floors respectively Value;
Amplitude weight summing elements 320, for determining same sample bits according to the top value accumulated value and floors accumulated value Set the corresponding amplitude weight accumulated value of each amplitude point in place.
Further, in the amplitude weight summing elements 320, since the top amplitude point of time window, from up to Under successively obtain the corresponding amplitude weight accumulated value of each amplitude point, wherein the corresponding amplitude weight accumulated value of current amplitude point are as follows: The sum of the corresponding amplitude weight accumulated value of previous amplitude point top value accumulated value corresponding with current amplitude point, then subtract previous amplitude The corresponding floors accumulated value of point.
Further, in the amplitude weight summing elements 320, since the bottom end amplitude point of time window, from down toward On successively obtain the corresponding amplitude weight accumulated value of each amplitude point, wherein the corresponding amplitude weight accumulated value of current amplitude point are as follows: The sum of the corresponding amplitude weight accumulated value of previous amplitude point floors accumulated value corresponding with current amplitude point, then subtract previous amplitude The corresponding top value accumulated value of point.
Further, the amplitude weight distribution is determined according to dot pattern, the amplitude weight in the amplitude weight distribution For amplitude frequency of occurrence.
Further, the amplitude weight distribution is determined according to arrow pattern, the amplitude power in the amplitude weight distribution Repeated root changes according to the amplitude of neighbouring sample point to be determined, and amplitude variation more small magnitude weight is bigger.
Further, further includes:
Track display unit, for carrying out the display of waveform trace according to the amplitude weight accumulated value.
In addition, the present invention also provides a kind of oscillograph, including the above-mentioned amplitude Weight Acquisition dress drawn for track It sets.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.System embodiment described above is only schematical, wherein described be used as separate part description Module or unit may or may not be physically separated, the component shown as module or unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.

Claims (11)

1. a kind of amplitude Weight Acquisition method drawn for track characterized by comprising
Amplitude weight distribution is obtained, the amplitude weight distribution is a plurality of sample track in same time window in same sampling Amplitude weight set at position, the amplitude weight distribution are determined according to dot pattern or arrow pattern, wherein the amplitude power Amplitude weight corresponding to the maximum amplitude point and minimum amplitude point of each sample track is top value and floors in redistribution;
The top value corresponding to same amplitude point of each sample track in the amplitude weight distribution and floors are added up respectively, To obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively;
According to the top value accumulated value and floors accumulated value, determine that the corresponding amplitude weight of each amplitude point is tired at same sampling location It is value added.
2. the method according to claim 1, wherein being determined according to the top value accumulated value and floors accumulated value Amplitude weight accumulated value at same sampling location, comprising:
Since the top amplitude point of time window, the corresponding amplitude weight accumulated value of each amplitude point is successively obtained from top to bottom, Wherein, the corresponding amplitude weight accumulated value of current amplitude point are as follows: the previous corresponding amplitude weight accumulated value of amplitude point and current width The sum of corresponding top value accumulated value of value point, then subtract the corresponding floors accumulated value of previous amplitude point.
3. the method according to claim 1, wherein being determined according to the top value accumulated value and floors accumulated value Amplitude weight accumulated value at same sampling location, comprising:
Since the bottom end amplitude point of time window, the corresponding amplitude weight accumulated value of each amplitude point is successively obtained from bottom to up, Wherein, the corresponding amplitude weight accumulated value of current amplitude point are as follows: the previous corresponding amplitude weight accumulated value of amplitude point and current width The sum of corresponding floors accumulated value of value point, then subtract the corresponding top value accumulated value of previous amplitude point.
4. the method according to claim 1, wherein the amplitude weight distribution according to dot pattern determine, it is described Amplitude weight in amplitude weight distribution is amplitude frequency of occurrence.
5. the method according to claim 1, wherein the amplitude weight distribution is according to arrow pattern determination, institute The amplitude weight stated in amplitude weight distribution changes determination according to the amplitude of neighbouring sample point, and small magnitude weight is got in amplitude variation It is bigger.
6. method according to any one of claims 1-5, which is characterized in that further include:
The display of waveform trace is carried out according to the amplitude weight accumulated value.
7. a kind of amplitude Weight Acquisition device drawn for track characterized by comprising
Amplitude weight distribution acquiring unit, for obtaining amplitude weight distribution, the amplitude weight distribution is same time window Amplitude weight set of the interior a plurality of sample track at same sampling location, the amplitude weight distribution is according to dot pattern or arrow Amount mode determines, wherein the maximum amplitude point of each sample track and minimum amplitude point institute are right in the amplitude weight distribution The amplitude weight answered is top value and floors;
Top value and floors summing elements, for by each sample track in the amplitude weight distribution corresponding to the same amplitude point Top value and floors add up respectively, to obtain the corresponding top value accumulated value of each amplitude point and floors accumulated value respectively;
Amplitude weight summing elements, for determining each at same sampling location according to the top value accumulated value and floors accumulated value The corresponding amplitude weight accumulated value of amplitude point.
8. device according to claim 7, which is characterized in that in the amplitude weight summing elements, from time window Top amplitude point starts, and successively obtains the corresponding amplitude weight accumulated value of each amplitude point from top to bottom, wherein current amplitude point pair The amplitude weight accumulated value answered are as follows: the corresponding amplitude weight accumulated value of previous amplitude point top value corresponding with current amplitude point is cumulative The sum of value, then subtract the corresponding floors accumulated value of previous amplitude point.
9. device according to claim 7, which is characterized in that in the amplitude weight summing elements, from time window Bottom end amplitude point starts, and successively obtains the corresponding amplitude weight accumulated value of each amplitude point from bottom to up, wherein current amplitude point pair The amplitude weight accumulated value answered are as follows: the corresponding amplitude weight accumulated value of previous amplitude point floors corresponding with current amplitude point is cumulative The sum of value, then subtract the corresponding top value accumulated value of previous amplitude point.
10. the device according to any one of claim 7-9, which is characterized in that further include:
Track display unit, for carrying out the display of waveform trace according to the amplitude weight accumulated value.
11. a kind of oscillograph, which is characterized in that including such as described in any item devices of claim 7-10.
CN201710464243.4A 2017-06-19 2017-06-19 Amplitude weight obtaining method and device for track drawing and oscilloscope Active CN109142834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710464243.4A CN109142834B (en) 2017-06-19 2017-06-19 Amplitude weight obtaining method and device for track drawing and oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710464243.4A CN109142834B (en) 2017-06-19 2017-06-19 Amplitude weight obtaining method and device for track drawing and oscilloscope

Publications (2)

Publication Number Publication Date
CN109142834A true CN109142834A (en) 2019-01-04
CN109142834B CN109142834B (en) 2022-01-28

Family

ID=64804354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710464243.4A Active CN109142834B (en) 2017-06-19 2017-06-19 Amplitude weight obtaining method and device for track drawing and oscilloscope

Country Status (1)

Country Link
CN (1) CN109142834B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208589A (en) * 2019-05-08 2019-09-06 深圳市鼎阳科技有限公司 A kind of measuring method for waveform and measuring device, digital oscilloscope of time-domain signal

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1317692A (en) * 1970-09-02 1973-05-23 Jeol Ltd Apparatus and method for reading a signal waveform trace
US20030085925A1 (en) * 2001-11-06 2003-05-08 Bernard Kyle L. In-context creation and editing of masks and waveforms
CN102053184A (en) * 2009-11-10 2011-05-11 北京普源精电科技有限公司 Digital oscilloscope with high waveform capture rate and control method thereof
CN102109540A (en) * 2009-12-25 2011-06-29 北京普源精电科技有限公司 Digital oscilloscope capable of displaying waveforms of equivalent sampling in raster display and setting method of equivalent sampling points thereof
CN102116783A (en) * 2010-12-31 2011-07-06 北京普源精电科技有限公司 Waveform display method
CN102567955A (en) * 2010-12-30 2012-07-11 北京大学 Method and system for inpainting images
CN102998500A (en) * 2012-12-24 2013-03-27 电子科技大学 Waveform data processing method for digital three-dimensional oscilloscope
JP2013228398A (en) * 2013-06-07 2013-11-07 Keyence Corp Waveform observation apparatus
CN103869127A (en) * 2012-12-12 2014-06-18 北京普源精电科技有限公司 Digital oscilloscope with track display function
CN104515885A (en) * 2013-10-07 2015-04-15 特克特朗尼克公司 Stochastic rasterization of waveform trace displays
CN105629015A (en) * 2014-10-29 2016-06-01 江苏绿扬电子仪器集团有限公司 High-performance digital fluorescent waveform imaging system of oscilloscope
CN105675455A (en) * 2016-01-08 2016-06-15 珠海欧美克仪器有限公司 Method and device for reducing random system noise in particle size analyzer
CN106645942A (en) * 2016-07-26 2017-05-10 北京东方计量测试研究所 Low cost and high precision embedded type signal collection and analysis system and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1317692A (en) * 1970-09-02 1973-05-23 Jeol Ltd Apparatus and method for reading a signal waveform trace
US20030085925A1 (en) * 2001-11-06 2003-05-08 Bernard Kyle L. In-context creation and editing of masks and waveforms
CN102053184A (en) * 2009-11-10 2011-05-11 北京普源精电科技有限公司 Digital oscilloscope with high waveform capture rate and control method thereof
CN102109540A (en) * 2009-12-25 2011-06-29 北京普源精电科技有限公司 Digital oscilloscope capable of displaying waveforms of equivalent sampling in raster display and setting method of equivalent sampling points thereof
CN102567955A (en) * 2010-12-30 2012-07-11 北京大学 Method and system for inpainting images
CN102116783A (en) * 2010-12-31 2011-07-06 北京普源精电科技有限公司 Waveform display method
CN103869127A (en) * 2012-12-12 2014-06-18 北京普源精电科技有限公司 Digital oscilloscope with track display function
CN102998500A (en) * 2012-12-24 2013-03-27 电子科技大学 Waveform data processing method for digital three-dimensional oscilloscope
JP2013228398A (en) * 2013-06-07 2013-11-07 Keyence Corp Waveform observation apparatus
CN104515885A (en) * 2013-10-07 2015-04-15 特克特朗尼克公司 Stochastic rasterization of waveform trace displays
CN105629015A (en) * 2014-10-29 2016-06-01 江苏绿扬电子仪器集团有限公司 High-performance digital fluorescent waveform imaging system of oscilloscope
CN105675455A (en) * 2016-01-08 2016-06-15 珠海欧美克仪器有限公司 Method and device for reducing random system noise in particle size analyzer
CN106645942A (en) * 2016-07-26 2017-05-10 北京东方计量测试研究所 Low cost and high precision embedded type signal collection and analysis system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIAONING YE ET.AL: "Method and applications of oscilloscope waveform de-embedding", 《2008 IEEE INTERNATIONAL SYMPOSIUM ON ELECTROMAGNETIC COMPATIBILITY》 *
曾文献: "基于PXA270的200MHz嵌入式数字荧光示波器系统设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208589A (en) * 2019-05-08 2019-09-06 深圳市鼎阳科技有限公司 A kind of measuring method for waveform and measuring device, digital oscilloscope of time-domain signal

Also Published As

Publication number Publication date
CN109142834B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN101131401B (en) Digital oscillograph and its display method
US8880369B2 (en) Occupancy measurement and triggering in frequency domain bitmaps
CN104485064B (en) The method of the sub-pixel compensation coloring of the RGBW display devices detected based on edge pixel
CN109686303B (en) Organic light-emitting display panel, organic light-emitting display device and compensation method
CN102313841B (en) Use input and the triggering of poor bitmap
CN103037241B (en) Automatic test system of reproduction ratio
EP0733893A3 (en) Apparatus and method for displaying multiple sample spacing waveform segments
CN105163106B (en) Multi-data-processing video quality evaluation system
JPH04280142A (en) Characteristic measurement method for aperiodic signal
CN101951462B (en) Motion detection method
CN101572076A (en) Frame rate conversion apparatus and frame rate conversion method
CN109142834A (en) Amplitude Weight Acquisition method and device thereof, oscillograph for track drafting
CN104486609A (en) Color temperature and GAMMA curve tuning and measuring integrated machine-by-machine correction flow
CN111855149A (en) Display panel ghost shadow testing method and device and computer equipment
CN103884890A (en) Oscilloscope with decoding function
CN100557455C (en) The method for displaying waveform of logic analyser and logic analyser thereof
US20110199285A1 (en) Method and apparatus for waveform compression and display
CN112233617A (en) Optical data compensation method and compensation device, storage medium and electronic equipment
CN106896250B (en) A kind of display methods of three-dimensional waveform data
CN106303451A (en) The video processing unit output synchronicity detection method of multi-display apparatus and system
CN101364372A (en) Plasma display apparatus and plasma display panel driving method
CN102565483A (en) Digital oscilloscope and control method thereof
US20140086499A1 (en) Dynamic creation of trend graph
CN104535912B (en) oscillation wave partial discharge detection waveform generation method and device
CN107818565A (en) A kind of wheat one is to tri-leaf period wheat seeding Censes Methods

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