CN106597048A - Digital oscilloscope quick and automatic setting method based on hardware centralized setting - Google Patents

Digital oscilloscope quick and automatic setting method based on hardware centralized setting Download PDF

Info

Publication number
CN106597048A
CN106597048A CN201611023731.3A CN201611023731A CN106597048A CN 106597048 A CN106597048 A CN 106597048A CN 201611023731 A CN201611023731 A CN 201611023731A CN 106597048 A CN106597048 A CN 106597048A
Authority
CN
China
Prior art keywords
amplitude
gear
passage
mark
found
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
CN201611023731.3A
Other languages
Chinese (zh)
Other versions
CN106597048B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201611023731.3A priority Critical patent/CN106597048B/en
Publication of CN106597048A publication Critical patent/CN106597048A/en
Application granted granted Critical
Publication of CN106597048B publication Critical patent/CN106597048B/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/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • G01R13/029Software therefor

Abstract

The invention discloses a digital oscilloscope quick and automatic setting method based on hardware centralized setting. The minimum horizontal time base class is used as the horizontal time base class in the case of amplitude lookup, when amplitude lookup is carried out, a hardware centralized setting mode is adopted to set the amplitude class of a to-be-found channel, and amplitude lookup is carried out. The specific hardware centralized setting method comprises steps: related hardware parameters for all to-be-found channel amplitudes are set at the same time; after all parameters finish setting, the hardware responds to the set hardware parameters in a unified mode to enable the parameters to be valid; whether the current amplitude class is proper is judged, if yes, amplitude class setting is carried out, the improper channel adopts the hardware centralized setting mode to set the next amplitude class, and after amplitude lookup is completed, frequency lookup and optimum amplitude adjustment are then carried out. The hardware centralized setting mode is adopted to reduce the hardware parameter adjustment times, the digital oscilloscope automatic setting time is shortened, and quick and automatic setting of the digital oscilloscope is thus realized.

Description

A kind of fast automatic method to set up of the digital oscilloscope based on hardware concentrated setting
Technical field
The invention belongs to measuring instrument technical field, more specifically, is related to a kind of number based on hardware concentrated setting The fast automatic method to set up of word oscillograph.
Background technology
Oscillograph uses extensive all purpose instrument as a kind of, experienced analog oscilloscope, digital storage oscilloscope and three Tie up oscillographic continuous development.Either analog oscilloscope or digital oscilloscope, its observation signal, first have to logical through simulation After the conditioning in road, just can effectively be observed.Initially, it is manually to arrange input signal conditioning to optimal viewing scope The parameter (amplitude, coupling, position) of passage is come what is realized.With the development of digital oscilloscope, can gradually pass through what is arranged automatically Method replacing manually setting, so as to rapidly observation signal, but due to the complexity of observed signal, and multichannel oscillography The gradually popularization of device, arranges time-consuming long automatically.
It can be seen from the principle analysis of digital oscilloscope, cause that oscillograph arranges automatically it is slow the reason for, following points:
1., from strategy, the dilemma for first looking for amplitude still first to survey signal frequency is faced:If first looking for amplitude, if Base during level suitable gear is not placed on, it is possible to do not collect a complete cycle of signal, cause the amplitude for obtaining It is inaccurate;If first looking for the frequency of signal, if not signal condition to suitable amplitude, the frequency for surveying signal is impossible to.
2. it is analog channel completing that pair signal carries out nursing one's health, the parameter setting to analog channel, from setting come into force to Can effective measurement signal, need certain stabilization time.If repeatedly adjusting the parameter of passage to search effective sight of signal Amplitude is examined, many times are will take for.
3., due to the non-intellectual of measured signal, the range parameter of constantly adjustment passage is needed, until finding suitable gear, When particularly passage does not have useful signal, it is also desirable to repeatedly searched, so also to devote a tremendous amount of time.
4. for multichannel oscillograph, because the amplitude of the signal of each passage may be different, it is necessary to each Passage enters line amplitude lookup.With the increase of port number, the cost time is searched with port number into multiplication relationship.
5. for multichannel oscillograph, for the ease of observing the signal of each passage, needs are placed on each passage The diverse location of view screen, and its amplitude is suitably adjusted, do not influence each other to observe the signal of each passage.For this purpose, Need to carry out extra amplitude lookup again, to be placed on suitable observation gear, this will spend additional time.
6. when signal frequency is searched to determine level during base, due to not knowing which passage has useful signal, just not Each passage do not measured successively, to obtain effective signal frequency, this is also to need to spend additional time.
7. when the suitable amplitude of each passage is searched, its process is to arrange each passage to the amplitude shelves specified, and is waited Hardware is stablized, and then gathers waveform by ADC, and software reads again Wave data, the Wave data that ultimate analysis is read back.Pass through Software, can be with the increase and the increase of storage depth of port number reading Wave data and Wave data is analyzed And substantially expend the time.
In sum, due to digital oscilloscope the characteristics of, if arranging the methods and techniques without optimization automatically, will cause The cost time is longer, and user experiences poor consequence.
The content of the invention
It is an object of the invention to overcome the deficiencies in the prior art, there is provided a kind of digital oscillography based on hardware concentrated setting The fast automatic method to set up of device, by the automatic setting time for reducing the number of times of adjustment hardware parameter to shorten digital oscilloscope.
For achieving the above object, digital oscilloscope fast automatic setting side of the present invention based on hardware concentrated setting Method, comprises the following steps:
S1:According to the oscillographic facilities of user's current logarithmic word, record the user beyond automatic arrange parameter and make by oneself Adopted parameter;
S2:Digital oscilloscope is initialized, is mainly included:Baseline zero, bias voltage zero, coupling are set to directly Stream coupling, trigger parameter is set to edging trigger, and triggering level is set to 0, triggering coupling and is set to exchange, sampling configuration is set Peak value sampling is set to, base shelves when sampling time-base is set to into minimum level;
S3:Arrange according to actual needs and whole passages or air exercise open walk are made a look up, for passage to be found, if Put its mark F to be foundneed=1, otherwise make Fneed=0;
S4:To mark F to be foundneed=1 passage enters line amplitude lookup, and concrete grammar is:
S4.1:For mark F to be foundneed=1 passage to be found, arranges its amplitude gear and is provided with mark K= 0;
S4.2:Using set-up mode in hardware set by all mark F to be foundneedThe amplitude of=1 passage to be found is equal It is set to minimum vertical amplitude YScale_Min, the concrete grammar of hardware concentrated setting is:Simultaneously all channel amplitudes to be found are set Related hardware parameter, after the completion of whole parameter settings, the set hardware parameter of each hardware unification response so as to come into force;
The Wave data that each channel acquisition is returned is read, waveform maximum y is calculatedmaxWith minima ymin, signal take Lattice number DSignalUsedAnd DC offset voltage Vbias;If maximum ymaxOr minima yminIt is aobvious beyond digital oscilloscope screen Show region, into step S4.3;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, then sentence Break signal takes lattice number DSignalUsedWhether half-space is less than, if it is, thinking that the passage does not have input signal, is set to acquiescence Amplitude gear, makes its amplitude gear be provided with mark K=1, updates its mark F to be foundneed=0, otherwise determine whether Whether signal takes lattice number Total lattice number of digital oscilloscope on-screen display (osd) area is represented, if it is, Then the amplitude gear of the passage is set to minimum vertical amplitude YScale_Min, make its amplitude gear be provided with mark K=1, more New its mark F to be foundneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, other feelings Condition does not then make any operation;
S4.3:Other amplitude gears are scanned, its concrete grammar is:To be needed using set-up mode in hardware set Search mark FneedThe amplitude gear of=1 passage is set to the amplitude gear for not yet finding, and reads each channel acquisition and returns The Wave data for coming, calculates waveform maximum ymaxWith minima ymin, signal occupancy lattice number DSignalUsed;If maximum ymax With minima yminBeyond digital oscilloscope on-screen display (osd) area, then reset amplitude gear and continue to search for;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether that signal takes lattice numberIf it is, the amplitude gear of the passage is set to current amplitude gear, its amplitude gear is made to set Complement mark K=1 is put, its mark F to be found is updatedneed=0, and record its signal occupancy lattice number DSignalUsedAnd direct current is inclined Put voltage Vbias, otherwise do not make any operation;
S5:According to the result that amplitude is searched, trigger source is arranged on one of AC signal passage, the passage is set Bias voltage, or coupled modes are set to into AC coupled, frequency F of the AC signal is measured by cymometer, then really Surely base shelves during level are obtained;
S6:Amplitude gear, signal according to each passage takes lattice number DSignalUsedAnd DC offset voltage Vbias, with And optimum apjustment is carried out to the amplitude gear of each passage in the vertical occupancy lattice number of on-screen display (osd) area to each passage, adjust The whole optimum range gear obtained each passage shows simultaneously when;
S7:User Defined parameter to recording in step S1 is recovered.
Digital oscilloscope fast automatic method to set up of the present invention based on hardware concentrated setting, is made with base shelves during minimum level Base shelves during level when searching for amplitude, when entering line amplitude and searching, using set-up mode in hardware set to passage to be found Amplitude gear is configured, and enters line amplitude lookup, and the concrete grammar of hardware concentrated setting is:Simultaneously all passages to be found are set The related hardware parameter of amplitude, after the completion of whole parameter settings, the set hardware parameter of each hardware unification response so as to raw Effect, then judges whether current amplitude gear is suitable, properly then enters the setting of line amplitude gear, and inappropriate passage then adopts hardware Concentrated setting mode arranges next amplitude gear, and amplitude carries out again frequency search and optimum range adjustment after the completion of searching.This The bright middle number of times that adjustment hardware parameter is reduced using set-up mode in hardware set, when shortening the automatic setting of digital oscilloscope Between, so as to realize the fast automatic setting of digital oscilloscope.
Description of the drawings
Fig. 1 is that the present invention is embodied as flow chart based on the digital oscilloscope automatic setting method of hardware concentrated setting;
Fig. 2 is the flow chart that the amplitude in the present invention based on hardware concentrated setting is searched;
Fig. 3 is the flow chart based on the amplitude scan method of two way classification;
Fig. 4 is the flow chart of optimum range gear adjustment in the present invention.
Specific embodiment
The specific embodiment of the present invention is described below in conjunction with the accompanying drawings, so as to those skilled in the art preferably Understand the present invention.Requiring particular attention is that, in the following description, when known function and design detailed description perhaps When can desalinate the main contents of the present invention, these descriptions will be ignored here.
Embodiment
Fig. 1 is that the present invention is embodied as flow chart based on the digital oscilloscope automatic setting method of hardware concentrated setting. As shown in figure 1, the present invention is comprised the following steps based on the digital oscilloscope automatic setting method of hardware concentrated setting:
S101:Record User Defined parameter:
According to the oscillographic facilities of user's current logarithmic word, the User Defined ginseng beyond automatic arrange parameter is recorded Number, for being recovered after being provided with automatically.
S102:Digital oscilloscope is initialized:
Needs carry out necessary Initialize installation to digital oscillographic passage, triggering, collection etc., mainly include:Baseline Zero, bias voltage zero, coupling are set to direct-current coupling, and trigger parameter is set to edging trigger, triggering level is set to 0, Triggering coupling is set to exchange, and sampling configuration is set to into peak value sampling, base shelves when sampling time-base is set to into minimum level.This In invention, base shelves during by the way that sampling time-base being set to into minimum level, it can be ensured that letter can be obtained by analyzing the data of ADC Number effective breadth, it is to avoid because sample frequency is too high, a complete cycle of signal is not collected, so as to cannot get signal Effective breadth.
S103:Determine passage to be found:
Arrange according to actual needs and whole passages or opening passage are made a look up, for passage to be found, it is set Mark F to be foundneed=1, otherwise make Fneed=0.The step can be specified by Digital Oscilloscope Design personnel or user and set automatically Put strategy to be controlled, it is however generally that open walk of only fighting each other makes a look up and can save the lookup time, therefore needing faster When completing the automatic setting of digital oscilloscope, the open walk that can select to be set to only to fight each other makes a look up.
S104:Amplitude based on hardware concentrated setting is searched:
In amplitude search procedure, the mode of hardware concentrated setting is present invention employs, so as to reduce adjustment hardware as far as possible The number of times of parameter, shortens the automatic setting time of digital oscilloscope.Hardware concentrated setting includes two aspects, and one is to currently treating Searching the hardware parameter of passage carries out concentrating adjustment to arrange, and two is to carry out concentration when several hardware of each passage are arranged to set Put, reduce the stable waiting time.Based on hardware concentrated setting, the present invention has redesigned amplitude and has searched flow process.
Fig. 2 is the flow chart that the amplitude in the present invention based on hardware concentrated setting is searched.As shown in Fig. 2 base in the present invention Search in the amplitude of hardware concentrated setting and comprise the following steps:
S201:Initialization gap marker:
For mark F to be foundneed=1 passage to be found, arranges its amplitude gear and is provided with mark K=0.
S202:Scanning minimum radiuses gear:
Using set-up mode in hardware set by all mark F to be foundneedThe amplitude of=1 passage to be found is disposed as Minimum vertical amplitude, the concrete grammar of hardware concentrated setting is:The related hardware ginseng of all channel amplitudes to be found is set simultaneously Number, after the completion of whole parameter settings, the set hardware parameter of each hardware unification response so as to come into force.This is because digital Different hardware is in parameter setting in oscillograph, needs to wait different stabilization times, it is existing in the art, be successively to every Individual hardware parameter is configured and waits it to stablize, and needs the summation for waiting all hardware parameter stability time, and in the present invention, When each parameter of each passage is arranged, wouldn't be waited, but to the multiple parameters concentrated setting of multiple passages, be arranged After the completion of, then the stabilization time for waiting a maximum.Such as, for single passage, 10 parameters need to change, Each parameter change needs to wait the stable time to be respectively T1、T2、T3、T4、T5、T6、T7、T8、T9、T10, using concentrated setting Method only needs to wait a maximum among these waiting time MAX (T1,T2,T3,T4,T5,T6,T7,T8,T9,T10), rather than SUM(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10).This is because different hardware can parallel wait stable.If 4 Passage, original technology often carries out the hardware parameter of an amplitude gear and arranges, and needs 4 × SUM (T1,T2,T3,T4,T5,T6,T7,T8, T9,T10) waiting time, the present invention only need to wait for MAX (T1,T2,T3,T4,T5,T6,T7,T8,T9,T10), it is unrelated with port number, So as to greatly save the automatic setting time of digital oscilloscope.
The Wave data that each channel acquisition is returned is read, waveform maximum y is calculatedmaxWith minima ymin, signal take Lattice number DSignalUsedAnd DC offset voltage Vbias;If maximum ymaxOr minima yminIt is aobvious beyond digital oscilloscope screen Show region, into step S203;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, then sentence Break signal takes lattice number DSignalUsedWhether half-space is less than, if it is, thinking that the passage does not have input signal, is set to acquiescence Amplitude gear, makes its amplitude gear be provided with mark K=1, updates its mark F to be foundneed=0, otherwise determine whether Whether signal takes lattice number Total lattice number of digital oscilloscope on-screen display (osd) area is represented, if it is, Then the amplitude gear of the passage is set to minimum vertical amplitude, makes its amplitude gear be provided with mark K=1, updates it and treats Search mark Fneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, otherwise do not make any Operation.
It can be seen that, according to present scan, it may be determined that passage whether there is signal, and determine the suitable amplitude of passage portion Gear (minimum vertical amplitude).
S203:Scan other amplitude gears:
Using set-up mode in hardware set by all mark F to be foundneedThe amplitude gear of=1 passage is set to not yet The amplitude gear for finding, reads the Wave data that each channel acquisition is returned, and calculates waveform maximum ymaxWith minima ymin, Signal takes lattice number DSignalUsed;If maximum ymaxWith minima yminBeyond digital oscilloscope on-screen display (osd) area, then weigh The new amplitude gear that arranges is continued to search for;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, Judge whether that signal takes lattice numberIf it is, the amplitude gear of the passage is set to current amplitude Gear, makes its amplitude gear be provided with mark K=1, updates its mark F to be foundneed=0, and record its signal occupancy lattice Number DSignalUsedAnd DC offset voltage Vbias, otherwise do not make any operation.
In order to improve the efficiency for scanning other amplitude gears, sweep time is saved, one kind is proposed in the present embodiment and is based on The amplitude scan method of two way classification.Fig. 3 is the flow chart based on the amplitude scan method of two way classification.As shown in figure 3, the present embodiment In concretely comprised the following steps based on the amplitude scan method of two way classification:
S301:Determine intermediate amplitude gear:
Field amplitude gear is ranked up from small to large according to amplitude, with YScale_MinRepresent minimum vertical amplitude, correspondence Amplitude gear serial number 1, with YScale_MaxMaximum perpendicular amplitude is represented, respective amplitude gear serial number Q, Q represents amplitude gear number Amount, calculates field amplitude intermediate value YScale_Middle=(YScale_Min+YScale_Max)/2, select closest with field amplitude intermediate value Amplitude gear as intermediate amplitude gear, remember its serial number Middle.
S302:The sequence number initial value i=Middle of top half amplitude gear is set.
S303:Scan i-th amplitude gear:
Using set-up mode in hardware set by all mark F to be foundneedThe amplitude gear of=1 passage to be found is arranged For i-th amplitude gear, the Wave data that each channel acquisition is returned is read, calculate waveform maximum ymaxWith minima ymin, Signal takes lattice number DSignalUsed;If maximum ymaxOr minima yminBeyond digital oscilloscope on-screen display (osd) area, enter Step S304;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether that signal is accounted for Use lattice numberIf it is, the amplitude gear of the passage is set to current amplitude gear, its amplitude is made Gear is provided with mark K=1, updates its mark F to be foundneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, otherwise judge that signal takes lattice number DSignalUsedWhether half-space is less than, if it is, arranging to the passage One is suspended lookup mark P=1, updates its mark F to be foundneed=0, other situations then do not make any operation.
Because when top half amplitude gear makes a look up, amplitude gear gradually increases, therefore work as what is collected When amplitude data is less, illustrate the suitable amplitude gear of the channel signal in the between gear therefore logical by a small margin of the latter half Cross setting to suspend lookup mark P to jump out top half lookup circulation in advance, so as to Optimizing Flow, save the time.
S304:Judge whether to reach top half and search termination condition, be i.e. whether mark F to be foundneed=1 it is to be found Port number is 0 or amplitude gear sequence number i=Q, i.e. current amplitude gear are maximum perpendicular amplitude YScale_Max, if it is, into step Rapid S306, otherwise into step S305.
S305:Amplitude gear sequence number increases:
Amplitude gear according to digital oscilloscope is arranged, and makes amplitude gear sequence number i=i+ Δ, Δ represent amplitude gear change Step-length, typically disposably increases one or two amplitude gear, i.e. Δ equal to 1 or 2, and increasing velocity is too fast to cause the drop of accuracy It is low.It is then back to step S303.
S306:Reset mark to be found:
Search suspends the passage for searching mark P=1, resets its mark F to be foundneed=1.
S307:The latter half amplitude gear sequence number initial value j=Middle-1 is set.
S308:Scan j-th amplitude gear:
Using set-up mode in hardware set by all mark F to be foundneedThe amplitude gear of=1 passage to be found is arranged For j-th amplitude gear, the Wave data that each channel acquisition is returned is read, calculate waveform maximum ymaxWith minima ymin, Signal takes lattice number DSignalUsed;If maximum ymaxOr minima yminBeyond digital oscilloscope on-screen display (osd) area, enter Step S309;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether that signal is accounted for Use lattice numberIf it is, the amplitude gear of the passage is set to current amplitude gear, its amplitude is made Gear is provided with mark K=1, updates its mark F to be foundneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, otherwise do not make any operation.
S309:Judge whether to reach the latter half and search termination condition, be i.e. whether mark F to be foundneed=1 it is to be found Port number is 0 or amplitude gear sequence number j=2, i.e. current amplitude gear are minimum vertical amplitude YScale_MinA upper amplitude shelves Position, if it is, search terminate, otherwise into step S310.
S310:Amplitude gear sequence number reduces:
Amplitude gear according to digital oscilloscope is arranged, and makes amplitude gear sequence number j=j- Δ, similarly, general disposable Reduce one or two amplitude gear.It is then back to step S308.
S105:Frequency search:
The method that medium frequency of the present invention is searched adopts the frequency search method in conventional automatic setting method, i.e.,:According to width The result that degree is searched, trigger source is arranged to amplitude gear and is provided with an AC signal passage in the passage of mark K=1 On, the bias voltage of the passage is set, or coupled modes are set to into AC coupled, the AC signal is measured by cymometer Frequency F, it is then determined that obtain base shelves during level, usually according to pre-set when base table and frequency F determining base during level Shelves.
S106:Optimum range gear is adjusted:
Amplitude gear, signal according to each passage takes lattice number DSignalUsedAnd DC offset voltage Vbias, and it is right Vertically displayed points d in on-screen display (osd) area of each passage planningscheme, the amplitude gear of each passage is carried out most preferably Adjustment.Fig. 4 is the flow chart of optimum range gear adjustment in the present invention.As shown in figure 4, optimum range gear adjustment in the present invention Concrete grammar be:
S401:Signal calculated amplitude:
If not being biased adjustment during Contemporary Digital oscilloscope display, the signal of current channel is calculated according to below equation Amplitude V:
Wherein,Represent amplitude gear sequence number q of passage current setting*Range value corresponding to corresponding every lattice;
If needing biasing adjustment during Contemporary Digital oscilloscope display, the signal width of current channel is calculated according to below equation Degree V:
S402:Make amplitude gear sequence number q=1;
S403:Calculate signal under current amplitude gear and take points dq
Wherein, YqRange value under the amplitude gear of expression passage current setting corresponding to corresponding every lattice, σ represents screen Per the corresponding points of lattice in curtain viewing area vertical direction, at present commonly used digital oscillograph is by the vertical direction of on-screen display (osd) area 8 lattice are divided into, wherein 25 pixels of correspondence per lattice;
S404:If dq≤dscheme, into step S405, otherwise into step S406.
S405:Adopted amplitude gear is shown as the passage using current amplitude gear, the passage optimum apjustment terminates.
S406:Judge whether q < Q, if it is, into step S407, otherwise keeping the amplitude gear of passage current setting Constant, the passage optimum apjustment terminates.
S407:Make q=q+1, return to step S403.S107:Recover User Defined parameter:
User Defined parameter to recording in step S101 is recovered.In order to illustrate the technique effect of the present invention, adopt It is embodied as making inferences checking with one.If after certain oscillograph range parameter changes, the time that passage needs are waited is TCH_Wait=200ms, the time needed for signal frequency that obtains is Tfrq=100ms, other process times are ignored, minimum Field amplitude is 5mV, and maximum perpendicular amplitude is 10V, and base shelves are 10ms during minimum level, and amplitude shelves adopt 125 step-by-step systems, two Intermediate amplitude gear is divided to be 200mV, 8 ADC sample.Table 1 be using the present invention to the digital oscilloscope in all cases Time is set automatically.
Table 1
Wherein, " OFF " in table 1 represents the pathway closure, and closing passage need not be searched in the present embodiment;"None" is represented The not no passage, for lookup, its property is identical with " OFF ";" 0V " represents that the passage is opened, but without input signal.
Can be seen that according to the data of table 1 and adopt the method for the present invention, the time needed for arranging automatically and port number not into There is certain relation multiplication relationship, the required time with the difference degree of the signal amplitude of each passage to be found.Therefore, adopt Can be on the other hand big by using hardware concentrated setting, on the one hand reducing the hardware stable required time that waits with the present invention The big number of times for reducing adjustment hardware parameter, so as to shorten the automatic setting time of digital oscilloscope, improves Consumer's Experience.
Although being described to illustrative specific embodiment of the invention above, in order to the technology of the art Personnel understand the present invention, it should be apparent that the invention is not restricted to the scope of specific embodiment, the common skill to the art For art personnel, as long as various change is in the spirit and scope of the present invention of appended claim restriction and determination, these Change is it will be apparent that all utilize the innovation and creation of present inventive concept in the row of protection.

Claims (3)

1. the fast automatic method to set up of a kind of digital oscilloscope based on hardware concentrated setting, it is characterised in that including following step Suddenly:
S1:According to the oscillographic facilities of user's current logarithmic word, the User Defined ginseng beyond automatic arrange parameter is recorded Number;
S2:Digital oscilloscope is initialized, is mainly included:Baseline zero, bias voltage zero, coupling are set to direct current coupling Close, trigger parameter is set to edging trigger, triggering level is set to 0, triggering coupling and is set to exchange, sampling configuration is set to Peak value sampling, base shelves when sampling time-base is set to into minimum level;
S3:Arrange according to actual needs and whole passages or air exercise open walk are made a look up, for passage to be found, it is set Mark F to be foundneed=1, otherwise make Fneed=0;
S4:To mark F to be foundneed=1 passage enters line amplitude lookup, and concrete grammar is:
S4.1:For mark F to be foundneed=1 passage to be found, arranges its amplitude gear and is provided with mark K=0;
S4.2:Using set-up mode in hardware set by all mark F to be foundneedThe amplitude of=1 passage to be found is disposed as Minimum vertical amplitude YScale_Min, the concrete grammar of hardware concentrated setting is:The correlation of all channel amplitudes to be found is set simultaneously Hardware parameter, after the completion of whole parameter settings, the set hardware parameter of each hardware unification response so as to come into force;
The Wave data that each channel acquisition is returned is read, waveform maximum y is calculatedmaxWith minima ymin, signal take lattice number DSignalUsedAnd DC offset voltage Vbias;If maximum ymaxOr minima yminBeyond digital oscilloscope screen display area Domain, into step S4.3;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, then letter is judged Number take lattice number DSignalUsedWhether half-space is less than, if it is, thinking that the passage does not have input signal, is set to acquiescence amplitude Gear, makes its amplitude gear be provided with mark K=1, updates its mark F to be foundneed=0, otherwise further determine whether Signal takes lattice number Total lattice number of digital oscilloscope on-screen display (osd) area is represented, if it is, this is logical The amplitude gear in road is set to minimum vertical amplitude YScale_Min, make its amplitude gear be provided with mark K=1, update it and treat Search mark Fneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, other situations are then not Make any operation;
S4.3:Other amplitude gears are scanned, its concrete grammar is:Will be all to be found using set-up mode in hardware set Mark FneedThe amplitude gear of=1 passage is set to the amplitude gear for not yet finding, and reads what each channel acquisition was returned Wave data, calculates waveform maximum ymaxWith minima ymin, signal occupancy lattice number DSignalUsed;If maximum ymaxMost Little value yminBeyond digital oscilloscope on-screen display (osd) area, then reset amplitude gear and continue to search for;If maximum ymaxWith Minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether that signal takes lattice numberSuch as Fruit is that then the amplitude gear of the passage is set to current amplitude gear, makes its amplitude gear be provided with mark K=1, is updated Its mark F to be foundneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, otherwise do not make Any operation;
S5:According to the result that amplitude is searched, trigger source is arranged on one of AC signal passage, the inclined of the passage is set Voltage is put, or coupled modes are set to into AC coupled, frequency F of the AC signal is measured by cymometer, it is then determined that To base shelves during level;
S6:Amplitude gear, signal according to each passage takes lattice number DSignalUsedAnd DC offset voltage Vbias, and it is right Vertically displayed points d in on-screen display (osd) area of each passage planningscheme, the amplitude gear of each passage is carried out most preferably Adjustment, adjustment obtains the optimum range gear each passage shows simultaneously when;
S7:User Defined parameter to recording in step S1 is recovered.
2. digital oscilloscope automatic setting method according to claim 1, it is characterised in that in step S4.3, adopt Other amplitude gears are scanned with the amplitude scan method based on two way classification, it is concretely comprised the following steps:
S4.3.1:Field amplitude gear is ranked up from small to large according to amplitude, with YScale_MinMinimum vertical amplitude is represented, Respective amplitude gear serial number 1, with YScale_MaxMaximum perpendicular amplitude is represented, respective amplitude gear serial number Q, Q represents amplitude shelves Bit quantity, calculates field amplitude intermediate value YScale_Middle=(YScale_Min+YScale_Max)/2, select with field amplitude intermediate value the most Close amplitude gear remembers its serial number Middle as intermediate amplitude gear;
S4.3.2:The sequence number initial value i=Middle of top half amplitude gear is set;
S4.3.3:Using set-up mode in hardware set by all mark F to be foundneedThe amplitude gear of=1 passage to be found sets I-th amplitude gear is set to, the Wave data that each channel acquisition is returned is read, waveform maximum y is calculatedmaxAnd minima ymin, signal occupancy lattice number DSignalUsed;If maximum ymaxOr minima yminBeyond digital oscilloscope on-screen display (osd) area, Into step S4.3.4;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether Signal takes lattice numberIf it is, the amplitude gear of the passage is set to current amplitude gear, order Its amplitude gear is provided with mark K=1, updates its mark F to be foundneed=0, otherwise judge that signal takes lattice number DSignalUsedHalf-space whether is less than, and records its signal and take lattice number DSignalUsedAnd DC offset voltage Vbias, if it is, One is arranged to the passage and suspends lookup mark P=1, update its mark F to be foundneed=0, other situations then do not make any behaviour Make;
S4.3.4:Judge whether mark F to be foundneed=1 port number to be found is 0 or amplitude gear sequence number i=Q, if It is, into step S4.3.6, otherwise into step S4.3.5;
S4.3.5:Amplitude gear according to digital oscilloscope is arranged, and makes amplitude gear sequence number i=i+ Δ, Δ represent amplitude gear Change step, return to step 4.3.3;
S4.3.6:Search suspends the passage for searching mark P=1, resets its mark F to be foundneed=1;
S4.3.7:The latter half amplitude gear sequence number initial value j=Middle-1 is set;
S4.3.8:Using set-up mode in hardware set by all mark F to be foundneedThe amplitude gear of=1 passage to be found sets Amplitude gear Y is set to, the Wave data that each channel acquisition is returned is read, waveform maximum y is calculatedmaxWith minima ymin, letter Number take lattice number DSignalUsed;If maximum ymaxOr minima yminBeyond digital oscilloscope on-screen display (osd) area, into step Rapid S4.3.9;If maximum ymaxWith minima yminWithout departing from digital oscilloscope on-screen display (osd) area, judge whether that signal is accounted for Use lattice numberIf it is, the amplitude gear of the passage is set to current amplitude gear, its amplitude is made Gear is provided with mark K=1, updates its mark F to be foundneed=0, and record its signal occupancy lattice number DSignalUsedAnd DC offset voltage Vbias, otherwise do not make any operation;
S4.3.9:Judge whether mark F to be foundneed=1 port number to be found is 0 or amplitude gear sequence number j=2, if It is that lookup terminates, otherwise into step S4.3.10;
S4.3.10:Amplitude gear according to digital oscilloscope is arranged, and makes amplitude gear sequence number j=j- Δ, return to step S4.3.8。
3. digital oscilloscope automatic setting method according to claim 1, it is characterised in that in step S6, adjustment Each passage is obtained while the concrete body method of optimum range gear when showing is:
S6.1:If not being biased adjustment during Contemporary Digital oscilloscope display, the letter of current channel is calculated according to below equation Number amplitude V:
V = D S i g n a l U s e d × Y q * ;
Wherein,Represent amplitude gear sequence number q of passage current setting*Range value corresponding to corresponding every lattice;
If needing biasing adjustment during Contemporary Digital oscilloscope display, signal amplitude V of current channel is calculated according to below equation:
V = D S i g n a l U s e d × Y q * - V b i a s ;
S6.2:Make amplitude gear sequence number q=1;
S6.3:Calculate signal under current amplitude gear and take points dq
d q = V + Y q / σ - 1 Y q / σ ;
Wherein, YiRange value under the amplitude gear of expression passage current setting corresponding to corresponding every lattice, σ represents that screen shows Show in the vertical direction of region per the corresponding points of lattice;
S6.4:If dq≤dscheme, into step S6.5, otherwise into step S6.6;
S6.5:Adopted amplitude gear is shown as the passage using current amplitude gear, the passage optimum apjustment terminates;
S6.6:Judge whether q < Q, if it is, into step S6.7, otherwise keep the amplitude gear of passage current setting constant, The passage optimum apjustment terminates;
S6.7:Make q=q+1, return to step S6.3.
CN201611023731.3A 2016-11-14 2016-11-14 A kind of fast automatic setting method of digital oscilloscope based on hardware concentrated setting Active CN106597048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611023731.3A CN106597048B (en) 2016-11-14 2016-11-14 A kind of fast automatic setting method of digital oscilloscope based on hardware concentrated setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611023731.3A CN106597048B (en) 2016-11-14 2016-11-14 A kind of fast automatic setting method of digital oscilloscope based on hardware concentrated setting

Publications (2)

Publication Number Publication Date
CN106597048A true CN106597048A (en) 2017-04-26
CN106597048B CN106597048B (en) 2019-04-05

Family

ID=58591719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611023731.3A Active CN106597048B (en) 2016-11-14 2016-11-14 A kind of fast automatic setting method of digital oscilloscope based on hardware concentrated setting

Country Status (1)

Country Link
CN (1) CN106597048B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107727906A (en) * 2017-09-25 2018-02-23 优利德科技(中国)有限公司 The method and its equipment that a kind of oscillograph is set automatically
CN108037339A (en) * 2018-01-18 2018-05-15 电子科技大学 The control method that a kind of digital oscilloscope is set automatically
CN108132373A (en) * 2017-12-20 2018-06-08 福建利利普光电科技有限公司 Oscillograph knob-operated moves the processing method of effect
CN108802459A (en) * 2018-06-04 2018-11-13 北京交通大学 A kind of oscillograph Auto-Test System and method
CN109085403A (en) * 2017-06-14 2018-12-25 北京普源精电科技有限公司 A kind of method of adjustment and digital oscilloscope of undulating path
CN111521853A (en) * 2020-06-19 2020-08-11 深圳市鼎阳科技股份有限公司 Oscilloscope signal display processing method and oscilloscope
CN113219363A (en) * 2021-03-25 2021-08-06 合肥联宝信息技术有限公司 Power supply noise test method and device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1273365A (en) * 1999-04-20 2000-11-15 特克特朗尼克公司 Continuous response and forcasting automatic installation function of digital oscilloscope
CN101609106A (en) * 2009-05-27 2009-12-23 东南大学 The automatic method to set up of digital oscilloscope
CN103901244A (en) * 2014-03-26 2014-07-02 深圳麦科信仪器有限公司 Method and device for arrangement and operation of signal channels of touch oscilloscope
CN105510664A (en) * 2015-10-08 2016-04-20 电子科技大学 Automatic setting method of digital oscilloscope

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1273365A (en) * 1999-04-20 2000-11-15 特克特朗尼克公司 Continuous response and forcasting automatic installation function of digital oscilloscope
CN101609106A (en) * 2009-05-27 2009-12-23 东南大学 The automatic method to set up of digital oscilloscope
CN103901244A (en) * 2014-03-26 2014-07-02 深圳麦科信仪器有限公司 Method and device for arrangement and operation of signal channels of touch oscilloscope
CN105510664A (en) * 2015-10-08 2016-04-20 电子科技大学 Automatic setting method of digital oscilloscope

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109085403A (en) * 2017-06-14 2018-12-25 北京普源精电科技有限公司 A kind of method of adjustment and digital oscilloscope of undulating path
CN109085403B (en) * 2017-06-14 2021-07-30 北京普源精电科技有限公司 Waveform channel adjusting method and digital oscilloscope
CN107727906A (en) * 2017-09-25 2018-02-23 优利德科技(中国)有限公司 The method and its equipment that a kind of oscillograph is set automatically
CN107727906B (en) * 2017-09-25 2020-07-07 优利德科技(中国)股份有限公司 Method and equipment for automatically setting oscilloscope
CN108132373A (en) * 2017-12-20 2018-06-08 福建利利普光电科技有限公司 Oscillograph knob-operated moves the processing method of effect
CN108132373B (en) * 2017-12-20 2020-04-28 福建利利普光电科技有限公司 Processing method for oscilloscope knob operation moving effect
CN108037339A (en) * 2018-01-18 2018-05-15 电子科技大学 The control method that a kind of digital oscilloscope is set automatically
CN108802459A (en) * 2018-06-04 2018-11-13 北京交通大学 A kind of oscillograph Auto-Test System and method
CN111521853A (en) * 2020-06-19 2020-08-11 深圳市鼎阳科技股份有限公司 Oscilloscope signal display processing method and oscilloscope
CN113219363A (en) * 2021-03-25 2021-08-06 合肥联宝信息技术有限公司 Power supply noise test method and device and storage medium
CN113219363B (en) * 2021-03-25 2022-06-10 合肥联宝信息技术有限公司 Power supply noise test method and device and storage medium

Also Published As

Publication number Publication date
CN106597048B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN106597048A (en) Digital oscilloscope quick and automatic setting method based on hardware centralized setting
CN108802459B (en) Automatic testing system and method for oscilloscope
CN101131419B (en) Frequency span calibration and detection method for digital oscilloscope
CN104572989A (en) Information recommendation method and system for assisting senior high school students to choose college majors
CN102128962A (en) Test and measurement instrument and method for providing post-acquisition trigger control and presentation
CN102012445A (en) Test and measurement instrument and method for providing post-acquisition trigger control and presentation
CN105510664A (en) Automatic setting method of digital oscilloscope
Al Moulla et al. Measuring precise radial velocities on individual spectral lines-III. Dependence of stellar activity signal on line formation temperature
CN103809002A (en) Control method for automatic setting of digital fluorescence oscilloscope
CN106198930A (en) Flower planting soil parameters multipoint detection device
CN109490776A (en) A kind of good substandard products detection method of mobile phone vibrating motor based on machine learning
CN201910181U (en) RLC (resistor-inductor-capacitor) circuit transient process tester
CN101464979A (en) System and method for evaluating crop yield representation
US8400179B1 (en) Method for load-line correction of pulsed measurements
CN106370811A (en) Multi-point detection method for parameters of flower planting soil
CN105955918A (en) Experimental multi-instrument system
CN2807764Y (en) Nutrient solution automatic detection instrument
CN204575748U (en) A kind of test macro of semiconductor devices transient capacitance
WO2018032293A1 (en) Method for multipoint detection of ph value of planting soil
CN109034496A (en) A kind of slope furrow optimized parameter slowing down slope surface agricultural non-point source pollution determines method
US20090164155A1 (en) Method and system for isolating dopant fluctuation and device length variation from statistical measurements of threshold voltage
CN107861033A (en) The calibration method and system of oscillation wave partial discharge detection system position error
CN201199265Y (en) Full-automatic calibrating apparatus for voltage monitoring instrument
CN106353481A (en) Multipoint detection method of pH (potential of hydrogen) value of planting soil
US20210109130A1 (en) Method and apparatus for controlling a measurement device

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